I am using unaccent extension in my PostgreSQL database.
I install it by
CREATE EXTENSION IF NOT EXISTS unaccent
and then within a connection it runs fine. But when I reconnect to the database i run unaccent function and it throws error function unaccent(character varying) does not exist and I need to run CREATE EXTENSION ... again. Then it works fine.
My problem is that I need to run the unaccent extension everytime I connect to the database without the need to re-create it.
What should I do to enable unaccent for every connection.