Search Postgresql Archives

Re: 8.3 vs 8.2 sql compatiblity issue

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Tom Lane wrote:
> Tony Caduto <tony_caduto@xxxxxxxxxxxxxxxxxxxx> 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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux