Skip site navigation (1) Skip section navigation (2)

Re: [HACKERS] Re: [SQL] prob with aggregate and group by - returns multiplesh

From: Christopher Sawtell <csawtell(at)xtra(dot)co(dot)nz>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Don Baccus <dhogaza(at)pacifier(dot)com>
Cc: Thomas Lockhart <lockhart(at)alumni(dot)caltech(dot)edu>, Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>, "'pgsql-sql(at)postgresql(dot)org'" <pgsql-sql(at)postgreSQL(dot)org>, PostgreSQL Development <pgsql-hackers(at)postgreSQL(dot)org>
Subject: Re: [HACKERS] Re: [SQL] prob with aggregate and group by - returns multiplesh
Date: 2000-03-01 03:26:24
Message-ID: 00030116295801.01591@berty (view raw or flat)
Thread:
Lists: pgsql-hackerspgsql-sql
On Wed, 01 Mar 2000, Tom Lane wrote:
> Don Baccus <dhogaza(at)pacifier(dot)com> writes:
> > I vote for the SQL92 TEMPORARY.  Let's not add a keyword that is non-standard
> > just because one or another commercial database makes use of it,
> 
> You're missing the point: we are not talking about *adding* a keyword,
> we're talking about *removing* one that we've already supported for
> a year or so.  That changes matters considerably, IMHO.
> 
> I have in fact been able to make a conflict-free grammar in which TEMP
> is accepted but not reserved.  It requires a certain amount of
> redundancy in the productions (see below), but I think this is a
> worthwhile tradeoff for not breaking existing user code.
> 
> Shall I commit this?

  Is there not also the possibility of  making this a configure-time option?

./configure --temporary-table=TEMPORARY   # or TEMP as you wish

Default to TEMPORARY in accord with SQL 92.

--
Sincerely etc.,

 NAME       Christopher Sawtell - Support Engineer - iOpen Technologies Ltd.
 CELL PHONE 021 257 4451
 ICQ UIN    45863470
 EMAIL      chris @ iopen . co . nz,  csawtell @ xtra . co . nz
 CNOTES     ftp://ftp.funet.fi/pub/languages/C/tutorials/sawtell_C.tar.gz

 ---->>> Please refrain from using HTML attachments in e-mails to me. <<<----


In response to

pgsql-hackers by date

Next:From: The Hermit HackerDate: 2000-03-01 04:02:44
Subject: Poll: Databases for Linux
Previous:From: The Hermit HackerDate: 2000-03-01 03:17:37
Subject: select exists (select oid from users)

pgsql-sql by date

Next:From: Thomas LockhartDate: 2000-03-01 06:14:51
Subject: Re: [HACKERS] Re: [SQL] prob with aggregate and group by - returns multiplesh
Previous:From: Fan Chi KamDate: 2000-03-01 01:21:37
Subject: Need help on creating index for a query w/ 4 greater-than conditions

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group