I am using "PostgreSQL 9.1.5",i am trying to create gin index for the text column.It is showing error message.
CREATE TABLE users (
first_name text,
last_name text
)
CREATE INDEX users_search_idx ON users USING gin (first_name,last_name)
I am having column values like this(first_name)
"456fc0470a95c02bb42ef3e35fc81852"
i am trying to query the data like this.
SELECT count(*) FROM users where first_name like '%aeb%'