changeset 110:c86b20edb398

Comment on understand of docs.
author Tom Gottfried <tom@intevation.de>
date Fri, 15 Jun 2018 20:16:53 +0200
parents 0e486e6ee60d
children 767f3edc502c
files tap_tests.sql
diffstat 1 files changed, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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))',