"Kevin Grittner" wrote: > WITH x AS SELECT * FROM x ORDER BY d.data_id; It ate part of what I had on that line. (Note to self: don't use angle-bracketing in posts.) Trying again with different punctuation: WITH x AS [original query] SELECT * FROM x ORDER BY d.data_id; -Kevin -- Sent via pgsql-performance mailing list (pgsql-performance@xxxxxxxxxxxxxx) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-performance