public inbox for [email protected]  
help / color / mirror / Atom feed
From: Shaozhong SHI <[email protected]>
To: pgsql-sql <[email protected]>
Subject: Set timeout just on a query?
Date: Tue, 10 May 2022 01:58:26 +0100
Message-ID: <CA+i5JwYsXzYwBT87y2jtch=Lg1s=d+XgJ0sJS0TV8VQT8g_Xtg@mail.gmail.com> (raw)

Can timeout be set just on a query?

Can we do the following?

Begin

do a query
set timeout
Exception
report a record

End;

Regards,
David


view thread (4+ messages)  latest in thread

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]
  Subject: Re: Set timeout just on a query?
  In-Reply-To: <CA+i5JwYsXzYwBT87y2jtch=Lg1s=d+XgJ0sJS0TV8VQT8g_Xtg@mail.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 agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox