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

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Jens-Wolfhard Schicke" <j(dot)schicke(at)asco(dot)de>
Cc: pgsql-bugs(at)postgresql(dot)org
Subject: Re: BUG #2901: missing alter table online help in psql
Date: 2007-01-16 16:49:01
Message-ID: 21380.1168966141@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

"Jens-Wolfhard Schicke" <j(dot)schicke(at)asco(dot)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

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message Tom Lane 2007-01-16 17:34:06 Re: BUG #2848: information_schema.key_column_usage does not work
Previous Message Jens-Wolfhard Schicke 2007-01-16 13:49:33 BUG #2901: missing alter table online help in psql