Re: New version of psql
От | Peter Eisentraut |
---|---|
Тема | Re: New version of psql |
Дата | |
Msg-id | Pine.LNX.4.20.9911061417460.347-100000@peter-e.yi.org обсуждение исходный текст |
Ответ на | New version of psql (Bruce Momjian <maillist@candle.pha.pa.us>) |
Ответы |
Re: New version of psql
Re: [HACKERS] Re: New version of psql |
Список | pgsql-hackers |
On 1999-11-04, Bruce Momjian mentioned: > OK, new version of psql installed. Only problem I see is that \h shows > TRUNCATE as the first help item. I assume the directory contents are > not being sorted. Peter? > > Second, the new psql prompt is #, so it shows as: > > test-# > > Not sure I like that. I liked the > better, I think, unless # grows on > me. The new prompt is the same as the the old one. *** Scratches head *** The '>' is replaced by a '#' if you are the superuser. (Correction: if the username is "postgres". I'm still thinking about ways to make this a little more elegant though. Ideas welcome.) The '-' shouldn't be there unless you're in continue mode, as usual. Works for me: testdb=> select * testdb-> from foo; ERROR: foo: Table does not exist. testdb=> \c - postgres You are now connected as new user postgres. testdb=# select * testdb-# from foo; ERROR: foo: Table does not exist. Of course you can also completely customize your prompt. See the docs for that. -Peter -- Peter Eisentraut Sernanders vaeg 10:115 peter_e@gmx.net 75262 Uppsala http://yi.org/peter-e/ Sweden
В списке pgsql-hackers по дате отправления: