Thread: pg_dumpall doesn't handle all it should

pg_dumpall doesn't handle all it should

From
pgsql-bugs@postgresql.org
Date:
Tomasz Krysinski (tomcio@gic.gov.pl) reports a bug with a severity of 2
The lower the number the more severe it is.

Short Description
pg_dumpall doesn't handle all it should

Long Description
1. it doesn't handle alternate data dirs (just skips the WITH LOCATION statement in CREATE DATABASE). I know it's not
theonly thing required to recreate such database (a directory must be created and initlocation-ed), but silently
skippingthe problem doesn't seem to be a good idea. 
2. nor does it handle different names for a C shared lib function and an SQL function (skips the C function name in
CREATEFUNCTION) which results in failure to recreate when the names differ indeed. 

(I suppose pg_dump does the same)

Sample Code


No file was uploaded with this report