> select distinct x from foo order by y; > > which produces ill-defined results. Why is this ill-defined? If y is in x then it is also distinct and there's no logic problem sorting on it.
pgsql-hackers by date:
Соглашаюсь с условиями обработки персональных данных