Re: Query breaking with unknown expression type (lost s

From: Matthew Gabeler-Lee <mgabelerlee(at)zycos(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: Query breaking with unknown expression type (lost s
Date: 2002-12-06 15:29:45
Message-ID: ABABFB80F35AD311848B0090279918EF010B9B69@ZYCOSNT2.hq.zycos.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Thanks, patch indeed fixes my original breaking query.

-Matt

-----Original Message-----
From: Tom Lane [mailto:tgl(at)sss(dot)pgh(dot)pa(dot)us]

Matthew Gabeler-Lee <mgabelerlee(at)zycos(dot)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.

Browse pgsql-general by date

  From Date Subject
Next Message Ian Harding 2002-12-06 15:38:36 setval('myfunsequence', 0)
Previous Message Joel Burton 2002-12-06 15:00:37 Re: Can I User @@error of MS SQL in postgresql