Re: Query breaking with unknown expression type (lost s - Mailing list pgsql-general

From Matthew Gabeler-Lee
Subject Re: Query breaking with unknown expression type (lost s
Date
Msg-id ABABFB80F35AD311848B0090279918EF010B9B69@ZYCOSNT2.hq.zycos.com
Whole thread Raw
List pgsql-general
Thanks, patch indeed fixes my original breaking query.

    -Matt


-----Original Message-----
From: Tom Lane [mailto:tgl@sss.pgh.pa.us]

Matthew Gabeler-Lee <mgabelerlee@zycos.com> writes:
> -- triggers bug
> select * from (select t1.*, (select t2.c from t2 limit 1) as v from t1)
t1v
> natural left join t3;

Excellent, thank you for the test case.

I've applied the attached patch to prevent this problem.

pgsql-general by date:

Previous
From: Joel Burton
Date:
Subject: Re: Can I User @@error of MS SQL in postgresql
Next
From: "Ian Harding"
Date:
Subject: setval('myfunsequence', 0)