I found some solution by adding
allow_system_table_mods = on
to PostgreSQL configuration file.
But on PostgreSQL this doesen't work.
I can't find any other method who give me access to edit this catalogs.
Have someone any idea?
postgresql
I found some solution by adding
allow_system_table_mods = on
to PostgreSQL configuration file.
But on PostgreSQL this doesen't work.
I can't find any other method who give me access to edit this catalogs.
Have someone any idea?
Best Answer
I just installed PostgresSQL 8.1 from source code and have no issue with editing system catalogs as superuser. It's determined by
rolcatupdate
property inpg_roles
system catalog:You can check it by:
For other roles you have
false
value, so you could (probably you shouldn't doing this at all, so be careful) set totrue
:Second way (let's say you don't have any superuser accout after some accident) is to run PostgreSQL server in single-user mode: