[PostGIS] #4659: raster2pgsql option to create or append

PostGIS trac at osgeo.org
Sat Jun 20 11:16:54 PDT 2026


#4659: raster2pgsql option to create or append
---------------------------+-----------------------------
  Reporter:  andrewharvey  |      Owner:  dustymugs
      Type:  enhancement   |     Status:  closed
  Priority:  medium        |  Milestone:  PostGIS Fund Me
 Component:  raster        |    Version:  2.5.x -- EOL
Resolution:  fixed         |   Keywords:
---------------------------+-----------------------------
Changes (by Darafei Praliaskouski <me@…>):

 * resolution:   => fixed
 * status:  new => closed

Comment:

 In [changeset:"6ce331f4e2bfd2054f56ba09c43907621259bffc/git" 6ce331f/git]:
 {{{#!CommitTicketReference repository="git"
 revision="6ce331f4e2bfd2054f56ba09c43907621259bffc"
 Add raster2pgsql --if-not-exists modifier

 Add a loader modifier that emits CREATE TABLE IF NOT EXISTS in create and
 prepare modes, allowing -c --if-not-exists to create a missing target
 table or continue loading into an existing compatible table.

 Represent the short operation modes as explicit internal actions for
 dropping tables, creating tables, loading data, and creating indexes. When
 -I is used with --if-not-exists, emit CREATE INDEX IF NOT EXISTS with
 stable loader index names; plain -I keeps its existing create-index
 behavior.

 Closes #4659

 Closes https://github.com/postgis/postgis/pull/1000
 }}}
-- 
Ticket URL: <https://trac.osgeo.org/postgis/ticket/4659#comment:2>
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