Monday, May 21. 2012PostgreSQL 9.2 pg_dump enhancementsPrinter FriendlyTrackbacks
Trackback specific URI for this entry
No Trackbacks
Comments
Display comments as
(Linear | Threaded)
Yes, pgAdmin doesn't support yet the "exclude data" option. Not because it's difficult, but really because the UI handling of this is hard. We already have a treeview with checkboxes to allow the user to select which tables he wants to dump. Adding another checkbox to each tree's item cannot be done yet with the widget. But I hope we'll be able to do that in the next release.
How does this help with upgrades? Seems like it would only help bootstrap a new database.
Joe,
Sorry didn't give an example of that because its a bit more involved. One example is the case where you need to do some cleanup because constraints have changed. For example in PostGIS 1.5. had a constraints built with functions that no longer exist in 2.0. Normally the constraint is part of the table definition for regular load. So these tables wouldn't load unless you installed a legacy script. If you could separate the check constraints out int a separately script -- essentially what the post-data does, then you could load the data and process a revised post-data script separate. There is also the case where you don't want the constraints installed at all. |
Entry's LinksQuicksearchCalendar
Categories
Blog Administration |