public inbox for [email protected]  
help / color / mirror / Atom feed
From: Laurenz Albe <[email protected]>
To: Santosh Udupi <[email protected]>
To: [email protected]
Subject: Re: Postgres 12 - Generated Columns - Backup/Restore
Date: Thu, 21 Jan 2021 13:36:14 +0100
Message-ID: <[email protected]> (raw)
In-Reply-To: <CACLRvHZTBz6vAn08VJWqayiSkTE72F-4VRWOLJ84TKHygY0q4w@mail.gmail.com>
References: <CACLRvHZTBz6vAn08VJWqayiSkTE72F-4VRWOLJ84TKHygY0q4w@mail.gmail.com>

On Wed, 2021-01-20 at 17:32 -0800, Santosh Udupi wrote:
> My Postgres 12 database tables have generated columns. I use pg_dump to backup
>  the database but when I restore using pg_restore, the generated columns are empty.
>  How do I trigger creating the data in the generated columns?

Does the expression that generates the computed column uses an
expression containing a function that is marked IMMUTABLE, but
isn't really?

Yours,
Laurenz Albe
-- 
Cybertec | https://www.cybertec-postgresql.com






view thread (4+ messages)  latest in thread

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: [email protected]
  Cc: [email protected], [email protected], [email protected]
  Subject: Re: Postgres 12 - Generated Columns - Backup/Restore
  In-Reply-To: <[email protected]>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox