summaryrefslogtreecommitdiffstats
path: root/Bugzilla
diff options
context:
space:
mode:
authormkanat%kerio.com <>2005-03-10 17:07:34 +0100
committermkanat%kerio.com <>2005-03-10 17:07:34 +0100
commitb5e1b3f1e725062345edcacd9657da7b8f85874d (patch)
tree5479c059ec9fe26c41b2022daf378fc429683c55 /Bugzilla
parent190493a53426b2fdc7c589ea144af6515b94b06b (diff)
downloadbugzilla-b5e1b3f1e725062345edcacd9657da7b8f85874d.tar.gz
bugzilla-b5e1b3f1e725062345edcacd9657da7b8f85874d.tar.xz
Bug 285403: LearnAboutColumns does not work on PostgreSQL
Patch By Max Kanat-Alexander <mkanat@kerio.com> r=Tomas.Kopal, a=justdave
Diffstat (limited to 'Bugzilla')
-rw-r--r--Bugzilla/DB.pm7
1 files changed, 7 insertions, 0 deletions
diff --git a/Bugzilla/DB.pm b/Bugzilla/DB.pm
index cf1e391f5..6e0903a76 100644
--- a/Bugzilla/DB.pm
+++ b/Bugzilla/DB.pm
@@ -456,6 +456,13 @@ sub bz_get_index_def ($$) {
}
}
+# XXX - Should be updated to use _bz_real_schema when we have that,
+# if we ever need it.
+sub bz_table_columns {
+ my ($self, $table) = @_;
+ return $self->_bz_schema->get_table_columns($table);
+}
+
# XXX - Needs to be made cross-db compatible
sub bz_table_exists ($) {
my ($self, $table) = @_;