mirror of
https://github.com/postgres/postgres.git
synced 2025-12-12 02:37:31 +03:00
Label CVS tip as 8.0devel instead of 7.5devel. Adjust various comments
and documentation to reference 8.0 instead of 7.5.
This commit is contained in:
@@ -1103,7 +1103,7 @@ FOREIGN KEY (x1) REFERENCES pktable(id3);
|
||||
-- text is compatible with varchar
|
||||
ALTER TABLE fktable ADD CONSTRAINT fk_4_2
|
||||
FOREIGN KEY (x4) REFERENCES pktable(id2);
|
||||
-- int2 is part of int4 opclass as of 7.5
|
||||
-- int2 is part of int4 opclass as of 8.0
|
||||
ALTER TABLE fktable ADD CONSTRAINT fk_5_1
|
||||
FOREIGN KEY (x5) REFERENCES pktable(id1);
|
||||
-- check multikey cases, especially out-of-order column lists
|
||||
|
||||
@@ -792,7 +792,7 @@ WHERE p1.amopopr = p2.oid AND
|
||||
(0 rows)
|
||||
|
||||
-- Check that operator input types match the opclass
|
||||
-- For 7.5, we require that oprleft match opcintype (possibly by coercion).
|
||||
-- For 8.0, we require that oprleft match opcintype (possibly by coercion).
|
||||
-- When amopsubtype is zero (default), oprright must equal oprleft;
|
||||
-- when amopsubtype is not zero, oprright must equal amopsubtype.
|
||||
SELECT p1.amopclaid, p1.amopopr, p2.oid, p2.oprname, p3.opcname
|
||||
|
||||
@@ -56,7 +56,7 @@ WHERE (p1.typtype = 'c' AND p1.typrelid = 0) OR
|
||||
(0 rows)
|
||||
|
||||
-- Look for basic types that don't have an array type.
|
||||
-- NOTE: as of 7.5, this check finds smgr and unknown.
|
||||
-- NOTE: as of 8.0, this check finds smgr and unknown.
|
||||
SELECT p1.oid, p1.typname
|
||||
FROM pg_type as p1
|
||||
WHERE p1.typtype in ('b') AND p1.typname NOT LIKE '\\_%' AND NOT EXISTS
|
||||
@@ -92,7 +92,7 @@ WHERE p1.typinput = p2.oid AND p1.typtype in ('b', 'p') AND NOT
|
||||
-----+---------+-----+---------
|
||||
(0 rows)
|
||||
|
||||
-- As of 7.5, this check finds refcursor, which is borrowing
|
||||
-- As of 8.0, this check finds refcursor, which is borrowing
|
||||
-- other types' I/O routines
|
||||
SELECT p1.oid, p1.typname, p2.oid, p2.proname
|
||||
FROM pg_type AS p1, pg_proc AS p2
|
||||
@@ -116,7 +116,7 @@ WHERE p1.typinput = p2.oid AND p1.typtype in ('b', 'p') AND
|
||||
(0 rows)
|
||||
|
||||
-- Check for bogus typoutput routines
|
||||
-- As of 7.5, this check finds refcursor, which is borrowing
|
||||
-- As of 8.0, this check finds refcursor, which is borrowing
|
||||
-- other types' I/O routines
|
||||
SELECT p1.oid, p1.typname, p2.oid, p2.proname
|
||||
FROM pg_type AS p1, pg_proc AS p2
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
-- This test tries to verify that WITHOUT OIDS actually saves space.
|
||||
-- On machines where MAXALIGN is 8, WITHOUT OIDS may or may not save any
|
||||
-- space, depending on the size of the tuple header + null bitmap.
|
||||
-- As of 7.5 we need a 9-bit null bitmap to force the difference to appear.
|
||||
-- As of 8.0 we need a 9-bit null bitmap to force the difference to appear.
|
||||
--
|
||||
CREATE TABLE wi (i INT,
|
||||
n1 int, n2 int, n3 int, n4 int,
|
||||
|
||||
@@ -750,7 +750,7 @@ FOREIGN KEY (x1) REFERENCES pktable(id3);
|
||||
ALTER TABLE fktable ADD CONSTRAINT fk_4_2
|
||||
FOREIGN KEY (x4) REFERENCES pktable(id2);
|
||||
|
||||
-- int2 is part of int4 opclass as of 7.5
|
||||
-- int2 is part of int4 opclass as of 8.0
|
||||
ALTER TABLE fktable ADD CONSTRAINT fk_5_1
|
||||
FOREIGN KEY (x5) REFERENCES pktable(id1);
|
||||
|
||||
|
||||
@@ -642,7 +642,7 @@ WHERE p1.amopopr = p2.oid AND
|
||||
(p2.oprrest = 0 OR p2.oprjoin = 0);
|
||||
|
||||
-- Check that operator input types match the opclass
|
||||
-- For 7.5, we require that oprleft match opcintype (possibly by coercion).
|
||||
-- For 8.0, we require that oprleft match opcintype (possibly by coercion).
|
||||
-- When amopsubtype is zero (default), oprright must equal oprleft;
|
||||
-- when amopsubtype is not zero, oprright must equal amopsubtype.
|
||||
|
||||
|
||||
@@ -50,7 +50,7 @@ WHERE (p1.typtype = 'c' AND p1.typrelid = 0) OR
|
||||
(p1.typtype != 'c' AND p1.typrelid != 0);
|
||||
|
||||
-- Look for basic types that don't have an array type.
|
||||
-- NOTE: as of 7.5, this check finds smgr and unknown.
|
||||
-- NOTE: as of 8.0, this check finds smgr and unknown.
|
||||
|
||||
SELECT p1.oid, p1.typname
|
||||
FROM pg_type as p1
|
||||
@@ -78,7 +78,7 @@ WHERE p1.typinput = p2.oid AND p1.typtype in ('b', 'p') AND NOT
|
||||
p2.proargtypes[1] = 'oid'::regtype AND
|
||||
p2.proargtypes[2] = 'int4'::regtype));
|
||||
|
||||
-- As of 7.5, this check finds refcursor, which is borrowing
|
||||
-- As of 8.0, this check finds refcursor, which is borrowing
|
||||
-- other types' I/O routines
|
||||
SELECT p1.oid, p1.typname, p2.oid, p2.proname
|
||||
FROM pg_type AS p1, pg_proc AS p2
|
||||
@@ -96,7 +96,7 @@ WHERE p1.typinput = p2.oid AND p1.typtype in ('b', 'p') AND
|
||||
|
||||
-- Check for bogus typoutput routines
|
||||
|
||||
-- As of 7.5, this check finds refcursor, which is borrowing
|
||||
-- As of 8.0, this check finds refcursor, which is borrowing
|
||||
-- other types' I/O routines
|
||||
SELECT p1.oid, p1.typname, p2.oid, p2.proname
|
||||
FROM pg_type AS p1, pg_proc AS p2
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
-- This test tries to verify that WITHOUT OIDS actually saves space.
|
||||
-- On machines where MAXALIGN is 8, WITHOUT OIDS may or may not save any
|
||||
-- space, depending on the size of the tuple header + null bitmap.
|
||||
-- As of 7.5 we need a 9-bit null bitmap to force the difference to appear.
|
||||
-- As of 8.0 we need a 9-bit null bitmap to force the difference to appear.
|
||||
--
|
||||
CREATE TABLE wi (i INT,
|
||||
n1 int, n2 int, n3 int, n4 int,
|
||||
|
||||
Reference in New Issue
Block a user