dreamsxin@qq.com writes:
> pg_dump: [archiver (db)] query failed: server closed the connection
> unexpectedly
> This probably means the server terminated abnormally
> before or while processing the request.
> pg_dump: [archiver (db)] query was: SELECT
> ( SELECT alias FROM pg_catalog.ts_token_type('16392'::pg_catalog.oid) AS t
> WHERE t.tokid = m.maptokentype ) AS tokenname,
> m.mapdict::pg_catalog.regdictionary AS dictname
> FROM pg_catalog.pg_ts_config_map AS m
> WHERE m.mapcfg = '69497'
> ORDER BY m.mapcfg, m.maptokentype, m.mapseqno
There's not really enough information here to do more than speculate,
but it appears that you've got a broken text search configuration,
perhaps a buggy custom parser definition.
What do you get from "select oid, * from pg_ts_parser"?
regards, tom lane