mirror of
https://github.com/postgres/postgres.git
synced 2025-06-03 01:21:48 +03:00
Data returned by RETURNING clause wasn't correctly processed by ecpg. Patch backported from HEAD.
This commit is contained in:
parent
4c4531e1a0
commit
fce23c8780
@ -1,4 +1,4 @@
|
||||
/* $PostgreSQL: pgsql/src/interfaces/ecpg/preproc/preproc.y,v 1.359.2.7 2009/09/08 04:25:25 tgl Exp $ */
|
||||
/* $PostgreSQL: pgsql/src/interfaces/ecpg/preproc/preproc.y,v 1.359.2.8 2010/06/04 10:48:34 meskes Exp $ */
|
||||
|
||||
/* Copyright comment */
|
||||
%{
|
||||
@ -3401,7 +3401,7 @@ insert_column_item: ColId opt_indirection
|
||||
{ $$ = cat2_str($1, $2); }
|
||||
;
|
||||
|
||||
returning_clause: RETURNING target_list { $$ = cat2_str(make_str("returning"), $2); }
|
||||
returning_clause: RETURNING target_list ecpg_into { $$ = cat2_str(make_str("returning"), $2); }
|
||||
| /* EMPTY */ { $$ = EMPTY; }
|
||||
;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user