mirror of
https://github.com/postgres/postgres.git
synced 2025-06-30 21:42:05 +03:00
Fix typos.
Oskari Saarenmaa
This commit is contained in:
@ -983,7 +983,7 @@ DETAIL: drop cascades to table inht2
|
||||
drop cascades to table inhts
|
||||
drop cascades to table inht3
|
||||
drop cascades to table inht4
|
||||
-- Test non-inheritable indices [UNIQUE, EXCLUDE] contraints
|
||||
-- Test non-inheritable indices [UNIQUE, EXCLUDE] constraints
|
||||
CREATE TABLE test_constraints (id int, val1 varchar, val2 int, UNIQUE(val1, val2));
|
||||
CREATE TABLE test_constraints_inh () INHERITS (test_constraints);
|
||||
\d+ test_constraints
|
||||
@ -1049,7 +1049,7 @@ Inherits: test_ex_constraints
|
||||
|
||||
DROP TABLE test_ex_constraints_inh;
|
||||
DROP TABLE test_ex_constraints;
|
||||
-- Test non-inheritable foreign key contraints
|
||||
-- Test non-inheritable foreign key constraints
|
||||
CREATE TABLE test_primary_constraints(id int PRIMARY KEY);
|
||||
CREATE TABLE test_foreign_constraints(id1 int REFERENCES test_primary_constraints(id));
|
||||
CREATE TABLE test_foreign_constraints_inh () INHERITS (test_foreign_constraints);
|
||||
|
@ -65,7 +65,7 @@ SELECT relreplident FROM pg_class WHERE oid = 'test_replica_identity'::regclass;
|
||||
(1 row)
|
||||
|
||||
----
|
||||
-- Make sure index cases succeeed
|
||||
-- Make sure index cases succeed
|
||||
----
|
||||
-- succeed, primary key
|
||||
ALTER TABLE test_replica_identity REPLICA IDENTITY USING INDEX test_replica_identity_pkey;
|
||||
|
@ -299,7 +299,7 @@ SELECT a.attrelid::regclass, a.attname, a.attinhcount, e.expected
|
||||
DROP TABLE inht1, inhs1 CASCADE;
|
||||
|
||||
|
||||
-- Test non-inheritable indices [UNIQUE, EXCLUDE] contraints
|
||||
-- Test non-inheritable indices [UNIQUE, EXCLUDE] constraints
|
||||
CREATE TABLE test_constraints (id int, val1 varchar, val2 int, UNIQUE(val1, val2));
|
||||
CREATE TABLE test_constraints_inh () INHERITS (test_constraints);
|
||||
\d+ test_constraints
|
||||
@ -321,7 +321,7 @@ ALTER TABLE test_ex_constraints DROP CONSTRAINT test_ex_constraints_c_excl;
|
||||
DROP TABLE test_ex_constraints_inh;
|
||||
DROP TABLE test_ex_constraints;
|
||||
|
||||
-- Test non-inheritable foreign key contraints
|
||||
-- Test non-inheritable foreign key constraints
|
||||
CREATE TABLE test_primary_constraints(id int PRIMARY KEY);
|
||||
CREATE TABLE test_foreign_constraints(id1 int REFERENCES test_primary_constraints(id));
|
||||
CREATE TABLE test_foreign_constraints_inh () INHERITS (test_foreign_constraints);
|
||||
|
@ -44,7 +44,7 @@ ALTER TABLE test_replica_identity REPLICA IDENTITY USING INDEX test_replica_iden
|
||||
SELECT relreplident FROM pg_class WHERE oid = 'test_replica_identity'::regclass;
|
||||
|
||||
----
|
||||
-- Make sure index cases succeeed
|
||||
-- Make sure index cases succeed
|
||||
----
|
||||
|
||||
-- succeed, primary key
|
||||
|
Reference in New Issue
Block a user