removed a bit of debugging code from database-list-tables
authorRuss Tyndall <russ@acceleration.net>
Mon, 14 Dec 2009 23:06:47 +0000 (18:06 -0500)
committerRuss Tyndall <russ@acceleration.net>
Mon, 14 Dec 2009 23:06:47 +0000 (18:06 -0500)
db-postgresql-socket3/sql.lisp

index 548d2195743b9ee589421466d0c6ad3963c1c622..7f545c80ee63eb4124ed9eb07ff9a53199286e8d 100644 (file)
 
 (defmethod database-list-tables ((database postgresql-socket3-database) &key owner)
   (clsql:query (command-object "
-SELECT $1::Text as table_name
-UNION 
 SELECT table_name FROM information_schema.tables
                                 WHERE ($1::Text IS NULL or table_schema = $1::text)"
                               (list (or owner :null)))