Re: how to fix problem then when two queries run at the same time, it takes longer to complete then if run in sequence
Theo Kramer <theo@flame.co.za>
From: Theo Kramer <theo@flame.co.za>
To: pgsql-performance@postgresql.org
Date: 2008-07-31T09:52:12Z
Lists: pgsql-performance
On 31 Jul 2008, at 11:17AM, Miernik wrote: > Theo Kramer <theo@flame.co.za> wrote: >> file `which psql` >> /usr/bin/psql: ELF 32-bit LSB executable, Intel 80386, version 1 >> (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.9, >> stripped > > miernik@tarnica:~$ file `which psql` > /usr/bin/psql: symbolic link to `../share/postgresql-common/ > pg_wrapper' > miernik@tarnica:~$ file /usr/share/postgresql-common/pg_wrapper > /usr/share/postgresql-common/pg_wrapper: a /usr/bin/perl -w script > text executable > miernik@tarnica:~$ Hmm - looks like you are on a debian or debian derivative. However, pg_wrapper is not psql. It invokes psql which is written in C. Once psql is invoked pg_wrapper drops away. -- Regards Theo