Re: [HACKERS] union problem version 6.5.3 - Mailing list pgsql-hackers

From Frans Van Elsacker
Subject Re: [HACKERS] union problem version 6.5.3
Date
Msg-id 3.0.6.32.19991113003130.0087d230@193.75.233.1
Whole thread Raw
In response to Re: [HACKERS] union problem version 6.5.3  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: [HACKERS] union problem version 6.5.3  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
thanks for your quick answer,

Our earlier version was postgresql 6.4.2

Regards, Frans





At 10:34 12/11/99 -0500, Tom Lane wrote:
>Frans Van Elsacker <fve@atbib.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
>
>************
>
>



pgsql-hackers by date:

Previous
From: Hannu Krosing
Date:
Subject: Re: [HACKERS] compression in LO and other fields
Next
From: Tom Lane
Date:
Subject: Re: [HACKERS] union problem version 6.5.3