BUG #5489: SELECT ... RETURNING INTO ... in ecpg

From: "Alexander" <goal81(at)gmail(dot)com>
To: pgsql-bugs(at)postgresql(dot)org
Subject: BUG #5489: SELECT ... RETURNING INTO ... in ecpg
Date: 2010-06-03 20:17:26
Message-ID: 201006032017.o53KHQGJ038090@wwwmaster.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs


The following bug has been logged online:

Bug reference: 5489
Logged by: Alexander
Email address: goal81(at)gmail(dot)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.

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Mark Kirkwood 2010-06-03 23:16:48 Re: Bad optimizer data for xml (WAS: xml data type implications of no =)
Previous Message Claudio Freire 2010-06-03 18:39:44 Re: BUG #5443: Undetected deadlock situation