Add parse_analyze_withcb()

Peter Eisentraut <peter@eisentraut.org>

Commit: df4c3cbd8f4f619785c735669150e3a1df9cf7ca
Author: Peter Eisentraut <peter@eisentraut.org>
Date: 2022-03-09T10:08:16Z
Releases: 15.0
Add parse_analyze_withcb()

This extracts code from pg_analyze_and_rewrite_withcb() into a
separate function that mirrors the existing
parse_analyze_fixedparams() and parse_analyze_varparams().

Reviewed-by: Nathan Bossart <bossartn@amazon.com>
Discussion: https://www.postgresql.org/message-id/flat/c67ce276-52b4-0239-dc0e-39875bf81840@enterprisedb.com

Files

PathChange+/−
src/backend/parser/analyze.c modified +38 −0
src/backend/tcop/postgres.c modified +2 −20
src/include/parser/analyze.h modified +5 −0

Discussion