Stuart Bishop <stuart@stuartbishop.net> writes:
> The attached script creates a tsvector with a value that can be dumped using
> pg_dump, but not loaded again using pg_restore. This causes restores of a
> dump containing this value to fail.
Hmm, sorta looks like tsvectorout should be doubling backslashes?
regards, tom lane