Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hkjvW-0004hS-Ja for pgsql-general@arkaria.postgresql.org; Tue, 09 Jul 2019 06:48:35 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1hkjvU-000819-Gd for pgsql-general@arkaria.postgresql.org; Tue, 09 Jul 2019 06:48:32 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hkjvU-000812-2C for pgsql-general@lists.postgresql.org; Tue, 09 Jul 2019 06:48:32 +0000 Received: from mail-ot1-x32c.google.com ([2607:f8b0:4864:20::32c]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hkjvR-0001fd-Cp for pgsql-general@postgresql.org; Tue, 09 Jul 2019 06:48:30 +0000 Received: by mail-ot1-x32c.google.com with SMTP id o101so18826093ota.8 for ; Mon, 08 Jul 2019 23:48:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=lucee.org; s=google; h=to:from:subject:message-id:date:user-agent:mime-version :content-language; bh=LJl2NjjVePKAZy3ukBJcwWlHWNTsvo42reqipbQqzWg=; b=VQlMt1xt3QBGReuTJ6a8CO1WpYW0Z+PU12TYxgcn1MaEL03vKpgWOhvhKiIYBI7QZY zfKf8nR2VNFVb/ciEq5y9wH++FXC5GHReV3hXNkEDCzN1DhLyl+O7Q3YxlVQfjaPnUIN 9oiEsHZIUIu8celaiORav7ZpTar2pUtuV1pAQvs9/ZAmxUHIMK4th7MP782w8bnM7Kgr rw4Kk0Pmas9S73tWjdH0kLAm6p7ItJOV0AP6cirnPo1ItTtNfxE/h2/0BW5yl06Cyd/w 2CgwWqFLVuLtoCoHdWAhLZG9T4Wu6pla8ryIhSehSdVlu4lqW9SGZinuVorVofUskrsm L5ZA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:to:from:subject:message-id:date:user-agent :mime-version:content-language; bh=LJl2NjjVePKAZy3ukBJcwWlHWNTsvo42reqipbQqzWg=; b=t8DeTv35C0dZjZtMNeT9AQsenM5lJQYrqCaCTYOblMtUYzM5MEqX5gOY4MQKaxfmlk mszP4SmRARX8RfgXdJUDGgPqdqmXjfc6svt7G/+8np+/SoBJZKt1F7kVqltB5RFua/sj wLEUmrFQwJcftRhUj8oYdhkxhlI5zKsTLq/LVWymzS1z43tUJWPUXAUbKCLvb5sO/nri g6psflZk172ukPVYOWs+aZQkoOjFRFJQlWzNCfjs/PYzVrGjRuNupEfkH8heu/v4Owq2 +5HdXenFZzhIbN//um7Pv88UwaQoWHA/KkkbAlSoXuV2t0Wm5f7bXIVhrm8l/qivREDW bkRQ== X-Gm-Message-State: APjAAAU3+pNMqy9EQS7AumpHBlzGMJ5+XO4FPRFsaMCRpm+Gz2Xg9rsX 5qyyj3/aa7ox+n4mm7pCbG2pZHMNtLlJ0w== X-Google-Smtp-Source: APXvYqwNh31sUru+mf+aXpQedCX3DJ9fdqUw+kaYGGg3qDQe9aK3l/tbmtfURkNN6TAg0B3Os3EBOw== X-Received: by 2002:a9d:ea6:: with SMTP id 35mr16378176otj.305.1562654907407; Mon, 08 Jul 2019 23:48:27 -0700 (PDT) Received: from ?IPv6:2600:1700:4000:8120:e4a2:d970:b88f:f5fa? ([2600:1700:4000:8120:e4a2:d970:b88f:f5fa]) by smtp.googlemail.com with ESMTPSA id h60sm7154783otb.29.2019.07.08.23.48.26 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 08 Jul 2019 23:48:26 -0700 (PDT) To: pgsql-general From: "Igal @ Lucee.org" Subject: pg_dump and search_path Message-ID: <1f5111a5-e49e-e44a-67df-b367e5d31fdf@lucee.org> Date: Mon, 8 Jul 2019 23:48:25 -0700 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.7.2 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="------------9C42197D43674185EF5E3F57" Content-Language: en-US List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk This is a multi-part message in MIME format. --------------9C42197D43674185EF5E3F57 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit I have a custom search_path: # show search_path;            search_path ----------------------------------  "staging, transient, pg_catalog" (1 row) I ran `pg_dump --schema-only` and the only reference in the output to search_path is:   SELECT pg_catalog.set_config('search_path', '', false); Then one of my functions which does not reference the full name of a table with its schema fails with "relation [rel-name] does not exist". Is that a bug?  I have seen some old posts about this issue but am not sure if there is a ticket or why it still is an issue. Thanks, Igal Sapir Lucee Core Developer Lucee.org --------------9C42197D43674185EF5E3F57 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: 8bit

I have a custom search_path:

# show search_path;
           search_path
----------------------------------
 "staging, transient, pg_catalog"
(1 row)

I ran `pg_dump --schema-only` and the only reference in the output to search_path is:

  SELECT pg_catalog.set_config('search_path', '', false);

Then one of my functions which does not reference the full name of a table with its schema fails with "relation [rel-name] does not exist".

Is that a bug?  I have seen some old posts about this issue but am not sure if there is a ticket or why it still is an issue.

Thanks,

Igal Sapir
Lucee Core Developer
Lucee.org

--------------9C42197D43674185EF5E3F57--