Re: use of SPI by postgresImportForeignStatistics

From: Corey Huinker <corey(dot)huinker(at)gmail(dot)com>
To: jian he <jian(dot)universality(at)gmail(dot)com>
Cc: Robert Haas <robertmhaas(at)gmail(dot)com>, Etsuro Fujita <etsuro(dot)fujita(at)gmail(dot)com>, "pgsql-hackers(at)postgresql(dot)org" <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: use of SPI by postgresImportForeignStatistics
Date: 2026-06-23 15:32:48
Message-ID: CADkLM=f_5UNSXyp4ca0uHN0785v9hjCTqAzPoM-v7aZ5Rz_8CQ@mail.gmail.com
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

>
>
> Just a quick thought: the above can be replaced by InputFunctionCallSafe?
>

Potentially, yes. The functions were originally returning the actual data
types rather than the Datum serializations. Which way those functions go
depends a lot on the data structure they end up populating, which is
currently in flux.

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Zsolt Parragi 2026-06-23 15:52:18 Re: Fix HAVING-to-WHERE pushdown with mismatched operator families
Previous Message Florents Tselai 2026-06-23 15:30:47 Re: More jsonpath methods: translate, split, join