From: | Santosh Udupi <email(at)hitha(dot)net> |
---|---|
To: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
Cc: | Adrian Klaver <adrian(dot)klaver(at)aklaver(dot)com>, pgsql-general(at)lists(dot)postgresql(dot)org |
Subject: | Re: pg_restore - generated column - not populating |
Date: | 2021-02-23 18:18:52 |
Message-ID: | CACLRvHaX_6fU_uoEJv=DPNYc4bcYOrmzn+e=dWhW4-com5K9zQ@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-bugs pgsql-general |
Both are different versions
The following works:
Version: pg_dump (pgAdmin Windows) version:13.1
Method: Backup using Windows connecting to the remote host:
Command: pg_dump -Fc -p 5432 -h <remotehost_ip> -d mydb > mydb.backup1 -U
postgres
Restore locally on Ubuntu : pg_restore -d mydb-restore mydb.backup1
-----------
The following does not work: (Does not populate the generated column
values)
Version: pg_dump (PostgreSQL v13.2 on Ubuntu 20.04) version 13.2
Method: Backup locally on Ubuntu 20.04
Command: pg_dump -Fc -p 5432 -h localhost -d mydb > mydb.backup2 -U postgres
Restore locally on Ubuntu : pg_restore -d mydb-restore mydb.backup2
On Tue, Feb 23, 2021 at 9:34 AM Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> wrote:
> Santosh Udupi <email(at)hitha(dot)net> writes:
> > Right. pg_dump under the pgAdmin runtime folder works perfectly. pg_dump
> > in postgres13 (ubuntu) does not work. Exact same syntax.
>
> So, are these identical pg_dump versions? We did fix some things
> in this area in 13.2.
>
> regards, tom lane
>
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2021-02-23 18:40:11 | Re: pg_restore - generated column - not populating |
Previous Message | Tom Lane | 2021-02-23 17:34:04 | Re: pg_restore - generated column - not populating |
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2021-02-23 18:23:45 | Re: Custom base type and suboptimal query plans |
Previous Message | Ayo | 2021-02-23 18:07:03 | Re: Custom base type and suboptimal query plans |