/* ----------
 * config.h.in
 *
 *	Autoconf input file for config.h
 *
 *	Copyright (c) 2003-2010, PostgreSQL Global Development Group
 *	Author: Jan Wieck, Afilias USA INC.
 *
 *
 * ----------
 */
#ifndef	SLONY_I_CONFIG_H
#define SLONY_I_CONFIG_H

#define SLONY_I_VERSION_STRING	"2.2.10"
#define SLONY_I_VERSION_STRING_DEC 2,2.10,
#define SLONY_I_FUNC_VERSION_STRING 2_2_10_

#ifndef PG_VERSION_MAJOR
#define PG_VERSION_MAJOR 0
#endif
#ifndef PG_VERSION_MINOR
#define PG_VERSION_MINOR 2
#endif

#undef PGSHARE

/* Set to 1 if libpq contains PQfreemem() */
#undef HAVE_PQFREEMEM
#ifndef HAVE_PQFREEMEM
#  define PQfreemem(_ptr) free(_ptr)
#endif

/* Set to 1 if libpq contains PQputCopyData(), PQendCopyData()
 * and PQgetCopyData() - i.e. libpq >= 7.4 */
#undef HAVE_PQPUTCOPYDATA

/* Set to 1 if libpq contains PQsetNoticeReceiver(), use
 * PQsetNoticeProcessor() instead. */
#undef HAVE_PQSETNOTICERECEIVER

/* Set to 1 if server/utils/typcache.h exists */
#undef HAVE_TYPCACHE

/* Set to 1 if typenameTypeId() takes 1 args */
#undef HAVE_TYPENAMETYPEID_1

/* Set to 1 if typenameTypeId() takes 2 args */
#undef HAVE_TYPENAMETYPEID_2

/* Set to 1 if typenameTypeId() takes 3 args */
#undef HAVE_TYPENAMETYPEID_3

/* Set to 1 if standard_conforming_strings available */
#undef HAVE_STANDARDCONFORMINGSTRINGS

/* For PostgreSQL 8.0 and up we need to use GetTopTransactionId() */
#undef HAVE_DECL_GETTOPTRANSACTIONID
#if !HAVE_DECL_GETTOPTRANSACTIONID
#define GetTopTransactionId() GetCurrentTransactionId()
#endif

/* For PostgreSQL 8.4 and up we need to use GetActiveSnapshot() */
#undef HAVE_GETACTIVESNAPSHOT

/* Set to 1 if we have POSIX signals */
/**#undef HAVE_POSIX_SIGNALS**/

/* Set to 1 if we have PGPORT */
#undef HAVE_PGPORT


#undef SETCONFIGOPTION_6
#undef SETCONFIGOPTION_7
#undef SETCONFIGOPTION_8

#undef GETCONFIGOPTIONBYNAME_2
#undef GETCONFIGOPTIONBYNAME_3

#undef HAS_LOOKUPEXPLICITNAMESPACE_2

#endif /* SLONY_I_CONFIG_H */
