[Bug 241116] net/asterisk16: fix cdr_pgsql for PostgreSQL 12

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view

[Bug 241116] net/asterisk16: fix cdr_pgsql for PostgreSQL 12


            Bug ID: 241116
           Summary: net/asterisk16: fix cdr_pgsql for PostgreSQL 12
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
               URL: https://issues.asterisk.org/jira/browse/ASTERISK-28571
                OS: Any
            Status: New
          Keywords: easy, patch, patch-ready
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: [hidden email]
          Reporter: [hidden email]
          Assignee: [hidden email]
             Flags: maintainer-feedback?([hidden email])

Created attachment 208153
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=208153&action=edit
fix cdr_pgsql to work with all modern PostgreSQL versions (>8.0)

The SQL statement for discovering the cdr table tries to access a column which
has been obsolteted for a long time and was removed in PostgreSQL 12 (see
upstream bug for full discussion).

Attached patch (to be dropped in files/) makes sure cdr_pgsql works with all
supported (and much more) versions of PostgreSQL. It should work with
net/asterisk13 as well (I'm not filing another, redundant PR for that).

You are receiving this mail because:
You are the assignee for the bug.
[hidden email] mailing list
To unsubscribe, send any mail to "[hidden email]"