aboutsummaryrefslogtreecommitdiff
path: root/src/backend/utils/adt/ruleutils.c
diff options
context:
space:
mode:
authorDavid Rowley <drowley@postgresql.org>2023-03-07 14:33:28 +1300
committerDavid Rowley <drowley@postgresql.org>2023-03-07 14:33:28 +1300
commitcf96907aadca454c4094819c2ecddee07eafe203 (patch)
tree19646fcb79b1ac100b2464501ea7078d6e5b5d7c /src/backend/utils/adt/ruleutils.c
parent9a714b9d6ec0a562bc9242ec17122321cd174588 (diff)
downloadpostgresql-cf96907aadca454c4094819c2ecddee07eafe203.tar.gz
postgresql-cf96907aadca454c4094819c2ecddee07eafe203.zip
Fix incorrect comment in pg_get_partkeydef()
The comment claimed the output of the function was prefixed by "PARTITION BY". This is incorrect. Author: Japin Li Reviewed-by: Ashutosh Bapat Discussion: https://postgr.es/m/MEYP282MB166923B446FF5FE55B9DACB7B6B69@MEYP282MB1669.AUSP282.PROD.OUTLOOK.COM
Diffstat (limited to 'src/backend/utils/adt/ruleutils.c')
-rw-r--r--src/backend/utils/adt/ruleutils.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/backend/utils/adt/ruleutils.c b/src/backend/utils/adt/ruleutils.c
index 6dc117dea8e..bcb493b56cc 100644
--- a/src/backend/utils/adt/ruleutils.c
+++ b/src/backend/utils/adt/ruleutils.c
@@ -1855,7 +1855,7 @@ pg_get_statisticsobjdef_expressions(PG_FUNCTION_ARGS)
*
* Returns the partition key specification, ie, the following:
*
- * PARTITION BY { RANGE | LIST | HASH } (column opt_collation opt_opclass [, ...])
+ * { RANGE | LIST | HASH } (column opt_collation opt_opclass [, ...])
*/
Datum
pg_get_partkeydef(PG_FUNCTION_ARGS)