Re: SSL certificate info on SQL level and HSM support for libpq

From: "Victor B(dot) Wagner" <vitus(at)cryptocom(dot)ru>
To: pgsql-hackers(at)postgresql(dot)org
Subject: Re: SSL certificate info on SQL level and HSM support for libpq
Date: 2006-05-22 06:55:59
Message-ID: 20060522065558.GA14465@cryptocom.ru
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On 2006.05.19 at 10:02:34 +0200, Martijn van Oosterhout wrote:

> On Fri, May 19, 2006 at 10:33:52AM +0400, Victor B. Wagner wrote:
> > 1. Am I correct that these function have to be INTERNAL? Or it is
> > possible to get access to MyProcPort variable (on Windows platform too)
> > from dynamically loadable object?
>
> You should be able to have these in a contrib module, Postgres exports
> all symbols.

Thanks, it really works this way.

BTW, what should I do if I want to submit entirely new directory into
contrib - shall I make a patch against current source tree or just
archive of this directory would do?

> > 3. Almost same question about arbitrary precession integer values.
> > Where to look up C functions to convert decimal/hexadecimal/binary
> > string representing integer of 128 bits or so into Postgres NUMERIC
> > type.
>
> numeric_in converts a text string to a numeric. Don't know about 128
> bit strings though.

This works. But I was unable to look up information about this function
in the docs, and have to resort to looking for its usage in the backend
sources.

I've also unable to find useful description of DirectFunctionCallN
family of functions, which seems to be neccessary to call one 'C'
language PostgreSQL function from another.

It is clear enough from examples in the sources, but...

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Martijn van Oosterhout 2006-05-22 07:05:26 Re: SSL certificate info on SQL level and HSM support for libpq
Previous Message Martijn van Oosterhout 2006-05-22 06:54:30 Re: problem with PQsendQuery/PQgetResult and COPY FROM statement