Re: DO ... RETURNING - Mailing list pgsql-hackers

From Pavel Stehule
Subject Re: DO ... RETURNING
Date
Msg-id CAFj8pRBccRJjz1OQ3-dBPfkpjoDyXAjm4M=FoNPR2HhL5z3YNw@mail.gmail.com
Whole thread Raw
In response to Re: DO ... RETURNING  (Dimitri Fontaine <dimitri@2ndQuadrant.fr>)
Responses Re: DO ... RETURNING  (Merlin Moncure <mmoncure@gmail.com>)
List pgsql-hackers
2013/6/11 Dimitri Fontaine <dimitri@2ndquadrant.fr>:
> Pavel Stehule <pavel.stehule@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



pgsql-hackers by date:

Previous
From: Hannu Krosing
Date:
Subject: Re: JSON and unicode surrogate pairs
Next
From: Christian Ullrich
Date:
Subject: Current CLOBBER_CACHE_ALWAYS failures