public inbox for [email protected]  
help / color / mirror / Atom feed
From: Laurenz Albe <[email protected]>
To: Subramanian,Ramachandran <[email protected]>
To: [email protected] <[email protected]>
Subject: Re: Executing INSERTs from a file but with a wait delay.
Date: Tue, 14 Apr 2026 12:58:07 +0200
Message-ID: <[email protected]> (raw)
In-Reply-To: <[email protected]>
References: <[email protected]>

On Tue, 2026-04-14 at 08:17 +0000, Subramanian,Ramachandran wrote:
> Let us say that I have 10 Insert statements in a file called  run_inserts.sql .
>  
> I run it with  psql -p 5432 -f run_inserts.sql.
>  
>  
> My wish is to find a way to execute it, but I want it to wait after each INSERT  till I hit Enter .
>  
>  
> I could use pg_sleep , but that is a preset value..  I want to make it wait indefinitely till I hit enter.
>  
> Is this even possible?  Thank you in advance for your help.



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 using the --to and --cc options:
  reply via email

  To: [email protected]
  Cc: [email protected], [email protected], [email protected]
  Subject: Re: Executing INSERTs from a file but with a wait delay.
  In-Reply-To: <[email protected]>

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

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