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
d50f2812
Commit
d50f2812
authored
Oct 01, 2013
by
Bruce Momjian
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Adjust C comments that would be wrap-able.
parent
15732b34
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
src/backend/utils/adt/datetime.c
src/backend/utils/adt/datetime.c
+4
-4
No files found.
src/backend/utils/adt/datetime.c
View file @
d50f2812
...
...
@@ -822,11 +822,11 @@ DecodeDateTime(char **field, int *ftype, int nf,
switch
(
ftype
[
i
])
{
case
DTK_DATE
:
/*
**
/*
* Integral julian day with attached time zone?
* All other forms with JD will be separated into
* distinct fields, so we handle just this case here.
*
**
/
*/
if
(
ptype
==
DTK_JULIAN
)
{
char
*
cp
;
...
...
@@ -852,7 +852,7 @@ DecodeDateTime(char **field, int *ftype, int nf,
ptype
=
0
;
break
;
}
/*
**
/*
* Already have a date? Then this might be a time zone name
* with embedded punctuation (e.g. "America/New_York") or a
* run-together time with trailing time zone (e.g. hhmmss-zz).
...
...
@@ -861,7 +861,7 @@ DecodeDateTime(char **field, int *ftype, int nf,
* We consider it a time zone if we already have month & day.
* This is to allow the form "mmm dd hhmmss tz year", which
* we've historically accepted.
*
**
/
*/
else
if
(
ptype
!=
0
||
((
fmask
&
(
DTK_M
(
MONTH
)
|
DTK_M
(
DAY
)))
==
(
DTK_M
(
MONTH
)
|
DTK_M
(
DAY
))))
...
...
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