Re: Move vs. copy table between databases that share a tablespace? - Mailing list pgsql-general

From Ron
Subject Re: Move vs. copy table between databases that share a tablespace?
Date
Msg-id 6350b533-4410-358f-f9f5-99be7abdaf0b@gmail.com
Whole thread Raw
In response to Move vs. copy table between databases that share a tablespace?  (Steven Lembark <lembark@wrkhors.com>)
Responses Re: Move vs. copy table between databases that share a tablespace?  (Steven Lembark <lembark@wrkhors.com>)
List pgsql-general
On 4/3/19 8:18 AM, Steven Lembark wrote:
> Trying to find a way of moving a large table between databases
> in the same cluster. There is not sufficient space to copy the
> contents -- the dedicated tablespace that fits the beastie is
> on an 80% full disk.
>
> Given that the two databases live in the same cluster and have
> the owner & the tablespace in common, is there any way to move
> the contents without a dump & reload?

COPY TO STDIN and pipe that through ssh to another server?

-- 
Angular momentum makes the world go 'round.



pgsql-general by date:

Previous
From: Torsten Förtsch
Date:
Subject: Re: SQL queries not matching on certain fields
Next
From: Andreas Joseph Krogh
Date:
Subject: Sv: SQL queries not matching on certain fields