Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 7d62e9c

Browse files
Jan WieckJan Wieck
authored andcommitted
Bugfix (bug by me in 1.4) in backparsing INSERT ... SELECT
Jan
1 parent 99f61da commit 7d62e9c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/backend/utils/adt/ruleutils.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
* out of it's tuple
44
*
55
* IDENTIFICATION
6-
* $Header: /cvsroot/pgsql/src/backend/utils/adt/ruleutils.c,v 1.8 1999/01/25 18:02:23 momjian Exp $
6+
* $Header: /cvsroot/pgsql/src/backend/utils/adt/ruleutils.c,v 1.9 1999/04/29 15:52:01 wieck Exp $
77
*
88
* This software is copyrighted by Jan Wieck - Hamburg.
99
*
@@ -1117,7 +1117,7 @@ get_insert_query_def(Query *query, QryHier *qh)
11171117
strcat(buf, ")");
11181118
}
11191119
else
1120-
strcat(buf, get_query_def(query, qh));
1120+
strcat(buf, get_select_query_def(query, qh));
11211121

11221122
/* ----------
11231123
* Copy the query string into allocated space and return it

0 commit comments

Comments
 (0)