pgsql: Print the correct aliases for DML target tables in ruleutils.

2023-02-17 Thread Tom Lane
Print the correct aliases for DML target tables in ruleutils. ruleutils.c blindly printed the user-given alias (or nothing if there hadn't been one) for the target table of INSERT/UPDATE/DELETE queries. That works a large percentage of the time, but not always: for queries appearing in WITH, it's

pgsql: Print the correct aliases for DML target tables in ruleutils.

2023-02-17 Thread Tom Lane
Print the correct aliases for DML target tables in ruleutils. ruleutils.c blindly printed the user-given alias (or nothing if there hadn't been one) for the target table of INSERT/UPDATE/DELETE queries. That works a large percentage of the time, but not always: for queries appearing in WITH, it's

pgsql: Print the correct aliases for DML target tables in ruleutils.

2023-02-17 Thread Tom Lane
Print the correct aliases for DML target tables in ruleutils. ruleutils.c blindly printed the user-given alias (or nothing if there hadn't been one) for the target table of INSERT/UPDATE/DELETE queries. That works a large percentage of the time, but not always: for queries appearing in WITH, it's

pgsql: Print the correct aliases for DML target tables in ruleutils.

2023-02-17 Thread Tom Lane
Print the correct aliases for DML target tables in ruleutils. ruleutils.c blindly printed the user-given alias (or nothing if there hadn't been one) for the target table of INSERT/UPDATE/DELETE queries. That works a large percentage of the time, but not always: for queries appearing in WITH, it's

pgsql: Print the correct aliases for DML target tables in ruleutils.

2023-02-17 Thread Tom Lane
Print the correct aliases for DML target tables in ruleutils. ruleutils.c blindly printed the user-given alias (or nothing if there hadn't been one) for the target table of INSERT/UPDATE/DELETE queries. That works a large percentage of the time, but not always: for queries appearing in WITH, it's

pgsql: Print the correct aliases for DML target tables in ruleutils.

2023-02-17 Thread Tom Lane
Print the correct aliases for DML target tables in ruleutils. ruleutils.c blindly printed the user-given alias (or nothing if there hadn't been one) for the target table of INSERT/UPDATE/DELETE queries. That works a large percentage of the time, but not always: for queries appearing in WITH, it's

pgsql: Fix incorrect format placeholder

2023-02-17 Thread Peter Eisentraut
Fix incorrect format placeholder Branch -- master Details --- https://git.postgresql.org/pg/commitdiff/881a91781f49b6116ee6ce49b5bcc03da7200423 Modified Files -- src/test/modules/test_slru/test_slru.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)