Thread: pgsql: Offer pnstrdup to frontend code
Offer pnstrdup to frontend code We already had it on the backend. Frontend can also use it now. Discussion: https://postgr.es/m/20191204144021.GA17976@alvherre.pgsql Branch ------ master Details ------- https://git.postgresql.org/pg/commitdiff/0b9466fce2cf4f8c32b3a9170ca272829aa11e66 Modified Files -------------- src/bin/pg_waldump/pg_waldump.c | 3 +-- src/bin/psql/prompt.c | 16 +++++----------- src/bin/scripts/common.c | 3 +-- src/common/fe_memutils.c | 27 +++++++++++++++++++++++++++ src/include/common/fe_memutils.h | 1 + src/interfaces/ecpg/compatlib/informix.c | 21 +-------------------- 6 files changed, 36 insertions(+), 35 deletions(-)
On 2019-Dec-04, Alvaro Herrera wrote: > Offer pnstrdup to frontend code > > We already had it on the backend. Frontend can also use it now. Hmm, this broke ecpg on Windows. Looking ... -- Álvaro Herrera https://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services