citusdata / citusdata/citus_docs

Document reusing parameters in run_command_on_placements/shards

Open
#865 0 comments 1 reaction 0 assignees View on GitHub
Dominant language
CSS
Stars
58
Forks
60
PR merge metrics
No merged PRs in 30d

Description

One of the most common questions in public slack is how to use the table name in `run_command_on_placements` more than once.

The template is passed through [format](https://www.postgresql.org/docs/current/functions-string.html#FUNCTIONS-STRING-FORMAT), which allows you to use a parameter multiple times by using `%1$s` instead of `%s`, or `%1$L` is you want it to be quoted as a string.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.