|
|
|
@ -290,7 +290,7 @@ select column1::jsonb from (values (:value), (:long)) as q; |
|
|
|
|
my $log = PostgreSQL::Test::Utils::slurp_file($node->logfile); |
|
|
|
|
unlike( |
|
|
|
|
$log, |
|
|
|
|
qr[DETAIL: parameters: \$1 = '\{ invalid ',], |
|
|
|
|
qr[DETAIL: Parameters: \$1 = '\{ invalid ',], |
|
|
|
|
"no parameters logged"); |
|
|
|
|
$log = undef; |
|
|
|
|
|
|
|
|
@ -331,7 +331,7 @@ select column1::jsonb from (values (:value), (:long)) as q; |
|
|
|
|
$log = PostgreSQL::Test::Utils::slurp_file($node->logfile); |
|
|
|
|
like( |
|
|
|
|
$log, |
|
|
|
|
qr[DETAIL: parameters: \$1 = '\{ invalid ', \$2 = '''Valame Dios!'' dijo Sancho; ''no le dije yo a vuestra merced que mirase bien lo que hacia\?'''], |
|
|
|
|
qr[DETAIL: Parameters: \$1 = '\{ invalid ', \$2 = '''Valame Dios!'' dijo Sancho; ''no le dije yo a vuestra merced que mirase bien lo que hacia\?'''], |
|
|
|
|
"parameter report does not truncate"); |
|
|
|
|
$log = undef; |
|
|
|
|
|
|
|
|
@ -376,7 +376,7 @@ select column1::jsonb from (values (:value), (:long)) as q; |
|
|
|
|
$log = PostgreSQL::Test::Utils::slurp_file($node->logfile); |
|
|
|
|
like( |
|
|
|
|
$log, |
|
|
|
|
qr[DETAIL: parameters: \$1 = '\{ inval\.\.\.', \$2 = '''Valame\.\.\.'], |
|
|
|
|
qr[DETAIL: Parameters: \$1 = '\{ inval\.\.\.', \$2 = '''Valame\.\.\.'], |
|
|
|
|
"parameter report truncates"); |
|
|
|
|
$log = undef; |
|
|
|
|
|
|
|
|
|