On Sun, Nov 13, 2011 at 12:28 PM, Ludo Smissaert <ludo@xxxxxxxxxxxxx> wrote: > The algorithm is that I am returning a SETOF cursors pointing > to two different tables and data of these two tables will be > printed by the client like this: Have you actually measure the cost of adding the order by to the select from the view? -- Sent via pgsql-general mailing list (pgsql-general@xxxxxxxxxxxxxx) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-general