[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
Wed Dec 18 01:54:46 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:  assigned
  Priority:  medium   |  Milestone:  PostGIS 3.0.1
 Component:  postgis  |    Version:  3.0.x
Resolution:           |   Keywords:
----------------------+---------------------------

Comment (by Sandro Santilli <strk@…>):

 In [changeset:"cd33bc53c4bab575373025b231483e3721ac77fb/git" cd33bc5/git]:
 {{{
 #!CommitTicketReference repository="git"
 revision="cd33bc53c4bab575373025b231483e3721ac77fb"
 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

 References #4605 in master branch
 }}}

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