Re: [HACKERS] Typo in comment in ATPrepChangePersistence

2015-07-29 Thread Heikki Linnakangas

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


[HACKERS] Typo in comment in ATPrepChangePersistence

2015-07-28 Thread Amit Langote
Hi,

Attached fixes a typo:

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

Thanks,
Amit
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);

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