Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit8a70a1c

Browse files
committed
Hmm. I didn't expect a change since I hadn't added tests for the new
stuff, but fixing the bug that existed in reporting the constraint namechanges the error line. Patch to expected output enclosed.Stephan Szabo
1 parent0d59dad commit8a70a1c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎src/test/regress/expected/alter_table.out

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -285,7 +285,7 @@ INSERT INTO tmp3 values (5,50);
285285
-- Try (and fail) to add constraint due to invalid data
286286
ALTER TABLE tmp3 add constraint tmpconstr foreign key (a) references tmp2 match full;
287287
NOTICE: ALTER TABLE ... ADD CONSTRAINT will create implicit trigger(s) for FOREIGN KEY check(s)
288-
ERROR:<unnamed> referential integrity violation - key referenced from tmp3 not found in tmp2
288+
ERROR:tmpconstr referential integrity violation - key referenced from tmp3 not found in tmp2
289289
-- Delete failing row
290290
DELETE FROM tmp3 where a=5;
291291
-- Try (and succeed)

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp