Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
Postgres FD Implementation
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Abuhujair Javed
Postgres FD Implementation
Commits
7ce0f9c3
Commit
7ce0f9c3
authored
Mar 07, 2002
by
Bruce Momjian
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Adjust elog() tags so source and regression tests match.
parent
7d1b8fe7
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
8 deletions
+8
-8
src/test/regress/output/constraints.source
src/test/regress/output/constraints.source
+5
-5
src/test/regress/output/create_function_1.source
src/test/regress/output/create_function_1.source
+1
-1
src/test/regress/output/create_function_2.source
src/test/regress/output/create_function_2.source
+2
-2
No files found.
src/test/regress/output/constraints.source
View file @
7ce0f9c3
...
@@ -216,7 +216,7 @@ INSERT INTO tmp VALUES (null, 'Y', null);
...
@@ -216,7 +216,7 @@ INSERT INTO tmp VALUES (null, 'Y', null);
INSERT INTO tmp VALUES (5, '!check failed', null);
INSERT INTO tmp VALUES (5, '!check failed', null);
INSERT INTO tmp VALUES (null, 'try again', null);
INSERT INTO tmp VALUES (null, 'try again', null);
INSERT INTO INSERT_TBL(y) select yd from tmp;
INSERT INTO INSERT_TBL(y) select yd from tmp;
NOTICE
: insert_seq.nextval: sequence was re-created
WARNING
: insert_seq.nextval: sequence was re-created
SELECT '' AS three, * FROM INSERT_TBL;
SELECT '' AS three, * FROM INSERT_TBL;
three | x | y | z
three | x | y | z
-------+---+---------------+----
-------+---+---------------+----
...
@@ -286,7 +286,7 @@ SELECT * FROM COPY_TBL;
...
@@ -286,7 +286,7 @@ SELECT * FROM COPY_TBL;
-- Primary keys
-- Primary keys
--
--
CREATE TABLE PRIMARY_TBL (i int PRIMARY KEY, t text);
CREATE TABLE PRIMARY_TBL (i int PRIMARY KEY, t text);
INFO
: CREATE TABLE / PRIMARY KEY will create implicit index 'primary_tbl_pkey' for table 'primary_tbl'
NOTICE
: CREATE TABLE / PRIMARY KEY will create implicit index 'primary_tbl_pkey' for table 'primary_tbl'
INSERT INTO PRIMARY_TBL VALUES (1, 'one');
INSERT INTO PRIMARY_TBL VALUES (1, 'one');
INSERT INTO PRIMARY_TBL VALUES (2, 'two');
INSERT INTO PRIMARY_TBL VALUES (2, 'two');
INSERT INTO PRIMARY_TBL VALUES (1, 'three');
INSERT INTO PRIMARY_TBL VALUES (1, 'three');
...
@@ -307,7 +307,7 @@ SELECT '' AS four, * FROM PRIMARY_TBL;
...
@@ -307,7 +307,7 @@ SELECT '' AS four, * FROM PRIMARY_TBL;
DROP TABLE PRIMARY_TBL;
DROP TABLE PRIMARY_TBL;
CREATE TABLE PRIMARY_TBL (i int, t text,
CREATE TABLE PRIMARY_TBL (i int, t text,
PRIMARY KEY(i,t));
PRIMARY KEY(i,t));
INFO
: CREATE TABLE / PRIMARY KEY will create implicit index 'primary_tbl_pkey' for table 'primary_tbl'
NOTICE
: CREATE TABLE / PRIMARY KEY will create implicit index 'primary_tbl_pkey' for table 'primary_tbl'
INSERT INTO PRIMARY_TBL VALUES (1, 'one');
INSERT INTO PRIMARY_TBL VALUES (1, 'one');
INSERT INTO PRIMARY_TBL VALUES (2, 'two');
INSERT INTO PRIMARY_TBL VALUES (2, 'two');
INSERT INTO PRIMARY_TBL VALUES (1, 'three');
INSERT INTO PRIMARY_TBL VALUES (1, 'three');
...
@@ -330,7 +330,7 @@ DROP TABLE PRIMARY_TBL;
...
@@ -330,7 +330,7 @@ DROP TABLE PRIMARY_TBL;
-- Unique keys
-- Unique keys
--
--
CREATE TABLE UNIQUE_TBL (i int UNIQUE, t text);
CREATE TABLE UNIQUE_TBL (i int UNIQUE, t text);
INFO
: CREATE TABLE / UNIQUE will create implicit index 'unique_tbl_i_key' for table 'unique_tbl'
NOTICE
: CREATE TABLE / UNIQUE will create implicit index 'unique_tbl_i_key' for table 'unique_tbl'
INSERT INTO UNIQUE_TBL VALUES (1, 'one');
INSERT INTO UNIQUE_TBL VALUES (1, 'one');
INSERT INTO UNIQUE_TBL VALUES (2, 'two');
INSERT INTO UNIQUE_TBL VALUES (2, 'two');
INSERT INTO UNIQUE_TBL VALUES (1, 'three');
INSERT INTO UNIQUE_TBL VALUES (1, 'three');
...
@@ -353,7 +353,7 @@ SELECT '' AS five, * FROM UNIQUE_TBL;
...
@@ -353,7 +353,7 @@ SELECT '' AS five, * FROM UNIQUE_TBL;
DROP TABLE UNIQUE_TBL;
DROP TABLE UNIQUE_TBL;
CREATE TABLE UNIQUE_TBL (i int, t text,
CREATE TABLE UNIQUE_TBL (i int, t text,
UNIQUE(i,t));
UNIQUE(i,t));
INFO
: CREATE TABLE / UNIQUE will create implicit index 'unique_tbl_i_key' for table 'unique_tbl'
NOTICE
: CREATE TABLE / UNIQUE will create implicit index 'unique_tbl_i_key' for table 'unique_tbl'
INSERT INTO UNIQUE_TBL VALUES (1, 'one');
INSERT INTO UNIQUE_TBL VALUES (1, 'one');
INSERT INTO UNIQUE_TBL VALUES (2, 'two');
INSERT INTO UNIQUE_TBL VALUES (2, 'two');
INSERT INTO UNIQUE_TBL VALUES (1, 'three');
INSERT INTO UNIQUE_TBL VALUES (1, 'three');
...
...
src/test/regress/output/create_function_1.source
View file @
7ce0f9c3
...
@@ -5,7 +5,7 @@ CREATE FUNCTION widget_in(opaque)
...
@@ -5,7 +5,7 @@ CREATE FUNCTION widget_in(opaque)
RETURNS widget
RETURNS widget
AS '@abs_builddir@/regress@DLSUFFIX@'
AS '@abs_builddir@/regress@DLSUFFIX@'
LANGUAGE 'c';
LANGUAGE 'c';
NOTICE
: ProcedureCreate: type widget is not yet defined
WARNING
: ProcedureCreate: type widget is not yet defined
CREATE FUNCTION widget_out(opaque)
CREATE FUNCTION widget_out(opaque)
RETURNS opaque
RETURNS opaque
AS '@abs_builddir@/regress@DLSUFFIX@'
AS '@abs_builddir@/regress@DLSUFFIX@'
...
...
src/test/regress/output/create_function_2.source
View file @
7ce0f9c3
...
@@ -13,8 +13,8 @@ CREATE FUNCTION hobbies_by_name(hobbies_r.name%TYPE)
...
@@ -13,8 +13,8 @@ CREATE FUNCTION hobbies_by_name(hobbies_r.name%TYPE)
RETURNS hobbies_r.person%TYPE
RETURNS hobbies_r.person%TYPE
AS 'select person from hobbies_r where name = $1'
AS 'select person from hobbies_r where name = $1'
LANGUAGE 'sql';
LANGUAGE 'sql';
INFO
: hobbies_r.name%TYPE converted to text
NOTICE
: hobbies_r.name%TYPE converted to text
INFO
: hobbies_r.person%TYPE converted to text
NOTICE
: hobbies_r.person%TYPE converted to text
CREATE FUNCTION equipment(hobbies_r)
CREATE FUNCTION equipment(hobbies_r)
RETURNS setof equipment_r
RETURNS setof equipment_r
AS 'select * from equipment_r where hobby = $1.name'
AS 'select * from equipment_r where hobby = $1.name'
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment