summaryrefslogtreecommitdiff
path: root/ext/pgsql/php_pgsql.h
diff options
context:
space:
mode:
authorYasuo Ohgaki <yohgaki@php.net>2002-04-06 06:42:02 +0000
committerYasuo Ohgaki <yohgaki@php.net>2002-04-06 06:42:02 +0000
commit179a52b025afd4def3a117c1a3af28e2d6f07b61 (patch)
treee0aab63a76a29c30070da8055a82c3cec3a64108 /ext/pgsql/php_pgsql.h
parentb2fce9e8936fe4b15feefaf4ce121373b0f42b9d (diff)
downloadphp-git-179a52b025afd4def3a117c1a3af28e2d6f07b61.tar.gz
Chages for new pg_last_notice()
Diffstat (limited to 'ext/pgsql/php_pgsql.h')
-rw-r--r--ext/pgsql/php_pgsql.h10
1 files changed, 7 insertions, 3 deletions
diff --git a/ext/pgsql/php_pgsql.h b/ext/pgsql/php_pgsql.h
index 85573d8ad8..42313390ca 100644
--- a/ext/pgsql/php_pgsql.h
+++ b/ext/pgsql/php_pgsql.h
@@ -141,6 +141,11 @@ typedef struct _php_pgsql_result_handle {
int row;
} pgsql_result_handle;
+typedef struct _php_pgsql_notice {
+ char *message;
+ size_t len;
+} php_pgsql_notice;
+
typedef struct {
long default_link;
long num_links,num_persistent;
@@ -148,9 +153,8 @@ typedef struct {
long allow_persistent;
long auto_reset_persistent;
int le_lofp,le_string;
- int ignore_notices;
- char *last_notice;
- uint last_notice_len;
+ int ignore_notices,log_notices;
+ HashTable notices;
} php_pgsql_globals;