2013/6/11 Dimitri Fontaine <dimi...@2ndquadrant.fr>: > Pavel Stehule <pavel.steh...@gmail.com> 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 (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers