mirror of
https://git.postgresql.org/git/postgresql.git
synced 2025-02-11 19:20:40 +08:00
Change one date away from PST to avoid trouble after daylight savings time.
This commit is contained in:
parent
e7044d70ef
commit
20e71222ea
@ -10,7 +10,7 @@ INSERT INTO DATETIME_TBL VALUES ('now');
|
||||
INSERT INTO DATETIME_TBL VALUES ('today');
|
||||
INSERT INTO DATETIME_TBL VALUES ('yesterday');
|
||||
INSERT INTO DATETIME_TBL VALUES ('tomorrow');
|
||||
INSERT INTO DATETIME_TBL VALUES ('tomorrow PST');
|
||||
INSERT INTO DATETIME_TBL VALUES ('tomorrow EST');
|
||||
INSERT INTO DATETIME_TBL VALUES ('tomorrow zulu');
|
||||
|
||||
SELECT count(*) AS one FROM DATETIME_TBL WHERE d1 = 'today'::datetime;
|
||||
|
Loading…
Reference in New Issue
Block a user