| From: | Adrian Klaver <adrian(dot)klaver(at)aklaver(dot)com> |
|---|---|
| To: | dfgpostgres <dfgpostgres3(at)gmail(dot)com>, pgsql-general(at)postgresql(dot)org |
| Subject: | Re: can recs be transferred between DBs ? |
| Date: | 2026-04-28 16:27:07 |
| Message-ID: | 25e61545-624f-4de3-99c6-47b42d136d2c@aklaver.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-general |
On 4/28/26 8:56 AM, dfgpostgres wrote:
> psql (15.3, server 15.15) on linux
>
> dvdb=# \d arch_restore
> Table "misc.arch_restore"
> Column | Type | Collation | Nullable | Default
> --------+-------------------+-----------+----------+---------
> pk | integer | | not null |
> proj | character varying | | |
> data | character varying | | |
> Indexes:
> "arch_restore_pkey" PRIMARY KEY, btree (pk)
>
> dvdb=# select * from arch_restore order by pk;
> pk | proj | data
> ----+-------+------------
> 1 | alpha | the_data_1
> 2 | alpha | the_data_2
> 3 | alpha | the_data_3
> 4 | beta | the_data_4
> 5 | beta | the_data_5
> 6 | beta | the_data_6
> 7 | gamma | the_data_7
> 8 | gamma | the_data_8
> 9 | gamma | the_data_9
> (9 rows)
>
> I decided that it's time to archive the 'beta' project. So I create a
> new DB in the PG instance and put them all there leaving...
How did you transfer the data to the new database and could you not use
the same process to transfer the beta data back?
>
> Thanks in Advance
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Hannu Krosing | 2026-04-28 19:55:07 | Re: Support logical replication of DDLs, take2 |
| Previous Message | David G. Johnston | 2026-04-28 16:05:31 | Re: can recs be transferred between DBs ? |