N
Neon6mo ago
foreign-sapphire

Can't create table in public schema as 'unrecognized configuration parameter "anon.maskschema"'.

I have tried using a different schema to public, can't find any reference of this happening anywhere on the internet. This is using a db created before vercel handed off all db stuff to neon, and when I could control the db from vercel. Not sure if that matters.
No description
9 Replies
foreign-sapphire
foreign-sapphireOP6mo ago
It also just doesn't even work if I do this
No description
foreign-sapphire
foreign-sapphireOP6mo ago
Full error from pgAdmin, looks like the anon addon?:
ERROR: unrecognized configuration parameter "anon.maskschema"
CONTEXT: SQL statement "SELECT nspname
FROM pg_catalog.pg_namespace
WHERE nspname = pg_catalog.current_setting('anon.maskschema')::NAME"
PL/pgSQL function anon.mask_update() line 4 at PERFORM
SQL statement "SELECT anon.mask_update()"
PL/pgSQL function anon.trg_mask_update() line 5 at PERFORM

SQL state: 42704
ERROR: unrecognized configuration parameter "anon.maskschema"
CONTEXT: SQL statement "SELECT nspname
FROM pg_catalog.pg_namespace
WHERE nspname = pg_catalog.current_setting('anon.maskschema')::NAME"
PL/pgSQL function anon.mask_update() line 4 at PERFORM
SQL statement "SELECT anon.mask_update()"
PL/pgSQL function anon.trg_mask_update() line 5 at PERFORM

SQL state: 42704
Just ran it on a new account that isnt using vercel and it worked.
xenogeneic-maroon
xenogeneic-maroon5mo ago
Did you happen to have the anon extenion installed previously? We added it at one point, but we never officially supported it. Recently it was fully removed.
genetic-orange
genetic-orange5mo ago
@Wosca we think that this will need our Support team to change some things in your project. Can you email support@neon.tech with your project id please? We're sorry about this
foreign-sapphire
foreign-sapphireOP5mo ago
Yeah for sure That's all good I figured it might have been something removed
solid-orange
solid-orange5mo ago
@Wosca can you please run DROP EXTENSION anon?
foreign-sapphire
foreign-sapphireOP5mo ago
No description
solid-orange
solid-orange5mo ago
@Wosca can you DM me your endpoint ID? And what region your project is in
foreign-sapphire
foreign-sapphireOP5mo ago
For sure

Did you find this page helpful?