News for hackers. Stuff that matters.
Re:Amazon’s Consumer Business Turned Off Final Oracle Database by sk5t on Tuesday October 15, 2019 @04:42PM (#21263503)
I would note that "foo IN (a, b, c)" can often be better done as "foo = ANY(ARRAY[a, b, c])" in Postgres - not least because you can shift to passing in an array of variable size without having to construct a special statement for each.

For sorting on the result of a function, consider using a subselect. "SELECT foo FROM (select fun(z) as foo from blaz) tmp order by 1".

There are no comments on this comment yet.