Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit13ea825

Browse files
committed
Spell "explicitly" correctly, per Simon.
1 parent823702b commit13ea825

File tree

3 files changed

+9
-9
lines changed

3 files changed

+9
-9
lines changed

‎src/include/nodes/parsenodes.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
* Portions Copyright (c) 1996-2005, PostgreSQL Global Development Group
88
* Portions Copyright (c) 1994, Regents of the University of California
99
*
10-
* $PostgreSQL: pgsql/src/include/nodes/parsenodes.h,v 1.297 2005/11/28 04:35:32 tgl Exp $
10+
* $PostgreSQL: pgsql/src/include/nodes/parsenodes.h,v 1.298 2005/12/07 15:20:55 tgl Exp $
1111
*
1212
*-------------------------------------------------------------------------
1313
*/
@@ -660,8 +660,8 @@ typedef enum SetOperation
660660

661661
typedefenumContainsOids
662662
{
663-
MUST_HAVE_OIDS,/* WITH OIDSexplicitely specified */
664-
MUST_NOT_HAVE_OIDS,/* WITHOUT OIDSexplicitely specified */
663+
MUST_HAVE_OIDS,/* WITH OIDSexplicitly specified */
664+
MUST_NOT_HAVE_OIDS,/* WITHOUT OIDSexplicitly specified */
665665
DEFAULT_OIDS/* neither specified; use the default, which
666666
* is the value of the default_with_oids GUC
667667
* var */

‎src/test/regress/expected/foreign_key.out

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -970,7 +970,7 @@ drop table pktable_base;
970970
-- Deferrable constraints
971971
--(right now, only FOREIGN KEY constraints can be deferred)
972972
--
973-
-- deferrable,explicitely deferred
973+
-- deferrable,explicitly deferred
974974
CREATE TABLE pktable (
975975
idINT4 PRIMARY KEY,
976976
otherINT4
@@ -985,7 +985,7 @@ NOTICE: CREATE TABLE / PRIMARY KEY will create implicit index "fktable_pkey" fo
985985
INSERT INTO fktable VALUES (5, 10);
986986
ERROR: insert or update on table "fktable" violates foreign key constraint "fktable_fk_fkey"
987987
DETAIL: Key (fk)=(10) is not present in table "pktable".
988-
--explicitely defer the constraint
988+
--explicitly defer the constraint
989989
BEGIN;
990990
SET CONSTRAINTS ALL DEFERRED;
991991
INSERT INTO fktable VALUES (10, 15);
@@ -1008,7 +1008,7 @@ BEGIN;
10081008
INSERT INTO fktable VALUES (100, 200);
10091009
INSERT INTO pktable VALUES (200, 500); -- make the FK insert valid
10101010
COMMIT;
1011-
-- default to deferred,explicitely make immediate
1011+
-- default to deferred,explicitly make immediate
10121012
BEGIN;
10131013
SET CONSTRAINTS ALL IMMEDIATE;
10141014
-- should fail

‎src/test/regress/sql/foreign_key.sql

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -599,7 +599,7 @@ drop table pktable_base;
599599
--(right now, only FOREIGN KEY constraints can be deferred)
600600
--
601601

602-
-- deferrable,explicitely deferred
602+
-- deferrable,explicitly deferred
603603
CREATETABLEpktable (
604604
idINT4PRIMARY KEY,
605605
otherINT4
@@ -613,7 +613,7 @@ CREATE TABLE fktable (
613613
-- default to immediate: should fail
614614
INSERT INTO fktableVALUES (5,10);
615615

616-
--explicitely defer the constraint
616+
--explicitly defer the constraint
617617
BEGIN;
618618

619619
SET CONSTRAINTS ALL DEFERRED;
@@ -644,7 +644,7 @@ INSERT INTO pktable VALUES (200, 500); -- make the FK insert valid
644644

645645
COMMIT;
646646

647-
-- default to deferred,explicitely make immediate
647+
-- default to deferred,explicitly make immediate
648648
BEGIN;
649649

650650
SET CONSTRAINTS ALL IMMEDIATE;

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp