Re: BUG #13843: Problem with output of an index definition by "pg_restore" - Mailing list pgsql-bugs

From Tom Lane
Subject Re: BUG #13843: Problem with output of an index definition by "pg_restore"
Date
Msg-id 22614.1451967655@sss.pgh.pa.us
Whole thread Raw
In response to BUG #13843: Problem with output of an index definition by "pg_restore"  (takami@orega.co.jp)
List pgsql-bugs
takami@orega.co.jp writes:
> I define the following index.
> CREATE INDEX TEST_IDX ... WITH
> (tokenizer='TokenBigramSplitSymbolAlphaDigit', normalizer='')

This example seems to depend on an index type that doesn't exist in
core Postgres.  Your report would be a lot more helpful if it provided
sufficient detail to recreate the case.

> When it was input by "pg_restore" after outputting this by "pg_dump", the
> following error occurred.
> could not execute query: ERROR:  syntax error at or near ")"
> line 1: ...H (tokenizer=TokenBigramSplitSymbolAlphaDigit, normalizer=);

I think this is fixed by patches that were committed recently to quote
reloptions values ... but it's pretty hard to be sure without enough
detail to recreate the problem.

            regards, tom lane

pgsql-bugs by date:

Previous
From: Jarred Ward
Date:
Subject: Copy paste typo in bug #13844
Next
From: Michael Paquier
Date:
Subject: Re: BUG #13822: Slave terminated - WAL contains references to invalid page