Well.

When I'm do $pg->db->dbh->do('open cursor..'), than in loop 
$pg->db->query('fetch next...'), everything works.

When I add any $pg->db->query() inside the loop, somehow it gets 
reconnected so cursor dies.

Mojo::PgX::Cursor fails when working together with Mojolicious or 
Mojolicious::Lite, so I have to do all cursor stuff with $pg->db->dbh->[DBI 
functions], is that reconnection correct?

среда, 17 октября 2018 г., 15:13:00 UTC+3 пользователь Stefan Adams написал:
>
> Yes, absolutely! Mojolicious, Mojo::Pg, and Minion.
>
> On Wed, Oct 17, 2018, 5:52 AM Alex Povolotsky <[email protected] 
> <javascript:>> wrote:
>
>> Hello!
>>
>> May I ask here about Mojo::Pg? If not, can anyone point me to the proper 
>> resource?
>>
>> Alex
>>
>> -- 
>> You received this message because you are subscribed to the Google Groups 
>> "Mojolicious" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to [email protected] <javascript:>.
>> To post to this group, send email to [email protected] 
>> <javascript:>.
>> Visit this group at https://groups.google.com/group/mojolicious.
>> For more options, visit https://groups.google.com/d/optout.
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Mojolicious" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/mojolicious.
For more options, visit https://groups.google.com/d/optout.

Reply via email to