]> granicus.if.org Git - postgis/commitdiff
Skipped attrelid, varattnum linking for PG>=75
authorSandro Santilli <strk@keybit.net>
Thu, 3 Jun 2004 13:20:53 +0000 (13:20 +0000)
committerSandro Santilli <strk@keybit.net>
Thu, 3 Jun 2004 13:20:53 +0000 (13:20 +0000)
git-svn-id: http://svn.osgeo.org/postgis/trunk@576 b70326c6-7e19-0410-871a-916f4a2858ee

postgis.sql.in

index e735b4ea96f21b1e11e8714edad44ca32969d24e..4af5228ff6d6e2e7a2bf46d467dbf91a1ed013dd 100644 (file)
@@ -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,