From: Rob Sargent <robjsargent@gmail.com>
To: Ken Tanzer <ken.tanzer@gmail.com>
Cc: pgsql-generallists.postgresql.org <pgsql-general@lists.postgresql.org>
Subject: Re: Error with pg_dump (of data), with --role
Date: Thu, 18 Feb 2021 20:16:25 -0700
Message-ID: <17C9259A-500D-44AB-9290-0CB1ED81A34E@gmail.com> (raw)
In-Reply-To: <CAD3a31Xgm7_BQdmmA_KZ7KfcRBOeriHNvf215Ru5UQa1BtBQZA@mail.gmail.com>
References: <CAD3a31Xgm7_BQdmmA_KZ7KfcRBOeriHNvf215Ru5UQa1BtBQZA@mail.gmail.com>
> On Feb 18, 2021, at 8:00 PM, Ken Tanzer <ken.tanzer@gmail.com> wrote:
>
>
>
>
>> On Thu, Feb 18, 2021 at 5:23 PM Rob Sargent <robjsargent@gmail.com> wrote:
>>
>> >
>> > There is only one schema, public.
>> >
>> >
>>
>> I suspect it is because "set role" doesn't "set search_path"
>>
>>
> I'm not sure what you mean or are suggesting by that. Is there something I'm supposed to do to set the search path? Is that a known bug in pg_dump? Something else? As mentioned, there is only one schema....
>
> --
Do you need to set role at all?
Can you put the function in “public”?
>
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-general@postgresql.org
Cc: robjsargent@gmail.com, ken.tanzer@gmail.com
Subject: Re: Error with pg_dump (of data), with --role
In-Reply-To: <17C9259A-500D-44AB-9290-0CB1ED81A34E@gmail.com>
References: <CAD3a31Xgm7_BQdmmA_KZ7KfcRBOeriHNvf215Ru5UQa1BtBQZA@mail.gmail.com> <17C9259A-500D-44AB-9290-0CB1ED81A34E@gmail.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox