I'm trying to write a C-language function to be compiled into a
shared module to be loaded by Postgres. In it, I have the OID of a function
and I need to get information from the pg_proc table.
So far, I have:
HeapTuple procTuple;
> Form_pg_proc procStruct;
> procTuple = SearchSysCache1(PROCOID
Good day-
I'll start by admitting that I am a typical American who only speaks
one language.
I maintain the PL./Haskell extension (
https://github.com/ed-o-saurus/PLHaskell). I recently received a bug report
from a user who is unable to load the extension when they have set lc_messages
to s
r 21, 2024 at 8:49 AM Robert Haas wrote:
> On Thu, Mar 21, 2024 at 7:49 AM Ed Behn wrote:
> > I'll start by admitting that I am a typical American who only speaks
> one language.
> > I maintain the PL./Haskell extension (
> https://github.com/ed-o-saurus/PLHaskell).
I'm developing a module that implements Haskell as a procedural language (
https://www.postgresql.org/about/news/plhaskell-v10-released-2519/)
I'm using a callback function that is called when a memory context is
deleted to remove a temporary file. This works fine when the transaction
ends normall
I'm the maintainer of the PL/Haskell language extension. (
https://github.com/ed-o-saurus/PLHaskell/)
I want to be able to have a function received and/or return numeric data.
However, I'm having trouble getting data from Datums and building Datums to
return. numeric.h does not contain the macros
Sorry for taking so long to respond. I was at my day-job.
As I mentioned, I am the maintainer of the PL/Haskell language extension.
This extension allows users to write code in the Haskell language. In order
to use numeric types, I will need to create a Haskell type equivalent.
Something like
dat
Good afternoon-
Was there a resolution of this? I'm wondering if it is worth it for me
to submit a PR for the next commitfest.
-Ed
On Mon, Sep 9, 2024 at 8:40 PM Ed Behn wrote:
> Sorry for taking so long to respond. I was at my day-job.
>
> As I menti
I'm tinkering with the idea of creating a Procedural Language plugin for
Haskell. As such I'm reading up on the SPI and prepared statements. The
idea is that a statement will be prepared at compile time and executed at
run-time. Therefore, I want to be able to determine the columns (names and
types
aas wrote:
> On Sat, Sep 14, 2024 at 2:10 PM Ed Behn wrote:
> > Was there a resolution of this? I'm wondering if it is worth it for
> me to submit a PR for the next commitfest.
>
> Well, it seems like what you want is different than what I want, and
> what Tom wants is
is the more natural approach.
What do you think?
-Ed
On Sat, Mar 1, 2025 at 3:32 PM Ed Behn wrote:
> Tom-
> I think that I can allay your concerns. Please give me a day or so to
> put together my more complete thoughts on the matter. I'
Upon further review, I've updated the patch. This avoids possible name
conflicts with other functions. See attached.
On Sat, Feb 8, 2025 at 3:24 PM Ed Behn wrote:
> I've created a patch (attached) to implement the changes discussed below.
>
> This change moves the definitio
Tom-
I think that I can allay your concerns. Please give me a day or so to
put together my more complete thoughts on the matter. I'll be in touch.
-Ed
On Sat, Mar 1, 2025 at 11:33 AM Tom Lane wrote:
> Ed Behn writes:
> >> There is actually no new code. Cod
12 matches
Mail list logo