projects
/
users
/
bernd
/
postgres.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
64c8b53
)
Allow 'PostgreSQL' as a date/time formatting style. Formerly, recognized
author
Thomas G. Lockhart
<
[email protected]
>
Wed, 21 Nov 2001 05:55:18 +0000
(
05:55
+0000)
committer
Thomas G. Lockhart
<
[email protected]
>
Wed, 21 Nov 2001 05:55:18 +0000
(
05:55
+0000)
'Postgres' only, but now accepts both.
src/backend/commands/variable.c
patch
|
blob
|
blame
|
history
diff --git
a/src/backend/commands/variable.c
b/src/backend/commands/variable.c
index e148531b95c7b84bc1f15932a8b73609b4066d4b..0d093cb5345a1357e199d4c3b556284489955bba 100644
(file)
--- a/
src/backend/commands/variable.c
+++ b/
src/backend/commands/variable.c
@@
-213,7
+213,7
@@
parse_datestyle_internal(char *value)
DateStyle = USE_SQL_DATES;
dcnt++;
}
- else if (!str
casecmp(tok, "POSTGRES"
))
+ else if (!str
ncasecmp(tok, "POSTGRESQL", 8
))
{
DateStyle = USE_POSTGRES_DATES;
dcnt++;