projects
/
users
/
kgrittn
/
postgres.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4c4531e
)
Data returned by RETURNING clause wasn't correctly processed by ecpg. Patch backporte...
author
Michael Meskes
<
[email protected]
>
Fri, 4 Jun 2010 10:48:34 +0000
(10:48 +0000)
committer
Michael Meskes
<
[email protected]
>
Fri, 4 Jun 2010 10:48:34 +0000
(10:48 +0000)
src/interfaces/ecpg/preproc/preproc.y
patch
|
blob
|
blame
|
history
diff --git
a/src/interfaces/ecpg/preproc/preproc.y
b/src/interfaces/ecpg/preproc/preproc.y
index 49540aa742dd32572e4114ec201084125225143a..2b2837b9d408c1e88a271ebaf4ca5e8019c02c84 100644
(file)
--- a/
src/interfaces/ecpg/preproc/preproc.y
+++ b/
src/interfaces/ecpg/preproc/preproc.y
@@
-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; }
;