mirror of
https://git.osgeo.org/gitea/postgis/postgis
synced 2024-10-24 09:02:37 +00:00
Work outside of transaction, to help upgrade/test cycles. Fix leftover from previous commit. [RT-SIGTA]
git-svn-id: http://svn.osgeo.org/postgis/trunk@6388 b70326c6-7e19-0410-871a-916f4a2858ee
This commit is contained in:
parent
3daf93d2f5
commit
de082e616d
|
@ -4,7 +4,9 @@
|
|||
--
|
||||
-- PostGIS - Spatial Types for PostgreSQL
|
||||
-- http://postgis.refractions.net
|
||||
-- Copyright 2005 Refractions Research Inc.
|
||||
--
|
||||
-- Copyright (C) 2010 Sandro Santilli <strk@keybit.net>
|
||||
-- Copyright (C) 2005 Refractions Research Inc.
|
||||
--
|
||||
-- This is free software; you can redistribute and/or modify it under
|
||||
-- the terms of the GNU General Public Licence. See the COPYING file.
|
||||
|
@ -171,7 +173,9 @@
|
|||
-- Let people decide about that
|
||||
-- DROP SCHEMA topology CASCADE;
|
||||
|
||||
BEGIN;
|
||||
-- Doing everything outside of a transaction helps
|
||||
-- upgrading in the best case.
|
||||
-- BEGIN;
|
||||
|
||||
CREATE SCHEMA topology;
|
||||
|
||||
|
@ -1463,8 +1467,6 @@ DECLARE
|
|||
BEGIN
|
||||
RAISE DEBUG ''Line: %'', ST_asEWKT(aline);
|
||||
|
||||
ngeoms := ST_NumGeometries(aline);
|
||||
|
||||
firstpoint = StartPoint(aline);
|
||||
lastpoint = EndPoint(aline);
|
||||
|
||||
|
@ -3866,5 +3868,5 @@ LANGUAGE 'plpgsql' _VOLATILE;
|
|||
|
||||
--=} SQL/MM block
|
||||
|
||||
COMMIT;
|
||||
--COMMIT;
|
||||
|
||||
|
|
Loading…
Reference in a new issue