diff options
author | mkanat%kerio.com <> | 2005-03-18 12:23:54 +0100 |
---|---|---|
committer | mkanat%kerio.com <> | 2005-03-18 12:23:54 +0100 |
commit | 026808687250a3e1c2415c1967e1a48abeba217b (patch) | |
tree | 097746c95cdaa454e980625bdfc69b6bf4a2d5bc /Bugzilla/DB | |
parent | 17844d976d7036582f7b8204bdde7ac2429b1a38 (diff) | |
download | bugzilla-026808687250a3e1c2415c1967e1a48abeba217b.tar.gz bugzilla-026808687250a3e1c2415c1967e1a48abeba217b.tar.xz |
Bug 285740: DBD::Pg must have the PG_BYTEA type specified for inserting BLOBs
Patch By Max Kanat-Alexander <mkanat@kerio.com> r=Tomas.Kopal, a=justdave
Diffstat (limited to 'Bugzilla/DB')
-rw-r--r-- | Bugzilla/DB/Pg.pm | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Bugzilla/DB/Pg.pm b/Bugzilla/DB/Pg.pm index be921f4d1..e635096f2 100644 --- a/Bugzilla/DB/Pg.pm +++ b/Bugzilla/DB/Pg.pm @@ -42,10 +42,12 @@ package Bugzilla::DB::Pg; use strict; use Bugzilla::Error; +use DBD::Pg; # This module extends the DB interface via inheritance use base qw(Bugzilla::DB); +use constant BLOB_TYPE => { pg_type => DBD::Pg::PG_BYTEA }; use constant REQUIRED_VERSION => '7.03.0000'; use constant PROGRAM_NAME => 'PostgreSQL'; use constant MODULE_NAME => 'Pg'; |