I was reading about maximum limits of database objects in Postgres. From PostgreSQL Limits:
My question here is what is the meaning of "can be increased by recompiling PostgreSQL"?
I was reading about maximum limits of database objects in Postgres. From PostgreSQL Limits:
My question here is what is the meaning of "can be increased by recompiling PostgreSQL"?
This means that there is no way to update these limit from within Postgres while running—in other words, there is no Postgres command to change any of these values. Instead you'll have to change parameters at a higher level and then recompile Postgres to see the changes take effect. This is likely because these limits (in at least some cases) are set by constant values so the only way to change their value is to change the source then recompile.
In this answer about changing the maximum identifier length, the only way to change the max identifier length limit is to manually change the value of a constant in a config file, then recompile Postgres in order for the changes to take effect.
If you're using a managed cloud solution (like Amazon Aurora), this means you will not be able to change these constraints, as stated in this answer.