Skip to content

Commit af32f4d

Browse files
committed
Patch against src/backend/nodes/outfuncs.c.orig fixes backend crashes
when creating unique indexes. From: James Hughes <jamesh@interpath.com>
1 parent 49459d8 commit af32f4d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/backend/nodes/outfuncs.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
*
88
*
99
* IDENTIFICATION
10-
* $Header: /cvsroot/pgsql/src/backend/nodes/outfuncs.c,v 1.26 1998/01/20 22:11:12 momjian Exp $
10+
* $Header: /cvsroot/pgsql/src/backend/nodes/outfuncs.c,v 1.27 1998/01/25 04:07:52 scrappy Exp $
1111
*
1212
* NOTES
1313
* Every (plan) node in POSTGRES has an associated "out" routine which
@@ -102,7 +102,7 @@ _outIndexStmt(StringInfo str, IndexStmt *node)
102102
appendStringInfo(str, " :rangetable ");
103103
_outNode(str, node->rangetable);
104104
appendStringInfo(str, " :lossy ");
105-
appendStringInfo(str, (*node->lossy ? "true": "false"));
105+
appendStringInfo(str, (node->lossy ? "true": "false"));
106106
appendStringInfo(str, " :unique ");
107107
appendStringInfo(str, (node->unique ? "true": "false"));
108108
}

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy