pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Adrian Klaver <adrian.klaver@aklaver.com>
To: Дмитрий Иванов <firstdismay@gmail.com>
Cc: pgsql-general <pgsql-general@lists.postgresql.org>
Subject: Re: pg_dump insert column GENERATED
Date: Sun, 21 Nov 2021 09:25:54 -0800
Message-ID: <15ee1aef-6b36-dc58-a610-b0f665ac652a@aklaver.com> (raw)
In-Reply-To: <CAPL5KHobYgdgLj0E0ppUp1Y7MDf9QQX2V+hb7uxKM6E-TWKJsQ@mail.gmail.com>
References: <CAPL5KHrkBniyQt5e1rafm5DdXvbgiiqfEQEJ9GjtVzN71Jj5pA@mail.gmail.com>
	<d0d559a9-f5f8-dcb6-673c-edeb64f6cf65@aklaver.com>
	<CAPL5KHqj6Tixp5vc4gye7SG6czfSu1ctLVPRd+-sXE0DAN5tYQ@mail.gmail.com>
	<2ea33714-149f-f614-4cdb-012f252d57c0@aklaver.com>
	<CAPL5KHqpj+MZKS6hC-i0T3DynTEJf00J4oPFgKw+KSO9axz9jg@mail.gmail.com>
	<a3ba4919-107b-1ec9-64e4-fb1f77bd2163@aklaver.com>
	<CAPL5KHqxyp2Rd+NQVYVVNd_4xz9jdtYM+JJK3-ys9dQ5j=W7Pg@mail.gmail.com>
	<a978d4ee-905a-1321-f103-d055f08dfbea@aklaver.com>
	<CAPL5KHobYgdgLj0E0ppUp1Y7MDf9QQX2V+hb7uxKM6E-TWKJsQ@mail.gmail.com>

On 11/21/21 07:23, Дмитрий Иванов wrote:
> Yes and yes.
> I don't get regular results in my experiments. I filled in some of the 
> tables this morning, but now I can't do it again.
>  > INSERT INTO bpd.plan_calendar (create in version 12)
>  > OK
> I can't do it again.

You are going need to provide more information about the above:

1) Define regular results.

2) The query used.

3) The outcome vs what you expected.


> Are the below from the bpd.sql file?
> Yes
> Why does pg_dump insert data into the calculated columns?

It shouldn't that is the point of this discussion, why it is happening 
in your case? So far we have not been able to replicate this behavior on 
our end, hence the many questions as to your set up.

> I entered the data manually via export/import, excluding the problematic 
> field because its value will be calculated when inserted.
> 
> 


-- 
Adrian Klaver
adrian.klaver@aklaver.com





view thread (20+ messages)  latest in thread

Message-ID: <15ee1aef-6b36-dc58-a610-b0f665ac652a@aklaver.com>
Permalink:  ../15ee1aef-6b36-dc58-a610-b0f665ac652a@aklaver.com/
Also on:    postgresql.org/message-id/15ee1aef-6b36-dc58-a610-b0f665ac652a@aklaver.com

 · 

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 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-general@postgresql.org
  Cc: adrian.klaver@aklaver.com, firstdismay@gmail.com
  Subject: Re: pg_dump insert column GENERATED
  In-Reply-To: <15ee1aef-6b36-dc58-a610-b0f665ac652a@aklaver.com>
  References: <CAPL5KHrkBniyQt5e1rafm5DdXvbgiiqfEQEJ9GjtVzN71Jj5pA@mail.gmail.com> <d0d559a9-f5f8-dcb6-673c-edeb64f6cf65@aklaver.com> <CAPL5KHqj6Tixp5vc4gye7SG6czfSu1ctLVPRd+-sXE0DAN5tYQ@mail.gmail.com> <2ea33714-149f-f614-4cdb-012f252d57c0@aklaver.com> <CAPL5KHqpj+MZKS6hC-i0T3DynTEJf00J4oPFgKw+KSO9axz9jg@mail.gmail.com> <a3ba4919-107b-1ec9-64e4-fb1f77bd2163@aklaver.com> <CAPL5KHqxyp2Rd+NQVYVVNd_4xz9jdtYM+JJK3-ys9dQ5j=W7Pg@mail.gmail.com> <a978d4ee-905a-1321-f103-d055f08dfbea@aklaver.com> <CAPL5KHobYgdgLj0E0ppUp1Y7MDf9QQX2V+hb7uxKM6E-TWKJsQ@mail.gmail.com> <15ee1aef-6b36-dc58-a610-b0f665ac652a@aklaver.com>

* 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