diff --git a/lib/modules/Sql.pmod/postgres.pike b/lib/modules/Sql.pmod/postgres.pike index 5467d87091d36b1496859adfd2f5a3109972dfed..6d90e6b7a9e4ef67de14ba8aa528f3c0d84fbdf2 100644 --- a/lib/modules/Sql.pmod/postgres.pike +++ b/lib/modules/Sql.pmod/postgres.pike @@ -1,10 +1,14 @@ /* * This is part of the Postgres module for Pike. * - * $Id: postgres.pike,v 1.35 2008/08/01 11:11:17 srb Exp $ + * $Id: postgres.pike,v 1.36 2008/08/01 12:09:38 srb Exp $ * */ +#pike __REAL_VERSION__ + +#if constant(Postgres.postgres) + //! This is an interface to the Postgres (Postgres95, pgsql) database //! server. This module may or may not be available on your Pike, //! depending whether the appropriate include and library files could @@ -52,10 +56,6 @@ //! @seealso //! @[Sql.pgsql], @[Sql.Sql], @[Postgres.postgres], @[Sql.postgres_result] -#pike __REAL_VERSION__ - -#if constant(Postgres.postgres) - #define ERROR(X) throw (({X,backtrace()})) inherit Postgres.postgres: mo; @@ -458,6 +458,5 @@ int|object streaming_query(object|string q, //! //! @seealso //! @[Sql.pgsql], @[Sql.Sql] - inherit Sql.pgsql; #endif /* constant(Postgres.postgres) */