diff options
| author | Tom Lane <tgl@sss.pgh.pa.us> | 2003-05-16 13:37:00 +0000 |
|---|---|---|
| committer | Tom Lane <tgl@sss.pgh.pa.us> | 2003-05-16 13:37:00 +0000 |
| commit | f9b232f0190af992894a2035d2c42914938cae8b (patch) | |
| tree | 2e103eaa05ad222254255b5b2036090a37010103 /src/pl/tcl/test/test_setup.sql | |
| parent | 3d41da50f7ec8d976c48c946f7dc0d57bd2ee790 (diff) | |
| download | postgresql-f9b232f0190af992894a2035d2c42914938cae8b.tar.gz | |
Small changes to use the absolute path to system catalogs.
Greg Sabino Mullane
Diffstat (limited to 'src/pl/tcl/test/test_setup.sql')
| -rw-r--r-- | src/pl/tcl/test/test_setup.sql | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/pl/tcl/test/test_setup.sql b/src/pl/tcl/test/test_setup.sql index 8fa9fec651..568a2b3aeb 100644 --- a/src/pl/tcl/test/test_setup.sql +++ b/src/pl/tcl/test/test_setup.sql @@ -319,7 +319,7 @@ create function check_primkey() returns trigger as ' # Lookup the fields type in pg_attribute # set n [spi_exec "select T.typname \\ - from pg_type T, pg_attribute A, pg_class C \\ + from pg_catalog.pg_type T, pg_catalog.pg_attribute A, pg_catalog.pg_class C \\ where C.relname = ''[quote $keyrel]'' \\ and C.oid = A.attrelid \\ and A.attname = ''[quote $key]'' \\ @@ -343,7 +343,7 @@ create function check_primkey() returns trigger as ' # # Lookup and remember the table name for later error messages # - spi_exec "select relname from pg_class \\ + spi_exec "select relname from pg_catalog.pg_class \\ where oid = ''$TG_relid''::oid" set GD($planrel) $relname } |
