]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commitdiff
comment verbiage
authorMike Bayer <mike_mp@zzzcomputing.com>
Sat, 18 Feb 2006 16:37:35 +0000 (16:37 +0000)
committerMike Bayer <mike_mp@zzzcomputing.com>
Sat, 18 Feb 2006 16:37:35 +0000 (16:37 +0000)
test/query.py

index 978325c3fb3a4f6749deeff2c70c300eaa207a62..e6eaf198f513898f326585b3446bf1cf02c0d14f 100644 (file)
@@ -42,11 +42,11 @@ class QueryTest(PersistTest):
         print repr(self.users.select().execute().fetchall())
 
     def testpassiveoverride(self):
-        """primarily for postgres, tests that when we get a column back 
+        """primarily for postgres, tests that when we get a primary key column back 
         from reflecting a table which has a default value on it, we pre-execute
         that PassiveDefault upon insert, even though PassiveDefault says 
-        "let the database execute this", because in postgres we have to otherwise
-        we cant locate the inserted row."""
+        "let the database execute this", because in postgres we must have all the primary
+        key values in memory before insert; otherwise we cant locate the just inserted row."""
         try:
             db.execute("""
              CREATE TABLE speedy_users