Re: psql client 7.4RC1 completion bug

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Oliver Siegmar <oliver(dot)siegmar(at)xams(dot)org>
Cc: pgsql-bugs(at)postgresql(dot)org
Subject: Re: psql client 7.4RC1 completion bug
Date: 2003-11-08 20:54:34
Message-ID: 200311082054.hA8KsYG18916@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

Oliver Siegmar wrote:
> ============================================================================
> POSTGRESQL BUG REPORT TEMPLATE
> ============================================================================
>
>
> Your name : Oliver Siegmar
> Your email address : oliver(dot)siegmar(at)xams(dot)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.

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(at)candle(dot)pha(dot)pa(dot)us | (610) 359-1001
+ If your life is a hard drive, | 13 Roberts Road
+ Christ can be your backup. | Newtown Square, Pennsylvania 19073

Attachment Content-Type Size
unknown_filename text/plain 771 bytes

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message Bruce Momjian 2003-11-08 20:56:12 Re: [HACKERS] postgresql-7.4RC1 - unrecognized privilege type
Previous Message Tom Lane 2003-11-08 20:53:54 Re: The postmaster keeps crashing