Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lCwHR-0005lf-Hm for pgsql-general@arkaria.postgresql.org; Fri, 19 Feb 2021 03:16:33 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1lCwHQ-0007tZ-Fb for pgsql-general@arkaria.postgresql.org; Fri, 19 Feb 2021 03:16:32 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lCwHQ-0007tJ-6H for pgsql-general@lists.postgresql.org; Fri, 19 Feb 2021 03:16:32 +0000 Received: from mail-io1-xd29.google.com ([2607:f8b0:4864:20::d29]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1lCwHM-0005uW-46 for pgsql-general@lists.postgresql.org; Fri, 19 Feb 2021 03:16:31 +0000 Received: by mail-io1-xd29.google.com with SMTP id q77so4299588iod.2 for ; Thu, 18 Feb 2021 19:16:27 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=content-transfer-encoding:from:mime-version:subject:date:message-id :references:cc:in-reply-to:to; bh=K0KEsEW/5QrYz1mOzI4dltI1qOtm8ZP48LPZqzYKFMQ=; b=Im7lpwlik+N4091iyCLQx4LHvNKqno0FIr+bO9faB6XnmTjLRQA7s9CT+bVODs1yEy XKCTXcT3fgooBPMccLhtdrdeusZ7na2uxnqr+AxNe+mUSrdQeyEDtBUrE51RYk2rIxe4 aly5pBRwOpW+9Rj011nsgzFjFBgksCVRyEfv1jvWX+2IaTY5OIOVv/Fo03hxJr/ZRkE8 7+jZFum5Sl2tKWT6oiWArf9BQd6YLfHKra8viV1if1bMUO9YIy518/VCtEfPClF+DN0S UdcjVttO0XZaljyfRKn59/DQkA8EwOR4g+96cyJIDc+0Z5L8d5HXqcHbtTheUG6u0l66 L6fg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:content-transfer-encoding:from:mime-version :subject:date:message-id:references:cc:in-reply-to:to; bh=K0KEsEW/5QrYz1mOzI4dltI1qOtm8ZP48LPZqzYKFMQ=; b=JwYGmS49ueyrAOGxt4r7NLvJGJllFLlmLS5sGbukZxsm0c6zbnr+d1NaQX6jQ0E0wW n780X84IKbEN3XH8Rc90QG9y4+Hl/WJXcRXc+lBuT987a/nMmNcYBMpGps05ht00uCB1 ieeTb+nBq+MbPRK5CqG8YRFMHwfgzBAxfzc9kAJz+iYJedJY5+i+jTTzx2/GozLfdbAa HRTQdHPMC6Yrj3WnFQrwfYzF78JYDqiy8Dixigb38yjSLMogmHSnMiSJa3T8MCGcz2c/ yXv78wXVbncUgQ3His4ISUGXHaVoydubG4EDmgkwax5wfs6Mwzczg1C33wX27v575PU/ TMoA== X-Gm-Message-State: AOAM530p+AN0Ui5HCfr+E2jkV23vRifDq2f0XaY5VpNrSGHMLfY9LCpX tNc/i2h/a1+tzhswR29friCeyPBsSso= X-Google-Smtp-Source: ABdhPJxeItyQ3Cw6ujoGcNFUV5ZVhWv0igf597T9SQ48Sa7JvbUPL9B+/o67knYYRsjZ4C2DpK6RKg== X-Received: by 2002:a02:1649:: with SMTP id a70mr7473090jaa.97.1613704586475; Thu, 18 Feb 2021 19:16:26 -0800 (PST) Received: from ?IPv6:2601:681:5500:dde0:3189:cf40:11b6:406c? ([2601:681:5500:dde0:3189:cf40:11b6:406c]) by smtp.gmail.com with ESMTPSA id h10sm6110494ilj.86.2021.02.18.19.16.26 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 18 Feb 2021 19:16:26 -0800 (PST) Content-Type: multipart/alternative; boundary=Apple-Mail-CD856684-6DD7-4277-8CFD-B3FE56C6B15C Content-Transfer-Encoding: 7bit From: Rob Sargent Mime-Version: 1.0 (1.0) 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> References: Cc: "pgsql-generallists.postgresql.org" In-Reply-To: To: Ken Tanzer X-Mailer: iPhone Mail (18D52) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk --Apple-Mail-CD856684-6DD7-4277-8CFD-B3FE56C6B15C Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable > On Feb 18, 2021, at 8:00 PM, Ken Tanzer wrote: >=20 > =EF=BB=BF >=20 >=20 >> On Thu, Feb 18, 2021 at 5:23 PM Rob Sargent wrote= : >>=20 >> >=20 >> > There is only one schema, public. >> >=20 >> >=20 >>=20 >> I suspect it is because "set role" doesn't "set search_path" >>=20 >>=20 > 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? S= omething else? As mentioned, there is only one schema.... =20 >=20 > --=20 Do you need to set role at all?=20 Can you put the function in =E2=80=9Cpublic=E2=80=9D? >=20 --Apple-Mail-CD856684-6DD7-4277-8CFD-B3FE56C6B15C Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: quoted-printable


On Feb 18, 2021, at 8:00 PM, Ken Tanzer <k= en.tanzer@gmail.com> wrote:

=EF=BB=BF


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.&nbs= p; Is there something I'm supposed to do to set the search path?  Is th= at a known bug in pg_dump?  Something else?  As mentioned, there i= s only one schema....  

--
Do you need to set role at all? 
Can you put t= he function in =E2=80=9Cpublic=E2=80=9D?

= --Apple-Mail-CD856684-6DD7-4277-8CFD-B3FE56C6B15C--