Re: Testing with concurrent sessions
От | Alvaro Herrera |
---|---|
Тема | Re: Testing with concurrent sessions |
Дата | |
Msg-id | 20100106230432.GT6129@alvh.no-ip.org обсуждение исходный текст |
Ответ на | Re: Testing with concurrent sessions (Marko Tiikkaja <marko.tiikkaja@cs.helsinki.fi>) |
Ответы |
Re: Testing with concurrent sessions
|
Список | pgsql-hackers |
Marko Tiikkaja wrote: > On 2010-01-07 00:08 +0200, Peter Eisentraut wrote: > >Then I don't see much of a point in using Perl. You might as well fire > >up a few psqls from a shell script. > > I don't see how that would work, but I might have misunderstood what > we're reaching for here. What I think would be most useful would be > to interleave statements between transactions, not just randomly > fire psql sessions and hope for race conditions. Open a few psql with -f pointing to a pipe, and from the shell write into the pipe? I don't think it's straightforward, but it should be possible. -- Alvaro Herrera http://www.CommandPrompt.com/ PostgreSQL Replication, Consulting, Custom Development, 24x7 support
В списке pgsql-hackers по дате отправления: