Re: Possible performance regression with pg_dump of a large number ofrelations - Mailing list pgsql-hackers

From Luke Cowell
Subject Re: Possible performance regression with pg_dump of a large number ofrelations
Date
Msg-id 10B4196D-7602-48D2-8040-3C33D3487BCA@gmail.com
Whole thread Raw
In response to Re: Possible performance regression with pg_dump of a large numberof relations  (Stephen Frost <sfrost@snowman.net>)
Responses Re: Possible performance regression with pg_dump of a large numberof relations
List pgsql-hackers
Hi Stephen, thank you for putting this together.

> If folks get a chance to take a look at the query and/or test, that'd be
> great.  I'll try to work up an actual patch to pg_dump this weekend to
> run it through the regression tests and see if anything breaks.

I'm not sure how I can help other than testing that this runs. I can confirm that it runs on 10.1. It does not run on
9.5or 9.6 and gives this error: 
> ERROR:  relation "pg_init_privs" does not exist
> LINE 139: LEFT JOIN pg_init_privs pip

I'm guessing that the error is not surprising and that the query is intended for an upcoming release of postgres and
wouldn'tbe backported to 9.6.x 

Luke

pgsql-hackers by date:

Previous
From: Peter Eisentraut
Date:
Subject: Re: documentation is now XML
Next
From: Thomas Munro
Date:
Subject: Re: [HACKERS] UPDATE of partition key