public inbox for [email protected]  
help / color / mirror / Atom feed
From: Tom Lane <[email protected]>
To: Santosh Udupi <[email protected]>
Cc: [email protected]
Subject: Re: Postgres 12 - Generated Columns - Backup/Restore
Date: Wed, 20 Jan 2021 20:35:26 -0500
Message-ID: <[email protected]> (raw)
In-Reply-To: <CACLRvHZTBz6vAn08VJWqayiSkTE72F-4VRWOLJ84TKHygY0q4w@mail.gmail.com>
References: <CACLRvHZTBz6vAn08VJWqayiSkTE72F-4VRWOLJ84TKHygY0q4w@mail.gmail.com>

Santosh Udupi <[email protected]> writes:
> 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?

Can you give a fleshed-out example of what you're doing?

			regards, tom lane





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