Typo in comment in ATPrepChangePersistence

Started by Amit Langoteover 10 years ago2 messages
#1Amit Langote
Langote_Amit_f8@lab.ntt.co.jp
1 attachment(s)

Hi,

Attached fixes a typo:

-     * no permanent tables cannot reference unlogged ones.
+     * permanent tables cannot reference unlogged ones.

Thanks,
Amit

Attachments:

typo-in-comment-ATPrepChangePersistence.patchtext/x-diff; name=typo-in-comment-ATPrepChangePersistence.patchDownload
diff --git a/src/backend/commands/tablecmds.c b/src/backend/commands/tablecmds.c
index 1c7eded..b459b1e 100644
--- a/src/backend/commands/tablecmds.c
+++ b/src/backend/commands/tablecmds.c
@@ -11169,7 +11169,7 @@ ATPrepChangePersistence(Relation rel, bool toLogged)
 
 	/*
 	 * Check existing foreign key constraints to preserve the invariant that
-	 * no permanent tables cannot reference unlogged ones.  Self-referencing
+	 * permanent tables cannot reference unlogged ones.  Self-referencing
 	 * foreign keys can safely be ignored.
 	 */
 	pg_constraint = heap_open(ConstraintRelationId, AccessShareLock);
#2Heikki Linnakangas
hlinnaka@iki.fi
In reply to: Amit Langote (#1)
Re: Typo in comment in ATPrepChangePersistence

On 07/29/2015 05:26 AM, Amit Langote wrote:

Attached fixes a typo:

-     * no permanent tables cannot reference unlogged ones.
+     * permanent tables cannot reference unlogged ones.

Thanks, fixed.

- Heikki

--
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers