src/Phinx/Db/Adapter/PostgresAdapter.php
protected function getColumnCommentSqlDefinition(Column $column, $tableName)
    {
        // passing 'null' is to remove column comment
        $comment = (strcasecmp($column->getComment(), 'NULL') !== 0)
                 ? $this->getConnection()->quote($column->getComment())
                 : 'NULL';

        return sprintf(
            'COMMENT ON COLUMN %s.%s IS %s;',
            $this->quoteTableName($tableName),
            $this->quoteColumnName($column->getName()),
            $comment
        );
    }
protected function getColumnCommentSqlDefinition(Column $column, $tableName)
    {
        // passing 'null' is to remove column comment
        $comment = (strcasecmp($column->getComment(), 'NULL') !== 0)
                 ? $this->getConnection()->quote($column->getComment())
                 : 'NULL';

        return sprintf(
            'COMMENT ON COLUMN %s.%s IS %s;',
            $this->quoteTableName($tableName),
            $this->quoteColumnName($column->getName()),
            $comment
        );
    }
protected function getColumnCommentSqlDefinition ( Column $ column , $ tableName ) { // passing 'null' is to remove column comment $ comment = ( strcasecmp ( $ column -> getComment ( ) , 'NULL' ) !== 0 ) ? $ this -> getConnection ( ) -> quote ( $ column -> getComment ( ) ) : 'NULL' ; return sprintf ( 'COMMENT ON COLUMN %s.%s IS %s;' , $ this -> quoteTableName ( $ tableName ) , $ this -> quoteColumnName ( $ column -> getName ( ) ) , $ comment ) ; }
Gets the PostgreSQL Column Comment Definition for a column object.

@param \Phinx\Db\Table\Column $column Column
@param string $tableName Table name
@return string
Gets the PostgreSQL Column Comment Definition for a column object .