1--TEST-- 2Bug #14383 (8.0+) (using postgres with DBA causes DBA not to be able to find any keys) 3--EXTENSIONS-- 4dba 5pgsql 6--SKIPIF-- 7<?php 8require_once(__DIR__.'/../../dba/tests/skipif.inc'); 9require_once('skipif.inc'); 10?> 11--FILE-- 12<?php 13require_once('config.inc'); 14 15$dbh = @pg_connect($conn_str); 16if (!$dbh) { 17 die ("Could not connect to the server"); 18} 19pg_close($dbh); 20 21require_once(__DIR__.'/../../dba/tests/test.inc'); 22require_once(__DIR__.'/../../dba/tests/dba_handler.inc'); 23 24?> 25--CLEAN-- 26<?php 27require_once(__DIR__.'/../../dba/tests/clean.inc'); 28?> 29--EXPECTF-- 30database handler: %s 313NYNYY 32Content String 2 33Content 2 replaced 34Read during write:%sallowed 35"key number 6" written 36Failed to write "key number 6" 2nd time 37Content 2 replaced 2nd time 38The 6th value 39array(3) { 40 ["key number 6"]=> 41 string(13) "The 6th value" 42 ["key2"]=> 43 string(27) "Content 2 replaced 2nd time" 44 ["key5"]=> 45 string(23) "The last content string" 46} 47--NO-LOCK-- 483NYNYY 49Content String 2 50Content 2 replaced 51Read during write: not allowed 52"key number 6" written 53Failed to write "key number 6" 2nd time 54Content 2 replaced 2nd time 55The 6th value 56array(3) { 57 ["key number 6"]=> 58 string(13) "The 6th value" 59 ["key2"]=> 60 string(27) "Content 2 replaced 2nd time" 61 ["key5"]=> 62 string(23) "The last content string" 63} 64