File tree 1 file changed +7
-3
lines changed
1 file changed +7
-3
lines changed Original file line number Diff line number Diff line change 6
6
* Portions Copyright (c) 1996-2000, PostgreSQL, Inc
7
7
* Portions Copyright (c) 1994, Regents of the University of California
8
8
*
9
- * $Header: /cvsroot/pgsql/src/backend/nodes/outfuncs.c,v 1.114 2000/04/12 17:15:16 momjian Exp $
9
+ * $Header: /cvsroot/pgsql/src/backend/nodes/outfuncs.c,v 1.115 2000/04/26 23:39:10 tgl Exp $
10
10
*
11
11
* NOTES
12
12
* Every (plan) node in POSTGRES has an associated "out" routine which
@@ -598,15 +598,19 @@ _outGroup(StringInfo str, Group *node)
598
598
static void
599
599
_outUnique (StringInfo str , Unique * node )
600
600
{
601
+ int i ;
602
+
601
603
appendStringInfo (str , " UNIQUE " );
602
604
_outPlanInfo (str , (Plan * ) node );
603
605
604
- appendStringInfo (str , " :nonameid %u :keycount %d :numCols %d " ,
606
+ appendStringInfo (str , " :nonameid %u :keycount %d :numCols %d :uniqColIdx " ,
605
607
node -> nonameid ,
606
608
node -> keycount ,
607
609
node -> numCols );
608
- }
609
610
611
+ for (i = 0 ; i < node -> numCols ; i ++ )
612
+ appendStringInfo (str , "%d " , (int ) node -> uniqColIdx [i ]);
613
+ }
610
614
611
615
/*
612
616
* Hash is a subclass of Noname
You can’t perform that action at this time.
0 commit comments