From: katsumata.tomonari@po.ntts.co.jp
To: pgsql-bugs@postgresql.org
Subject: BUG #6643: [PostgreSQL9.2beta1] COPY after changing fillfactor gets a PANIC.
Date: Wed, 16 May 2012 10:39:36 +0000
Message-ID: <E1SUbdo-0004kB-OT@wrigleys.postgresql.org> (raw)
The following bug has been logged on the website:
Bug reference: 6643
Logged by: Tomonari Katsumata
Email address: katsumata.tomonari@po.ntts.co.jp
PostgreSQL version: Unsupported/Unknown
Operating system: RHEL 6.2 x86_64
Description:
Hi,
Now, I'm testing PostgreSQL 9.2 Beta 1.
And I have a problem.
Steps to procedure are bellow.
1. CREATE DATABASE
export LANG=C
initdb -D $PGDATA -E SQL_ASCII
pg_ctl start
createdb testdb
2. CREATE TABLE
psql -d testdb -f ./create_table_customer.sql
3. ALTER TABLE(fillfactor)
psql -d testdb -c "ALTER TABLE customer SET (fillfactor=90);"
4. LOAD DATA
(please set correct path to customer.data)
psql -d testdb -f ./customer.sql
Then, I have a PANIC error.
==============================
BEGIN
TRUNCATE TABLE
PANIC: failed to add tuple to page
CONTEXT: COPY customer, line 296:
"296>ALNGAT>alngat>EgBEEAyXVIAWBE>KCiDDFsqA8Kv>2586068>4067234479>ALNGAT@kuvkaEEyi>20100905>20101023>..."
STATEMENT: COPY customer FROM
'/home/katsumata/work/2012/20120516_PG92beta1_bug1/copy_panic_dbt1/copy_panic/customer.data'
WITH DELIMITER '>';
psql:./customer.sql:3: PANIC: failed to add tuple to page
CONTEXT: COPY customer, line 296:
"296>ALNGAT>alngat>EgBEEAyXVIAWBE>KCiDDFsqA8Kv>2586068>4067234479>ALNGAT@kuvkaEEyi>20100905>20101023>..."
PANIC: failed to add tuple to page
CONTEXT: COPY customer, line 296:
"296>ALNGAT>alngat>EgBEEAyXVIAWBE>KCiDDFsqA8Kv>2586068>4067234479>ALNGAT@kuvkaEEyi>20100905>20101023>..."
psql:./customer.sql:3: connection to server was lost
==============================
If I skip the 3rd step(ALTER TABLE(fillfactor)),
I don't have any ERROR.
And It's also OK on PostgreSQL 9.1.3.
Are there any changes about this behavior ?
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-bugs@postgresql.org
Cc: katsumata.tomonari@po.ntts.co.jp
Subject: Re: BUG #6643: [PostgreSQL9.2beta1] COPY after changing fillfactor gets a PANIC.
In-Reply-To: <E1SUbdo-0004kB-OT@wrigleys.postgresql.org>
References: <E1SUbdo-0004kB-OT@wrigleys.postgresql.org>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
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