pgsql: Add parse_analyze_withcb()

From: Peter Eisentraut <peter(at)eisentraut(dot)org>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Add parse_analyze_withcb()
Date: 2022-03-09 10:25:34
Message-ID: E1nRtVe-001c3c-7y@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

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(at)amazon(dot)com>
Discussion: https://www.postgresql.org/message-id/flat/c67ce276-52b4-0239-dc0e-39875bf81840(at)enterprisedb(dot)com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/df4c3cbd8f4f619785c735669150e3a1df9cf7ca

Modified Files
--------------
src/backend/parser/analyze.c | 38 ++++++++++++++++++++++++++++++++++++++
src/backend/tcop/postgres.c | 22 ++--------------------
src/include/parser/analyze.h | 5 +++++
3 files changed, 45 insertions(+), 20 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Peter Eisentraut 2022-03-09 11:13:43 pgsql: Fix double declaration for check_ok() in pg_upgrade.h
Previous Message Peter Eisentraut 2022-03-09 10:04:13 pgsql: pycodestyle (PEP 8) cleanup in Python scripts