Re: An self-contained example "expanded" C data type - Mailing list pgsql-general

From Pavel Stehule
Subject Re: An self-contained example "expanded" C data type
Date
Msg-id CAFj8pRDnAnsm8pMosEys-TDRZpnCx1KaxePjV8HT6A1JPQtsCw@mail.gmail.com
Whole thread Raw
In response to An self-contained example "expanded" C data type  (Michel Pelletier <pelletier.michel@gmail.com>)
List pgsql-general
Hi

pá 5. 11. 2021 v 4:47 odesílatel Michel Pelletier <pelletier.michel@gmail.com> napsal:
The docs for expanded data types are good, but for a working example you have to go trolling through the array data type source code, which is enlightening but a pretty heavy lift for me especially if I have to come back to it after some time.

So I decided to distill what I could glean from the source into a simple, self-contained, completely useless extension called pgexpanded:

I think so this can be part of contrib

Regards

Pavel



I'd like to ask 1) does this seem like a useful project to other people?  If there is interest in me taking it further I'll expand it with some more documentation and pgtap tests.  and if you think "yes" to 1, then 2) would those who know a lot more on this subject than I do would like to review the code? I'll put on my finest asbestos. 

Thanks,

-Michel

pgsql-general by date:

Previous
From: Michel Pelletier
Date:
Subject: An self-contained example "expanded" C data type
Next
From: Boboc Cristi
Date:
Subject: Debugging features needed