| From: | Heikki Linnakangas <heikki(dot)linnakangas(at)iki(dot)fi> |
|---|---|
| To: | pgsql-committers(at)postgresql(dot)org |
| Subject: | pgsql: Fix another palloc in critical section. |
| Date: | 2014-04-05 19:17:08 |
| Message-ID: | E1WWW5U-0002rQ-DL@gemulon.postgresql.org |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-committers |
Fix another palloc in critical section.
Also add a regression test for a GIN index with enough items with the same
key, so that a GIN posting tree gets created. Apparently none of the
existing GIN tests were large enough for that.
This code is new, no backpatching required.
Branch
------
master
Details
-------
http://git.postgresql.org/pg/commitdiff/ffbba6ee1244901b492fe268ea94f72e35aedf38
Modified Files
--------------
src/backend/access/gin/gindatapage.c | 35 ++++++++++++++++------------
src/test/regress/expected/create_index.out | 14 +++++++++++
src/test/regress/sql/create_index.sql | 14 +++++++++++
3 files changed, 48 insertions(+), 15 deletions(-)
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Tom Lane | 2014-04-05 22:16:56 | pgsql: Block signals earlier during postmaster startup. |
| Previous Message | Tom Lane | 2014-04-05 16:42:07 | pgsql: Fix processing of PGC_BACKEND GUC parameters on Windows. |