View Issue Details

IDProjectCategoryView StatusLast Update
0000320Pgpool-IIBugpublic2017-08-30 02:30
ReporterSampsonCrowley Assigned Tot-ishii  
PriorityhighSeveritymajorReproducibilityalways
Status closedResolutionopen 
Platformx86_64OSLinux (Arch)OS Version4.11.9-1
Product Version3.6.4 
Summary0000320: Index Error Violations are never returned to the application
DescriptionIf I executed a prepared statement from node-pg, PGPool never returns the error when there is a unique index violation
Steps To ReproduceInstall pgpool 3.6.4 with streaming replication and Load balancing
Additional InformationThere is something PGpool is not returning from postgres queries.

The EXACT same code used directly with postgres works perfectly. it is only when PGPool is involved that transaction errors hang indefinitely
Tagsnode, pgpool in load balancing mode

Activities

t-ishii

2017-07-19 14:12

developer   ~0001584

Maybe this is caused by the same bug (317). If so, attached patch should fix the problem. Please try.
pgpool-hung.diff (9,560 bytes)   
pgpool-hung.diff (9,560 bytes)   

SampsonCrowley

2017-07-19 14:35

reporter   ~0001588

How do I apply this patch?

t-ishii

2017-07-19 14:41

developer   ~0001589

You can use the patch command to apply the patch to the source tree.

SampsonCrowley

2017-07-22 02:21

reporter   ~0001599

there is no pool_query_context.c on my pgpool server, where specifically am I supposed to apply this patch

SampsonCrowley

2017-07-22 02:26

reporter   ~0001600

do i need to remove and recompile the whole thing?

SampsonCrowley

2017-07-22 03:04

reporter   ~0001601

Yep, that is what had to be done.. I will update you if it worked

SampsonCrowley

2017-07-26 04:58

reporter   ~0001604

It did not work. still same issue. pgpool reports "unable to read data from frontend". then "EOF from frontend"

t-ishii

2017-07-27 14:32

developer   ~0001609

Can we share the pgpool log with debug option on (-d enabled)?

SampsonCrowley

2017-07-29 03:44

reporter   ~0001610

yeah, i'll get that to you on monday

Issue History

Date Modified Username Field Change
2017-07-16 12:06 SampsonCrowley New Issue
2017-07-16 12:06 SampsonCrowley Tag Attached: pgpool in load balancing mode
2017-07-16 12:06 SampsonCrowley Tag Attached: node
2017-07-19 14:12 t-ishii File Added: pgpool-hung.diff
2017-07-19 14:12 t-ishii Note Added: 0001584
2017-07-19 14:12 t-ishii Assigned To => t-ishii
2017-07-19 14:12 t-ishii Status new => feedback
2017-07-19 14:35 SampsonCrowley Note Added: 0001588
2017-07-19 14:35 SampsonCrowley Status feedback => assigned
2017-07-19 14:41 t-ishii Note Added: 0001589
2017-07-19 16:47 t-ishii Status assigned => feedback
2017-07-22 02:21 SampsonCrowley Note Added: 0001599
2017-07-22 02:21 SampsonCrowley Status feedback => assigned
2017-07-22 02:26 SampsonCrowley Note Added: 0001600
2017-07-22 03:04 SampsonCrowley Note Added: 0001601
2017-07-24 13:45 t-ishii Status assigned => feedback
2017-07-26 04:58 SampsonCrowley Note Added: 0001604
2017-07-26 04:58 SampsonCrowley Status feedback => assigned
2017-07-27 14:32 t-ishii Note Added: 0001609
2017-07-27 14:33 t-ishii Status assigned => feedback
2017-07-29 03:44 SampsonCrowley Note Added: 0001610
2017-07-29 03:44 SampsonCrowley Status feedback => assigned
2017-08-03 14:46 t-ishii Status assigned => feedback
2017-08-29 09:28 pengbo Status feedback => closed