run os command in pg_regress?

From: Alex <zhihui(dot)fan1213(at)gmail(dot)com>
To: PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Subject: run os command in pg_regress?
Date: 2019-07-04 12:04:22
Message-ID: CAKU4AWoqndgDnZFmMkT7zCxX7QJgQhvGGOvAPBQ0YfEmnX1UMA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

In my case, I want to sleep 3 seconds in xxx.sql for pg_regress program.
but I don't want to run 'select pg_sleep(3)' . so it is possible for
pg_regress?

in psql, I can run \! sleep(3); exit;

but looks pg_regress doesn't support it.

Browse pgsql-hackers by date

  From Date Subject
Next Message Anastasia Lubennikova 2019-07-04 12:06:38 Re: [HACKERS] [WIP] Effective storage of duplicates in B-tree index.
Previous Message Amit Khandekar 2019-07-04 11:54:51 Re: Minimal logical decoding on standbys