[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:01:19 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:  pramsey
      Type:  defect   |     Status:  new
  Priority:  medium   |  Milestone:  PostGIS 3.0.1
 Component:  postgis  |    Version:  3.0.x
Resolution:           |   Keywords:
----------------------+---------------------------

Comment (by matti):

 PostgreSQL 9.4 and 9.5 seem to support the -f - option and it is the
 default.
 https://www.postgresql.org/docs/9.4/app-pgrestore.html
 https://www.postgresql.org/docs/9.5/app-pgrestore.html

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