Re: pg_dump gets attributes from tables in extensions
От | Michael Paquier |
---|---|
Тема | Re: pg_dump gets attributes from tables in extensions |
Дата | |
Msg-id | CAB7nPqTStdWB_p7sxwLBGwPvHzsvfwysN4PTCw9LFjA_mxEyxQ@mail.gmail.com обсуждение исходный текст |
Ответ на | Re: pg_dump gets attributes from tables in extensions (Alvaro Herrera <alvherre@2ndquadrant.com>) |
Ответы |
Re: pg_dump gets attributes from tables in extensions
|
Список | pgsql-hackers |
<div dir="ltr"><br /><div class="gmail_extra"><br /><div class="gmail_quote">On Wed, Feb 25, 2015 at 10:30 AM, Alvaro Herrera<span dir="ltr"><<a href="mailto:alvherre@2ndquadrant.com" target="_blank">alvherre@2ndquadrant.com</a>></span>wrote:<br /><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px#ccc solid;padding-left:1ex"><span class="">Michael Paquier wrote:<br /> > On Tue, Feb 24, 2015 at11:55 PM, Alvaro Herrera <<a href="mailto:alvherre@2ndquadrant.com">alvherre@2ndquadrant.com</a>><br /> > wrote:<br/><br /></span><span class="">> > Maybe something in src/test/modules could keep these files so that<br />> > pg_dump can be tested. Is anybody interested in doing that?<br /> ><br /> > For the patch to fix datadump of extensions that contain tables with FK I<br /> > have implemented a test case in src/test/modules as I didn'twant to look<br /> > at postgis stuff to reproduce the failure, last version is here:<br /> > <a href="http://www.postgresql.org/message-id/CAB7nPqQRjHHmNMcGB0eCVZ2PTMNCmFD+1htLOoxRQjMzgtSetQ@mail.gmail.com" target="_blank">http://www.postgresql.org/message-id/CAB7nPqQRjHHmNMcGB0eCVZ2PTMNCmFD+1htLOoxRQjMzgtSetQ@mail.gmail.com</a><br /><br/></span>That looks interesting -- I don't recall seeing it. Does it support<br /> more doing than one extension? If so, we could certainly integrate it.<br /></blockquote></div><br /></div><div class="gmail_extra">It uses TAPtests to kick pg_dump commands, and I haven't added any logic for having more than one extension installed within a singletest if that is what you mean, but I assume that we could pass to prove_check a variable able to install multiple pathsand install their content. For now though what I have done is adding one line to prove_check to install the contentof current directory to be able to run TAP tests with one extension.<br />-- <br /><div class="gmail_signature">Michael<br/></div></div></div>
В списке pgsql-hackers по дате отправления: