summaryrefslogtreecommitdiff
path: root/test/dialect/postgres.py
diff options
context:
space:
mode:
authorMike Bayer <mike_mp@zzzcomputing.com>2007-09-01 21:21:29 +0000
committerMike Bayer <mike_mp@zzzcomputing.com>2007-09-01 21:21:29 +0000
commit5df1759e151274594ca4691419f6be7e91257635 (patch)
tree9b0d4feb0811f2320cb15a3c5305449a81845d79 /test/dialect/postgres.py
parent61f2ca2c9d708660c45d5e81bfd3337bb82bbe62 (diff)
downloadsqlalchemy-5df1759e151274594ca4691419f6be7e91257635.tar.gz
- got all examples working
- inline default execution occurs for *all* non-PK columns unconditionally - preexecute only for non-executemany PK cols on PG, Oracle, etc. - new default docs
Diffstat (limited to 'test/dialect/postgres.py')
-rw-r--r--test/dialect/postgres.py6
1 files changed, 2 insertions, 4 deletions
diff --git a/test/dialect/postgres.py b/test/dialect/postgres.py
index 3a1c978ac..06cebaf17 100644
--- a/test/dialect/postgres.py
+++ b/test/dialect/postgres.py
@@ -537,8 +537,7 @@ class TimezoneTest(AssertMixin):
somedate = testbase.db.connect().scalar(func.current_timestamp().select())
tztable.insert().execute(id=1, name='row1', date=somedate)
c = tztable.update(tztable.c.id==1).execute(name='newname')
- x = c.last_updated_params()
- print x['date'] == somedate
+ print tztable.select(tztable.c.id==1).execute().fetchone()
@testing.supported('postgres')
def test_without_timezone(self):
@@ -546,8 +545,7 @@ class TimezoneTest(AssertMixin):
somedate = datetime.datetime(2005, 10,20, 11, 52, 00)
notztable.insert().execute(id=1, name='row1', date=somedate)
c = notztable.update(notztable.c.id==1).execute(name='newname')
- x = c.last_updated_params()
- print x['date'] == somedate
+ print notztable.select(tztable.c.id==1).execute().fetchone()
class ArrayTest(AssertMixin):
@testing.supported('postgres')