Re: can a linux program, running on the client side, generate data to load a temp table ? - Mailing list pgsql-general

From Adrian Klaver
Subject Re: can a linux program, running on the client side, generate data to load a temp table ?
Date
Msg-id 433c2d5f-8e09-4128-b21e-558741ae8530@aklaver.com
Whole thread
In response to Re: can a linux program, running on the client side, generate data to load a temp table ?  (Adrian Klaver <adrian.klaver@aklaver.com>)
List pgsql-general
On 6/19/26 7:48 AM, Adrian Klaver wrote:
> On 6/19/26 7:38 AM, dfgpostgres wrote:
>>  >> psql's "\copy ... from program" might help you.
>> Ya, I've used \copy for copying data in the past.  But if I'm not 
>> mistaken, the "\copy... from program" runs on the server side.  If I'm 
>> wrong about that, if there's a client side version of this, I'm all 
>> ears !  And FWIW, a future release that has this would be great !
> 
> It is client side, but is only available in the the psql client:
> 
> https://www.postgresql.org/docs/current/app-psql.html

Forgot to add to previous post:

"Performs a frontend (client) copy. This is an operation that runs an 
SQL COPY command, but instead of the server reading or writing the 
specified file, psql reads or writes the file and routes the data 
between the server and the local file system. This means that file 
accessibility and privileges are those of the local user, not the 
server, and no SQL superuser privileges are required."


> 
> 
> 


-- 
Adrian Klaver
adrian.klaver@aklaver.com



pgsql-general by date:

Previous
From: Adrian Klaver
Date:
Subject: Re: can a linux program, running on the client side, generate data to load a temp table ?
Next
From: Scot Kreienkamp
Date:
Subject: set failover=true on existing logical replication slot PG18