The following bug has been logged online: Bug reference: 5489 Logged by: Alexander Email address: goa...@gmail.com PostgreSQL version: 8.3.11 Operating system: CentOS 5.4 Description: SELECT ... RETURNING INTO ... in ecpg Details:
I've been using PostgreSQL since version 8.2. As I saw, ecpg preprocessor is unable to handle "SELECT ... RETURNING INTO ... " queries due to the following line in src/interfaces/ecpg/preproc/preproc.y: returning_clause: RETURNING target_list { $$ = ... Changing this line to: returning_clause: RETURNING target_list ecpg_into { $$ = ... fixes this lack. -- Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-bugs