Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit0d3c767

Browse files
committed
Dump/display 'timestamp' as 'timestamp with time zone', to make room for a
future 'timestamp without time zone', which SQL claims is equivalent toplain 'timestamp'.
1 parentab29852 commit0d3c767

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

‎src/backend/utils/adt/format_type.c

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
* Portions Copyright (c) 1994, Regents of the University of California
99
*
1010
* IDENTIFICATION
11-
* $Header: /cvsroot/pgsql/src/backend/utils/adt/format_type.c,v 1.8 2001/01/24 19:43:13 momjian Exp $
11+
* $Header: /cvsroot/pgsql/src/backend/utils/adt/format_type.c,v 1.9 2001/02/05 17:35:04 petere Exp $
1212
*
1313
*-------------------------------------------------------------------------
1414
*/
@@ -175,6 +175,10 @@ format_type_internal(Oid type_oid, int32 typemod)
175175
buf=pstrdup("time with time zone");
176176
break;
177177

178+
caseTIMESTAMPOID:
179+
buf=pstrdup("timestamp with time zone");
180+
break;
181+
178182
caseVARBITOID:
179183
if (with_typemod)
180184
buf=psnprintf(13+MAX_INT32_LEN+1,"bit varying(%d)",

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp