Sha256: e9f983b1c45861e51da0798db777c08e3ebcdd794b227f34330e0996d3cd3e0a

Contents?: true

Size: 474 Bytes

Versions: 12

Compression:

Stored size: 474 Bytes

Contents

-- This script shows the problem. When run in a psql connected to
-- pgpool with one master and one read-only replica, this will cause
-- the pgpool process to exit because the exception found in the
-- commit (in the master node) does not match the success code for the
-- commit in the read-only replica.

-- The expected behavior would be to continue execution normally
-- without dropping the connection.

begin;
insert into my_table ( col1 ) values ( 'ouch' );
commit;

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
prestogres-0.4.8 pgpool2/test/regression/tests/051.bug60/bug.sql
prestogres-0.4.7 pgpool2/test/regression/tests/051.bug60/bug.sql
prestogres-0.4.6 pgpool2/test/regression/tests/051.bug60/bug.sql
prestogres-0.4.5 pgpool2/test/regression/tests/051.bug60/bug.sql
prestogres-0.4.4 pgpool2/test/regression/tests/051.bug60/bug.sql
prestogres-0.4.3 pgpool2/test/regression/tests/051.bug60/bug.sql
prestogres-0.4.2 pgpool2/test/regression/tests/051.bug60/bug.sql
prestogres-0.4.1 pgpool2/test/regression/tests/051.bug60/bug.sql
prestogres-0.4.0 pgpool2/test/regression/tests/051.bug60/bug.sql
prestogres-0.3.0 pgpool2/test/regression/tests/051.bug60/bug.sql
prestogres-0.2.0 pgpool2/test/regression/tests/051.bug60/bug.sql
prestogres-0.1.0 pgpool2/test/regression/tests/051.bug60/bug.sql