Обсуждение: BUG #2901: missing alter table online help in psql

Поиск
Список
Период
Сортировка

BUG #2901: missing alter table online help in psql

От
"Jens-Wolfhard Schicke"
Дата:
The following bug has been logged online:

Bug reference:      2901
Logged by:          Jens-Wolfhard Schicke
Email address:      j.schicke@asco.de
PostgreSQL version: PostgreSQL 8.2
Operating system:   Linux
Description:        missing alter table online help in psql
Details:

\h alter table

is missing the syntax for the command
alter table the_table alter column the_column type varchar(175);

Re: BUG #2901: missing alter table online help in psql

От
Tom Lane
Дата:
"Jens-Wolfhard Schicke" <j.schicke@asco.de> writes:
> \h alter table
> is missing the syntax for the command
> alter table the_table alter column the_column type varchar(175);

Maybe you're using an old psql?  My 8.2 psql shows

regression=> \h alter table
Command:     ALTER TABLE
Description: change the definition of a table
Syntax:
ALTER TABLE [ ONLY ] name [ * ]
    action [, ... ]
...
where action is one of:
...
    ALTER [ COLUMN ] column TYPE type [ USING expression ]
...


            regards, tom lane