From: Peter Eisentraut Date: Mon, 5 Feb 2001 17:35:04 +0000 (+0000) Subject: Dump/display 'timestamp' as 'timestamp with time zone', to make room for a X-Git-Tag: REL7_1~579 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=0d3c767bb55ca4f4b135c7db467c3d76ebcec70f;p=postgresql Dump/display 'timestamp' as 'timestamp with time zone', to make room for a future 'timestamp without time zone', which SQL claims is equivalent to plain 'timestamp'. --- diff --git a/src/backend/utils/adt/format_type.c b/src/backend/utils/adt/format_type.c index 3494b6e266..4cdaaee765 100644 --- a/src/backend/utils/adt/format_type.c +++ b/src/backend/utils/adt/format_type.c @@ -8,7 +8,7 @@ * Portions Copyright (c) 1994, Regents of the University of California * * IDENTIFICATION - * $Header: /cvsroot/pgsql/src/backend/utils/adt/format_type.c,v 1.8 2001/01/24 19:43:13 momjian Exp $ + * $Header: /cvsroot/pgsql/src/backend/utils/adt/format_type.c,v 1.9 2001/02/05 17:35:04 petere Exp $ * *------------------------------------------------------------------------- */ @@ -175,6 +175,10 @@ format_type_internal(Oid type_oid, int32 typemod) buf = pstrdup("time with time zone"); break; + case TIMESTAMPOID: + buf = pstrdup("timestamp with time zone"); + break; + case VARBITOID: if (with_typemod) buf = psnprintf(13 + MAX_INT32_LEN + 1, "bit varying(%d)",