From 1f8ba11198633617e588990c8fdabf668a5f2e3c Mon Sep 17 00:00:00 2001 From: Daniel Gustafsson Date: Mon, 26 Jun 2017 13:42:18 +0200 Subject: [PATCH 2/6] Use consistent function comments for metacommands /* /* \dfoo * \dfoo instead of * --- src/bin/psql/describe.c | 24 ++++++++++++++++-------- 1 file changed, 16 insertions(+), 8 deletions(-) diff --git a/src/bin/psql/describe.c b/src/bin/psql/describe.c index e6833eced5..2ac03533bc 100644 --- a/src/bin/psql/describe.c +++ b/src/bin/psql/describe.c @@ -54,7 +54,8 @@ static bool listOneExtensionContents(const char *extname, const char *oid); */ -/* \da +/* + * \da * Takes an optional regexp to select particular aggregates */ bool @@ -131,7 +132,8 @@ describeAggregates(const char *pattern, bool verbose, bool showSystem) return true; } -/* \dA +/* + * \dA * Takes an optional regexp to select particular access methods */ bool @@ -198,7 +200,8 @@ describeAccessMethods(const char *pattern, bool verbose) return true; } -/* \db +/* + * \db * Takes an optional regexp to select particular tablespaces */ bool @@ -283,7 +286,8 @@ describeTablespaces(const char *pattern, bool verbose) } -/* \df +/* + * \df * Takes an optional regexp to select particular functions. * * As with \d, you can specify the kinds of functions you want: @@ -696,7 +700,8 @@ describeTypes(const char *pattern, bool verbose, bool showSystem) } -/* \do +/* + * \do * Describe operators */ bool @@ -5040,7 +5045,8 @@ listOneExtensionContents(const char *extname, const char *oid) return true; } -/* \dRp +/* + * \dRp * Lists publications. * * Takes an optional regexp to select particular publications @@ -5106,7 +5112,8 @@ listPublications(const char *pattern) return true; } -/* \dRp+ +/* + * \dRp+ * Describes publications including the contents. * * Takes an optional regexp to select particular publications @@ -5227,7 +5234,8 @@ describePublications(const char *pattern) return true; } -/* \dRs +/* + * \dRs * Describes subscriptions. * * Takes an optional regexp to select particular subscriptions -- 2.13.0.rc0.45.ge2cb6ab.dirty