mirror of
https://github.com/postgres/postgres.git
synced 2025-06-20 15:22:23 +03:00
Change one date away from PST to avoid trouble after daylight savings time.
This commit is contained in:
@ -10,7 +10,7 @@ INSERT INTO DATETIME_TBL VALUES ('now');
|
|||||||
INSERT INTO DATETIME_TBL VALUES ('today');
|
INSERT INTO DATETIME_TBL VALUES ('today');
|
||||||
INSERT INTO DATETIME_TBL VALUES ('yesterday');
|
INSERT INTO DATETIME_TBL VALUES ('yesterday');
|
||||||
INSERT INTO DATETIME_TBL VALUES ('tomorrow');
|
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');
|
INSERT INTO DATETIME_TBL VALUES ('tomorrow zulu');
|
||||||
|
|
||||||
SELECT count(*) AS one FROM DATETIME_TBL WHERE d1 = 'today'::datetime;
|
SELECT count(*) AS one FROM DATETIME_TBL WHERE d1 = 'today'::datetime;
|
||||||
|
Reference in New Issue
Block a user