Bug #500: Cannot create View and Problems With the UNION clause - Mailing list pgsql-bugs

From pgsql-bugs@postgresql.org
Subject Bug #500: Cannot create View and Problems With the UNION clause
Date
Msg-id 200110291029.f9TAT6A08515@postgresql.org
Whole thread Raw
Responses Re: Bug #500: Cannot create View and Problems With the UNION clause  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-bugs
Cortez (cortez@ejegy.hu) reports a bug with a severity of 3
The lower the number the more severe it is.

Short Description
Cannot create View and Problems With the UNION clause

Long Description
1) VIEW
I cannot create a VIEW, cause i have used the COPY command with OID.
And i have giving negative number for the oid like '-2147483648' for
test and the psql has return this error message:

ERROR:  pg_atoi: error reading "2147599903": Numerical result out of range

2) UNION
 Why doesnt working the following SQL command ?

database=# SELECT EXISTS (SELECT 1 UNION SELECT 2);
ERROR:  parser: parse error at or near "union"


Sample Code


No file was uploaded with this report

pgsql-bugs by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: probably a bug of data-type serial
Next
From: Bruno Wolff III
Date:
Subject: Porting issue with openssl and no /dev/random