diff options
author | Wez Furlong <wez@php.net> | 2005-07-08 15:27:34 +0000 |
---|---|---|
committer | Wez Furlong <wez@php.net> | 2005-07-08 15:27:34 +0000 |
commit | 529d8177fea4e759332d96ab5714273f4c006158 (patch) | |
tree | b48c31b54a3d8932a03b1cbcb220579351a61a5f /ext/pdo_pgsql/php_pdo_pgsql_int.h | |
parent | 8f31f0cfaae6f944fb4d0823d2d71d830f139973 (diff) | |
download | php-git-529d8177fea4e759332d96ab5714273f4c006158.tar.gz |
Add early support for native prepared statements in pgsql.
Note that some tests now fail; if we can't resolve this in time for the beta,
the prepare code should be disabled (I'll add a flag for this later today).
Diffstat (limited to 'ext/pdo_pgsql/php_pdo_pgsql_int.h')
-rw-r--r-- | ext/pdo_pgsql/php_pdo_pgsql_int.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/ext/pdo_pgsql/php_pdo_pgsql_int.h b/ext/pdo_pgsql/php_pdo_pgsql_int.h index 565638f705..43633f4f63 100644 --- a/ext/pdo_pgsql/php_pdo_pgsql_int.h +++ b/ext/pdo_pgsql/php_pdo_pgsql_int.h @@ -2,7 +2,7 @@ +----------------------------------------------------------------------+ | PHP Version 5 | +----------------------------------------------------------------------+ - | Copyright (c) 1997-2004 The PHP Group | + | Copyright (c) 1997-2005 The PHP Group | +----------------------------------------------------------------------+ | This source file is subject to version 3.0 of the PHP license, | | that is bundled with this package in the file LICENSE, and is | @@ -55,6 +55,12 @@ typedef struct { int current_row; pdo_pgsql_column *cols; char *cursor_name; +#if HAVE_PQPREPARE + char *stmt_name; + char **param_values; + int *param_lengths; + int *param_formats; +#endif } pdo_pgsql_stmt; typedef struct { |