pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
pgsql: Make pg_dumpall's database ACL query independent of hash table o
6+ messages / 3 participants
[nested] [flat]

* pgsql: Make pg_dumpall's database ACL query independent of hash table o
@ 2016-10-13 01:33 Andres Freund <andres@anarazel.de>
  2016-10-13 02:05 ` Re: pgsql: Make pg_dumpall's database ACL query independent of hash table o Andres Freund <andres@anarazel.de>
  0 siblings, 1 reply; 6+ messages in thread

From: Andres Freund @ 2016-10-13 01:33 UTC (permalink / raw)
  To: pgsql-committers

Make pg_dumpall's database ACL query independent of hash table order.

Previously GRANT order on databases was not well defined, due to the use
of EXCEPT without an ORDER BY.  Add an ORDER BY, adapt test output.

I don't, at the moment, see reason to backpatch this.

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/b4fc645787cc7c614c0c97fc9fffacf2bdc6a388

Modified Files
--------------
src/bin/pg_dump/pg_dumpall.c     | 10 ++++++----
src/bin/pg_dump/t/002_pg_dump.pl |  1 +
2 files changed, 7 insertions(+), 4 deletions(-)


-- 
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers


^ permalink  raw  reply  [nested|flat] 6+ messages in thread

* Re: pgsql: Make pg_dumpall's database ACL query independent of hash table o
  2016-10-13 01:33 pgsql: Make pg_dumpall's database ACL query independent of hash table o Andres Freund <andres@anarazel.de>
@ 2016-10-13 02:05 ` Andres Freund <andres@anarazel.de>
  2016-10-13 12:38   ` Re: pgsql: Make pg_dumpall's database ACL query independent of hash table o Peter Eisentraut <peter.eisentraut@2ndquadrant.com>
  2016-10-13 14:49   ` Re: pgsql: Make pg_dumpall's database ACL query independent of hash table o Tom Lane <tgl@sss.pgh.pa.us>
  0 siblings, 2 replies; 6+ messages in thread

From: Andres Freund @ 2016-10-13 02:05 UTC (permalink / raw)
  To: pgsql-committers

On 2016-10-13 01:33:53 +0000, Andres Freund wrote:
> Make pg_dumpall's database ACL query independent of hash table order.
> 
> Previously GRANT order on databases was not well defined, due to the use
> of EXCEPT without an ORDER BY.  Add an ORDER BY, adapt test output.
> 
> I don't, at the moment, see reason to backpatch this.

Hrmpf, longfin doesn't like this much (as in unstable order).

http://pgbuildfarm.org/cgi-bin/show_log.pl?nm=longfin&dt=2016-10-13%2001%3A39%3A10

Will look into it, probably tomorrow.

Andres


-- 
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers



^ permalink  raw  reply  [nested|flat] 6+ messages in thread

* Re: pgsql: Make pg_dumpall's database ACL query independent of hash table o
  2016-10-13 01:33 pgsql: Make pg_dumpall's database ACL query independent of hash table o Andres Freund <andres@anarazel.de>
  2016-10-13 02:05 ` Re: pgsql: Make pg_dumpall's database ACL query independent of hash table o Andres Freund <andres@anarazel.de>
@ 2016-10-13 12:38   ` Peter Eisentraut <peter.eisentraut@2ndquadrant.com>
  1 sibling, 0 replies; 6+ messages in thread

From: Peter Eisentraut @ 2016-10-13 12:38 UTC (permalink / raw)
  To: Andres Freund <andres@anarazel.de>; pgsql-committers

On 10/12/16 10:05 PM, Andres Freund wrote:
> On 2016-10-13 01:33:53 +0000, Andres Freund wrote:
>> Make pg_dumpall's database ACL query independent of hash table order.
>>
>> Previously GRANT order on databases was not well defined, due to the use
>> of EXCEPT without an ORDER BY.  Add an ORDER BY, adapt test output.
>>
>> I don't, at the moment, see reason to backpatch this.
> 
> Hrmpf, longfin doesn't like this much (as in unstable order).
> 
> http://pgbuildfarm.org/cgi-bin/show_log.pl?nm=longfin&dt=2016-10-13%2001%3A39%3A10
> 
> Will look into it, probably tomorrow.

I'm seeing this failure too, locally.

-- 
Peter Eisentraut              http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services


-- 
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers



^ permalink  raw  reply  [nested|flat] 6+ messages in thread

