Re: AW: [HACKERS] Getting OID in psql of recent insert - Mailing list pgsql-hackers

From Bruce Momjian
Subject Re: AW: [HACKERS] Getting OID in psql of recent insert
Date
Msg-id 199911240131.UAA13582@candle.pha.pa.us
Whole thread Raw
In response to Re: AW: [HACKERS] Getting OID in psql of recent insert  (Peter Eisentraut <peter_e@gmx.net>)
List pgsql-hackers
> Is there also a rule on what those variables can contain? I mean currently
> they act like C macros, they can contain unbalances quotes, incomplete
> backslash commands, everything. Or should they be restricted to SQL?
> 
> Also, looking for possible conflicts here, it seems that there is an
> operator ':' for exponentiation, which is of course extremely mnemonic.
> This reminds me of the ';' operator for logarithms, which I also use all
> the time in mathematical writing. Are those operators actually standard or
> just somebody's personal idea?

I recommend we rename : and ; to something else.  : should be used for
variables, and ; is too much like the trailing semicolon.

--  Bruce Momjian                        |  http://www.op.net/~candle maillist@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: Bruce Momjian
Date:
Subject: Cache on pg_statistics
Next
From: wieck@debis.com (Jan Wieck)
Date:
Subject: Re: [HACKERS] lztext.c