Frank Miles <fpm@u.washington.edu> writes: > SELECT INTO rec sum(qty),id AS asum,id FROM dummyTable WHERE id= xid GROUP BY id; ^^^^^^^^^^ > RETURN rec.asum; This is returning id. regards, tom lane
pgsql-general by date:
Соглашаюсь с условиями обработки персональных данных