* Re: pgsql: Make pg_dumpall's database ACL query independent of hash table o
  2016-10-13 01:33 pgsql: Make pg_dumpall's database ACL query independent of hash table o Andres Freund <andres@anarazel.de>
  2016-10-13 02:05 ` Re: pgsql: Make pg_dumpall's database ACL query independent of hash table o Andres Freund <andres@anarazel.de>
@ 2016-10-13 14:49   ` Tom Lane <tgl@sss.pgh.pa.us>
  2016-10-13 16:41     ` Re: pgsql: Make pg_dumpall's database ACL query independent of hash table o Andres Freund <andres@anarazel.de>
  1 sibling, 1 reply; 6+ messages in thread

From: Tom Lane @ 2016-10-13 14:49 UTC (permalink / raw)
  To: Andres Freund <andres@anarazel.de>; +Cc: pgsql-committers

Andres Freund <andres@anarazel.de> writes:
> On 2016-10-13 01:33:53 +0000, Andres Freund wrote:
>> Make pg_dumpall's database ACL query independent of hash table order.

> Hrmpf, longfin doesn't like this much (as in unstable order).

It was failing for me and Peter as well.  Did you generate the new
test in a non-C locale environment?

			regards, tom lane


-- 
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers



^ permalink  raw  reply  [nested|flat] 6+ messages in thread

* Re: pgsql: Make pg_dumpall's database ACL query independent of hash table o
  2016-10-13 01:33 pgsql: Make pg_dumpall's database ACL query independent of hash table o Andres Freund <andres@anarazel.de>
  2016-10-13 02:05 ` Re: pgsql: Make pg_dumpall's database ACL query independent of hash table o Andres Freund <andres@anarazel.de>
  2016-10-13 14:49   ` Re: pgsql: Make pg_dumpall's database ACL query independent of hash table o Tom Lane <tgl@sss.pgh.pa.us>
@ 2016-10-13 16:41     ` Andres Freund <andres@anarazel.de>
  2016-10-13 21:14       ` Re: pgsql: Make pg_dumpall's database ACL query independent of hash table o Andres Freund <andres@anarazel.de>
  0 siblings, 1 reply; 6+ messages in thread

From: Andres Freund @ 2016-10-13 16:41 UTC (permalink / raw)
  To: Tom Lane <tgl@sss.pgh.pa.us>; +Cc: pgsql-committers

On 2016-10-13 10:49:14 -0400, Tom Lane wrote:
> Andres Freund <andres@anarazel.de> writes:
> > On 2016-10-13 01:33:53 +0000, Andres Freund wrote:
> >> Make pg_dumpall's database ACL query independent of hash table order.
> 
> > Hrmpf, longfin doesn't like this much (as in unstable order).
> 
> It was failing for me and Peter as well.  Did you generate the new
> test in a non-C locale environment?

Well, it's not a new test, just an existing one that was dependant on
hash order. But yes, I did check the output on en_US. I guess slapping a
collate C on it would work.  Brr, this test isn't pretty, and hard to
debug.

Andres


-- 
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers



^ permalink  raw  reply  [nested|flat] 6+ messages in thread

* Re: pgsql: Make pg_dumpall's database ACL query independent of hash table o
  2016-10-13 01:33 pgsql: Make pg_dumpall's database ACL query independent of hash table o Andres Freund <andres@anarazel.de>
  2016-10-13 02:05 ` Re: pgsql: Make pg_dumpall's database ACL query independent of hash table o Andres Freund <andres@anarazel.de>
  2016-10-13 14:49   ` Re: pgsql: Make pg_dumpall's database ACL query independent of hash table o Tom Lane <tgl@sss.pgh.pa.us>
  2016-10-13 16:41     ` Re: pgsql: Make pg_dumpall's database ACL query independent of hash table o Andres Freund <andres@anarazel.de>
@ 2016-10-13 21:14       ` Andres Freund <andres@anarazel.de>
  0 siblings, 0 replies; 6+ messages in thread

From: Andres Freund @ 2016-10-13 21:14 UTC (permalink / raw)
  To: Tom Lane <tgl@sss.pgh.pa.us>; +Cc: pgsql-committers

On 2016-10-13 09:41:38 -0700, Andres Freund wrote:
> On 2016-10-13 10:49:14 -0400, Tom Lane wrote:
> > Andres Freund <andres@anarazel.de> writes:
> > > On 2016-10-13 01:33:53 +0000, Andres Freund wrote:
> > >> Make pg_dumpall's database ACL query independent of hash table order.
> > 
> > > Hrmpf, longfin doesn't like this much (as in unstable order).
> > 
> > It was failing for me and Peter as well.  Did you generate the new
> > test in a non-C locale environment?
> 
> Well, it's not a new test, just an existing one that was dependant on
> hash order. But yes, I did check the output on en_US. I guess slapping a
> collate C on it would work.  Brr, this test isn't pretty, and hard to
> debug.

Thanks for pushing something to fix this up. Was about to do the same ;)

Andres


-- 
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers



^ permalink  raw  reply  [nested|flat] 6+ messages in thread


end of thread, other threads:[~2016-10-13 21:14 UTC | newest]

Thread overview: 6+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2016-10-13 01:33 pgsql: Make pg_dumpall's database ACL query independent of hash table o Andres Freund <andres@anarazel.de>
2016-10-13 02:05 ` Andres Freund <andres@anarazel.de>
2016-10-13 12:38   ` Peter Eisentraut <peter.eisentraut@2ndquadrant.com>
2016-10-13 14:49   ` Tom Lane <tgl@sss.pgh.pa.us>
2016-10-13 16:41     ` Andres Freund <andres@anarazel.de>
2016-10-13 21:14       ` Andres Freund <andres@anarazel.de>

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox