[COMMITTERS] pgsql: Fix bug "select lower('asd') = 'asd'" returns false with

2008-06-26 Thread Teodor Sigaev
Log Message: --- Fix bug "select lower('asd') = 'asd'" returns false with multibyte encoding and non-C locale. Fix is just to use correct source's length for char2wchar call. Modified Files: -- pgsql/src/backend/utils/adt: formatting.c (r1.143 -> r1.144) (h

[COMMITTERS] pgsql: ltree support for multibyte encodings.

2008-06-30 Thread Teodor Sigaev
Log Message: --- ltree support for multibyte encodings. Patch was made by laser <[EMAIL PROTECTED]> with some editorization by me. Modified Files: -- pgsql/contrib/ltree: lquery_op.c (r1.12 -> r1.13) (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/contrib/l

[COMMITTERS] pgsql: Fix initialization of GinScanEntryData.partialMatch

2008-07-04 Thread Teodor Sigaev
Log Message: --- Fix initialization of GinScanEntryData.partialMatch Modified Files: -- pgsql/src/backend/access/gin: ginscan.c (r1.15 -> r1.16) (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/backend/access/gin/ginscan.c?r1=1.15&r2=1.16) -- Sent via

[COMMITTERS] pgsql: Add caching of query to GIN/GiST consistent function.

2008-07-11 Thread Teodor Sigaev
Log Message: --- Add caching of query to GIN/GiST consistent function. Per performance gripe from nomao.com Modified Files: -- pgsql/contrib/pg_trgm: trgm_gin.c (r1.4 -> r1.5) (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/contrib/pg_trgm/trgm_gin.c?r1=1.4

[COMMITTERS] pgsql: Fix possible duplicate tuples while GiST scan.

2008-08-23 Thread Teodor Sigaev
Log Message: --- Fix possible duplicate tuples while GiST scan. Now page is processed at once and ItemPointers are collected in memory. Remove tuple's killing by killtuple() if tuple was moved to another page - it could produce unaceptable overhead. Backpatch up to 8.1 because the bug wa

[COMMITTERS] pgsql: Fix possible duplicate tuples while GiST scan.

2008-08-23 Thread Teodor Sigaev
Log Message: --- Fix possible duplicate tuples while GiST scan. Now page is processed at once and ItemPointers are collected in memory. Remove tuple's killing by killtuple() if tuple was moved to another page - it could produce unaceptable overhead. Backpatch up to 8.1 because the bug wa

[COMMITTERS] pgsql: Fix possible duplicate tuples while GiST scan.

2008-08-23 Thread Teodor Sigaev
Log Message: --- Fix possible duplicate tuples while GiST scan. Now page is processed at once and ItemPointers are collected in memory. Remove tuple's killing by killtuple() if tuple was moved to another page - it could produce unaceptable overhead. Backpatch up to 8.1 because the bug wa

[COMMITTERS] pgsql: Fix possible duplicate tuples while GiST scan.

2008-08-23 Thread Teodor Sigaev
Log Message: --- Fix possible duplicate tuples while GiST scan. Now page is processed at once and ItemPointers are collected in memory. Remove tuple's killing by killtuple() if tuple was moved to another page - it could produce unaceptable overhead. Backpatch up to 8.1 because the bug wa

[COMMITTERS] pgsql: Fix strategy propagation to scanEntry for partial match by moving

2008-09-04 Thread Teodor Sigaev
Log Message: --- Fix strategy propagation to scanEntry for partial match by moving propagation to initializaion of scanEntry. Modified Files: -- pgsql/src/backend/access/gin: ginget.c (r1.18 -> r1.19) (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/back

[COMMITTERS] pgsql: During repeated rescan of GiST index it's possible that scan key

2008-10-17 Thread Teodor Sigaev
Log Message: --- During repeated rescan of GiST index it's possible that scan key is NULL but SK_SEARCHNULL is not set. Add checking IS NULL of keys to set during key initialization. If key is NULL and SK_SEARCHNULL is not set then nothnig can be satisfied. With assert-enabled compilation t

[COMMITTERS] pgsql: During repeated rescan of GiST index it's possible that scan key

2008-10-17 Thread Teodor Sigaev
Log Message: --- During repeated rescan of GiST index it's possible that scan key is NULL but SK_SEARCHNULL is not set. Add checking IS NULL of keys to set during key initialization. If key is NULL and SK_SEARCHNULL is not set then nothnig can be satisfied. With assert-enabled compilation t

[COMMITTERS] pgsql: Fix small bug in headline generation.

2008-10-17 Thread Teodor Sigaev
Log Message: --- Fix small bug in headline generation. Patch from Sushant Sinha <[EMAIL PROTECTED]> http://archives.postgresql.org/pgsql-hackers/2008-07/msg00785.php Modified Files: -- pgsql/src/backend/tsearch: wparser_def.c (r1.15 -> r1.16) (http://anon

[COMMITTERS] pgsql: Fix small bug in headline generation.

2008-10-17 Thread Teodor Sigaev
Log Message: --- Fix small bug in headline generation. Patch from Sushant Sinha <[EMAIL PROTECTED]> http://archives.postgresql.org/pgsql-hackers/2008-07/msg00785.php Tags: REL8_3_STABLE Modified Files: -- pgsql/src/backend/tsearch: wparser_def.c (r1.14 -> r1

[COMMITTERS] pgsql: Fix small bug in headline generation.

2008-10-17 Thread Teodor Sigaev
Log Message: --- Fix small bug in headline generation. Patch from Sushant Sinha <[EMAIL PROTECTED]> http://archives.postgresql.org/pgsql-hackers/2008-07/msg00785.php Tags: REL8_2_STABLE Modified Files: -- pgsql/contrib/tsearch2: wparser_def.c (r1.15 -> r1.15

[COMMITTERS] pgsql: Fix small bug in headline generation.

2008-10-17 Thread Teodor Sigaev
Log Message: --- Fix small bug in headline generation. Patch from Sushant Sinha <[EMAIL PROTECTED]> http://archives.postgresql.org/pgsql-hackers/2008-07/msg00785.php Tags: REL8_1_STABLE Modified Files: -- pgsql/contrib/tsearch2: wparser_def.c (r1.13 -> r1.13

[COMMITTERS] pgsql: Fix small bug in headline generation.

2008-10-17 Thread Teodor Sigaev
Log Message: --- Fix small bug in headline generation. Patch from Sushant Sinha <[EMAIL PROTECTED]> http://archives.postgresql.org/pgsql-hackers/2008-07/msg00785.php Tags: REL8_0_STABLE Modified Files: -- pgsql/contrib/tsearch2: wparser_def.c (r1.11.4.1 -> r

[COMMITTERS] pgsql: Fix small bug in headline generation.

2008-10-17 Thread Teodor Sigaev
Log Message: --- Fix small bug in headline generation. Patch from Sushant Sinha <[EMAIL PROTECTED]> http://archives.postgresql.org/pgsql-hackers/2008-07/msg00785.php Tags: REL7_4_STABLE Modified Files: -- pgsql/contrib/tsearch2: wparser_def.c (r1.5.4.1 -> r1

[COMMITTERS] pgsql: Improve headeline generation.

2008-10-17 Thread Teodor Sigaev
Log Message: --- Improve headeline generation. Now headline can contain several fragments a-la Google. Sushant Sinha <[EMAIL PROTECTED]> Modified Files: -- pgsql/doc/src/sgml: textsearch.sgml (r1.45 -> r1.46) (http://anoncvs.postgresql.org/cvsweb.cgi/pgsq

[COMMITTERS] pgsql: Remove mark/restore support in GIN and GiST indexes.

2008-10-20 Thread Teodor Sigaev
Log Message: --- Remove mark/restore support in GIN and GiST indexes. Per Tom's comment. Also revome useless GISTScanOpaque->flags field. Modified Files: -- pgsql/src/backend/access/gin: ginget.c (r1.19 -> r1.20) (http://anoncvs.postgresql.org/cvsweb.cgi/pg

[COMMITTERS] pgsql: Remove support of backward scan in GiST.

2008-10-20 Thread Teodor Sigaev
Log Message: --- Remove support of backward scan in GiST. Per discussion http://archives.postgresql.org/pgsql-hackers/2008-10/msg00857.php Modified Files: -- pgsql/src/backend/access/gist: gistget.c (r1.77 -> r1.78) (http://anoncvs.postgresql.org/cvsweb.cgi

[COMMITTERS] pgsql: Fix GiST's killing tuple: GISTScanOpaque->curpos wasn't

2008-10-22 Thread Teodor Sigaev
Log Message: --- Fix GiST's killing tuple: GISTScanOpaque->curpos wasn't correctly set. As result, killtuple() marks as dead wrong tuple on page. Bug was introduced by me while fixing possible duplicates during GiST index scan. Modified Files: -- pgsql/src/backend/access/

[COMMITTERS] pgsql: Fix GiST's killing tuple: GISTScanOpaque->curpos wasn't

2008-10-22 Thread Teodor Sigaev
Log Message: --- Fix GiST's killing tuple: GISTScanOpaque->curpos wasn't correctly set. As result, killtuple() marks as dead wrong tuple on page. Bug was introduced by me while fixing possible duplicates during GiST index scan. Tags: REL8_3_STABLE Modified Files: --

[COMMITTERS] pgsql: Fix GiST's killing tuple: GISTScanOpaque->curpos wasn't

2008-10-22 Thread Teodor Sigaev
Log Message: --- Fix GiST's killing tuple: GISTScanOpaque->curpos wasn't correctly set. As result, killtuple() marks as dead wrong tuple on page. Bug was introduced by me while fixing possible duplicates during GiST index scan. Tags: REL8_2_STABLE Modified Files: --

[COMMITTERS] pgsql: Fix GiST's killing tuple: GISTScanOpaque->curpos wasn't

2008-10-22 Thread Teodor Sigaev
Log Message: --- Fix GiST's killing tuple: GISTScanOpaque->curpos wasn't correctly set. As result, killtuple() marks as dead wrong tuple on page. Bug was introduced by me while fixing possible duplicates during GiST index scan. Tags: REL8_1_STABLE Modified Files: --

[COMMITTERS] pgsql: Support of multibyte encoding for pg_trgm

2008-11-12 Thread Teodor Sigaev
Log Message: --- Support of multibyte encoding for pg_trgm Modified Files: -- pgsql/contrib/pg_trgm: trgm.h (r1.9 -> r1.10) (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/contrib/pg_trgm/trgm.h?r1=1.9&r2=1.10) trgm_gin.c (r1.5 -> r1.6) (ht

[COMMITTERS] pgsql: Replace plain-memory ordered array by binary tree in ts_stat()

2008-11-17 Thread Teodor Sigaev
Log Message: --- Replace plain-memory ordered array by binary tree in ts_stat() function. Performance is increased from 50% up to 10^3 times depending on data. Modified Files: -- pgsql/src/backend/utils/adt: tsvector_op.c (r1.17 -> r1.18) (http://anoncvs.po

[COMMITTERS] pgsql: Fix compiler warning "res may be used uninitialized in this

2008-11-19 Thread Teodor Sigaev
Log Message: --- Fix compiler warning "res may be used uninitialized in this function". Actually, it can't but some compilers are not smart enough. Per Peter Eisentraut gripe. Modified Files: -- pgsql/src/backend/utils/adt: tsvector_op.c (r1.18 -> r1.19) (h

[COMMITTERS] pgsql: Initialize GISTScanOpaque->qual_ok even if there is no

2008-12-04 Thread Teodor Sigaev
Log Message: --- Initialize GISTScanOpaque->qual_ok even if there is no conditions. Modified Files: -- pgsql/src/backend/access/gist: gistscan.c (r1.73 -> r1.74) (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/backend/access/gist/gistscan.c?r1=1.73&r2=1

[COMMITTERS] pgsql: Initialize GISTScanOpaque->qual_ok even if there is no

2008-12-04 Thread Teodor Sigaev
Log Message: --- Initialize GISTScanOpaque->qual_ok even if there is no conditions. Tags: REL8_3_STABLE Modified Files: -- pgsql/src/backend/access/gist: gistscan.c (r1.68.2.3 -> r1.68.2.4) (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/backend/a

[COMMITTERS] pgsql: Fix generation too long headline with ShortWords.

2009-01-15 Thread Teodor Sigaev
Log Message: --- Fix generation too long headline with ShortWords. Per http://archives.postgresql.org/pgsql-hackers/2008-09/msg01088.php Modified Files: -- pgsql/src/backend/tsearch: wparser_def.c (r1.18 -> r1.19) (http://anoncvs.postgresql.org/cvsweb.cgi/p

[COMMITTERS] pgsql: Fix URL generation in headline.

2009-01-15 Thread Teodor Sigaev
Log Message: --- Fix URL generation in headline. Only tag lexeme will be replaced by space. Per http://archives.postgresql.org/pgsql-bugs/2008-12/msg00013.php Modified Files: -- pgsql/src/backend/tsearch: ts_parse.c (r1.10 -> r1.11) (http://anoncvs.postgres

[COMMITTERS] pgsql: Fix generation of too long headline with ShortWords.

2009-01-15 Thread Teodor Sigaev
Log Message: --- Fix generation of too long headline with ShortWords. Per http://archives.postgresql.org/pgsql-hackers/2008-09/msg01088.php Tags: REL8_3_STABLE Modified Files: -- pgsql/src/backend/tsearch: wparser_def.c (r1.14.2.1 -> r1.14.2.2) (http:

[COMMITTERS] pgsql: Fix URL generation in headline.

2009-01-15 Thread Teodor Sigaev
Log Message: --- Fix URL generation in headline. Only tag lexeme will be replaced by space. Per http://archives.postgresql.org/pgsql-bugs/2008-12/msg00013.php Tags: REL8_3_STABLE Modified Files: -- pgsql/src/backend/tsearch: ts_parse.c (r1.7 -> r1.7.2.1)

[COMMITTERS] pgsql: Fix generation of too long headline with ShortWords.

2009-01-15 Thread Teodor Sigaev
Log Message: --- Fix generation of too long headline with ShortWords. Per http://archives.postgresql.org/pgsql-hackers/2008-09/msg01088.php Tags: REL8_2_STABLE Modified Files: -- pgsql/contrib/tsearch2: wparser_def.c (r1.15.2.1 -> r1.15.2.2) (http://a

[COMMITTERS] pgsql: Fix URL generation in headline.

2009-01-15 Thread Teodor Sigaev
Log Message: --- Fix URL generation in headline. Only tag lexeme will be replaced by space. Per http://archives.postgresql.org/pgsql-bugs/2008-12/msg00013.php Tags: REL8_2_STABLE Modified Files: -- pgsql/contrib/tsearch2: ts_cfg.c (r1.21.2.1 -> r1.21.2.2)

[COMMITTERS] pgsql: Fix URL generation in headline.

2009-01-15 Thread Teodor Sigaev
Log Message: --- Fix URL generation in headline. Only tag lexeme will be replaced by space. Per http://archives.postgresql.org/pgsql-bugs/2008-12/msg00013.php Tags: REL8_1_STABLE Modified Files: -- pgsql/contrib/tsearch2: ts_cfg.c (r1.15.2.1 -> r1.15.2.2)

[COMMITTERS] pgsql: Fix generation of too long headline with ShortWords.

2009-01-15 Thread Teodor Sigaev
Log Message: --- Fix generation of too long headline with ShortWords. Per http://archives.postgresql.org/pgsql-hackers/2008-09/msg01088.php Tags: REL8_1_STABLE Modified Files: -- pgsql/contrib/tsearch2: wparser_def.c (r1.13.2.2 -> r1.13.2.3) (http://a

[COMMITTERS] pgsql: Fix generation of too long headline with ShortWords.

2009-01-15 Thread Teodor Sigaev
Log Message: --- Fix generation of too long headline with ShortWords. Per http://archives.postgresql.org/pgsql-hackers/2008-09/msg01088.php Tags: REL8_0_STABLE Modified Files: -- pgsql/contrib/tsearch2: wparser_def.c (r1.11.4.2 -> r1.11.4.3) (http://a

[COMMITTERS] pgsql: Fix URL generation in headline.

2009-01-15 Thread Teodor Sigaev
Log Message: --- Fix URL generation in headline. Only tag lexeme will be replaced by space. Per http://archives.postgresql.org/pgsql-bugs/2008-12/msg00013.php Tags: REL8_0_STABLE Modified Files: -- pgsql/contrib/tsearch2: ts_cfg.c (r1.11.4.3 -> r1.11.4.4)

[COMMITTERS] pgsql: Fix URL generation in headline.

2009-01-15 Thread Teodor Sigaev
Log Message: --- Fix URL generation in headline. Only tag lexeme will be replaced by space. Per http://archives.postgresql.org/pgsql-bugs/2008-12/msg00013.php Tags: REL7_4_STABLE Modified Files: -- pgsql/contrib/tsearch2: ts_cfg.c (r1.5.2.3 -> r1.5.2.4)

[COMMITTERS] pgsql: Fix generation of too long headline with ShortWords.

2009-01-15 Thread Teodor Sigaev
Log Message: --- Fix generation of too long headline with ShortWords. Per http://archives.postgresql.org/pgsql-hackers/2008-09/msg01088.php Tags: REL7_4_STABLE Modified Files: -- pgsql/contrib/tsearch2: wparser_def.c (r1.5.4.2 -> r1.5.4.3) (http://ano

[COMMITTERS] pgsql: Sync output of tsearch2 regression test

2009-01-16 Thread Teodor Sigaev
Log Message: --- Sync output of tsearch2 regression test Tags: REL8_1_STABLE Modified Files: -- pgsql/contrib/tsearch2/expected: tsearch2.out (r1.13.2.2 -> r1.13.2.3) (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/contrib/tsearch2/expected/tsearch2.o

[COMMITTERS] pgsql: Fix uninitialized variables in get_covers

2009-01-16 Thread Teodor Sigaev
Log Message: --- Fix uninitialized variables in get_covers Tags: REL8_1_STABLE Modified Files: -- pgsql/contrib/tsearch2: rank.c (r1.12.2.1 -> r1.12.2.2) (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/contrib/tsearch2/rank.c?r1=1.12.2.1&r2=1.12.2.2)

[COMMITTERS] pgsql: Fix uninitialized variables in get_covers

2009-01-16 Thread Teodor Sigaev
Log Message: --- Fix uninitialized variables in get_covers Tags: REL8_0_STABLE Modified Files: -- pgsql/contrib/tsearch2: rank.c (r1.5.4.3 -> r1.5.4.4) (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/contrib/tsearch2/rank.c?r1=1.5.4.3&r2=1.5.4.4) --

[COMMITTERS] pgsql: Fix uninitialized variables in get_covers

2009-01-16 Thread Teodor Sigaev
Log Message: --- Fix uninitialized variables in get_covers Tags: REL7_4_STABLE Modified Files: -- pgsql/contrib/tsearch2: rank.c (r1.3.4.3 -> r1.3.4.4) (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/contrib/tsearch2/rank.c?r1=1.3.4.3&r2=1.3.4.4) --

[COMMITTERS] pgsql: Fix bug with multiple evaluation of tsearch2 compatibility

2009-01-28 Thread Teodor Sigaev
Log Message: --- Fix bug with multiple evaluation of tsearch2 compatibility trigger, trigger data should be restored. Backpatch only for 8.3 because previous versions haven't such layer. Modified Files: -- pgsql/contrib/tsearch2: tsearch2.c (r1.8 -> r1.9) (

[COMMITTERS] pgsql: Fix bug with multiple evaluation of tsearch2 compatibility

2009-01-28 Thread Teodor Sigaev
Log Message: --- Fix bug with multiple evaluation of tsearch2 compatibility trigger, trigger data should be restored. Backpatch only for 8.3 because previous versions haven't such layer. Tags: REL8_3_STABLE Modified Files: -- pgsql/contrib/tsearch2: tsearch2.c

[COMMITTERS] pgsql: Fix incorrect dereferencing of char* to array's index.

2009-01-29 Thread Teodor Sigaev
Log Message: --- Fix incorrect dereferencing of char* to array's index. Per Tommy Gildseth report Tags: REL8_3_STABLE Modified Files: -- pgsql/src/backend/tsearch: spell.c (r1.11.2.2 -> r1.11.2.3) (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/b

[COMMITTERS] pgsql: Fix incorrect dereferencing of char* to array's index.

2009-01-29 Thread Teodor Sigaev
Log Message: --- Fix incorrect dereferencing of char* to array's index. Per Tommy Gildseth report Modified Files: -- pgsql/src/backend/tsearch: spell.c (r1.14 -> r1.15) (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/backend/tsearch/spell.c?r1=1.14&r2=

[COMMITTERS] pgsql: Fix usage of char2wchar/wchar2char.

2009-03-02 Thread Teodor Sigaev
Log Message: --- Fix usage of char2wchar/wchar2char. Changes: - pg_wchar and wchar_t could have different size, so char2wchar doesn't call pg_mb2wchar_with_len to prevent out-of-bound memory bug - make char2wchar/wchar2char symmetric, now they should not be called with C-locale becau

[COMMITTERS] pgsql: Fix usage of char2wchar/wchar2char.

2009-03-02 Thread Teodor Sigaev
Log Message: --- Fix usage of char2wchar/wchar2char. Changes: - pg_wchar and wchar_t could have different size, so char2wchar doesn't call pg_mb2wchar_with_len to prevent out-of-bound memory bug - make char2wchar/wchar2char symmetric, now they should not be called with C-locale becau

[COMMITTERS] pgsql: Fix usage of char2wchar/wchar2char.

2009-03-02 Thread Teodor Sigaev
Log Message: --- Fix usage of char2wchar/wchar2char. Changes: - pg_wchar and wchar_t could have different size, so char2wchar doesn't call pg_mb2wchar_with_len to prevent out-of-bound memory bug - make char2wchar/wchar2char symmetric, now they should not be called with C-locale becau

[COMMITTERS] pgsql: Prevent recursion during parse of email-like string with multiple

2009-03-10 Thread Teodor Sigaev
Log Message: --- Prevent recursion during parse of email-like string with multiple '@'. Patch by Heikki Linnakangas Modified Files: -- pgsql/src/backend/tsearch: wparser_def.c (r1.21 -> r1.22) (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/backend/tse

[COMMITTERS] pgsql: Prevent recursion during parse of email-like string with multiple

2009-03-10 Thread Teodor Sigaev
Log Message: --- Prevent recursion during parse of email-like string with multiple '@'. Patch by Heikki Linnakangas Tags: REL8_3_STABLE Modified Files: -- pgsql/src/backend/tsearch: wparser_def.c (r1.14.2.4 -> r1.14.2.5) (http://anoncvs.postgresql.or

[COMMITTERS] pgsql: Prevent recursion during parse of email-like string with multiple

2009-03-10 Thread Teodor Sigaev
Log Message: --- Prevent recursion during parse of email-like string with multiple '@'. Patch by Heikki Linnakangas Tags: REL8_2_STABLE Modified Files: -- pgsql/contrib/tsearch2/wordparser: parser.c (r1.11.2.3 -> r1.11.2.4) (http://anoncvs.postgresql

[COMMITTERS] pgsql: Some languages have symbols with zero display's width or/and

2009-03-11 Thread Teodor Sigaev
Log Message: --- Some languages have symbols with zero display's width or/and vowels/signs which are not an alphabetic character although they are not word-breakers too. So, treat them as part of word. Per off-list discussion with Dibyendra Hyoju and and Bal Krishna Bal about Nepali la

[COMMITTERS] pgsql: Fix memory allocation for output of hstore type.

2009-04-02 Thread Teodor Sigaev
Log Message: --- Fix memory allocation for output of hstore type. Per "maosen.zhang" report. Modified Files: -- pgsql/contrib/hstore: hstore_io.c (r1.9 -> r1.10) (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/contrib/hstore/hstore_io.c?r1=1.9&r2=1.10) --

[COMMITTERS] pgsql: Fix memory allocation for output of hstore type.

2009-04-02 Thread Teodor Sigaev
Log Message: --- Fix memory allocation for output of hstore type. Per "maosen.zhang" report. Tags: REL8_3_STABLE Modified Files: -- pgsql/contrib/hstore: hstore_io.c (r1.7.2.1 -> r1.7.2.2) (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/contrib/hstor

[COMMITTERS] pgsql: Fix memory allocation for output of hstore type.

2009-04-02 Thread Teodor Sigaev
Log Message: --- Fix memory allocation for output of hstore type. Per "maosen.zhang" report. Tags: REL8_2_STABLE Modified Files: -- pgsql/contrib/hstore: hstore_io.c (r1.5.2.1 -> r1.5.2.2) (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/contrib/hstor

[COMMITTERS] pgsql: Fix infinite loop while checking of partial match in pending

2009-04-05 Thread Teodor Sigaev
Log Message: --- Fix infinite loop while checking of partial match in pending list. Improve comments. Now GIN-indexable operators should be strict. Per Tom's questions/suggestions. Modified Files: -- pgsql/src/backend/access/gin: ginget.c (r1.24 -> r1.25) (

[COMMITTERS] pgsql: Fix 'all at one page bug' in picksplit method of R-tree

2009-04-06 Thread Teodor Sigaev
Log Message: --- Fix 'all at one page bug' in picksplit method of R-tree emulation. Add defense from buggy user-defined picksplit to GiST. Modified Files: -- pgsql/src/backend/access/gist: gistproc.c (r1.15 -> r1.16) (http://anoncvs.postgresql.org/cvsweb.

[COMMITTERS] pgsql: Fix 'all at one page bug' in picksplit method of R-tree

2009-04-06 Thread Teodor Sigaev
Log Message: --- Fix 'all at one page bug' in picksplit method of R-tree emulation. Add defense from buggy user-defined picksplit to GiST. Tags: REL8_3_STABLE Modified Files: -- pgsql/src/backend/access/gist: gistproc.c (r1.13 -> r1.13.2.1) (http://

[COMMITTERS] pgsql: Fix 'all at one page bug' in picksplit method of R-tree

2009-04-06 Thread Teodor Sigaev
Log Message: --- Fix 'all at one page bug' in picksplit method of R-tree emulation. Add defense from buggy user-defined picksplit to GiST. Tags: REL8_2_STABLE Modified Files: -- pgsql/src/backend/access/gist: gistproc.c (r1.9.2.1 -> r1.9.2.2) (http:

[COMMITTERS] pgsql: Fix 'all at one page bug' in picksplit method of R-tree

2009-04-07 Thread Teodor Sigaev
Log Message: --- Fix 'all at one page bug' in picksplit method of R-tree emulation. Add defense from buggy user-defined picksplit to GiST. Tags: REL8_1_STABLE Modified Files: -- pgsql/src/backend/access/gist: gistproc.c (r1.3.2.1 -> r1.3.2.2) (http://

[COMMITTERS] pgsql: Fix 'all at one page bug' in picksplit method of R-tree

2009-04-07 Thread Teodor Sigaev
Log Message: --- Fix 'all at one page bug' in picksplit method of R-tree emulation. Add defense from buggy user-defined picksplit to GiST. Tags: REL8_0_STABLE Modified Files: -- pgsql/contrib/rtree_gist: rtree_gist.c (r1.10 -> r1.10.4.1) (http://anonc

[COMMITTERS] pgsql: Fix 'all at one page bug' in picksplit method of R-tree

2009-04-07 Thread Teodor Sigaev
Log Message: --- Fix 'all at one page bug' in picksplit method of R-tree emulation. Add defense from buggy user-defined picksplit to GiST. Tags: REL7_4_STABLE Modified Files: -- pgsql/contrib/rtree_gist: rtree_gist.c (r1.7 -> r1.7.4.1) (http://anoncvs

[COMMITTERS] pgsql: Resort tsvector's lexemes in tsvectorrecv instead of emmiting an

2009-05-21 Thread Teodor Sigaev
Log Message: --- Resort tsvector's lexemes in tsvectorrecv instead of emmiting an error. Basically, it's needed to support binary dump from 8.3 because ordering rule was changed. Per discussion with Bruce. Modified Files: -- pgsql/src/backend/utils/adt: tsvector.

[COMMITTERS] pgsql: Fix incorrect cleanup of tsquery in ts_rewrite().

2009-07-28 Thread Teodor Sigaev
Log Message: --- Fix incorrect cleanup of tsquery in ts_rewrite(). Per bug #4933 by Aaron Marcuse-Kubitza Modified Files: -- pgsql/src/backend/utils/adt: tsquery_rewrite.c (r1.15 -> r1.16) (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/backend/utils

[COMMITTERS] pgsql: Fix incorrect cleanup of tsquery in ts_rewrite().

2009-07-28 Thread Teodor Sigaev
Log Message: --- Fix incorrect cleanup of tsquery in ts_rewrite(). Per bug #4933 by Aaron Marcuse-Kubitza Tags: REL8_4_STABLE Modified Files: -- pgsql/src/backend/utils/adt: tsquery_rewrite.c (r1.14 -> r1.14.2.1) (http://anoncvs.postgresql.org/cvsw

[COMMITTERS] pgsql: Fix incorrect cleanup of tsquery in ts_rewrite().

2009-07-28 Thread Teodor Sigaev
Log Message: --- Fix incorrect cleanup of tsquery in ts_rewrite(). Per bug #4933 by Aaron Marcuse-Kubitza Tags: REL8_3_STABLE Modified Files: -- pgsql/src/backend/utils/adt: tsquery_rewrite.c (r1.11 -> r1.11.2.1) (http://anoncvs.postgresql.org/cvsw

[COMMITTERS] pgsql: Fix incorrect cleanup of tsquery in ts_rewrite().

2009-07-28 Thread Teodor Sigaev
Log Message: --- Fix incorrect cleanup of tsquery in ts_rewrite(). Per bug #4933 by Aaron Marcuse-Kubitza Tags: REL8_2_STABLE Modified Files: -- pgsql/contrib/tsearch2: query_rewrite.c (r1.6 -> r1.6.2.1) (http://anoncvs.postgresql.org/cvsweb.cgi/pg

[COMMITTERS] pgsql: Correct calculations of overlap and contains operations over

2009-07-28 Thread Teodor Sigaev
Log Message: --- Correct calculations of overlap and contains operations over polygons. Modified Files: -- pgsql/src/backend/utils/adt: geo_ops.c (r1.102 -> r1.103) (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/backend/utils/adt/geo_ops.c?r1=1.102&r2=

Re: [COMMITTERS] pgsql: Correct calculations of overlap and contains operations over

2009-07-28 Thread Teodor Sigaev
If this is the same patch that appears at https://commitfest.postgresql.org/action/patch_view?id=124 then it would be helpful if you could edit it and mark it as committed. Oops, done. -- Teodor Sigaev E-mail: teo...@sigaev.ru

[COMMITTERS] pgsql: Add prefix support for synonym dictionary

2009-08-14 Thread Teodor Sigaev
Log Message: --- Add prefix support for synonym dictionary Modified Files: -- pgsql/doc/src/sgml: textsearch.sgml (r1.52 -> r1.53) (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/doc/src/sgml/textsearch.sgml?r1=1.52&r2=1.53) pgsql/src/backend/tsearch:

[COMMITTERS] pgsql: Introduce filtering dictionary support to tsearch.

2009-08-18 Thread Teodor Sigaev
Log Message: --- Introduce filtering dictionary support to tsearch. Propagate --nolocale option to CREATE DATABASE command in pg_regress to allow correct checking of locale-sensitive contrib modules. Modified Files: -- pgsql/src/backend/tsearch: ts_parse.c (r1.13

[COMMITTERS] pgsql: New Directory

2009-08-18 Thread Teodor Sigaev
Update of /cvsroot/pgsql/contrib/unaccent/sql In directory cvs.postgresql.org:/tmp/cvs-serv71441/contrib/unaccent/sql Log Message: Directory /cvsroot/pgsql/contrib/unaccent/sql added to the repository -- Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org) To make changes to

[COMMITTERS] pgsql: New Directory

2009-08-18 Thread Teodor Sigaev
Update of /cvsroot/pgsql/contrib/unaccent In directory cvs.postgresql.org:/tmp/cvs-serv71441/contrib/unaccent Log Message: Directory /cvsroot/pgsql/contrib/unaccent added to the repository -- Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org) To make changes to your subscr

[COMMITTERS] pgsql: New Directory

2009-08-18 Thread Teodor Sigaev
Update of /cvsroot/pgsql/contrib/unaccent/expected In directory cvs.postgresql.org:/tmp/cvs-serv71441/contrib/unaccent/expected Log Message: Directory /cvsroot/pgsql/contrib/unaccent/expected added to the repository -- Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org) To

[COMMITTERS] pgsql: Unaccent dictionary.

2009-08-18 Thread Teodor Sigaev
Log Message: --- Unaccent dictionary. Modified Files: -- pgsql/contrib: Makefile (r1.88 -> r1.89) (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/contrib/Makefile?r1=1.88&r2=1.89) README (r1.100 -> r1.101) (http://anoncvs.postgresql.org/cvs

[COMMITTERS] pgsql: Fix incorrect arguments for gist_box_penalty call.

2009-09-18 Thread Teodor Sigaev
Log Message: --- Fix incorrect arguments for gist_box_penalty call. The bug could be observed only for secondary page split (i.e. for non-first columns of index) Patch by Paul Ramsey Modified Files: -- pgsql/src/backend/access/gist: gistproc.c (r1.17 -> r1.18)

[COMMITTERS] pgsql: Fix incorrect arguments for gist_box_penalty call.

2009-09-18 Thread Teodor Sigaev
Log Message: --- Fix incorrect arguments for gist_box_penalty call. The bug could be observed only for secondary page split (i.e. for non-first columns of index) Patch by Paul Ramsey Tags: REL8_2_STABLE Modified Files: -- pgsql/src/backend/access/gist: gis

[COMMITTERS] pgsql: Fix incorrect arguments for gist_box_penalty call.

2009-09-18 Thread Teodor Sigaev
Log Message: --- Fix incorrect arguments for gist_box_penalty call. The bug could be observed only for secondary page split (i.e. for non-first columns of index) Patch by Paul Ramsey Tags: REL8_3_STABLE Modified Files: -- pgsql/src/backend/access/gist: gis

[COMMITTERS] pgsql: Fix incorrect arguments for gist_box_penalty call.

2009-09-18 Thread Teodor Sigaev
Log Message: --- Fix incorrect arguments for gist_box_penalty call. The bug could be observed only for secondary page split (i.e. for non-first columns of index) Patch by Paul Ramsey Tags: REL8_4_STABLE Modified Files: -- pgsql/src/backend/access/gist: gis

[COMMITTERS] pgsql: Fix multicolumn GIN's wrong results with fastupdate enabled.

2009-11-13 Thread Teodor Sigaev
Log Message: --- Fix multicolumn GIN's wrong results with fastupdate enabled. User-defined consistent functions believes the check array contains at least one true element which was not a true for scanning pending list. Per report from Yury Don Modified Files: -- pgsql/sr

[COMMITTERS] pgsql: Fix multicolumn GIN's wrong results with fastupdate enabled.

2009-11-13 Thread Teodor Sigaev
Log Message: --- Fix multicolumn GIN's wrong results with fastupdate enabled. User-defined consistent functions believes the check array contains at least one true element which was not a true for scanning pending list. Per report from Yury Don Tags: REL8_4_STABLE Modified Files: -

[COMMITTERS] pgsql: Preventing intersection of ranges during page split.

2009-12-02 Thread Teodor Sigaev
Log Message: --- Preventing intersection of ranges during page split. Changes are only optimization, so don't backpatch. Modified Files: -- pgsql/contrib/btree_gist: btree_cash.c (r1.9 -> r1.10) (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/contrib/btree_

[COMMITTERS] pgsql: Add point_ops opclass for GiST.

2010-01-14 Thread Teodor Sigaev
Log Message: --- Add point_ops opclass for GiST. Modified Files: -- pgsql/src/backend/access/gist: gistproc.c (r1.19 -> r1.20) (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/backend/access/gist/gistproc.c?r1=1.19&r2=1.20) pgsql/src/backend/utils/ad

[COMMITTERS] pgsql: Fix incorrect comparison of scan key in GIN.

2010-01-18 Thread Teodor Sigaev
Log Message: --- Fix incorrect comparison of scan key in GIN. Per report from Vyacheslav Kalinin Modified Files: -- pgsql/src/backend/access/gin: ginscan.c (r1.25 -> r1.26) (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/backend/access/gin/ginscan.c?r1

[COMMITTERS] pgsql: Fix incorrect comparison of scan key in GIN.

2010-01-18 Thread Teodor Sigaev
Log Message: --- Fix incorrect comparison of scan key in GIN. Per report from Vyacheslav Kalinin Tags: REL8_4_STABLE Modified Files: -- pgsql/src/backend/access/gin: ginscan.c (r1.24 -> r1.24.2.1) (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/b

[COMMITTERS] pgsql: Generic implementation of red-black binary tree.

2010-02-11 Thread Teodor Sigaev
Log Message: --- Generic implementation of red-black binary tree. It's planned to use in several places, but for now only GIN uses it during index creation. Using self-balanced tree greatly speeds up index creation in corner cases with preordered data. Modified Files: -- pg

[COMMITTERS] pgsql: Add missed function dblink_connect_u(text[,text]) to uninstall

2010-06-07 Thread Teodor Sigaev
Log Message: --- Add missed function dblink_connect_u(text[,text]) to uninstall script Modified Files: -- pgsql/contrib/dblink: uninstall_dblink.sql (r1.8 -> r1.9) (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/contrib/dblink/uninstall_dblink.sql?r1=1.8&r2

[COMMITTERS] pgsql: Add missed function dblink_connect_u(text[,text]) to uninstall

2010-06-07 Thread Teodor Sigaev
Log Message: --- Add missed function dblink_connect_u(text[,text]) to uninstall script Tags: REL8_4_STABLE Modified Files: -- pgsql/contrib/dblink: uninstall_dblink.sql (r1.7 -> r1.7.2.1) (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/contrib/dblink/

[COMMITTERS] pgsql: Add missed function dblink_connect_u(text[,text]) to uninstall

2010-06-07 Thread Teodor Sigaev
Log Message: --- Add missed function dblink_connect_u(text[,text]) to uninstall script Tags: REL8_3_STABLE Modified Files: -- pgsql/contrib/dblink: uninstall_dblink.sql (r1.5 -> r1.5.2.1) (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/contrib/dblink/

[COMMITTERS] pgsql: Add missed function dblink_connect_u(text[,text]) to uninstall

2010-06-07 Thread Teodor Sigaev
Log Message: --- Add missed function dblink_connect_u(text[,text]) to uninstall script Tags: REL8_2_STABLE Modified Files: -- pgsql/contrib/dblink: uninstall_dblink.sql (r1.3 -> r1.3.2.1) (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/contrib/dblink/

Re: [COMMITTERS] pgsql: Add missed function dblink_connect_u(text[,text]) to uninstall

2010-06-08 Thread Teodor Sigaev
Add missed function dblink_connect_u(text[,text]) to uninstall script Hm, why'd you stop at 8.2? That function is present all the way back to 7.4. Versions before 8.2 don't have an unistall scripts for contrib modules -- Teodor Sigaev E

[COMMITTERS] pgsql: Fix potential data corruption during freeze

2017-07-06 Thread Teodor Sigaev
Fix potential data corruption during freeze Fix oversight in 3b97e6823b94 bug fix. Bitwise AND is used instead of OR and it cleans all bits in t_infomask heap tuple field. Backpatch to 9.3 Branch -- master Details --- https://git.postgresql.org/pg/commitdiff/31b8db8e6c1fa4436116f4be5ca7

[COMMITTERS] pgsql: Fix potential data corruption during freeze

2017-07-06 Thread Teodor Sigaev
Fix potential data corruption during freeze Fix oversight in 3b97e6823b94 bug fix. Bitwise AND is used instead of OR and it cleans all bits in t_infomask heap tuple field. Backpatch to 9.3 Branch -- REL9_6_STABLE Details --- https://git.postgresql.org/pg/commitdiff/42f62e4c976e1cf90f5e5

[COMMITTERS] pgsql: Fix potential data corruption during freeze

2017-07-06 Thread Teodor Sigaev
Fix potential data corruption during freeze Fix oversight in 3b97e6823b94 bug fix. Bitwise AND is used instead of OR and it cleans all bits in t_infomask heap tuple field. Backpatch to 9.3 Branch -- REL9_5_STABLE Details --- https://git.postgresql.org/pg/commitdiff/fb2d385e6521c221f2d66

[COMMITTERS] pgsql: Fix potential data corruption during freeze

2017-07-06 Thread Teodor Sigaev
Fix potential data corruption during freeze Fix oversight in 3b97e6823b94 bug fix. Bitwise AND is used instead of OR and it cleans all bits in t_infomask heap tuple field. Backpatch to 9.3 Branch -- REL9_4_STABLE Details --- https://git.postgresql.org/pg/commitdiff/b90e4ca3edfd60309e4bc

[COMMITTERS] pgsql: Fix potential data corruption during freeze

2017-07-06 Thread Teodor Sigaev
Fix potential data corruption during freeze Fix oversight in 3b97e6823b94 bug fix. Bitwise AND is used instead of OR and it cleans all bits in t_infomask heap tuple field. Backpatch to 9.3 Branch -- REL9_3_STABLE Details --- https://git.postgresql.org/pg/commitdiff/f371cc9e9fffc79ab6818

  1   2   3   4   5   6   >