Re: Concurrently run scipts
От | Shaozhong SHI |
---|---|
Тема | Re: Concurrently run scipts |
Дата | |
Msg-id | CA+i5Jwb7JYeY=33w-+y4UP1vvhZkJS1Lyqur3Uf3okAyMuaErQ@mail.gmail.com обсуждение исходный текст |
Ответ на | Re: Concurrently run scipts (hector vass <hector.vass@gmail.com>) |
Ответы |
Re: Concurrently run scipts
|
Список | pgsql-sql |
How many scripts can be run concurrently but independently?
Regards,
David
On Wed, 25 Oct 2023 at 21:43, hector vass <hector.vass@gmail.com> wrote:
Concurrently but independentlypsql -f script1 & psql -f script2 && fgSimilar in windows can be achieved using start iircOn Wed, 25 Oct 2023, 21:15 Bruce Momjian, <bruce@momjian.us> wrote:On Wed, Oct 25, 2023 at 08:57:03PM +0100, Shaozhong SHI wrote:
> In psql we run scripts sequentially like the following:
>
> \ir script1
> \ir script2
>
>
> Is there something similar for concurrent running script?
Uh, yeah, see the use of \! and & starting on slide 59:
https://momjian.us/main/writings/pgsql/locking.pdf
--
Bruce Momjian <bruce@momjian.us> https://momjian.us
EDB https://enterprisedb.com
Only you can decide what is important to you.
В списке pgsql-sql по дате отправления: