mirror of https://github.com/citusdata/citus.git
Add test showing poolinfo validation works
In other words, that it errors out.pull/2342/head
parent
900e88057c
commit
c3c0d62ca6
|
@ -18,3 +18,10 @@ INSERT INTO pg_dist_authinfo VALUES (0, 'new_user', 'password=1234');
|
|||
ERROR: cannot write to pg_dist_authinfo
|
||||
DETAIL: Citus Community Edition does not support the use of custom authentication options.
|
||||
HINT: To learn more about using advanced authentication schemes with Citus, please contact us at https://citusdata.com/about/contact_us
|
||||
BEGIN;
|
||||
INSERT INTO pg_dist_node VALUES (1234567890, 1234567890, 'localhost', 5432);
|
||||
INSERT INTO pg_dist_poolinfo VALUES (1234567890, 'port=1234');
|
||||
ERROR: cannot write to pg_dist_poolinfo
|
||||
DETAIL: Citus Community Edition does not support the use of pooler options.
|
||||
HINT: To learn more about using advanced pooling schemes with Citus, please contact us at https://citusdata.com/about/contact_us
|
||||
ROLLBACK;
|
||||
|
|
|
@ -16,3 +16,8 @@ CREATE ROLE new_role;
|
|||
CREATE USER new_user;
|
||||
|
||||
INSERT INTO pg_dist_authinfo VALUES (0, 'new_user', 'password=1234');
|
||||
|
||||
BEGIN;
|
||||
INSERT INTO pg_dist_node VALUES (1234567890, 1234567890, 'localhost', 5432);
|
||||
INSERT INTO pg_dist_poolinfo VALUES (1234567890, 'port=1234');
|
||||
ROLLBACK;
|
||||
|
|
Loading…
Reference in New Issue