yohgaki         Sat Oct 12 23:00:49 2002 EDT

  Modified files:              
    /php4/ext/pgsql     pgsql.c php_pgsql.h 
  Log:
  Enable pg_escape_bytea().
  
  
Index: php4/ext/pgsql/pgsql.c
diff -u php4/ext/pgsql/pgsql.c:1.231 php4/ext/pgsql/pgsql.c:1.232
--- php4/ext/pgsql/pgsql.c:1.231        Wed Oct  2 22:32:09 2002
+++ php4/ext/pgsql/pgsql.c      Sat Oct 12 23:00:47 2002
@@ -19,7 +19,7 @@
    +----------------------------------------------------------------------+
  */
  
-/* $Id: pgsql.c,v 1.231 2002/10/03 02:32:09 yohgaki Exp $ */
+/* $Id: pgsql.c,v 1.232 2002/10/13 03:00:47 yohgaki Exp $ */
 
 #include <stdlib.h>
 
@@ -142,6 +142,7 @@
 #if HAVE_PQESCAPE
        PHP_FE(pg_escape_string,NULL)
        PHP_FE(pg_escape_bytea, NULL)
+       PHP_FE(pg_unescape_bytea, NULL)
 #endif
 #if HAVE_PQCLIENTENCODING
        PHP_FE(pg_client_encoding,              NULL)
Index: php4/ext/pgsql/php_pgsql.h
diff -u php4/ext/pgsql/php_pgsql.h:1.52 php4/ext/pgsql/php_pgsql.h:1.53
--- php4/ext/pgsql/php_pgsql.h:1.52     Wed Oct  2 22:32:09 2002
+++ php4/ext/pgsql/php_pgsql.h  Sat Oct 12 23:00:48 2002
@@ -17,7 +17,7 @@
    +----------------------------------------------------------------------+
  */
  
-/* $Id: php_pgsql.h,v 1.52 2002/10/03 02:32:09 yohgaki Exp $ */
+/* $Id: php_pgsql.h,v 1.53 2002/10/13 03:00:48 yohgaki Exp $ */
 
 #ifndef PHP_PGSQL_H
 #define PHP_PGSQL_H
@@ -129,6 +129,7 @@
 #if HAVE_PQESCAPE
 PHP_FUNCTION(pg_escape_string);
 PHP_FUNCTION(pg_escape_bytea);
+PHP_FUNCTION(pg_unescape_bytea);
 #endif
 
 /* misc functions */



-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to