Re: 7.0 psql parser suggestion (; == terminator)

Started by Bruce Momjianalmost 26 years ago1 messageshackers
Jump to latest
#1Bruce Momjian
bruce@momjian.us

I asked for this too, but it was voted down. Not sure why.

Minor psql parser suggestion: consider semicolons on the end of a
back-slashed psql interactive command to be line terminators, consistent
with sql commands...example below.

Regards,
Ed Loehr

emsdb=# \dt
List of relations
Name | Type | Owner
---------------------------------+-------+----------
activity | table | postgres
...

emsdb=# \d activity;
Did not find any relation named "activity;".

emsdb=# \d activity
Table "activity"
Attribute | Type |
Modifier
---------------------------+-----------+---------------------------------------------------
id | integer | not null default
nextval('activity_id_seq'::text)
ref_number | integer | not null
contract_id | integer | not null

-- 
  Bruce Momjian                        |  http://www.op.net/~candle
  pgman@candle.pha.pa.us               |  (610) 853-3000
  +  If your life is a hard drive,     |  830 Blythe Avenue
  +  Christ can be your backup.        |  Drexel Hill, Pennsylvania 19026