Re: Postgres 12 - Generated Columns - Backup/Restore - Mailing list pgsql-novice

From Laurenz Albe
Subject Re: Postgres 12 - Generated Columns - Backup/Restore
Date
Msg-id 4c014c47efcfe56cd2aa708e592bd29d75bf4adf.camel@cybertec.at
Whole thread Raw
In response to Postgres 12 - Generated Columns - Backup/Restore  (Santosh Udupi <email@hitha.net>)
Responses Re: Postgres 12 - Generated Columns - Backup/Restore
List pgsql-novice
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




pgsql-novice by date:

Previous
From: Tom Lane
Date:
Subject: Re: Postgres 12 - Generated Columns - Backup/Restore
Next
From: Santosh Udupi
Date:
Subject: Re: Postgres 12 - Generated Columns - Backup/Restore