pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
BUG #13843: Problem with output of an index definition by "pg_restore"
2+ messages / 2 participants
[nested] [flat]

* BUG #13843: Problem with output of an index definition by "pg_restore"
@ 2016-01-05 01:28 takami@orega.co.jp
  2016-01-05 04:20 ` Re: BUG #13843: Problem with output of an index definition by "pg_restore" Tom Lane <tgl@sss.pgh.pa.us>
  0 siblings, 1 reply; 2+ messages in thread

From: takami@orega.co.jp @ 2016-01-05 01:28 UTC (permalink / raw)
  To: pgsql-bugs

The following bug has been logged on the website:

Bug reference:      13843
Logged by:          Naoki Takami
Email address:      takami@orega.co.jp
PostgreSQL version: 9.4.5
Operating system:   Windows7
Description:        

I define the following index.
CREATE INDEX TEST_IDX ... WITH
(tokenizer='TokenBigramSplitSymbolAlphaDigit', normalizer='')
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=);



-- 
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs



^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* Re: BUG #13843: Problem with output of an index definition by "pg_restore"
  2016-01-05 01:28 BUG #13843: Problem with output of an index definition by "pg_restore" takami@orega.co.jp
@ 2016-01-05 04:20 ` Tom Lane <tgl@sss.pgh.pa.us>
  0 siblings, 0 replies; 2+ messages in thread

From: Tom Lane @ 2016-01-05 04:20 UTC (permalink / raw)
  To: takami@orega.co.jp; +Cc: 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


-- 
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs



^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~2016-01-05 04:20 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2016-01-05 01:28 BUG #13843: Problem with output of an index definition by "pg_restore" takami@orega.co.jp
2016-01-05 04:20 ` Tom Lane <tgl@sss.pgh.pa.us>

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox