View Issue Details

IDProjectCategoryView StatusLast Update
0000341Pgpool-IIBugpublic2017-09-23 06:32
Reportersobrinho Assigned To 
PriorityhighSeverityblockReproducibilityalways
Status closedResolutionopen 
Product Version3.6.2 
Fixed in Version3.6.6 
Summary0000341: Incompatibility with ruby pg
DescriptionI'm not sure this is a problem with pg gem or pgpoll-ii.

The problem happens with that code:

    require 'pg'

    conn = PG.connect(dbname: 'itsalive', port: 9999)
    conn.async_exec('select 1', [])

The process freezes and it can be stopped with CTRL+C, the only way to kill the process is using CTRL-Z + kill -9 %1.

Using a direct connection to the master database it works as expected by returning the result.

The same problem happens when using exec instead of async_exec.

I'm going to cross-post this issue on ruby pg to be sure (pg 0.21.0).
TagsNo tags attached.

Activities

sobrinho

2017-09-23 03:29

reporter   ~0001712

To clarify, not sending the empty array on the second argument fixes the problem.

sobrinho

2017-09-23 06:18

reporter   ~0001713

On pgpool 3.6.6 the problem doesn't happen. Closing.

t-ishii

2017-09-23 06:31

developer   ~0001714

Thanks for the info. Issue closed.

Issue History

Date Modified Username Field Change
2017-09-23 03:28 sobrinho New Issue
2017-09-23 03:29 sobrinho Note Added: 0001712
2017-09-23 06:18 sobrinho Note Added: 0001713
2017-09-23 06:31 t-ishii Note Added: 0001714
2017-09-23 06:32 t-ishii Status new => closed
2017-09-23 06:32 t-ishii Fixed in Version => 3.6.6