diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2006-10-16 19:58:27 +0000 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2006-10-16 19:58:27 +0000 |
commit | 0b35b01e7ab0bae4eca85d434f884259e3187bcd (patch) | |
tree | 809f0557c5520edb2b0854aa7741960fccfd15e1 /src/timezone/zic.c | |
parent | a2ebf81913b00f2e9d0f2dcefb99f99596a756b9 (diff) | |
download | postgresql-0b35b01e7ab0bae4eca85d434f884259e3187bcd.tar.gz postgresql-0b35b01e7ab0bae4eca85d434f884259e3187bcd.zip |
Arrange for timezone names to be recognized case-insensitively; for
example SET TIME ZONE 'america/new_york' works now. This seems a good
idea on general user-friendliness grounds, and is part of the solution
to the timestamp-input parsing problems I noted recently.
Diffstat (limited to 'src/timezone/zic.c')
-rw-r--r-- | src/timezone/zic.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/timezone/zic.c b/src/timezone/zic.c index 8ef425367fc..039f6f73e07 100644 --- a/src/timezone/zic.c +++ b/src/timezone/zic.c @@ -3,7 +3,7 @@ * 1996-06-05 by Arthur David Olson (arthur_david_olson@nih.gov). * * IDENTIFICATION - * $PostgreSQL: pgsql/src/timezone/zic.c,v 1.16 2005/10/15 02:49:51 momjian Exp $ + * $PostgreSQL: pgsql/src/timezone/zic.c,v 1.17 2006/10/16 19:58:27 tgl Exp $ */ #include "postgres.h" @@ -2387,11 +2387,11 @@ link(const char *oldpath, const char *newpath) #endif /* - * This allows zic to compile by just assigning a dummy value. + * This allows zic to compile by just returning a dummy value. * localtime.c references it, but no one uses it from zic. */ -char * -pg_TZDIR(void) +int +pg_open_tzfile(const char *name, char *canonname) { - return NULL; + return -1; } |