That sounds like a nice suggestion. I guess it could get rid of most of the issues I forsee. I should follow that for my cases too. I guess we can live without an ORDER clause. Thanks everyone for helping.
pgsql-general by date:
Соглашаюсь с условиями обработки персональных данных