Re: Can we get rid of repeated queries from pg_dump?
hubert depesz lubaczewski <depesz@depesz.com>
From: hubert depesz lubaczewski <depesz@depesz.com>
To: Adrian Klaver <adrian.klaver@aklaver.com>
Cc: pgsql-general <pgsql-general@lists.postgresql.org>
Date: 2021-08-26T14:48:26Z
Lists: pgsql-hackers, pgsql-general
On Thu, Aug 26, 2021 at 07:46:46AM -0700, Adrian Klaver wrote: > On 8/26/21 7:35 AM, hubert depesz lubaczewski wrote: > > On Thu, Aug 26, 2021 at 07:34:26AM -0700, Adrian Klaver wrote: > > > On 8/26/21 1:44 AM, hubert depesz lubaczewski wrote: > > > > Hi, > > > > I have following case: local pg_dump (v15) connecting to remote > > > > PostgreSQL (v12). > > > So you are using a dev version of pg_dump or is that a typo? > > > > Yes. I'm running pg_dump from my computer to (very) remote db server. > SSHing and dumping on the remote is out as a short term solution? As I mentioned in original post - I can't run pg_dump closer to server. SSH is not available, at least for me. Anyway - I got the dump, so I am good for now, but I think that this could be improved, so I'll work on getting some stats on queries. Best regards, depesz
Commits
-
In pg_dump, avoid doing per-table queries for RLS policies.
- dd3105286bd8 9.6.24 landed
- db11b4a3db5f 13.5 landed
- bd3611db5a6f 15.0 landed
- ba8f1a0be583 10.19 landed
- a60860ff33fb 11.14 landed
- a20a9f26cefc 14.0 landed
- 6b9667392d81 12.9 landed
-
Cache the results of format_type() queries in pg_dump.
- c4b298ee15aa 11.14 landed
- 0e7bdc722c65 10.19 landed
- 904ce45bfa88 13.5 landed
- 2f1ed9d98c38 12.9 landed
- 9407dbbcb5b5 14.0 landed
- 6c450a861f1a 15.0 landed
- 4645997c8ab7 9.6.24 landed