Skip site navigation (1) Skip section navigation (2)

Patch for Postgres (against postfix-19990906-pl05) (fwd)

From: "Marc G(dot) Fournier" <marc(dot)fournier(at)acadiau(dot)ca>
To: pgsql-announce(at)postgresql(dot)org
Cc: jeff(at)pgsql(dot)com
Subject: Patch for Postgres (against postfix-19990906-pl05) (fwd)
Date: 1999-10-07 12:17:37
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-announce

Marc G. Fournier                                 marc(dot)fournier(at)acadiau(dot)ca
Senior Systems Administrator                            Acadia University

  "These are my opinions, which are not necessarily shared by my employer"

---------- Forwarded message ----------
Date: Thu, 07 Oct 1999 22:12:03 +1000
From: Greg Wickham <gjw(at)deakin(dot)edu(dot)au>
To: postfix-testers(at)postfix(dot)org
Subject: Patch for Postgres (against postfix-19990906-pl05)


I submit for approval and acceptance the following patch
for postfix-19990906-pl05 to use postgres for map lookups.

Not sure if this is the correct mailing list for this submission.
Hopefully will be ok.

Patch is available from:

Comments appreciated. I based this patch on the mysql patch
which was in pl02. This patch uses a different connection
algorithm in that a connection to a database isn't made until
the first lookup. Also, only a single connnection is ever
maintained. If the connection goes bad then the next database
is tried. If all databases return errors then the query returns
an error.

I have had a minor (understatement?) problem with 'myrealloc'.
And had to code around using this function. Not sure what the
heck is going on because there is only about a dozen or so 
lines of code before the problem arose.

I've tested this patch and I've had good success with it.
Although stress testing at high load would be desireable.




pgsql-announce by date

Next:From: D'Arcy J.M. CainDate: 1999-10-09 12:32:42
Subject: [PyGreSQL] Announce: PyGreSQL 2.4 released
Previous:From: Amarjit RahiDate: 1999-10-06 18:39:01
Subject: unsubscribe

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group