mirror of
				https://github.com/postgres/postgres.git
				synced 2025-10-31 10:30:33 +03:00 
			
		
		
		
	Patch against src/backend/nodes/outfuncs.c.orig fixes backend crashes
when creating unique indexes. From: James Hughes <jamesh@interpath.com>
This commit is contained in:
		| @@ -7,7 +7,7 @@ | ||||
|  * | ||||
|  * | ||||
|  * IDENTIFICATION | ||||
|  *	  $Header: /cvsroot/pgsql/src/backend/nodes/outfuncs.c,v 1.26 1998/01/20 22:11:12 momjian Exp $ | ||||
|  *	  $Header: /cvsroot/pgsql/src/backend/nodes/outfuncs.c,v 1.27 1998/01/25 04:07:52 scrappy Exp $ | ||||
|  * | ||||
|  * NOTES | ||||
|  *	  Every (plan) node in POSTGRES has an associated "out" routine which | ||||
| @@ -102,7 +102,7 @@ _outIndexStmt(StringInfo str, IndexStmt *node) | ||||
| 	appendStringInfo(str, " :rangetable "); | ||||
| 	_outNode(str, node->rangetable); | ||||
| 	appendStringInfo(str, " :lossy "); | ||||
| 	appendStringInfo(str, (*node->lossy ? "true": "false")); | ||||
| 	appendStringInfo(str, (node->lossy ? "true": "false")); | ||||
| 	appendStringInfo(str, " :unique "); | ||||
| 	appendStringInfo(str, (node->unique ? "true": "false")); | ||||
| } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user