[postgis-tickets] [PostGIS] #4605: perl /usr/pgsql-12/share/contrib/postgis-3.0/postgis_restore.pl fails with error pg_restore: error: one of -d/--dbname and -f/--file must be specified

PostGIS trac at osgeo.org
Thu Dec 19 06:06:17 PST 2019


#4605: perl /usr/pgsql-12/share/contrib/postgis-3.0/postgis_restore.pl fails with
error pg_restore: error: one of -d/--dbname and -f/--file must be specified
----------------------+---------------------------
  Reporter:  matti    |      Owner:  strk
      Type:  defect   |     Status:  closed
  Priority:  medium   |  Milestone:  PostGIS 3.0.1
 Component:  postgis  |    Version:  3.0.x
Resolution:  fixed    |   Keywords:
----------------------+---------------------------
Changes (by Sandro Santilli <strk@…>):

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


Comment:

 In [changeset:"e14749cbc2339e643d5aa7d801c31d2e85a60bae/git" e14749c/git]:
 {{{
 #!CommitTicketReference repository="git"
 revision="e14749cbc2339e643d5aa7d801c31d2e85a60bae"
 Fix postgis_restore.pl for use with PostgreSQL 12

 Retains compatibilty with PostgreSQL 9.4 onward
 (PostgreSQL 9.3 would break)

 See https://www.postgresql.org/docs/VERSION/app-pgrestore.html

 Patch by Matti Linnanvuori

 Closes #4605 in 2.5 branch
 }}}

-- 
Ticket URL: <https://trac.osgeo.org/postgis/ticket/4605#comment:6>
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