psql client 7.4RC1 completion bug
============================================================================
POSTGRESQL BUG REPORT TEMPLATE
============================================================================
Your name : Oliver Siegmar
Your email address : oliver.siegmar@xams.org
Please enter a FULL description of your problem:
------------------------------------------------
psql -U username template1
template1=# alter database databasename <TAB><TAB>
RESET SET
template1=# \h alter database
Command: ALTER DATABASE
Description: change a database
Syntax:
ALTER DATABASE name SET parameter { TO | = } { value | DEFAULT }
ALTER DATABASE name RESET parameter
ALTER DATABASE name RENAME TO newname
...the psql Tab completion doesn't show the rename command.
Oliver Siegmar wrote:
============================================================================
POSTGRESQL BUG REPORT TEMPLATE
============================================================================Your name : Oliver Siegmar
Your email address : oliver.siegmar@xams.orgPlease enter a FULL description of your problem:
------------------------------------------------psql -U username template1
template1=# alter database databasename <TAB><TAB>
RESET SET
template1=# \h alter database
Command: ALTER DATABASE
Description: change a database
Syntax:
ALTER DATABASE name SET parameter { TO | = } { value | DEFAULT }
ALTER DATABASE name RESET parameterALTER DATABASE name RENAME TO newname
...the psql Tab completion doesn't show the rename command.
OK, found the bug. With the attached patch, it now show:
test=> ALTER DATABASE test
RENAME TO RESET SET
This will appear in 7.4 final.
--
Bruce Momjian | http://candle.pha.pa.us
pgman@candle.pha.pa.us | (610) 359-1001
+ If your life is a hard drive, | 13 Roberts Road
+ Christ can be your backup. | Newtown Square, Pennsylvania 19073