Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1tHazu-008fCc-E1 for pgsql-general@arkaria.postgresql.org; Sun, 01 Dec 2024 03:51:50 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.94.2) (envelope-from ) id 1tHazr-004Zb8-R6 for pgsql-general@arkaria.postgresql.org; Sun, 01 Dec 2024 03:51:49 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1tHazr-004Zaz-Eg for pgsql-general@lists.postgresql.org; Sun, 01 Dec 2024 03:51:48 +0000 Received: from mail-oa1-x2c.google.com ([2001:4860:4864:20::2c]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.94.2) (envelope-from ) id 1tHazl-000QDS-Tq for pgsql-general@postgresql.org; Sun, 01 Dec 2024 03:51:47 +0000 Received: by mail-oa1-x2c.google.com with SMTP id 586e51a60fabf-2958ddf99a7so2602555fac.2 for ; Sat, 30 Nov 2024 19:51:41 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1733025101; x=1733629901; darn=postgresql.org; h=cc:to:subject:message-id:date:from:references:in-reply-to :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=+Fbo2lbSn4P/bNdwuqMPcXSQYXl3O1YaU23harrJRJA=; b=MIk4qn3ap8LjkLiLco2GA9iordilOlJ+3lK7TF+p/4yo/OkHljH//RmHsjhLgjAl58 V6b5tXcSuAkKftI6JSkhW9/DKvhq2u1vc0T9D6MxhPLSFFHT1D5+vnE5EeGr9BfHZIhl XB+pBelojDyMuIIhXjCYalPHKApnt3zStFeEzJNf1OXExeSrchf8GE9IhlOexACNHlL0 w3SkL+i0dnyS5yUmhAnVxQzREXbogFWdKhsHbR4SNnEEVURVVLys2vNfttWZgWQA30Aw kkbxBZPVlMbD8Px7nm/5OnUU7BIRo0ucJq8coszCHb0a2V4K46Lxn6vSVIgn6rvwT2RJ hCag== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1733025101; x=1733629901; h=cc:to:subject:message-id:date:from:references:in-reply-to :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=+Fbo2lbSn4P/bNdwuqMPcXSQYXl3O1YaU23harrJRJA=; b=R3i1H8bhl9IE873FlzgwkZEdyAKTdOv35ymsVK3DKV/Vco7IJTXzCUzDQlUk3gvOgV y2VgQvMzRFL7q4Jqso7RwC5H5aa3xHp1WNH86DSRezz8W4wGFsngJl3UV/Bcv27hXmtr RE8NNcjBUBwcuckAyy5qUXjQdzsGyaIS2Zbj54DVsAFeQ+yN9p49OuSvu049SkQVP+m9 uO579WSbJ9BBnncmXazwtTUzzEmMWkI2ZbgZGr8hspN6NOFy8YkIMhuT6u9xAaPXJRfw PhSJvR9iQNfwKBRqNBQAaswiiR/f3RgXx9HQcN1el5RUaxIG+MhA1IaLrKzJ4/3P1mVs 7frw== X-Forwarded-Encrypted: i=1; AJvYcCXEbCZDEN2XQ9EXUb8vYXhtrj5LY3yEXaE97zu6uGFCc9Bsxt3uXCq8zxeu8GcWCz7xDqdpbJ1qgR0WHRrL@postgresql.org X-Gm-Message-State: AOJu0Yw9SEkEt3ZXrrNe41YML3h4NVvRaa293xOIS6fxNLgBfyIKPHsl RJ1QpUniz0uzJVWOyfGUo9bNSBWqlKzSAgYo2jC0kRX/G1izc1BHtkfiNbo8SWzibC3Soq2gEES fXEpSxXsNkNC0xGFGyI3ur1Yt3T8= X-Gm-Gg: ASbGnctIJ/wtkOokO2JiXhwDpqUhJVfEYekdFQB0FW1+ROQzhwFpmyJgNAWSm5O5FNB 8jbKTLkhO+braoNLmS4S56VyTutkpGXo= X-Google-Smtp-Source: AGHT+IFVk+qvIL3Smg1JEc++FqifBdts3/3lFePFS2lfuVFmNIIT4C3VMU/G5XdoZI7dg8iiFVUuRnNtl3T3X1lWlIU= X-Received: by 2002:a05:6870:2898:b0:297:2462:1b7f with SMTP id 586e51a60fabf-29dc4387a49mr13554607fac.38.1733025101135; Sat, 30 Nov 2024 19:51:41 -0800 (PST) MIME-Version: 1.0 Received: by 2002:a8a:516:0:b0:56c:c9af:3ee6 with HTTP; Sat, 30 Nov 2024 19:51:40 -0800 (PST) In-Reply-To: References: <6a6439f1-8039-44e2-8fb9-59028f7f2014@mailbox.org> <9c5ba566-27b8-4e8c-bf7d-2dc561509991@mailbox.org> <41791b6d-aaf5-4fed-9cc3-e89bc49e8637@mailbox.org> From: "David G. Johnston" Date: Sat, 30 Nov 2024 20:51:40 -0700 Message-ID: Subject: Re: Errors when restoring backup created by pg_dumpall To: PopeRigby Cc: Adrian Klaver , "pgsql-general@postgresql.org" Content-Type: multipart/alternative; boundary="0000000000008a45a606282d59cf" List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk --0000000000008a45a606282d59cf Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Saturday, November 30, 2024, PopeRigby wrote: > > Ok, so the error is not emanating from your code but rather the body of > the ll_to_earth function defined in the earthdistance extension. > > David J. > > By code do you mean my sql file created by pg_dumpall? Sorry, I'm just a > self-hoster so I'm not very well versed in Postgres. I'm just trying to g= et > my server back online. > Yes, your =E2=80=9Ccode=E2=80=9D is the user contents of the SQL file. Your best bet is probably to locate the various =E2=80=9Cset_config(=E2=80= =98search_path=E2=80=99, =E2=80=98=E2=80=99)=E2=80=9D commands and add =E2=80=9Cpublic=E2=80=9D to t= hem. Since you installed earthdistance to public this should bridge the gap. David J. --0000000000008a45a606282d59cf Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Saturday, November 30, 2024, PopeRigby <poperigby@mailbox.org> wrote:
=20 =20 =20

Ok, so the error is not emanating from your code but rather the body of the ll_to_earth function defined in the earthdistance extension.

David J.

By code do you mean my sql file created by pg_dumpall? Sorry, I'= m just a self-hoster so I'm not very well versed in Postgres. I'= ;m just trying to get my server back online.


Yes, your =E2=80=9Ccode=E2= =80=9D is the user contents of the SQL file.

Your = best bet is probably to locate the various =E2=80=9Cset_config(=E2=80=98sea= rch_path=E2=80=99, =E2=80=98=E2=80=99)=E2=80=9D commands and add =E2=80=9Cp= ublic=E2=80=9D to them.=C2=A0 Since you installed earthdistance to public t= his should bridge the gap.

David J.
=C2= =A0
--0000000000008a45a606282d59cf--