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

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Ed Loehr <eloehr(at)austin(dot)rr(dot)com>
Cc: pghackers <pgsql-hackers(at)postgreSQL(dot)org>
Subject: Re: 7.0 psql parser suggestion (; == terminator)
Date: 2000-06-12 02:58:23
Message-ID: 200006120258.WAA23809@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

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(at)candle(dot)pha(dot)pa(dot)us | (610) 853-3000
+ If your life is a hard drive, | 830 Blythe Avenue
+ Christ can be your backup. | Drexel Hill, Pennsylvania 19026

Browse pgsql-hackers by date

  From Date Subject
Next Message Bruce Momjian 2000-06-12 03:00:12 Re: [HACKERS] float8 regression / platform report
Previous Message Bruce Momjian 2000-06-12 01:58:04 Re: ALTER TABLE DROP COLUMN