Tom Lane wrote:
> Tony Caduto <[EMAIL PROTECTED]> writes:

> > case when cast(a.attnum as text) IN( select array_to_string(conkey,',') 
> > from pg_constraint where
> 
> Surely that's the worst bit of SQL code I've seen in awhile.

Wow, you really are lucky.

-- 
Alvaro Herrera                 http://www.amazon.com/gp/registry/DXLWNGRJD34J
"Java is clearly an example of money oriented programming"  (A. Stepanov)

---------------------------(end of broadcast)---------------------------
TIP 9: In versions below 8.0, the planner will ignore your desire to
       choose an index scan if your joining column's datatypes do not
       match

Reply via email to