8000 Backpatch REL6_5 for missing inherit '*' in rule dumps. · rtpg/postgres@c3f6f43 · GitHub
[go: up one dir, main page]

Skip to content

Commit c3f6f43

Browse files
committed
Backpatch REL6_5 for missing inherit '*' in rule dumps.
1 parent 34bffa9 commit c3f6f43

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/backend/utils/adt/ruleutils.c

Lines changed: 3 additions & 1 deletion
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.18.2.3 1999/09/05 22:55:28 tgl Exp $
6+
* $Header: /cvsroot/pgsql/src/backend/utils/adt/ruleutils.c,v 1.18.2.4 1999/11/01 14:35:52 tgl Exp $
77
*
88
* This software is copyrighted by Jan Wieck - Hamburg.
99
*
@@ -968,6 +968,8 @@ get_select_query_def(Query *query, QryHier *qh)
968968
strcat(buf, "\"");
969969
strcat(buf, rte->relname);
970970
strcat(buf, "\"");
971+
if (rte->inh)
972+
strcat(buf, "*");
971973
if (strcmp(rte->relname, rte->refname) != 0)
972974
{
973975
strcat(buf, " \"");

0 commit comments

Comments
 (0)
0