pgsql: Fix another palloc in critical section. - Mailing list pgsql-committers

From Heikki Linnakangas
Subject pgsql: Fix another palloc in critical section.
Date
Msg-id E1WWW5U-0002rQ-DL@gemulon.postgresql.org
Whole thread Raw
List 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(-)


pgsql-committers by date:

Previous
From: Tom Lane
Date:
Subject: pgsql: Fix processing of PGC_BACKEND GUC parameters on Windows.
Next
From: Tom Lane
Date:
Subject: pgsql: Block signals earlier during postmaster startup.