projects
/
users
/
bernd
/
postgres.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4787559
)
Dump/display 'timestamp' as 'timestamp with time zone', to make room for a
author
Peter Eisentraut
<peter_e@gmx.net>
Mon, 5 Feb 2001 17:35:04 +0000
(17:35 +0000)
committer
Peter Eisentraut
<peter_e@gmx.net>
Mon, 5 Feb 2001 17:35:04 +0000
(17:35 +0000)
future 'timestamp without time zone', which SQL claims is equivalent to
plain 'timestamp'.
src/backend/utils/adt/format_type.c
patch
|
blob
|
blame
|
history
diff --git
a/src/backend/utils/adt/format_type.c
b/src/backend/utils/adt/format_type.c
index 24d8547aa65827ab246001b9ade7d6c1283cf3e3..305e68c654890e4c0a64c6d589b7572caf17b069 100644
(file)
--- a/
src/backend/utils/adt/format_type.c
+++ b/
src/backend/utils/adt/format_type.c
@@
-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)",