Re: [HACKERS] Fix corner case for binary upgrade: extension functions in pg_catalog.

2011-02-17 Thread Dimitri Fontaine
Tom Lane writes: > Dimitri Fontaine writes: >> Tom Lane writes: >>> Fix corner case for binary upgrade: extension functions in pg_catalog. > >> Do we only want to care about functions here? > > Yes. Functions/aggregates are the only object type where pg_dump tries > to suppress fetching any inf

Re: [HACKERS] Fix corner case for binary upgrade: extension functions in pg_catalog.

2011-02-16 Thread Tom Lane
Dimitri Fontaine writes: > Tom Lane writes: >> Fix corner case for binary upgrade: extension functions in pg_catalog. > Do we only want to care about functions here? Yes. Functions/aggregates are the only object type where pg_dump tries to suppress fetching any information at all about system-

Re: [HACKERS] Fix corner case for binary upgrade: extension functions in pg_catalog.

2011-02-16 Thread Dimitri Fontaine
Tom Lane writes: > Fix corner case for binary upgrade: extension functions in pg_catalog. Do we only want to care about functions here? What about the following? CREATE EXTENSION hstore WITH SCHEMA pg_catalog; When not doing binary upgrade, this will issue the right pg_dump command, but it s