Re: SSL certificate info on SQL level and HSM support for libpq - Mailing list pgsql-hackers

From Martijn van Oosterhout
Subject Re: SSL certificate info on SQL level and HSM support for libpq
Date
Msg-id 20060522070526.GB24404@svana.org
Whole thread Raw
In response to Re: SSL certificate info on SQL level and HSM support for libpq  ("Victor B. Wagner" <vitus@cryptocom.ru>)
Responses Re: SSL certificate info on SQL level and HSM support for libpq  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
On Mon, May 22, 2006 at 10:55:59AM +0400, Victor B. Wagner wrote:
> 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?

Diffs are better, unless it really is a lot of code.

> > 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.

Every type has conversion functions for cstring-to-type and
type-to-cstring, which used when parsing queries. You can use these
functions in normal code also. timestamp_in/out, data_in/out, etc...

> 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...

Hmm, documentation patches welcome...

Have a nice day,
--
Martijn van Oosterhout   <kleptog@svana.org>   http://svana.org/kleptog/
> From each according to his ability. To each according to his ability to litigate.

pgsql-hackers by date:

Previous
From: "Victor B. Wagner"
Date:
Subject: Re: SSL certificate info on SQL level and HSM support for libpq
Next
From: "Albe Laurenz"
Date:
Subject: Re: group by points