pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Jim Nasby <jim.nasby@gmail.com>
To: arun chirappurath <arunsnmimt@gmail.com>
Cc: pgsql-general@lists.postgresql.org
Subject: Re: postgres sql assistance
Date: Wed, 17 Jan 2024 16:41:08 -0600
Message-ID: <b130385a-1ace-45d7-954c-dda7414ed7aa@gmail.com> (raw)
In-Reply-To: <CAA23SdtARa3AquydSOq2tsDg00yFfMoW+sUWavEbJQ8C5nLLKg@mail.gmail.com>
References: <CAA23Sdtc_hZ3JL+rsm0=j-USGDjMr3hNMExy8KgCGheJ4hokfw@mail.gmail.com>
	<c6ae555f-52e4-4e41-b863-b2a18f0e8792@gmail.com>
	<CAA23SdtARa3AquydSOq2tsDg00yFfMoW+sUWavEbJQ8C5nLLKg@mail.gmail.com>

On 1/16/24 10:04 PM, arun chirappurath wrote:
> Architect is pressing for a native procedure to data load.

It's possible to write a loader in pl/pgsql but it would be easily twice 
as complex as where you got on your first attempt. It would also never 
perform anywhere near as well as a dedicated loader, because there's no 
way to avoid the temp table (which a native loader doesn't need to use).
-- 
Jim Nasby, Data Architect, Austin TX






view thread (7+ messages)

Message-ID: <b130385a-1ace-45d7-954c-dda7414ed7aa@gmail.com>
Permalink:  ../b130385a-1ace-45d7-954c-dda7414ed7aa@gmail.com/
Also on:    postgresql.org/message-id/b130385a-1ace-45d7-954c-dda7414ed7aa@gmail.com

 · 

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 from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-general@postgresql.org
  Cc: jim.nasby@gmail.com, arunsnmimt@gmail.com
  Subject: Re: postgres sql assistance
  In-Reply-To: <b130385a-1ace-45d7-954c-dda7414ed7aa@gmail.com>
  References: <CAA23Sdtc_hZ3JL+rsm0=j-USGDjMr3hNMExy8KgCGheJ4hokfw@mail.gmail.com> <c6ae555f-52e4-4e41-b863-b2a18f0e8792@gmail.com> <CAA23SdtARa3AquydSOq2tsDg00yFfMoW+sUWavEbJQ8C5nLLKg@mail.gmail.com> <b130385a-1ace-45d7-954c-dda7414ed7aa@gmail.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox