Opened 9 years ago

Closed 9 years ago

Last modified 7 years ago

#3454 closed defect (wontfix)

Topology search_path lost on dump/restore

Reported by: strk Owned by: strk
Priority: medium Milestone: PostGIS Fund Me
Component: build Version: master
Keywords: topology, restore Cc:

Description

I'm not sure this is to be considered a bug, but as we make an effort to add "topology" schema to the search_path it's annoying that the path is lost on dump/restore.

See https://trac.osgeo.org/postgis/ticket/3444#comment:11 for a possible consequence.

I wonder if we should make "postgis_restore.pl" take care of this, for example.

Change History (5)

comment:1 by strk, 9 years ago

Hint from irc://irc.freenode.org/#postgresql

< Zr40> if you set that per-database or per-user, pg_dumpall --globals-only would include it
< strk> Zr40: so, any way to include it in a single-database dump ?
< Zr40> strk: no, pg_dump doesn't include it
< Zr40> strk: I'd add it as a separate preparation step for your tests after restoring

comment:2 by strk, 9 years ago

(In [14655]) Re-append "topology" schema on restore, with —dumprestore

See #3454

comment:3 by strk, 9 years ago

(In [14656]) Re-append "topology" schema on restore, with —dumprestore

See #3454

comment:4 by strk, 9 years ago

Resolution: wontfix
Status: newclosed

Closing as it's not a bug (but something to keep in mind). With r14655 (trunk) and r14656 (2.2 branch) I've made run_test.pl re-add the topology schema, using the topology.AddToSearchPath function which is part of the topology support.

comment:5 by robe, 7 years ago

Milestone: PostGIS FuturePostGIS Fund Me

Milestone renamed

Note: See TracTickets for help on using tickets.