I'm migrating from sql server to postgres. IN sql server I have created the index like this:
CREATE FULLTEXT INDEX ON [testdb].[dbo].['table'] (test1,test2...) KEY INDEX unique_index
WITH STOPLIST = SYSTEM
How can I created the same thing in postgres, if I'm trying to create for multiple column like this it is giving error:
CREATE INDEX ON [testdb].[dbo].['table'] USING gin (to_tsvector('english', test1)||to_tsvector('english',test2)||to_tsvector('english', test3));
Error:
ERROR: function to_tsvector(unknown, character varying, character varying) does not exist