From: Alvaro Herrera <alvherre@2ndquadrant.com>
To: Dmitry Molotkov <aldarund@gmail.com>
Cc: andres@anarazel.de
Cc: pgsql-bugs@lists.postgresql.org
Subject: Re: BUG #15446: Crash on ALTER TABLE
Date: Mon, 22 Oct 2018 14:23:20 -0300
Message-ID: <20181022172320.fnau5hxotyobk2st@alvherre.pgsql> (raw)
In-Reply-To: <CADfhRD+Ee6gzUhAtLcxrenAt-SAt-BiLZ+GzpFWu4=NUQ_z8aQ@mail.gmail.com>
On 2018-Oct-20, Dmitry Molotkov wrote:
> Reproduce is easy if you can install python 3.
> Here is empty django project that will reproduce it
> https://www.dropbox.com/s/4rw2dlzxvxxb5xf/djangotestpgbug.zip?dl=0
> install requirements from requirements file.
> in djangotestpgbug\settings.py - set postgres user/password/database.
> python manage.py migrate - it will run migration and it will crash
> postgres:latest from docker. Didnt tried without docker. But i dont think
> docker has anything to do with it.
>
> Here is failing migration
> https://github.com/fabiocaccamo/django-admin-interface/blob/master/admin_interface/migrations/0008_c...
I think the easiest is to turn DDL logging in the server
(log_statement=ddl) and then report exactly what is being sent to the
server, then see if you can construct a reproducer SQL script based on
that.
--
Álvaro Herrera https://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services
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: alvherre@2ndquadrant.com, aldarund@gmail.com, andres@anarazel.de
Subject: Re: BUG #15446: Crash on ALTER TABLE
In-Reply-To: <20181022172320.fnau5hxotyobk2st@alvherre.pgsql>
References: <CADfhRD+Ee6gzUhAtLcxrenAt-SAt-BiLZ+GzpFWu4=NUQ_z8aQ@mail.gmail.com> <20181022172320.fnau5hxotyobk2st@alvherre.pgsql>
* 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