]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commitdiff
restored a "distinct" setting that got whacked
authorMike Bayer <mike_mp@zzzcomputing.com>
Mon, 9 Jun 2008 19:14:39 +0000 (19:14 +0000)
committerMike Bayer <mike_mp@zzzcomputing.com>
Mon, 9 Jun 2008 19:14:39 +0000 (19:14 +0000)
lib/sqlalchemy/databases/postgres.py

index 430fdc61ab6c4858406bbf4fe10439ce4e00e089..2f4865e96e96d83ac8b1a7889197802f8e5c6e30 100644 (file)
@@ -675,7 +675,7 @@ class PGCompiler(compiler.DefaultCompiler):
             text += " OFFSET " + str(select._offset)
         return text
 
-    def dont_get_select_precolumns(self, select):
+    def get_select_precolumns(self, select):
         if select._distinct:
             if isinstance(select._distinct, bool):
                 return "DISTINCT "