Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
Postgres FD Implementation
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Abuhujair Javed
Postgres FD Implementation
Commits
2684f15e
Commit
2684f15e
authored
Oct 03, 2001
by
Tom Lane
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add missing TIMESTAMPTZ case.
parent
873dd243
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletion
+4
-1
src/backend/utils/adt/selfuncs.c
src/backend/utils/adt/selfuncs.c
+4
-1
No files found.
src/backend/utils/adt/selfuncs.c
View file @
2684f15e
...
...
@@ -15,7 +15,7 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/utils/adt/selfuncs.c,v 1.9
7 2001/09/14 17:46:40 momjian
Exp $
* $Header: /cvsroot/pgsql/src/backend/utils/adt/selfuncs.c,v 1.9
8 2001/10/03 18:25:59 tgl
Exp $
*
*-------------------------------------------------------------------------
*/
...
...
@@ -1744,6 +1744,7 @@ convert_to_scalar(Datum value, Oid valuetypid, double *scaledvalue,
* Built-in time types
*/
case
TIMESTAMPOID
:
case
TIMESTAMPTZOID
:
case
ABSTIMEOID
:
case
DATEOID
:
case
INTERVALOID
:
...
...
@@ -2121,6 +2122,8 @@ convert_timevalue_to_scalar(Datum value, Oid typid)
{
case
TIMESTAMPOID
:
return
DatumGetTimestamp
(
value
);
case
TIMESTAMPTZOID
:
return
DatumGetTimestampTz
(
value
);
case
ABSTIMEOID
:
return
DatumGetTimestamp
(
DirectFunctionCall1
(
abstime_timestamp
,
value
));
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment