Victor Wagner <vitus(at)ice(dot)ru> writes:
> I propose solution to this problem - define a predefined
> substitution variable pg_lib in the psql which points to the
> library directory of current installation, and make pg_dump output
> procedural language implementation following way:
You're too late: 7.2 in fact does things this way. Unfortunately,
for a database reloaded from a 7.1 dump, you do have to do a one-time
fix of the absolute paths.
regards, tom lane