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
268b8be8
Commit
268b8be8
authored
Sep 06, 1997
by
Bruce Momjian
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Cleanup needed for indent.
parent
ec05063b
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
11 deletions
+11
-11
src/backend/catalog/genbki.sh
src/backend/catalog/genbki.sh
+3
-3
src/backend/utils/adt/dt.c
src/backend/utils/adt/dt.c
+8
-8
No files found.
src/backend/catalog/genbki.sh
View file @
268b8be8
...
...
@@ -10,7 +10,7 @@
#
#
# IDENTIFICATION
# $Header: /cvsroot/pgsql/src/backend/catalog/Attic/genbki.sh,v 1.
6 1996/09/25 19:24:58
momjian Exp $
# $Header: /cvsroot/pgsql/src/backend/catalog/Attic/genbki.sh,v 1.
7 1997/09/06 00:22:36
momjian Exp $
#
# NOTES
# non-essential whitespace is removed from the generated file.
...
...
@@ -59,8 +59,8 @@ cat $SYSFILES | \
sed
-e
's/\/\*.*\*\///g'
\
-e
's/;[ ]*$//g'
\
-e
's/^[ ]*//'
\
-e
's/\
Oid/\ oid/g'
\
-e
's/\
NameData/\ name/g'
\
-e
's/\
[ ]
Oid/\ oid/g'
\
-e
's/\
[ ]
NameData/\ name/g'
\
-e
's/^Oid/oid/g'
\
-e
's/^NameData/\name/g'
\
-e
's/(NameData/(name/g'
\
...
...
src/backend/utils/adt/dt.c
View file @
268b8be8
...
...
@@ -7,7 +7,7 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/utils/adt/Attic/dt.c,v 1.3
6 1997/09/05 18:11:12
momjian Exp $
* $Header: /cvsroot/pgsql/src/backend/utils/adt/Attic/dt.c,v 1.3
7 1997/09/06 00:22:44
momjian Exp $
*
*-------------------------------------------------------------------------
*/
...
...
@@ -54,13 +54,13 @@ static int tm2timespan(struct tm *tm, double fsec, TimeSpan *span);
#define isleap(y) (((y % 4) == 0) && (((y % 100) != 0) || ((y % 400) == 0)))
int
mdays
[]
=
{
31
,
28
,
31
,
30
,
31
,
30
,
31
,
31
,
30
,
31
,
30
,
31
,
0
}
int
mdays
[]
=
{
31
,
28
,
31
,
30
,
31
,
30
,
31
,
31
,
30
,
31
,
30
,
31
,
0
}
;
char
*
months
[]
=
{
"Jan"
,
"Feb"
,
"Mar"
,
"Apr"
,
"May"
,
"Jun"
,
"Jul"
,
"Aug"
,
"Sep"
,
"Oct"
,
"Nov"
,
"Dec"
,
NULL
}
"Jul"
,
"Aug"
,
"Sep"
,
"Oct"
,
"Nov"
,
"Dec"
,
NULL
}
;
char
*
days
[]
=
{
"Sunday"
,
"Monday"
,
"Tuesday"
,
"Wednesday"
,
"Thursday"
,
"Friday"
,
"Saturday"
,
NULL
}
"Thursday"
,
"Friday"
,
"Saturday"
,
NULL
}
;
/* TMODULO()
* Macro to replace modf(), which is broken on some platforms.
...
...
@@ -1961,7 +1961,7 @@ static datetkn datetktbl[] = {
{
"zp6"
,
TZ
,
NEG
(
36
)},
/* GMT +6 hours. */
{
"z"
,
RESERV
,
DTK_ZULU
},
/* 00:00:00 */
{
ZULU
,
RESERV
,
DTK_ZULU
},
/* 00:00:00 */
}
}
;
static
unsigned
int
szdatetktbl
=
sizeof
datetktbl
/
sizeof
datetktbl
[
0
];
...
...
@@ -2031,14 +2031,14 @@ static datetkn deltatktbl[] = {
{
"years"
,
UNITS
,
DTK_YEAR
},
/* "years" relative time units */
{
"yr"
,
UNITS
,
DTK_YEAR
},
/* "year" relative time units */
{
"yrs"
,
UNITS
,
DTK_YEAR
},
/* "years" relative time units */
}
}
;
static
unsigned
int
szdeltatktbl
=
sizeof
deltatktbl
/
sizeof
deltatktbl
[
0
];
#if USE_DATE_CACHE
datetkn
*
datecache
[
MAXDATEFIELDS
]
=
{
NULL
}
datetkn
*
datecache
[
MAXDATEFIELDS
]
=
{
NULL
}
;
datetkn
*
deltacache
[
MAXDATEFIELDS
]
=
{
NULL
}
datetkn
*
deltacache
[
MAXDATEFIELDS
]
=
{
NULL
}
;
#endif
...
...
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