aboutsummaryrefslogtreecommitdiff
path: root/src/backend/executor/execMain.c
diff options
context:
space:
mode:
authorVadim B. Mikheev <vadim4o@yahoo.com>1997-10-12 07:09:20 +0000
committerVadim B. Mikheev <vadim4o@yahoo.com>1997-10-12 07:09:20 +0000
commitdefb10a4503a83a5c48577e5aa7880d028f17211 (patch)
tree39be9fc3637d9e62ae8f04ad355e11280bbe6e74 /src/backend/executor/execMain.c
parentc927f80fe487c5487bb6b324ade3652f1181ba95 (diff)
downloadpostgresql-defb10a4503a83a5c48577e5aa7880d028f17211.tar.gz
postgresql-defb10a4503a83a5c48577e5aa7880d028f17211.zip
DEFAULT is handled by analyze.c now.
Diffstat (limited to 'src/backend/executor/execMain.c')
-rw-r--r--src/backend/executor/execMain.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/backend/executor/execMain.c b/src/backend/executor/execMain.c
index 2048e632ca0..07935eced72 100644
--- a/src/backend/executor/execMain.c
+++ b/src/backend/executor/execMain.c
@@ -26,7 +26,7 @@
*
*
* IDENTIFICATION
- * $Header: /cvsroot/pgsql/src/backend/executor/execMain.c,v 1.26 1997/09/18 20:20:29 momjian Exp $
+ * $Header: /cvsroot/pgsql/src/backend/executor/execMain.c,v 1.27 1997/10/12 07:09:02 vadim Exp $
*
*-------------------------------------------------------------------------
*/
@@ -1245,6 +1245,7 @@ ExecReplace(TupleTableSlot *slot,
ExecARUpdateTriggers(resultRelationDesc, tupleid, tuple);
}
+#if 0
static HeapTuple
ExecAttrDefault(Relation rel, HeapTuple tuple)
{
@@ -1309,6 +1310,7 @@ ExecAttrDefault(Relation rel, HeapTuple tuple)
return (newtuple);
}
+#endif
static char *
ExecRelCheck(Relation rel, HeapTuple tuple)
@@ -1375,8 +1377,10 @@ ExecConstraints(char *caller, Relation rel, HeapTuple tuple)
Assert(rel->rd_att->constr);
+#if 0
if (rel->rd_att->constr->num_defval > 0)
newtuple = tuple = ExecAttrDefault(rel, tuple);
+#endif
if (rel->rd_att->constr->has_not_null)
{