MCPcopy Create free account
hub / github.com/apache/cloudberry / nonemptyReloptions

Function nonemptyReloptions

src/bin/pg_dump/pg_dump.c:21406–21411  ·  view source on GitHub ↗

* Check if a reloptions array is nonempty. */

Source from the content-addressed store, hash-verified

21404 * Check if a reloptions array is nonempty.
21405 */
21406static bool
21407nonemptyReloptions(const char *reloptions)
21408{
21409 /* Don't want to print it if it's just "{}" */
21410 return (reloptions != NULL && strlen(reloptions) > 2);
21411}
21412
21413/*
21414 * Format a reloptions array and append it to the given buffer.

Callers 3

dumpTableSchemaFunction · 0.85
dumpConstraintFunction · 0.85
dumpRuleFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected