diff options
| author | Tom Lane | 2003-02-20 05:24:55 +0000 |
|---|---|---|
| committer | Tom Lane | 2003-02-20 05:24:55 +0000 |
| commit | 4df0f1d26f62e835bb357fa7c2e3d5de5fcbf802 (patch) | |
| tree | 69c6672d8d02795c391af05d359a1f253aad6cdb /src/include | |
| parent | 69c049cef4ad2bce1b6ac9e96544cbaaa907378e (diff) | |
Fix timestamptz_in so that parsing of 'now'::timestamptz gives right
answer when SET TIMEZONE has been done since the start of the current
transaction. Per bug report from Robert Haas.
I plan some futher cleanup in HEAD, but this is a low-risk patch for
the immediate issue in 7.3.
Diffstat (limited to 'src/include')
| -rw-r--r-- | src/include/utils/datetime.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/include/utils/datetime.h b/src/include/utils/datetime.h index 251691325a5..39905ebb15e 100644 --- a/src/include/utils/datetime.h +++ b/src/include/utils/datetime.h @@ -9,7 +9,7 @@ * Portions Copyright (c) 1996-2002, PostgreSQL Global Development Group * Portions Copyright (c) 1994, Regents of the University of California * - * $Id: datetime.h,v 1.35 2003/02/19 03:48:10 momjian Exp $ + * $Id: datetime.h,v 1.36 2003/02/20 05:24:55 tgl Exp $ * *------------------------------------------------------------------------- */ @@ -261,7 +261,7 @@ extern int day_tab[2][13]; extern void GetCurrentDateTime(struct tm * tm); -extern void GetCurrentTimeUsec(struct tm * tm, fsec_t *fsec); +extern void GetCurrentTimeUsec(struct tm * tm, fsec_t *fsec, int *tzp); extern void j2date(int jd, int *year, int *month, int *day); extern int date2j(int year, int month, int day); |
