Availability of pg_backend_pid() immediately after connection establishment
Hari Bhaskaran <hbhaskaran@gmail.com>
From: Hari Bhaskaran <hbhaskaran@gmail.com>
To: pgsql-general@postgresql.org
Date: 2006-11-02T08:57:08Z
Lists: pgsql-general
Someone in this group mentioned a while back that pg_backend_pid() function works only after some 1/2 second after the connection has been established. This had something to do with the stats collector to make its sweep every .5 seconds?. Does anyone have more information on this? Any help is appreciated -- Hari