Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 7ce0f9c

Browse files
committed
Adjust elog() tags so source and regression tests match.
1 parent 7d1b8fe commit 7ce0f9c

File tree

3 files changed

+8
-8
lines changed

3 files changed

+8
-8
lines changed

src/test/regress/output/constraints.source

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -216,7 +216,7 @@ INSERT INTO tmp VALUES (null, 'Y', null);
216216
INSERT INTO tmp VALUES (5, '!check failed', null);
217217
INSERT INTO tmp VALUES (null, 'try again', null);
218218
INSERT INTO INSERT_TBL(y) select yd from tmp;
219-
NOTICE: insert_seq.nextval: sequence was re-created
219+
WARNING: insert_seq.nextval: sequence was re-created
220220
SELECT '' AS three, * FROM INSERT_TBL;
221221
three | x | y | z
222222
-------+---+---------------+----
@@ -286,7 +286,7 @@ SELECT * FROM COPY_TBL;
286286
-- Primary keys
287287
--
288288
CREATE TABLE PRIMARY_TBL (i int PRIMARY KEY, t text);
289-
INFO: CREATE TABLE / PRIMARY KEY will create implicit index 'primary_tbl_pkey' for table 'primary_tbl'
289+
NOTICE: CREATE TABLE / PRIMARY KEY will create implicit index 'primary_tbl_pkey' for table 'primary_tbl'
290290
INSERT INTO PRIMARY_TBL VALUES (1, 'one');
291291
INSERT INTO PRIMARY_TBL VALUES (2, 'two');
292292
INSERT INTO PRIMARY_TBL VALUES (1, 'three');
@@ -307,7 +307,7 @@ SELECT '' AS four, * FROM PRIMARY_TBL;
307307
DROP TABLE PRIMARY_TBL;
308308
CREATE TABLE PRIMARY_TBL (i int, t text,
309309
PRIMARY KEY(i,t));
310-
INFO: CREATE TABLE / PRIMARY KEY will create implicit index 'primary_tbl_pkey' for table 'primary_tbl'
310+
NOTICE: CREATE TABLE / PRIMARY KEY will create implicit index 'primary_tbl_pkey' for table 'primary_tbl'
311311
INSERT INTO PRIMARY_TBL VALUES (1, 'one');
312312
INSERT INTO PRIMARY_TBL VALUES (2, 'two');
313313
INSERT INTO PRIMARY_TBL VALUES (1, 'three');
@@ -330,7 +330,7 @@ DROP TABLE PRIMARY_TBL;
330330
-- Unique keys
331331
--
332332
CREATE TABLE UNIQUE_TBL (i int UNIQUE, t text);
333-
INFO: CREATE TABLE / UNIQUE will create implicit index 'unique_tbl_i_key' for table 'unique_tbl'
333+
NOTICE: CREATE TABLE / UNIQUE will create implicit index 'unique_tbl_i_key' for table 'unique_tbl'
334334
INSERT INTO UNIQUE_TBL VALUES (1, 'one');
335335
INSERT INTO UNIQUE_TBL VALUES (2, 'two');
336336
INSERT INTO UNIQUE_TBL VALUES (1, 'three');
@@ -353,7 +353,7 @@ SELECT '' AS five, * FROM UNIQUE_TBL;
353353
DROP TABLE UNIQUE_TBL;
354354
CREATE TABLE UNIQUE_TBL (i int, t text,
355355
UNIQUE(i,t));
356-
INFO: CREATE TABLE / UNIQUE will create implicit index 'unique_tbl_i_key' for table 'unique_tbl'
356+
NOTICE: CREATE TABLE / UNIQUE will create implicit index 'unique_tbl_i_key' for table 'unique_tbl'
357357
INSERT INTO UNIQUE_TBL VALUES (1, 'one');
358358
INSERT INTO UNIQUE_TBL VALUES (2, 'two');
359359
INSERT INTO UNIQUE_TBL VALUES (1, 'three');

src/test/regress/output/create_function_1.source

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ CREATE FUNCTION widget_in(opaque)
55
RETURNS widget
66
AS '@abs_builddir@/regress@DLSUFFIX@'
77
LANGUAGE 'c';
8-
NOTICE: ProcedureCreate: type widget is not yet defined
8+
WARNING: ProcedureCreate: type widget is not yet defined
99
CREATE FUNCTION widget_out(opaque)
1010
RETURNS opaque
1111
AS '@abs_builddir@/regress@DLSUFFIX@'

src/test/regress/output/create_function_2.source

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@ CREATE FUNCTION hobbies_by_name(hobbies_r.name%TYPE)
1313
RETURNS hobbies_r.person%TYPE
1414
AS 'select person from hobbies_r where name = $1'
1515
LANGUAGE 'sql';
16-
INFO: hobbies_r.name%TYPE converted to text
17-
INFO: hobbies_r.person%TYPE converted to text
16+
NOTICE: hobbies_r.name%TYPE converted to text
17+
NOTICE: hobbies_r.person%TYPE converted to text
1818
CREATE FUNCTION equipment(hobbies_r)
1919
RETURNS setof equipment_r
2020
AS 'select * from equipment_r where hobby = $1.name'

0 commit comments

Comments
 (0)