From: Sandro Santilli Date: Tue, 12 Jun 2012 17:28:58 +0000 (+0000) Subject: Move sqldefine include on top of the file (#1822) X-Git-Tag: 2.1.0beta2~911 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=d6cc06e9936e89089eb0085652ddf2a5efae19b6;p=postgis Move sqldefine include on top of the file (#1822) git-svn-id: http://svn.osgeo.org/postgis/trunk@9904 b70326c6-7e19-0410-871a-916f4a2858ee --- diff --git a/topology/topology.sql.in.c b/topology/topology.sql.in.c index 01b927a06..335fa4386 100644 --- a/topology/topology.sql.in.c +++ b/topology/topology.sql.in.c @@ -189,6 +189,9 @@ -- Let people decide about that -- DROP SCHEMA topology CASCADE; +#include "../postgis/sqldefines.h" + + CREATE SCHEMA topology; -- Doing everything outside of a transaction helps @@ -1986,8 +1989,6 @@ LANGUAGE 'plpgsql' VOLATILE STRICT; --general management -- #include "sql/manage/ManageHelper.sql.in.c" -#include "../postgis/sqldefines.h" - CREATE OR REPLACE FUNCTION postgis_topology_scripts_installed() RETURNS text AS _POSTGIS_SQL_SELECT_POSTGIS_SCRIPTS_VERSION LANGUAGE 'sql' IMMUTABLE;