Re: [HACKERS] union problem version 6.5.3

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Frans Van Elsacker <fve(at)atbib(dot)be>
Cc: pgsql-hackers(at)postgreSQL(dot)org
Subject: Re: [HACKERS] union problem version 6.5.3
Date: 1999-11-12 15:34:45
Message-ID: 26964.942420885@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Frans Van Elsacker <fve(at)atbib(dot)be> writes:
> I had a little piece of code who works fine up till know, just after
> installing
> the version 6.5.3 i got the message 'parse error near union'

> create table work as
> select * from opdracht
> union
> select * from opdrachtproost

Hmm, the grammar has

CreateAsStmt: CREATE OptTemp TABLE relation_name OptCreateAs AS SubSelect

and SubSelect doesn't allow unions. This is overly restrictive,
I agree, but I thought it had been that way for a good while.
What version were you using before?

regards, tom lane

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Jan Wieck 1999-11-12 15:41:10 Re: [HACKERS] compression in LO and other fields
Previous Message Karel Zak - Zakkr 1999-11-12 15:18:30 Re: [HACKERS] compression in LO and other fields