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
f3f8499b
Commit
f3f8499b
authored
Dec 10, 2001
by
Tom Lane
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Repair case-conversion error in to_date's handling of roman numerals.
From Manuel Sugawara, approved by Karel Zak.
parent
0a7a8256
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
src/backend/utils/adt/formatting.c
src/backend/utils/adt/formatting.c
+3
-3
No files found.
src/backend/utils/adt/formatting.c
View file @
f3f8499b
/* -----------------------------------------------------------------------
* formatting.c
*
* $Header: /cvsroot/pgsql/src/backend/utils/adt/formatting.c,v 1.4
6 2001/12/05 02:06:19 ishii
Exp $
* $Header: /cvsroot/pgsql/src/backend/utils/adt/formatting.c,v 1.4
7 2001/12/10 15:34:05 tgl
Exp $
*
*
* Portions Copyright (c) 1999-2000, PostgreSQL Global Development Group
...
...
@@ -1476,7 +1476,7 @@ seq_search(char *name, char **array, int type, int max, int *len)
return
-
1
;
/* set first char */
if
(
type
==
ONE_UPPER
||
ALL_UPPER
)
if
(
type
==
ONE_UPPER
||
type
==
ALL_UPPER
)
*
name
=
toupper
((
unsigned
char
)
*
name
);
else
if
(
type
==
ALL_LOWER
)
*
name
=
tolower
((
unsigned
char
)
*
name
);
...
...
@@ -2521,7 +2521,7 @@ dch_date(int arg, char *inout, int suf, int flag, FormatNode *node, void *data)
}
else
if
(
flag
==
FROM_CHAR
)
{
tmfc
->
mm
=
12
-
seq_search
(
inout
,
rm_months_lower
,
ALL_
UPP
ER
,
FULL_SIZ
,
&
len
);
tmfc
->
mm
=
12
-
seq_search
(
inout
,
rm_months_lower
,
ALL_
LOW
ER
,
FULL_SIZ
,
&
len
);
CHECK_SEQ_SEARCH
(
len
,
"rm"
);
if
(
S_FM
(
suf
))
return
len
-
1
;
...
...
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