Thread: [HACKERS] [PATCH] Fix pg_proc comment grammar

[HACKERS] [PATCH] Fix pg_proc comment grammar

From
David Christensen
Date:
Fixes some DESCR() grammar mistakes introduced by the xlog -> wal changes.

---src/include/catalog/pg_proc.h | 4 ++--1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/include/catalog/pg_proc.h b/src/include/catalog/pg_proc.h
index 41c12af..bb7053a 100644
--- a/src/include/catalog/pg_proc.h
+++ b/src/include/catalog/pg_proc.h
@@ -3160,9 +3160,9 @@ DESCR("current wal insert location");DATA(insert OID = 3330 ( pg_current_wal_flush_location PGNSP
PGUID12 1 0 0 0 f f f f t f v s 0 0 3220 "" _null_ _null_ _null_ _null_ _null_ pg_current_wal_flush_location _null_
_null__null_ ));DESCR("current wal flush location");DATA(insert OID = 2850 ( pg_walfile_name_offset PGNSP PGUID 12 1 0
00 f f f f t f i s 1 0 2249 "3220" "{3220,25,23}" "{i,o,o}" "{wal_location,file_name,file_offset}" _null_ _null_
pg_walfile_name_offset_null_ _null_ _null_ ));
 
-DESCR("wal filename and byte offset, given an wal location");
+DESCR("wal filename and byte offset, given a wal location");DATA(insert OID = 2851 ( pg_walfile_name            PGNSP
PGUID12 1 0 0 0 f f f f t f i s 1 0 25 "3220" _null_ _null_ _null_ _null_ _null_ pg_walfile_name _null_ _null_ _null_
));
-DESCR("wal filename, given an wal location");
+DESCR("wal filename, given a wal location");DATA(insert OID = 3165 ( pg_wal_location_diff        PGNSP PGUID 12 1 0 0
0f f f f t f i s 2 0 1700 "3220 3220" _null_ _null_ _null_ _null_ _null_ pg_wal_location_diff _null_ _null_ _null_
));DESCR("differencein bytes, given two wal locations");
 
-- 
2.8.4 (Apple Git-73)




Re: [HACKERS] [PATCH] Fix pg_proc comment grammar

From
Robert Haas
Date:
On Wed, Feb 15, 2017 at 10:40 AM, David Christensen <david@endpoint.com> wrote:
> Fixes some DESCR() grammar mistakes introduced by the xlog -> wal changes.

Thanks, David!

Committed.

-- 
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company