# HG changeset patch # User Tom Gottfried # Date 1529086613 -7200 # Node ID c86b20edb39848a18737a941c52d4ca32f9814af # Parent 0e486e6ee60d6f23507bb48e52b73459dfc8ab05 Comment on understand of docs. diff -r 0e486e6ee60d -r c86b20edb398 tap_tests.sql --- a/tap_tests.sql Fri Jun 15 20:12:32 2018 +0200 +++ b/tap_tests.sql Fri Jun 15 20:16:53 2018 +0200 @@ -53,6 +53,10 @@ ('AT', 'XXX', '00001', '00000', 2)::isrs), $2, 'AT', 'AT', 'AT', 1, 'depth', 'testorganization'); +-- XXX: In contrast to what table 240 in the PostgreSQL docs says +-- (https://www.postgresql.org/docs/10/static/sql-createpolicy.html), +-- the following tests seem to show that the USING expression is applied +-- also to an INSERT: SELECT lives_ok('EXECUTE bn_insert(''test1'', ST_geomfromtext(''POLYGON((0 0, 0 1, 1 1, 1 0, 0 0))'', 4326))',