pg.ddx.io  pgsql-hackers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Chapman Flack <jcflack@acm.org>
To: David E. Wheeler <david@justatheory.com>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Euler Taveira <euler@eulerto.com>
Cc: Andres Freund <andres@anarazel.de>
Cc: Andrei Lepikhov <lepihov@gmail.com>
Cc: pgsql-hackers <pgsql-hackers@postgresql.org>
Subject: Re: Add Postgres module info
Date: Mon, 23 Dec 2024 22:48:26 -0500
Message-ID: <676A2F0A.20904@acm.org> (raw)
In-Reply-To: <57526A36-8E10-4273-AC3A-9942850B0EE1@justatheory.com>
References: <dd4d1b59-d0fe-49d5-b28f-1e463b68fa32@gmail.com>
	<506788.1733941263@sss.pgh.pa.us>
	<2qdclwljzvw5abfvo4porr3ehox32icrbtfjaum327ruxts6qm@udexcbweewpq>
	<e0e12947-6dfb-4c3a-b6ad-5682a880cda4@app.fastmail.com>
	<51416962-9118-41D7-B527-F99D81CF2B57@justatheory.com>
	<1480074.1734985067@sss.pgh.pa.us>
	<57526A36-8E10-4273-AC3A-9942850B0EE1@justatheory.com>

On 12/23/24 17:26, David E. Wheeler wrote:
> On Dec 23, 2024, at 15:17, Tom Lane <tgl@sss.pgh.pa.us> wrote:
>> How would that work for extensions where the C code is intentionally
>> supporting multiple versions of the SQL objects?
> 
> I guess some people do that, eh? In that case it wouldn’t.

A function pointer rather than a version constant?

Or a function pointer, to be used if the version constant is null?

Regards,
-Chap





view thread (52+ messages)  latest in thread

Message-ID: <676A2F0A.20904@acm.org>
Permalink:  ../676A2F0A.20904@acm.org/
Also on:    postgresql.org/message-id/676A2F0A.20904@acm.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-hackers@postgresql.org
  Cc: jcflack@acm.org, david@justatheory.com, tgl@sss.pgh.pa.us, euler@eulerto.com, andres@anarazel.de, lepihov@gmail.com
  Subject: Re: Add Postgres module info
  In-Reply-To: <676A2F0A.20904@acm.org>
  References: <dd4d1b59-d0fe-49d5-b28f-1e463b68fa32@gmail.com> <506788.1733941263@sss.pgh.pa.us> <2qdclwljzvw5abfvo4porr3ehox32icrbtfjaum327ruxts6qm@udexcbweewpq> <e0e12947-6dfb-4c3a-b6ad-5682a880cda4@app.fastmail.com> <51416962-9118-41D7-B527-F99D81CF2B57@justatheory.com> <1480074.1734985067@sss.pgh.pa.us> <57526A36-8E10-4273-AC3A-9942850B0EE1@justatheory.com> <676A2F0A.20904@acm.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox