Mon Jul 9 12:31:12 PDT 2007
- Previous message: [Slony1-commit] slony1-engine TODO RELEASE-2.0
- Next message: [Slony1-commit] slony1-engine TODO
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Update of /home/cvsd/slony1/slony1-engine/tests/testdatestyles
In directory main.slony.info:/tmp/cvs-serv29680/tests/testdatestyles
Modified Files:
init_data.sql
Log Message:
Added some extra tuples to date test so that we have tuples within the
somewhat ambiguous date range which is now DST that didn't use to be...
PostgreSQL stores "zoned" data in UTC form, so that the only reason to
expect any disagreement between nodes would be if two nodes were on
different versions of PostgreSQL that have a different idea as to how
to output those dates (thus, you have one that is aware of the new rules,
and one unaware, and are using TZ/PGTZ in a relevant zone).
Thus, we don't expect this test to "fall over" terribly much, but the
data's handy, if someone wants to do such a test...
Index: init_data.sql
===================================================================
RCS file: /home/cvsd/slony1/slony1-engine/tests/testdatestyles/init_data.sql,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** init_data.sql 23 Jun 2006 15:37:57 -0000 1.1
--- init_data.sql 9 Jul 2007 19:31:10 -0000 1.2
***************
*** 2,3 ****
--- 2,19 ----
insert into table1(ts, tsz, ds) values ('infinity', 'infinity', now());
insert into table1(ts, tsz, ds) values ('-infinity', '-infinity', now());
+
+ insert into table1 (ts, tsz, ds) values (
+
+ -- Some nice dates that take place inside the time window that was
+ -- a tad ambiguous in 2007 in that the definition of daylight savings time
+ -- was changed - per Bill Moran
+
+ insert into table1 (ts, tsz, ds) values (now(), '2007-03-12 11:05:32.913154 edt', now());
+ insert into table1 (ts, tsz, ds) values (now(), '2007-03-12 10:05:32.913154 est', now());
+ insert into table1 (ts, tsz, ds) values (now(), '2007-03-14 17:39:28.595669 edt', now());
+ insert into table1 (ts, tsz, ds) values (now(), '2007-03-14 16:39:28.595669 est', now());
+ insert into table1 (ts, tsz, ds) values (now(), '2007-03-28 14:45:55.75936 edt', now());
+ insert into table1 (ts, tsz, ds) values (now(), '2007-03-28 13:45:55.75936 est', now());
+ insert into table1 (ts, tsz, ds) values (now(), '2007-03-29 13:35:19.960505 edt', now());
+ insert into table1 (ts, tsz, ds) values (now(), '2007-03-29 12:35:19.960505 est', now());
+
- Previous message: [Slony1-commit] slony1-engine TODO RELEASE-2.0
- Next message: [Slony1-commit] slony1-engine TODO
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Slony1-commit mailing list