diff options
author | Peter Eisentraut <peter@eisentraut.org> | 2022-03-31 19:57:21 +0200 |
---|---|---|
committer | Peter Eisentraut <peter@eisentraut.org> | 2022-03-31 19:59:29 +0200 |
commit | 8910a25fef3dc4aa7e10cfcebdc784650a4d256b (patch) | |
tree | 914209f571ed4677914a53034f014b7a481f5e4d /contrib/postgres_fdw/postgres_fdw.c | |
parent | 878e64d0f8f6865943046ce88e597a5657e304c2 (diff) | |
download | postgresql-8910a25fef3dc4aa7e10cfcebdc784650a4d256b.tar.gz postgresql-8910a25fef3dc4aa7e10cfcebdc784650a4d256b.zip |
psql: Refactor SendQuery()
This breaks out the fetch-it-all-and-print case in SendQuery() into a
separate function. This makes the code more similar to the other
cases \gdesc and run query with FETCH_COUNT, and makes SendQuery()
itself a bit smaller.
Extracted from a larger patch with more changes in this area to
follow.
Author: Fabien COELHO <coelho@cri.ensmp.fr>
Discussion: https://www.postgresql.org/message-id/flat/alpine.DEB.2.21.1904132231510.8961@lancre
Diffstat (limited to 'contrib/postgres_fdw/postgres_fdw.c')
0 files changed, 0 insertions, 0 deletions