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

From: Martijn van Oosterhout <kleptog(at)svana(dot)org>
To: "Victor B(dot) Wagner" <vitus(at)cryptocom(dot)ru>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: SSL certificate info on SQL level and HSM support for libpq
Date: 2006-05-22 07:05:26
Message-ID: 20060522070526.GB24404@svana.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(at)svana(dot)org> http://svana.org/kleptog/
> From each according to his ability. To each according to his ability to litigate.

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Albe Laurenz 2006-05-22 08:23:28 Re: group by points
Previous Message Victor B. Wagner 2006-05-22 06:55:59 Re: SSL certificate info on SQL level and HSM support for libpq