View Issue Details

IDProjectCategoryView StatusLast Update
0000354Pgpool-IIBugpublic2017-10-24 21:59
Reporterghuysmans Assigned Tot-ishii  
PrioritynormalSeverityblockReproducibilityalways
Status closedResolutionopen 
Product Version3.6.3 
Fixed in Version3.6.6 
Summary0000354: No ReadyForQuery packet after an erroneous prepared statement
DescriptionAfter you try preparing an erroneous query (because of a non-existing table, for example), pgpool doesn't send any 'Z' packet following the error packet. Therefore, the connection gets stuck.
Steps To Reproducecc -lpq prep.c && ./a.out
TagsNo tags attached.

Activities

ghuysmans

2017-10-17 17:56

reporter  

prep.c (364 bytes)   
prep.c (364 bytes)   

t-ishii

2017-10-17 18:44

developer   ~0001759

Without looking at pgpool.conf I guess it sounds like a known issue and already fixed. Please try the latest version (3.6.6).

ghuysmans

2017-10-17 23:50

reporter   ~0001761

You were right! We use the master-slave mode (master_slave_sub_mode = 'stream') and the master node has a zero weight. The latest version wasn't available in the Alpine repositories, so I've written a Dockerfile to build it.

t-ishii

2017-10-18 09:12

developer   ~0001762

So have you confirmed that the problem was gone with 3.6.6?

ghuysmans

2017-10-20 15:21

reporter   ~0001771

Yes, thank you!

t-ishii

2017-10-20 16:50

developer   ~0001772

Thanks! I'm going close this issue.

Issue History

Date Modified Username Field Change
2017-10-17 17:56 ghuysmans New Issue
2017-10-17 17:56 ghuysmans File Added: prep.c
2017-10-17 18:44 t-ishii Note Added: 0001759
2017-10-17 23:50 ghuysmans Note Added: 0001761
2017-10-18 09:12 t-ishii Note Added: 0001762
2017-10-18 09:13 t-ishii Assigned To => t-ishii
2017-10-18 09:13 t-ishii Status new => feedback
2017-10-20 15:21 ghuysmans Note Added: 0001771
2017-10-20 15:21 ghuysmans Status feedback => assigned
2017-10-20 16:50 t-ishii Note Added: 0001772
2017-10-24 21:59 t-ishii Status assigned => closed
2017-10-24 21:59 t-ishii Fixed in Version => 3.6.6