Search Postgresql Archives

Re: ERROR: could not open relation with OID XXXX

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

 



On 8/25/24 08:36, Marcelo Zabani wrote:
 > we do some special stuff for catalogs

That is good to know, thanks!

> I believe you could actually lock the pg_class rows for update. Just add FOR UPDATE at the end of the query.

Thanks, but I tried that and got "ERROR:  permission denied for table pg_class", even if I try it only for tables the user owns.


As I understand it this issue came up in:

https://github.com/mzabani/codd

I would think that the queries in that case would be running as a superuser in order to do the migrations.

--
Adrian Klaver
adrian.klaver@xxxxxxxxxxx






[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 Databases]     [Postgresql & PHP]     [Yosemite]

  Powered by Linux