https://bz.apache.org/SpamAssassin/show_bug.cgi?id=7218

Giovanni Bechis <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]

--- Comment #11 from Giovanni Bechis <[email protected]> ---
(In reply to Daniel J. Luke from comment #8)
> (In reply to Kevin A. McGrail from comment #7)
> > Can you provide a patch that handles that different behavior?  Or is there a
> > more unified code that works for both?
> 
> I can try to set aside some time to do that - but as I noted back in 2016 -
> I didn't see an obvious way to modify SQLBasedAddrList for a particular DB
> (I'm not sure if there's an existing way I should flag on or if this needs
> some refactoring to be more flexible).

With DBI>=1.43 (released in 2003) you can go this way:
my ($scheme, $driver, $attr_string, $attr_hash, $driver_dsn)
 = DBI->parse_dsn($dsn);

if($driver eq "pg") {
 # do stuff
}

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to