small pg_dumpall bug/warning in 8.1beta1

Поиск
Список
Период
Сортировка
Искать

small pg_dumpall bug/warning in 8.1beta1

От:
Stefan Kaltenbrunner <stefan@kaltenbrunner.cc>
Дата:
Hi!

During testing of 8.1 I found that using  pg_dumpall (-g) against a live
8.0 install that has at least one GROUP defined results in the following
warning while it creates the CREATE ROLE statements in the dump:

row number 0 is out of range 0..-1


To reproduce the problem it is enough to init a new 8.0 cluster, create
a empty GROUP and dump the cluster using pg_dumpall from -HEAD(or beta1).



Stefan

Re: small pg_dumpall bug/warning in 8.1beta1

От:
Tom Lane <tgl@sss.pgh.pa.us>
Дата:
Stefan Kaltenbrunner  writes:
> During testing of 8.1 I found that using  pg_dumpall (-g) against a live
> 8.0 install that has at least one GROUP defined results in the following
> warning while it creates the CREATE ROLE statements in the dump:
> row number 0 is out of range 0..-1

Fixed, thanks for the report!

AFAICT, this is purely cosmetic, and the dump is OK anyway.  But it's
definitely an oversight.
		regards, tom lane

Re: small pg_dumpall bug/warning in 8.1beta1

От:
Stefan Kaltenbrunner <stefan@kaltenbrunner.cc>
Дата:
Tom Lane wrote:
> Stefan Kaltenbrunner  writes:
> 
>>During testing of 8.1 I found that using  pg_dumpall (-g) against a live
>>8.0 install that has at least one GROUP defined results in the following
>>warning while it creates the CREATE ROLE statements in the dump:
>>row number 0 is out of range 0..-1
> 
> 
> Fixed, thanks for the report!
> 
> AFAICT, this is purely cosmetic, and the dump is OK anyway.  But it's
> definitely an oversight.

Oh yeah - the dump is fine otherwise, thats why I labeled it a small
bug/warning :-)


Stefan

FAQ