Skip to content

Commit e8b610a

Browse files
committed
Fix the conflict with code of master branch
1 parent 173643e commit e8b610a

9 files changed

Lines changed: 24 additions & 22 deletions

File tree

src/oracle_test/regress/expected/domain.out

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -60,13 +60,13 @@ create domain d_fail as int4 constraint cc generated by default as identity;
6060
ERROR: specifying GENERATED not supported for domains
6161
LINE 1: create domain d_fail as int4 constraint cc generated by defa...
6262
^
63-
create domain d_fail as int4 constraint cc check (values > 1) no inherit;
63+
create domain d_fail as int4 constraint cc check (velues > 1) no inherit;
6464
ERROR: check constraints for domains cannot be marked NO INHERIT
65-
LINE 1: create domain d_fail as int4 constraint cc check (values > 1...
65+
LINE 1: create domain d_fail as int4 constraint cc check (velues > 1...
6666
^
67-
create domain d_fail as int4 constraint cc check (values > 1) deferrable;
67+
create domain d_fail as int4 constraint cc check (velues > 1) deferrable;
6868
ERROR: specifying constraint deferrability not supported for domains
69-
LINE 1: ...n d_fail as int4 constraint cc check (values > 1) deferrable...
69+
LINE 1: ...n d_fail as int4 constraint cc check (velues > 1) deferrable...
7070
^
7171
-- Test domain input.
7272
-- Note: the point of checking both INSERT and COPY FROM is that INSERT

src/oracle_test/regress/expected/plpgsql_2.out

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2463,7 +2463,7 @@ end $$ language plpgsql;
24632463
/
24642464
select namedparmcursor_test7();
24652465
ERROR: division by zero
2466-
CONTEXT: PL/pgSQL expression "42/0 AS p1, 77 AS p2"
2466+
CONTEXT: SQL expression "42/0 AS p1, 77 AS p2"
24672467
PL/pgSQL function namedparmcursor_test7() line 6 at OPEN
24682468
-- check that line comments work correctly within the argument list
24692469
-- (this used to require a special hack in the code; it no longer does,
@@ -4750,11 +4750,11 @@ $$;
47504750
/
47514751
select fail();
47524752
ERROR: division by zero
4753-
CONTEXT: PL/pgSQL expression "1/0"
4753+
CONTEXT: SQL expression "1/0"
47544754
PL/pgSQL function fail() line 3 at RETURN
47554755
select fail();
47564756
ERROR: division by zero
4757-
CONTEXT: PL/pgSQL expression "1/0"
4757+
CONTEXT: SQL expression "1/0"
47584758
PL/pgSQL function fail() line 3 at RETURN
47594759
drop function fail();
47604760
-- Test handling of string literals.

src/oracle_test/regress/sql/domain.sql

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,8 @@ create domain d_fail as anyelement;
2828
create domain d_fail as int4 unique;
2929
create domain d_fail as int4 PRIMARY key;
3030
create domain d_fail as int4 constraint cc generated by default as identity;
31-
create domain d_fail as int4 constraint cc check (values > 1) no inherit;
32-
create domain d_fail as int4 constraint cc check (values > 1) deferrable;
31+
create domain d_fail as int4 constraint cc check (velues > 1) no inherit;
32+
create domain d_fail as int4 constraint cc check (velues > 1) deferrable;
3333

3434
-- Test domain input.
3535

src/pl/plisql/src/expected/plisql_record.out

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -281,7 +281,7 @@ NOTICE: r1.q1 = <NULL>
281281
NOTICE: r1.q2 = <NULL>
282282
NOTICE: r1 = <NULL>
283283
ERROR: record "r1" has no field "nosuchfield"
284-
CONTEXT: PL/pgSQL expression "r1.nosuchfield"
284+
CONTEXT: SQL expression "r1.nosuchfield"
285285
PL/iSQL function inline_code_block line 7 at RAISE
286286
-- records, not so much
287287
do $$
@@ -295,7 +295,7 @@ end$$;
295295
NOTICE: r1 = <NULL>
296296
ERROR: record "r1" is not assigned yet
297297
DETAIL: The tuple structure of a not-yet-assigned record is indeterminate.
298-
CONTEXT: PL/pgSQL expression "r1.f1"
298+
CONTEXT: SQL expression "r1.f1"
299299
PL/iSQL function inline_code_block line 5 at RAISE
300300
-- but OK if you assign first
301301
do $$
@@ -313,7 +313,7 @@ NOTICE: r1.f1 = 1
313313
NOTICE: r1.f2 = 2
314314
NOTICE: r1 = (1,2)
315315
ERROR: record "r1" has no field "nosuchfield"
316-
CONTEXT: PL/pgSQL expression "r1.nosuchfield"
316+
CONTEXT: SQL expression "r1.nosuchfield"
317317
PL/iSQL function inline_code_block line 9 at RAISE
318318
-- check %type with block-qualified variable names
319319
do $$
@@ -618,7 +618,7 @@ $$ begin return x.f3; end $$;
618618
/
619619
select getf3(null::mutable); -- doesn't work yet
620620
ERROR: record "x" has no field "f3"
621-
CONTEXT: PL/pgSQL expression "x.f3"
621+
CONTEXT: SQL expression "x.f3"
622622
PL/iSQL function getf3(mutable) line 1 at RETURN
623623
alter table mutable add column f3 int;
624624
select getf3(null::mutable); -- now it works

src/pl/plisql/src/expected/plisql_type_rowtype.out

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3292,6 +3292,8 @@ end;
32923292
/
32933293
NOTICE: type reference tb1.id%TYPE converted to pg_catalog.int4
32943294
ERROR: column "i2d" of relation "tb1" does not exist
3295+
LINE 1: create function fun1(c1 tb1.id%type,c2 tb1.i2d%type, c3 tb1....
3296+
^
32953297
create function fun1(c1 tb1.id%type,c2 tb1.id2%type, c3 tb1.id3%type, c4 tb1.id4%type, c5 tb1.name1%type, c6 tb1.name2%type) return tb1.name1%type is
32963298
begin
32973299
return c5;

src/pl/plisql/src/expected/plisql_varprops.out

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ begin
7676
raise notice 'x = %', x;
7777
end$$;
7878
ERROR: division by zero
79-
CONTEXT: PL/pgSQL expression "1/0"
79+
CONTEXT: SQL expression "1/0"
8080
PL/iSQL function inline_code_block line 2 during statement block local variable initialization
8181
do $$
8282
declare x bigint[] := array[1,3,5];

src/pl/plpgsql/src/expected/plpgsql_record_1.out

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -410,7 +410,7 @@ NOTICE: r1.q1 = <NULL>
410410
NOTICE: r1.q2 = <NULL>
411411
NOTICE: r1 = <NULL>
412412
ERROR: record "r1" has no field "nosuchfield"
413-
CONTEXT: PL/pgSQL expression "r1.nosuchfield"
413+
CONTEXT: SQL expression "r1.nosuchfield"
414414
PL/pgSQL function inline_code_block line 7 at RAISE
415415
do $$
416416
declare r1 two_int8s;
@@ -434,7 +434,7 @@ end$$ language plpgsql;
434434
NOTICE: r1 = <NULL>
435435
ERROR: record "r1" is not assigned yet
436436
DETAIL: The tuple structure of a not-yet-assigned record is indeterminate.
437-
CONTEXT: PL/pgSQL expression "r1.f1"
437+
CONTEXT: SQL expression "r1.f1"
438438
PL/pgSQL function inline_code_block line 5 at RAISE
439439
do $$
440440
declare r1 record;
@@ -462,7 +462,7 @@ NOTICE: r1.f1 = 1
462462
NOTICE: r1.f2 = 2
463463
NOTICE: r1 = (1,2)
464464
ERROR: record "r1" has no field "nosuchfield"
465-
CONTEXT: PL/pgSQL expression "r1.nosuchfield"
465+
CONTEXT: SQL expression "r1.nosuchfield"
466466
PL/pgSQL function inline_code_block line 9 at RAISE
467467
do $$
468468
declare r1 record;
@@ -802,7 +802,7 @@ create function getf3(x mutable) returns int language plpgsql as
802802
$$ begin return x.f3; end $$;
803803
select getf3(null::mutable); -- doesn't work yet
804804
ERROR: record "x" has no field "f3"
805-
CONTEXT: PL/pgSQL expression "x.f3"
805+
CONTEXT: SQL expression "x.f3"
806806
PL/pgSQL function getf3(mutable) line 1 at RETURN
807807
alter table mutable add column f3 int;
808808
select getf3(null::mutable); -- now it works

src/pl/plpgsql/src/expected/plpgsql_varprops_1.out

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ begin
135135
raise notice 'x = %', x;
136136
end$$ language plpgsql;
137137
ERROR: division by zero
138-
CONTEXT: PL/pgSQL expression "1/0"
138+
CONTEXT: SQL expression "1/0"
139139
PL/pgSQL function inline_code_block line 2 during statement block local variable initialization
140140
do $$
141141
declare x int := 1/0; -- fail

src/test/regress/expected/plpgsql.out

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2388,7 +2388,7 @@ begin
23882388
end $$ language plpgsql;
23892389
select namedparmcursor_test7();
23902390
ERROR: division by zero
2391-
CONTEXT: PL/pgSQL expression "42/0 AS p1, 77 AS p2"
2391+
CONTEXT: SQL expression "42/0 AS p1, 77 AS p2"
23922392
PL/pgSQL function namedparmcursor_test7() line 6 at OPEN
23932393
-- check that line comments work correctly within the argument list
23942394
-- (this used to require a special hack in the code; it no longer does,
@@ -4565,11 +4565,11 @@ end
45654565
$$;
45664566
select fail();
45674567
ERROR: division by zero
4568-
CONTEXT: PL/pgSQL expression "1/0"
4568+
CONTEXT: SQL expression "1/0"
45694569
PL/pgSQL function fail() line 3 at RETURN
45704570
select fail();
45714571
ERROR: division by zero
4572-
CONTEXT: PL/pgSQL expression "1/0"
4572+
CONTEXT: SQL expression "1/0"
45734573
PL/pgSQL function fail() line 3 at RETURN
45744574
drop function fail();
45754575
-- Test handling of string literals.

0 commit comments

Comments
 (0)