mirror of
https://github.com/postgres/postgres.git
synced 2025-07-31 22:04:40 +03:00
Small changes to use the absolute path to system catalogs.
Greg Sabino Mullane
This commit is contained in:
@ -31,7 +31,7 @@
|
||||
* ENHANCEMENTS, OR MODIFICATIONS.
|
||||
*
|
||||
* IDENTIFICATION
|
||||
* $Header: /cvsroot/pgsql/src/pl/tcl/pltcl.c,v 1.69 2003/02/06 17:02:11 tgl Exp $
|
||||
* $Header: /cvsroot/pgsql/src/pl/tcl/pltcl.c,v 1.70 2003/05/16 13:37:00 tgl Exp $
|
||||
*
|
||||
**********************************************************************/
|
||||
|
||||
@ -309,7 +309,7 @@ pltcl_init_load_unknown(Tcl_Interp *interp)
|
||||
/************************************************************
|
||||
* Check if table pltcl_modules exists
|
||||
************************************************************/
|
||||
spi_rc = SPI_exec("select 1 from pg_class "
|
||||
spi_rc = SPI_exec("select 1 from pg_catalog.pg_class "
|
||||
"where relname = 'pltcl_modules'", 1);
|
||||
SPI_freetuptable(SPI_tuptable);
|
||||
if (spi_rc != SPI_OK_SELECT)
|
||||
|
Reference in New Issue
Block a user