Re: [HACKERS] Keywords - Mailing list pgsql-hackers

From Bruce Momjian
Subject Re: [HACKERS] Keywords
Date
Msg-id 199902081815.NAA16711@candle.pha.pa.us
Whole thread Raw
In response to Keywords  (Michael Meskes <Michael_Meskes@topmail.de>)
Responses Re: [HACKERS] Keywords
List pgsql-hackers
> Could anyone tell me why a term like 'int' is not a keyword?
> 
> Also I need a list of postgresql types so I know which ones should be
> accepted by ecpg.

We don't reserve the type names as keywords, and because they can create
their own types, it wouldn't make sense.

> 
> Finally I wonder whether we should make all ecpg keywords keywords for the
> backend too. Or else we could end up with queries expressable via psql but
> not via ecpg.

Seems like more work than it's worth, no?  Why not have psql queries
that can't be done in ecpg.  Most commercial embedded sql's have a more
limited keyword set, don't they?

--  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: Optimizer problems
Next
From: Bruce Momjian
Date:
Subject: Re: [HACKERS] v6.4.3 ?