BUG #2901: missing alter table online help in psql

Started by Jens-Wolfhard Schickeabout 19 years ago2 messagesbugs
Jump to latest
#1Jens-Wolfhard Schicke
j.schicke@asco.de

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);

#2Tom Lane
tgl@sss.pgh.pa.us
In reply to: Jens-Wolfhard Schicke (#1)
Re: BUG #2901: missing alter table online help in psql

"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