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
50edd63b
Commit
50edd63b
authored
Aug 20, 2002
by
Bruce Momjian
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
- test for indexes on a domain
- don't fail type-sanity checks if a domain exists Rod Taylor
parent
5243f9a9
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
src/test/regress/sql/domain.sql
src/test/regress/sql/domain.sql
+2
-2
src/test/regress/sql/type_sanity.sql
src/test/regress/sql/type_sanity.sql
+2
-2
No files found.
src/test/regress/sql/domain.sql
View file @
50edd63b
...
...
@@ -111,11 +111,11 @@ create table defaulttest
(
col1
ddef1
,
col2
ddef2
,
col3
ddef3
,
col4
ddef4
,
col4
ddef4
PRIMARY
KEY
,
col5
ddef1
NOT
NULL
DEFAULT
NULL
,
col6
ddef2
DEFAULT
'88'
,
col7
ddef4
DEFAULT
8000
,
col8
ddef5
,
col8
ddef5
);
insert
into
defaulttest
default
values
;
insert
into
defaulttest
default
values
;
...
...
src/test/regress/sql/type_sanity.sql
View file @
50edd63b
...
...
@@ -19,7 +19,7 @@
SELECT
p1
.
oid
,
p1
.
typname
FROM
pg_type
as
p1
WHERE
(
p1
.
typlen
<=
0
AND
p1
.
typlen
!=
-
1
)
OR
(
p1
.
typtype
!=
'b'
AND
p1
.
typtype
!=
'c'
AND
p1
.
typtype
!=
'p'
)
OR
p1
.
typtype
not
in
(
'b'
,
'c'
,
'd'
,
'p'
)
OR
NOT
p1
.
typisdefined
OR
(
p1
.
typalign
!=
'c'
AND
p1
.
typalign
!=
's'
AND
p1
.
typalign
!=
'i'
AND
p1
.
typalign
!=
'd'
)
OR
...
...
@@ -55,7 +55,7 @@ WHERE (p1.typtype = 'c' AND p1.typrelid = 0) OR
SELECT
p1
.
oid
,
p1
.
typname
FROM
pg_type
as
p1
WHERE
p1
.
typtype
=
'b'
AND
p1
.
typname
NOT
LIKE
'
\\
_%'
AND
NOT
EXISTS
WHERE
p1
.
typtype
in
(
'b'
,
'd'
)
AND
p1
.
typname
NOT
LIKE
'
\\
_%'
AND
NOT
EXISTS
(
SELECT
1
FROM
pg_type
as
p2
WHERE
p2
.
typname
=
(
'_'
||
p1
.
typname
)::
name
AND
p2
.
typelem
=
p1
.
oid
);
...
...
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