Discussion:
Mojo::Pg support anyone?
(too old to reply)
Alex Povolotsky
2018-10-17 10:52:49 UTC
Permalink
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 mojolicious+***@googlegroups.com.
To post to this group, send email to ***@googlegroups.com.
Visit this group at https://groups.google.com/group/mojolicious.
For more options, visit https://groups.google.com/d/optout.
Stefan Adams
2018-10-17 12:12:47 UTC
Permalink
Yes, absolutely! Mojolicious, Mojo::Pg, and Minion.
Post by Alex Povolotsky
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
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 mojolicious+***@googlegroups.com.
To post to this group, send email to ***@googlegroups.com.
Visit this group at https://groups.google.com/group/mojolicious.
For more options, visit https://groups.google.com/d/optout.
Alex Povolotsky
2018-10-17 20:11:57 UTC
Permalink
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?
Post by Stefan Adams
Yes, absolutely! Mojolicious, Mojo::Pg, and Minion.
Post by Alex Povolotsky
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
<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 mojolicious+***@googlegroups.com.
To post to this group, send email to ***@googlegroups.com.
Visit this group at https://groups.google.com/group/mojolicious.
For more options, visit https://groups.google.com/d/optout.
Continue reading on narkive:
Loading...