Re: [ANNC][RFC] crypto hashes for PostgreSQL 7.0, 7.1 - Mailing list pgsql-hackers

From Peter Eisentraut
Subject Re: [ANNC][RFC] crypto hashes for PostgreSQL 7.0, 7.1
Date
Msg-id Pine.LNX.4.21.0010192049210.777-100000@peter.localdomain
Whole thread Raw
In response to [ANNC][RFC] crypto hashes for PostgreSQL 7.0, 7.1  (Marko Kreen <marko@l-t.ee>)
Responses Re: [ANNC][RFC] crypto hashes for PostgreSQL 7.0, 7.1  (Marko Kreen <marko@l-t.ee>)
List pgsql-hackers
Marko Kreen writes:

> Here is a implementation of crypto hashes for PostgreSQL.

> It is packaged at the moment as stand-alone package, because
> I am trying to write general autoconf macros for use with outside
> packages.  At the moment any package author must generate those
> himself.  Also the contrib stuff should be possible to make use
> of this instead of include ../../Makefile.* so they can enjoy
> the same (dis)advantages as outside packages.

A coupla comments:

* Your code seems to be quite optimistic about being on a Linux system.

* Use AC_DEFUN, not `define', to create Autoconf macros.

* From PostgreSQL 7.1-to-be on you can detect the location of the include
and library files with `pg_config --includedir` and `pg_config --libdir`
respectively.

(I've been thinking about writing a general-purpose PostgreSQL detection
macro for use by third-party products to be included in the PostgreSQL
source.)

-- 
Peter Eisentraut      peter_e@gmx.net       http://yi.org/peter-e/



pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: SetQuerySnapshot() for utility statements
Next
From: "Vadim Mikheev"
Date:
Subject: Re: time stops within transaction