Skip to content

Commit 1da2bcc

Browse files
author
Neil Conway
committed
Unbreak regression tests (Peter's recent checkin to executor/spi.c did
not update some error message text).
1 parent b8c06a6 commit 1da2bcc

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/test/regress/expected/foreign_key.out

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -646,7 +646,7 @@ SELECT * from FKTABLE;
646646
UPDATE PKTABLE set ptest2=5 where ptest2=2;
647647
ERROR: insert or update on table "fktable" violates foreign key constraint "constrname3"
648648
DETAIL: Key (ftest1,ftest2,ftest3)=(1,-1,3) is not present in table "pktable".
649-
CONTEXT: SQL query "UPDATE ONLY "public"."fktable" SET "ftest2" = DEFAULT WHERE "ftest1" = $1 AND "ftest2" = $2 AND "ftest3" = $3"
649+
CONTEXT: SQL statement "UPDATE ONLY "public"."fktable" SET "ftest2" = DEFAULT WHERE "ftest1" = $1 AND "ftest2" = $2 AND "ftest3" = $3"
650650
-- Try to update something that will set default
651651
UPDATE PKTABLE set ptest1=0, ptest2=5, ptest3=10 where ptest2=2;
652652
UPDATE PKTABLE set ptest2=10 where ptest2=4;

src/test/regress/expected/triggers.out

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -85,14 +85,14 @@ DETAIL: Trigger "check_fkeys_pkey2_exist" found tuple referencing non-existent
8585
delete from pkeys where pkey1 = 30 and pkey2 = '3';
8686
NOTICE: check_pkeys_fkey_cascade: 1 tuple(s) of fkeys are deleted
8787
ERROR: "check_fkeys2_fkey_restrict": tuple is referenced in "fkeys"
88-
CONTEXT: SQL query "delete from fkeys2 where fkey21 = $1 and fkey22 = $2 "
88+
CONTEXT: SQL statement "delete from fkeys2 where fkey21 = $1 and fkey22 = $2 "
8989
delete from pkeys where pkey1 = 40 and pkey2 = '4';
9090
NOTICE: check_pkeys_fkey_cascade: 1 tuple(s) of fkeys are deleted
9191
NOTICE: check_pkeys_fkey_cascade: 1 tuple(s) of fkeys2 are deleted
9292
update pkeys set pkey1 = 7, pkey2 = '70' where pkey1 = 50 and pkey2 = '5';
9393
NOTICE: check_pkeys_fkey_cascade: 1 tuple(s) of fkeys are deleted
9494
ERROR: "check_fkeys2_fkey_restrict": tuple is referenced in "fkeys"
95-
CONTEXT: SQL query "delete from fkeys2 where fkey21 = $1 and fkey22 = $2 "
95+
CONTEXT: SQL statement "delete from fkeys2 where fkey21 = $1 and fkey22 = $2 "
9696
update pkeys set pkey1 = 7, pkey2 = '70' where pkey1 = 10 and pkey2 = '1';
9797
NOTICE: check_pkeys_fkey_cascade: 1 tuple(s) of fkeys are deleted
9898
NOTICE: check_pkeys_fkey_cascade: 1 tuple(s) of fkeys2 are deleted

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy