[asterisk-bugs] [Asterisk 0015963]: [patch] SQLColumns Error When Using Postgresql Schema

Asterisk Bug Tracker noreply at bugs.digium.com
Fri Sep 25 10:12:52 CDT 2009


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=15963 
====================================================================== 
Reported By:                hindmasj
Assigned To:                tilghman
====================================================================== 
Project:                    Asterisk
Issue ID:                   15963
Category:                   Resources/res_odbc
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     ready for testing
Asterisk Version:           1.6.1.6 
JIRA:                        
Regression:                 No 
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Request Review:              
====================================================================== 
Date Submitted:             2009-09-25 04:35 CDT
Last Modified:              2009-09-25 10:12 CDT
====================================================================== 
Summary:                    [patch] SQLColumns Error When Using Postgresql
Schema
Description: 
The call to SQLColumns in function ast_odbc_find_table in res_odbc.c does
not properly use the catalog and schema fields and so database tables that
use these are not properly described by the function.

This was tested using Asterisk 1.6.1.6 on Fedora Core 10. Database
packages used were

postgresql-8.3.8-1.fc10.x86_64
postgresql-odbc-08.03.0200-1.fc10.x86_64
unixODBC-2.2.12-9.fc10.x86_64

Test was repeated on a server running OEL 5 with 

postgresql-8.1.11-1.el5_1.1
postgresql-odbc-08.01.0200-3.1
unixODBC-2.2.11-7.1

====================================================================== 

---------------------------------------------------------------------- 
 (0111372) tilghman (administrator) - 2009-09-25 10:12
 https://issues.asterisk.org/view.php?id=15963#c111372 
---------------------------------------------------------------------- 
Separate patch for 1.6.1 (original patch is for trunk) because of some
minor differences in the includes. 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-09-25 10:12 tilghman       Note Added: 0111372                          
======================================================================




More information about the asterisk-bugs mailing list