From: | "David G(dot) Johnston" <david(dot)g(dot)johnston(at)gmail(dot)com> |
---|---|
To: | gzh <gzhcoder(at)126(dot)com> |
Cc: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, "pgsql-general(at)lists(dot)postgresql(dot)org" <pgsql-general(at)lists(dot)postgresql(dot)org> |
Subject: | Re: pg_dump without setting search_path |
Date: | 2022-08-25 03:54:21 |
Message-ID: | CAKFQuwZx5S0Ti0MJTEVcxsq0=UxHUxC6m=LkWBp3PHXoBxtOkg@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
On Wednesday, August 24, 2022, gzh <gzhcoder(at)126(dot)com> wrote:
>
> When I use pg_dump to export schema from an older version of PostgreSQL
> 8.2.3 , it adds the following line at the beginning:
>
> SET search_path = public, pg_catalog;
>
> Is it possible set an option where pg_dump will add this line in
> PostgreSQL 12.5?
>
Your observation about the past isn’t going to change the answer
(especially if you choose to appeal to 8.2 behavior). It is a policy
choice, not a technical limitation.
David J.
From | Date | Subject | |
---|---|---|---|
Next Message | Adrian Klaver | 2022-08-25 04:19:03 | Re: pg_dump without setting search_path |
Previous Message | gzh | 2022-08-25 03:39:13 | Re:Re: pg_dump without setting search_path |