summaryrefslogtreecommitdiff
path: root/src/include/utils/ruleutils.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/include/utils/ruleutils.h')
-rw-r--r--src/include/utils/ruleutils.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/include/utils/ruleutils.h b/src/include/utils/ruleutils.h
index 3494b13b0fe..fe8bad49143 100644
--- a/src/include/utils/ruleutils.h
+++ b/src/include/utils/ruleutils.h
@@ -21,7 +21,7 @@
extern char *pg_get_indexdef_string(Oid indexrelid);
extern char *pg_get_indexdef_columns(Oid indexrelid, bool pretty);
-extern char *pg_get_constraintdef_string(Oid constraintId);
+extern char *pg_get_constraintdef_command(Oid constraintId);
extern char *deparse_expression(Node *expr, List *dpcontext,
bool forceprefix, bool showimplicit);
extern List *deparse_context_for(const char *aliasname, Oid relid);