summaryrefslogtreecommitdiff
path: root/contrib/spi/refint.c
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2002-05-03 04:11:08 +0000
committerTom Lane <tgl@sss.pgh.pa.us>2002-05-03 04:11:08 +0000
commit8338cc03a8915e28024981d09193612ec4a83819 (patch)
tree8845f3a7695af8370cb60c2461d39e70be667584 /contrib/spi/refint.c
parent53cedcac22bca29bb6ac766b04d5dd08db77ac03 (diff)
Remove the last traces of datatypes datetime and timespan.
Diffstat (limited to 'contrib/spi/refint.c')
-rw-r--r--contrib/spi/refint.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/spi/refint.c b/contrib/spi/refint.c
index 82a07871fb8..55c0fd13e68 100644
--- a/contrib/spi/refint.c
+++ b/contrib/spi/refint.c
@@ -450,7 +450,7 @@ check_foreign_key(PG_FUNCTION_ARGS)
if ((strcmp(type, "text") && strcmp(type, "varchar") &&
strcmp(type, "char") && strcmp(type, "bpchar") &&
- strcmp(type, "date") && strcmp(type, "datetime")) == 0)
+ strcmp(type, "date") && strcmp(type, "timestamp")) == 0)
is_char_type = 1;
#ifdef DEBUG_QUERY
elog(DEBUG3, "Check_foreign_key Debug value %s type %s %d",