I am trying to import a sql dump to postgresql db as -
sudo su postgres -c psql dbname < mydb_dump.sql
This gives errors as -
SET SET SET SET SET SET ERROR: function "array_accum" already exists with same argument types ALTER AGGREGATE ERROR: function "c" already exists with same argument types ALTER AGGREGATE ERROR: duplicate key value violates unique constraint "pg_ts_config_cfgname_index" ERROR: duplicate key value violates unique constraint "pg_ts_config_map_index"
and so on this. What might be wrong with that? Tried googling for it, but couldn't find any pointers over it.
Postgresql version is 8.4.1
Thanks !!