On Mon, Nov 25, 2002 at 02:58:41PM -0800, David Wheeler wrote:
> On Sunday, November 24, 2002, at 05:30  PM, Bruce Momjian wrote:
> 
> >I think he is saying mention is as depricated in the current driver,  
> >and
> >remove it when you release your major revision of the driver.
> 
> Okay, I've made this change. Here's my commit message:
> 
> ----------------------------
> date: 2002/11/25 22:52:20;  author: theory;  state: Exp;
> Added constants for common PostgreSQL data types, plus simple tests to  
> make
> sure that they work. These are exportable via "use DBD::Pg
> qw(:pg_types);". Documented deprecatation of the undocumented (and  
> invalid)
> use of SQL_BINARY in bind_param() and documented the correct approach:
> "bind_param($num, $val { pg_type => PG_BYTEA });". Removed invalid (and
> broken) support for SQL_BINARY in quote().
> ======================================================================== 
> =====
> 
> Use of the "bind_param($num, $val, SQL_BINARY)" syntax still works,  
> however, and doesn't throw a warning. Should it?

If it doesn't work then yes (if $h->{Warn} is set, see Driver.xst for examples).

Tim.

Reply via email to