Re: 7.0 psql parser suggestion (; == terminator) - Mailing list pgsql-hackers

From Bruce Momjian
Subject Re: 7.0 psql parser suggestion (; == terminator)
Date
Msg-id 200006120258.WAA23809@candle.pha.pa.us
Whole thread Raw
List 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@candle.pha.pa.us               |  (610)
853-3000+  If your life is a hard drive,     |  830 Blythe Avenue +  Christ can be your backup.        |  Drexel Hill,
Pennsylvania19026
 


pgsql-hackers by date:

Previous
From: Peter Eisentraut
Date:
Subject: Re: Install error current CVS
Next
From: Karel Zak
Date:
Subject: Re: pg_dumplo, thanks :) (fwd)