From: Sandro Santilli Date: Thu, 3 Jun 2004 13:20:53 +0000 (+0000) Subject: Skipped attrelid, varattnum linking for PG>=75 X-Git-Tag: pgis_0_9_1~218 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=5169813d465fac5c096dc9f8b00a868c8032df14;p=postgis Skipped attrelid, varattnum linking for PG>=75 git-svn-id: http://svn.osgeo.org/postgis/trunk@576 b70326c6-7e19-0410-871a-916f4a2858ee --- diff --git a/postgis.sql.in b/postgis.sql.in index e735b4ea9..4af5228ff 100644 --- a/postgis.sql.in +++ b/postgis.sql.in @@ -17,6 +17,7 @@ #define CREATEFUNCTION CREATE FUNCTION #endif + BEGIN TRANSACTION; -- You might have to define the PL/PgSQL language usually done with the @@ -371,6 +372,12 @@ BEGIN FROM pg_namespace ); #endif +#if USE_VERSION >= 75 + -- no linkage to system table needed + return "done"; +#endif + + -- fix linking to system tables UPDATE geometry_columns SET attrelid = NULL, varattnum = NULL,