Search Postgresql Archives

Re: cannot delete some records [9.3] - semi-resolved

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I have a workaround for the mysterious inability to delete records
from one particular table not notably different from many others.
This does not explain the problem, but at least enables me to move
on...  Whether all of the following steps are necessary I can't say.

Instead of loading the 9.3 DB with a dump from 8.4, I did a two
step dump-reload through an intermediate system with 9.1, first
clearing the 9.3 DB of any residues from the previous load.  This
included eliminating all references to users, which in turn required using a REASSIGN for template1 to postgres.

Retained the "superuser" status for deleting the rows.  This did not
work previously (I can recreate the problem by altering the role to
mere CREATEROLE CREATEDB) and with the user in question being the
owner of the table.

This makes me a bit nervous, as I don't understand why, but at least
it seems to work.

	-Frank


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




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux