diff options
Diffstat (limited to 'contrib/spi/refint.c')
-rw-r--r-- | contrib/spi/refint.c | 2 |
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", |