[postgis-tickets] [PostGIS] #2236: shp2pgsql -d: can it emit "DROP TABLE IF EXISTS"?

PostGIS trac at osgeo.org
Thu Jul 21 02:20:57 PDT 2016


#2236: shp2pgsql -d: can it emit "DROP TABLE IF EXISTS"?
----------------------------+-----------------------------
  Reporter:  pclark         |      Owner:  robe
      Type:  enhancement    |     Status:  new
  Priority:  medium         |  Milestone:  PostGIS 2.3.0
 Component:  loader/dumper  |    Version:  2.0.x
Resolution:                 |   Keywords:  shp2pgsql, gsoc
----------------------------+-----------------------------

Comment (by antimirov):

 Hi everyone,

 So, just to get it right. The only thing to be changed here is to add 'IF
 EXISTS' into the SQL statement and this ticket can be closed? Why has it
 taken this long then? Any hidden complications?

--
Ticket URL: <https://trac.osgeo.org/postgis/ticket/2236#comment:5>
PostGIS <http://trac.osgeo.org/postgis/>
The PostGIS Trac is used for bug, enhancement & task tracking, a user and developer wiki, and a view into the subversion code repository of PostGIS project.


More information about the postgis-tickets mailing list