Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
Postgres FD Implementation
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Abuhujair Javed
Postgres FD Implementation
Commits
f9b232f0
Commit
f9b232f0
authored
May 16, 2003
by
Tom Lane
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Small changes to use the absolute path to system catalogs.
Greg Sabino Mullane
parent
3d41da50
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
5 deletions
+5
-5
src/pl/tcl/modules/pltcl_loadmod.in
src/pl/tcl/modules/pltcl_loadmod.in
+1
-1
src/pl/tcl/pltcl.c
src/pl/tcl/pltcl.c
+2
-2
src/pl/tcl/test/test_setup.sql
src/pl/tcl/test/test_setup.sql
+2
-2
No files found.
src/pl/tcl/modules/pltcl_loadmod.in
View file @
f9b232f0
...
...
@@ -84,7 +84,7 @@ proc __PLTcl_loadmod_check_table {conn tabname expnames exptypes} {
set
found
0
pg_select
$
conn
"select C.relname, A.attname, A.attnum, T.typname \
from pg_c
lass C, pg_attribute A,
pg_type T \
from pg_c
atalog.pg_class C, pg_catalog.pg_attribute A, pg_catalog.
pg_type T \
where C.relname = '$tabname' \
and A.attrelid = C.oid \
and A.attnum > 0 \
...
...
src/pl/tcl/pltcl.c
View file @
f9b232f0
...
...
@@ -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_c
atalog.pg_c
lass "
"where relname = 'pltcl_modules'"
,
1
);
SPI_freetuptable
(
SPI_tuptable
);
if
(
spi_rc
!=
SPI_OK_SELECT
)
...
...
src/pl/tcl/test/test_setup.sql
View file @
f9b232f0
...
...
@@ -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_c
lass
\\
spi_exec "select relname from pg_c
atalog.pg_class
\\
where oid =
''
$TG_relid
''
::oid"
set GD($planrel) $relname
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment