[COMMITTERS] pgsql: Cope with more than 64K phrases in a thesaurus dictionary.

2014-11-06 Thread Tom Lane
Cope with more than 64K phrases in a thesaurus dictionary. dict_thesaurus stored phrase IDs in uint16 fields, so it would get confused and even crash if there were more than 64K entries in the configuration file. It turns out to be basically free to widen the phrase IDs to uint32, so let's just d

[COMMITTERS] pgsql: Cope with more than 64K phrases in a thesaurus dictionary.

2014-11-06 Thread Tom Lane
Cope with more than 64K phrases in a thesaurus dictionary. dict_thesaurus stored phrase IDs in uint16 fields, so it would get confused and even crash if there were more than 64K entries in the configuration file. It turns out to be basically free to widen the phrase IDs to uint32, so let's just d

[COMMITTERS] pgsql: Cope with more than 64K phrases in a thesaurus dictionary.

2014-11-06 Thread Tom Lane
Cope with more than 64K phrases in a thesaurus dictionary. dict_thesaurus stored phrase IDs in uint16 fields, so it would get confused and even crash if there were more than 64K entries in the configuration file. It turns out to be basically free to widen the phrase IDs to uint32, so let's just d

[COMMITTERS] pgsql: Cope with more than 64K phrases in a thesaurus dictionary.

2014-11-06 Thread Tom Lane
Cope with more than 64K phrases in a thesaurus dictionary. dict_thesaurus stored phrase IDs in uint16 fields, so it would get confused and even crash if there were more than 64K entries in the configuration file. It turns out to be basically free to widen the phrase IDs to uint32, so let's just d

[COMMITTERS] pgsql: Cope with more than 64K phrases in a thesaurus dictionary.

2014-11-06 Thread Tom Lane
Cope with more than 64K phrases in a thesaurus dictionary. dict_thesaurus stored phrase IDs in uint16 fields, so it would get confused and even crash if there were more than 64K entries in the configuration file. It turns out to be basically free to widen the phrase IDs to uint32, so let's just d

[COMMITTERS] pgsql: Cope with more than 64K phrases in a thesaurus dictionary.

2014-11-06 Thread Tom Lane
Cope with more than 64K phrases in a thesaurus dictionary. dict_thesaurus stored phrase IDs in uint16 fields, so it would get confused and even crash if there were more than 64K entries in the configuration file. It turns out to be basically free to widen the phrase IDs to uint32, so let's just d

[COMMITTERS] pgsql: Fix normalization of numeric values in JSONB GIN indexes.

2014-11-06 Thread Tom Lane
Fix normalization of numeric values in JSONB GIN indexes. The default JSONB GIN opclass (jsonb_ops) converts numeric data values to strings for storage in the index. It must ensure that numeric values that would compare equal (such as 12 and 12.00) produce identical strings, else index searches w

[COMMITTERS] pgsql: Fix normalization of numeric values in JSONB GIN indexes.

2014-11-06 Thread Tom Lane
Fix normalization of numeric values in JSONB GIN indexes. The default JSONB GIN opclass (jsonb_ops) converts numeric data values to strings for storage in the index. It must ensure that numeric values that would compare equal (such as 12 and 12.00) produce identical strings, else index searches w

[COMMITTERS] pgsql: Prevent the unnecessary creation of .ready file for the timeline

2014-11-06 Thread Fujii Masao
Prevent the unnecessary creation of .ready file for the timeline history file. Previously .ready file was created for the timeline history file at the end of an archive recovery even when WAL archiving was not enabled. This creation is unnecessary and causes .ready file to remain infinitely. This

[COMMITTERS] pgsql: Prevent the unnecessary creation of .ready file for the timeline

2014-11-06 Thread Fujii Masao
Prevent the unnecessary creation of .ready file for the timeline history file. Previously .ready file was created for the timeline history file at the end of an archive recovery even when WAL archiving was not enabled. This creation is unnecessary and causes .ready file to remain infinitely. This

[COMMITTERS] pgsql: Prevent the unnecessary creation of .ready file for the timeline

2014-11-06 Thread Fujii Masao
Prevent the unnecessary creation of .ready file for the timeline history file. Previously .ready file was created for the timeline history file at the end of an archive recovery even when WAL archiving was not enabled. This creation is unnecessary and causes .ready file to remain infinitely. This

[COMMITTERS] pgsql: Prevent the unnecessary creation of .ready file for the timeline

2014-11-06 Thread Fujii Masao
Prevent the unnecessary creation of .ready file for the timeline history file. Previously .ready file was created for the timeline history file at the end of an archive recovery even when WAL archiving was not enabled. This creation is unnecessary and causes .ready file to remain infinitely. This

[COMMITTERS] pgsql: Prevent the unnecessary creation of .ready file for the timeline

2014-11-06 Thread Fujii Masao
Prevent the unnecessary creation of .ready file for the timeline history file. Previously .ready file was created for the timeline history file at the end of an archive recovery even when WAL archiving was not enabled. This creation is unnecessary and causes .ready file to remain infinitely. This

[COMMITTERS] pgsql: Prevent the unnecessary creation of .ready file for the timeline

2014-11-06 Thread Fujii Masao
Prevent the unnecessary creation of .ready file for the timeline history file. Previously .ready file was created for the timeline history file at the end of an archive recovery even when WAL archiving was not enabled. This creation is unnecessary and causes .ready file to remain infinitely. This

[COMMITTERS] pgsql: Move the backup-block logic from XLogInsert to a new file, xlogi

2014-11-06 Thread Heikki Linnakangas
Move the backup-block logic from XLogInsert to a new file, xloginsert.c. xlog.c is huge, this makes it a little bit smaller, which is nice. Functions related to putting together the WAL record are in xloginsert.c, and the lower level stuff for managing WAL buffers and such are in xlog.c. Also mov

[COMMITTERS] pgsql: Fix typo in comment.

2014-11-06 Thread Fujii Masao
Fix typo in comment. Etsuro Fujita Branch -- master Details --- http://git.postgresql.org/pg/commitdiff/d2b8a2c7ec1098e7b98160ccdc0e3a513964fb08 Modified Files -- src/backend/commands/matview.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- Sent via pgsql-comm

[COMMITTERS] pgsql: Implement IF NOT EXIST for CREATE INDEX.

2014-11-06 Thread Fujii Masao
Implement IF NOT EXIST for CREATE INDEX. Fabrízio de Royes Mello, reviewed by Marti Raudsepp, Adam Brightwell and me. Branch -- master Details --- http://git.postgresql.org/pg/commitdiff/08309aaf74ee879699165ec8a2d53e56f2d2e947 Modified Files -- doc/src/sgml/ref/create_index