We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8cb4154 commit 2de0da3Copy full SHA for 2de0da3
src/backend/commands/command.c
@@ -7,7 +7,7 @@
7
*
8
9
* IDENTIFICATION
10
- * $Header: /cvsroot/pgsql/src/backend/commands/Attic/command.c,v 1.16 1997/09/08 21:42:29 momjian Exp $
+ * $Header: /cvsroot/pgsql/src/backend/commands/Attic/command.c,v 1.17 1997/09/18 14:31:38 vadim Exp $
11
12
* NOTES
13
* The PortalExecutorHeapMemory crap needs to be eliminated
@@ -481,6 +481,7 @@ PerformAddAttribute(char *relationName,
481
attribute->attisset = (bool) (form->typtype == 'c');
482
attribute->attalign = form->typalign;
483
attribute->attnotnull = false;
484
+ attribute->atthasdef = (colDef->defval != NULL);
485
486
heap_insert(attrdesc, attributeTuple);
487
if (hasindex)
0 commit comments