Index: openacs-4/packages/acs-tcl/tcl/00-database-procs.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-tcl/tcl/Attic/00-database-procs.tcl,v diff -u -r1.44 -r1.44.2.1 --- openacs-4/packages/acs-tcl/tcl/00-database-procs.tcl 10 Nov 2003 13:35:02 -0000 1.44 +++ openacs-4/packages/acs-tcl/tcl/00-database-procs.tcl 20 Nov 2003 21:53:39 -0000 1.44.2.1 @@ -2584,13 +2584,13 @@ postgresql { set sql_table_names_with_pattern { - select relname + select relname as table_name from pg_class where relname like lower(:pattern) and relname !~ '^pg_' and relkind = 'r' } set sql_table_names_without_pattern { - select relname + select relname as table_name from pg_class where relname !~ '^pg_' and relkind = 'r' }