2013/6/11 Dimitri Fontaine <[email protected]>: > Pavel Stehule <[email protected]> writes: >> FOR r IN pg_databases >> LOOP >> CONNECT r.dbname; > > Do you mean that you want to run this DO block on the client side?
no, really no. I am thinking about some outer server side process, where these scripts will be executed. Maybe other usage for background worker process Pavel > > -- > Dimitri Fontaine > http://2ndQuadrant.fr PostgreSQL : Expertise, Formation et Support -- Sent via pgsql-hackers mailing list ([email protected]) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers
