"Dmitry Koterov" <dmitry@xxxxxxxxxx> writes: > I propose to add the SELECT clause to do it natively, like this: > SELECT * > FROM tbl > ORDER BY id > LIMIT 10 > SETTING something=off, other=off Use a function with a SET clause attached. regards, tom lane -- Sent via pgsql-general mailing list (pgsql-general@xxxxxxxxxxxxxx) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-general