[Dbix-class] [Patch] ::Versioned doesn't use sql_maker options

Tom Lanyon tom at netspot.com.au
Mon May 21 04:20:12 GMT 2007


Hi Jess,

DBIC::Schema::Versioned doesn't pass the SQL Maker options to - 
 >connect (because Storage::DBI drops them from its connect_info). It  
needs to be in there, especially when you're using table and column  
names with upper-case chars as PostgreSQL barfs when  
using ::Versioned currently.

I've attached a patch; with this applied I can use ::Versioned on  
Postgres as long as I pass the quote_char and name_sep SQL Maker  
options.

Regards,
Tom (dec)

--
Tom Lanyon
Systems Administrator
NetSpot Pty Ltd

-------------- next part --------------
A non-text attachment was scrubbed...
Name: versioned_sqlmaker_opts.patch
Type: application/octet-stream
Size: 499 bytes
Desc: not available
Url : http://lists.scsys.co.uk/pipermail/dbix-class/attachments/20070521/eefcc068/versioned_sqlmaker_opts.obj
-------------- next part --------------



More information about the Dbix-class mailing list