summaryrefslogtreecommitdiff
path: root/ext/pgsql
diff options
context:
space:
mode:
authorFelipe Pena <felipe@php.net>2008-09-08 01:33:08 +0000
committerFelipe Pena <felipe@php.net>2008-09-08 01:33:08 +0000
commit0c745885cac30bb206b2a5e0593a7f4c747ed1ba (patch)
tree5299849771ea51142146d11610da0b791c85d736 /ext/pgsql
parent7b59a46711daa981d3c88bab8d2a628098fc06b1 (diff)
downloadphp-git-0c745885cac30bb206b2a5e0593a7f4c747ed1ba.tar.gz
- Fixed some wrong format parameters
Diffstat (limited to 'ext/pgsql')
-rw-r--r--ext/pgsql/pgsql.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/pgsql/pgsql.c b/ext/pgsql/pgsql.c
index 8e762c3394..2a09f2953e 100644
--- a/ext/pgsql/pgsql.c
+++ b/ext/pgsql/pgsql.c
@@ -2223,7 +2223,7 @@ PHP_FUNCTION(pg_field_table)
char *table_name;
zend_rsrc_list_entry *field_table;
- if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "rl|b!", &result, &fnum, &return_oid) == FAILURE) {
+ if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "rl|b", &result, &fnum, &return_oid) == FAILURE) {
return;
}
@@ -3951,7 +3951,7 @@ PHP_FUNCTION(pg_copy_from)
ExecStatusType status;
int argc = ZEND_NUM_ARGS();
- if (zend_parse_parameters(argc TSRMLS_CC, "rs/a|ss",
+ if (zend_parse_parameters(argc TSRMLS_CC, "rsa|ss",
&pgsql_link, &table_name, &table_name_len, &pg_rows,
&pg_delim, &pg_delim_len, &pg_null_as, &pg_null_as_len) == FAILURE) {
return;