On 10/11/07, Florian G. Pflug <[EMAIL PROTECTED]> wrote: > > Maybe we could document some regexp, awk script, or similar that strips the > tsearch stuff from such a table of contents?
Just my .02c for those who will work on migration manual. In my case, all tsearch2 stuff was kept (before 8.3) in separate schema, namely "tsearch2". So, in 8.2, I had tsearch2.tsvector and tsearch2.tsquery data types and so on. During restoration to 8.3 I've catched segfaults -- during INSERTs into tables with "tsearch2"."tsvector" columns. What helped me is the following procedure: 1. restore schema only; 2. restore data with replacing "tsearch2"."tsvector" datatype to "tsvector": sed -e 's/tsearch2\.tsvector/tsvector/g' DATADUMP | psql DBNAME 2>restoration_errors.log 3. drop "tsearch2" schema since it isn't needed anymore. After that -- everything works normally. My case is specific since I use separate schemas for every single contrib module. -- Best regards, Nikolay ---------------------------(end of broadcast)--------------------------- TIP 9: In versions below 8.0, the planner will ignore your desire to choose an index scan if your joining column's datatypes do not match