![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
I'm getting a dependency loop issue with pg_dump when adding a schema to an extension where the schema being added is the same as the one containing the extension. CREATE EXTENSION file_fdw; ALTER EXTENSION file_fdw ADD SCHEMA public; |
#3
| |||
| |||
|
|
Thom Brown <thom (AT) linux (DOT) com> writes: I'm getting a dependency loop issue with pg_dump when adding a schema to an extension where the schema being added is the same as the one containing the extension. CREATE EXTENSION file_fdw; ALTER EXTENSION file_fdw ADD SCHEMA public; ISTM we ought to disallow that ... either the schema is inside the extension, or vice versa, it's not sensible to say both. |
#4
| |||
| |||
|
|
On 12 August 2012 01:06, Tom Lane <tgl (AT) sss (DOT) pgh.pa.us> wrote: Thom Brown <thom (AT) linux (DOT) com> writes: I'm getting a dependency loop issue with pg_dump when adding a schema to an extension where the schema being added is the same as the one containing the extension. CREATE EXTENSION file_fdw; ALTER EXTENSION file_fdw ADD SCHEMA public; ISTM we ought to disallow that ... either the schema is inside the extension, or vice versa, it's not sensible to say both. Precisely. |
#5
| |||
| |||
|
|
On 12 August 2012 08:17, Thom Brown <thom (AT) linux (DOT) com> wrote: On 12 August 2012 01:06, Tom Lane <tgl (AT) sss (DOT) pgh.pa.us> wrote: ISTM we ought to disallow that ... either the schema is inside the extension, or vice versa, it's not sensible to say both. Precisely. Suggested changes attached. (not really confident about it though) |
#6
| |||
| |||
|
|
Thom Brown <thom (AT) linux (DOT) com> writes: On 12 August 2012 08:17, Thom Brown <thom (AT) linux (DOT) com> wrote: On 12 August 2012 01:06, Tom Lane <tgl (AT) sss (DOT) pgh.pa.us> wrote: ISTM we ought to disallow that ... either the schema is inside the extension, or vice versa, it's not sensible to say both. Precisely. Suggested changes attached. (not really confident about it though) Applied with minor editorialization. Thanks! |
![]() |
| Thread Tools | |
| Display Modes | |
| |