Re: "Relation does not exist" error - Mailing list pgsql-general

From Tuckheng
Subject Re: "Relation does not exist" error
Date
Msg-id 086C73F91FD3D41182E80090275CD0BA010C1DE5@exchange1.vads.com
Whole thread Raw
In response to "Relation does not exist" error  (Tuckheng <Tuckheng@vads.com>)
List pgsql-general
Hi,

Thanks a bundle. Applied your suggestion and it works :-)

Regards,
Tuck Heng
VADS BHD
03 - 7712 8330


-----Original Message-----
From: Tom Lane [mailto:tgl@sss.pgh.pa.us]
Sent: Thursday, November 08, 2001 10:35 PM
To: Tuckheng
Cc: pgsql-general@postgresql.org
Subject: Re: [GENERAL] "Relation does not exist" error


Tuckheng <Tuckheng@vads.com> writes:
> I encountered this error when trying to run a SELECT statement from within
a
> Perl program. Would appreciate if someone could help shed some light on
what
> may be causing this or how it can be resolved.

ORDER BY on a UNION result can only refer to column names of the UNION
output columns.  Lose the "p." and "s." in the ORDER BY and you'll be
fine.

            regards, tom lane

pgsql-general by date:

Previous
From: efreyre@qnet.com.pe
Date:
Subject: what is the error in the function?
Next
From: Mayan
Date:
Subject: Help installing PGSQL 7.1 on Linux