pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: PG Bug reporting form <noreply@postgresql.org>
To: pgsql-bugs@lists.postgresql.org
Cc: deathlock13@gmail.com
Subject: BUG #16038: Alter table - SegFault
Date: Fri, 04 Oct 2019 13:29:46 +0000
Message-ID: <16038-5c974541f2bf6749@postgresql.org> (raw)

The following bug has been logged on the website:

Bug reference:      16038
Logged by:          death lock
Email address:      deathlock13@gmail.com
PostgreSQL version: 12.0
Operating system:   WinXP (VisualStudio 2013) , Debian11 gcc9
Description:        

create schema if not exists test ;
drop table test.testa;
CREATE TABLE test.testa (
    code character varying(2) NOT NULL,
    namez character varying(255) NOT NULL,
    descr character varying(1024),
    wersja numeric(1,0),
    modt timestamp without time zone,
    crtt timestamp without time zone,
    crt integer,
    mod integer,
    -- ida numeric(10,0) DEFAULT nextval(('test.sq_testa'::text)::regclass)
NOT NULL,
    -- fk_tmp character varying(20),
    CONSTRAINT test_pk PRIMARY KEY (code)
);

INSERT INTO test.testa VALUES ('0', 'AA', NULL, NULL, '2018-02-19
09:40:38.776875', '2008-05-20 10:06:28.171', 1001, 1001 /*,  1, 'DUMMYA'
*/);
-- INSERT INTO test.testa VALUES ('1', 'BB', NULL, NULL, '2018-02-19
09:40:38.776875', '2008-05-20 10:06:28.171', 1001, 1001 /*,  2, 'DUMMYB'
*/);

drop sequence if exists test.sq_testb;
create SEQUENCE test.sq_testb;

alter table test.testa
add column idb numeric(10,0) NOT NULL DEFAULT nextval('test.sq_testb'),
add column fk_tmpb varchar(20);

server process (PID 21884) was terminated by signal 11: Segmentation fault
- empty table - alter goes ok , split alter into 2 add col - works too



view thread (4+ messages)  latest in thread

Message-ID: <16038-5c974541f2bf6749@postgresql.org>
Permalink:  ../16038-5c974541f2bf6749@postgresql.org/
Also on:    postgresql.org/message-id/16038-5c974541f2bf6749@postgresql.org

 · 

reply

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 using the --to and --cc options:
  reply via email

  To: pgsql-bugs@postgresql.org
  Cc: noreply@postgresql.org, pgsql-bugs@lists.postgresql.org, deathlock13@gmail.com
  Subject: Re: BUG #16038: Alter table - SegFault
  In-Reply-To: <16038-5c974541f2bf6749@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