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

Peripheral Links

Header And Logo

PostgreSQL
| The world's most advanced open source database.

Site Navigation

Search archives
  Advanced Search

PQParam version 0.5


  • From: Andrew Chernow <ac(at)esilo(dot)com>
  • To: pgsql-patches(at)postgresql(dot)org
  • Cc: Merlin Moncure <mmoncure(at)gmail(dot)com>
  • Subject: PQParam version 0.5
  • Date: Wed, 05 Dec 2007 14:32:36 -0500
  • Message-id: <4756FCD4.3020501@esilo.com> <text/plain>

Here is the lastest pgparam patch. It is patched against a fresh checkout on 2007-12-05.

This release adds support for printf-style param puts/execs. Instead of having to do a PQputX for each param, you can use a format string and put multiple params. PQputf(), PQparamExecf() and PQparamSendf() support this. See release notes and conversion specifiers for details.

Also changed PQputint8's prototype. Previously, it was using a void* as the value argument, due to a lack of a portable 64-bit type in libpq. We found an intersting way around this by using macro and variable argument tricks.

Andrew & Merlin

Attachment: pgparam-0.5-patch.tgz
Description: application/compressed



Home | Main Index | Thread Index

Privacy Policy | PostgreSQL Archives hosted by Command Prompt, Inc. | Designed by tinysofa
Copyright © 1996 – 2008 PostgreSQL Global Development Group