Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1vuxym-00EwMV-2a for pgsql-general@arkaria.postgresql.org; Tue, 24 Feb 2026 19:21:56 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.96) (envelope-from ) id 1vuxyk-0037IY-1g for pgsql-general@arkaria.postgresql.org; Tue, 24 Feb 2026 19:21:54 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1vuxyk-0037IQ-0g for pgsql-general@lists.postgresql.org; Tue, 24 Feb 2026 19:21:54 +0000 Received: from mail-ot1-x331.google.com ([2607:f8b0:4864:20::331]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.98.2) (envelope-from ) id 1vuxyh-000000016Ml-0gc8 for pgsql-general@postgresql.org; Tue, 24 Feb 2026 19:21:53 +0000 Received: by mail-ot1-x331.google.com with SMTP id 46e09a7af769-7d4c7d04890so5498183a34.3 for ; Tue, 24 Feb 2026 11:21:51 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1771960910; cv=none; d=google.com; s=arc-20240605; b=aoBFSWsfvxOLOXpljaotv8jqnUX5DZh55kQQFHQU+eXgomktjDoyAPLctmT+9Nu+yA uyqqtuyW5FM+ynrmpvaCMzS9jcghs6w9rdM3qXRtx2FlYjhtWzDp/9Wq085lz1pxEewQ OTI6bC0h1ksgsvf/NWMl/sX8u92dc85WLmd/ovi1bFd+ajYQ0O5QCJO1PIB/v3h64wNI rvhtRfOymDvv4gb/NplG3QjcwUBFjUwc5bWre2iF45vHpOZoGLwiEqaeMsPfFO8ZRK2t 58m/Lip0/77TCDz5lLmO7i1a2WR9bM+gHPf860Ox1DT4XOXBbIzCjKeOTIXIKV4Y1M/N tOJg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; h=to:subject:message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=X/oboWoKhHzKGQpE+kdBbExunUsownj/HiJ4+zaimek=; fh=KNSq+t9BltSXFnT3Yof/aKGBtqxeA+bTALiYdvTslaY=; b=RB+KL6HRVhy4CIK81xbj1irEMwD6NGcbqU2UswbCEtJr4DX9/m868PIs6Iq+bnEREN kLP//APe/+UEMK+vKtI4MdjXQrQ7B+4nssdNN9BmvzpUdj00/8ZglzuXPdhfOHCfyCqg R+IOjy4KxhDbXH47mFMiYtwvT/H2EmuD7bSPSwfBIefFBlDnoXjoS1QtAV7R6k48+Hk1 An8s4MhwEIxqGOEdnWQGjaY89eFl0/QYpbB3JUISyEuL+w5RCC3JMCEnapsjDlIHquu8 ewB4eudZYjvFJUkc1nyqLVPRoK8LXtfFUy1q8T0WGZKFd9ChuWz1iw7zr8Eu1H8bsMKU vaog==; darn=postgresql.org ARC-Authentication-Results: i=1; mx.google.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1771960910; x=1772565710; darn=postgresql.org; h=to:subject:message-id:date:from:in-reply-to:references:mime-version :from:to:cc:subject:date:message-id:reply-to; bh=X/oboWoKhHzKGQpE+kdBbExunUsownj/HiJ4+zaimek=; b=S0O3UOuoDECIeHtAUM7E9gfIi095zGLcwlO5VlVfTbtJSoNrefSqvNBjxvi4uSFEOX eK6JX3tw45n3t6mCmZFP8WwVFe6AGeToKW/dUz9wMaJtCR7KBeYpuc1nL30kNPTIxsyv 6a1QfXH8agJGLAhBBxZMyiySB1MvHPKDEBl+bM/pUtu9MSajVV/Ha8luJoWnlR43jrMV 3WBAm2VOPjg7ZaPbHllrS94Q/kGFP06oDV2JggRCST9h09HIcx0bcsdTPFTrG7T+WAwQ Q370Ckt+3pJlVe6MKLMYmApg2pUTjdshYRsINW2S/5u/B1WbAFm87Oy6IbbXyznU3iZV 80pA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1771960910; x=1772565710; h=to:subject:message-id:date:from:in-reply-to:references:mime-version :x-gm-gg:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=X/oboWoKhHzKGQpE+kdBbExunUsownj/HiJ4+zaimek=; b=V4cEF2n3uTHl2EbV86yu3lWXRgM+l3aA7QS68yK23LBIdv+i5ot51e5HtatIYkQAGi g8NI3p8Wrq+1OKexj3BHn5f2Xp61rNsb3QR/+yOu2vV4X197ZzeVN5c/BcmZfCynCWg+ 1iZ8s77ZhE174/L2RCjnW+xvOvRmWzEzUu/8z/H+wz2/84x0xcZMib8g/vpBdWiA+gvZ wd1XZyMUMxt/e0nwRTmEeaazx1NLe21aqmAzX2zga/6q8uolFBMBLuuDL/OdUT33hj44 vPraUw8izYAPZahk1s0WzKgwrsdiPzgoOTnu8A3hhSANVRiwS3ModtB3WP9SrgCL8EhR FlpQ== X-Gm-Message-State: AOJu0YyIItrjmbYUHlkgmEpqIb0+/4ADf0Ex5i3tBKS33GZLz8XB3+DX Ld2OSqYdfHa1ZWSr1/JHGIRTfLqPLakIZJHVNtuHuiKslWSMvk8LC34uIFhpw9l6YQ3Phv7UG2F Ih35sdRmkwImrYTDDbjBQEIRR7uLP6DBYtA== X-Gm-Gg: AZuq6aLuuWW8SWO54CW0zwaTb6nGxORWiORII62nvh5MxRJkxPU81Kjtq4VQXbai/VR DlKmuNRWW/fYydI0rhUBG8bzZiNjP6UDGkSeIL4wQTvKHNsONPqjDcYeI1de91mkn2e4qJjDDtc txG3EwR3KZCPdMy+HdpCQ4GaePcE04oHhyPaNg/YkVSRKgi5bJy/71jmiQr7qwtTj1FpzxkgHRX WKuNX2LvlTmKApKvcW7i0x3cy3Zf3SAHuo6tCtr5/s+V3gTNa7DGwZCy0P3og45SQcZsUnIwnPo wK9Z3GIX7NJ7lcd5Rog= X-Received: by 2002:a05:6820:3088:b0:66e:e7e:6524 with SMTP id 006d021491bc7-679c4507c9fmr6185059eaf.58.1771960910169; Tue, 24 Feb 2026 11:21:50 -0800 (PST) MIME-Version: 1.0 References: <001901dca5a8$6fdc2760$4f947620$@pbs-software.com> In-Reply-To: <001901dca5a8$6fdc2760$4f947620$@pbs-software.com> From: Ron Johnson Date: Tue, 24 Feb 2026 14:21:39 -0500 X-Gm-Features: AaiRm513cpQ9O6eXNOQx3xMvM582CLEZ7iAnjvufSM1kKEk8PZc7uB9WyG5RQUU Message-ID: Subject: Re: Using COPY via pg_background extension To: pgsql-general Content-Type: multipart/alternative; boundary="0000000000009b4a07064b96cc9e" List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk --0000000000009b4a07064b96cc9e Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Tue, Feb 24, 2026 at 11:13=E2=80=AFAM Oleg Dushin wrote: > Hello everyone, > > > > I couldn't find anything on this topic in the mailing lists or in the > documentation for the =E2=80=98pg_background=E2=80=99 extension. > > > > > https://github.com/vibhorkum/pg_background?tab=3Dreadme-ov-file#known-lim= itations > > > > Perhaps I overlooked something. > > > > My question is: Is it possible to use the COPY protocol in combination > with pg_background? > Would "psql run from crontab" serve your purpose just as well? --=20 Death to , and butter sauce. Don't boil me, I'm still alive. lobster! --0000000000009b4a07064b96cc9e Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
On Tue, Feb 24, 2026 at 11:13=E2=80=AFAM = Oleg Dushin <oleg.dushin= @pbs-software.com> wrote:

Hello everyone,

=C2=A0

I couldn't find anything on this topic= in the mailing lists or in the documentation for the =E2=80=98pg_backgroun= d=E2=80=99 extension.

=C2=A0

https://github.com/vibh= orkum/pg_background?tab=3Dreadme-ov-file#known-limitations

=C2=A0

Perhaps I overlooke= d something.

=C2=A0

My question is: Is it possible to use the COPY protocol in combinati= on with pg_background?

=
Would "psql run from crontab" serve your=C2=A0purp= ose just as well?

--
Death to <Redacted>, and butter sauce.
Don't boil me, I'= m still alive.
<Redacted> lobster!
--0000000000009b4a07064b96cc9e--