Bug 251055 - [PATCH] databases/postgresql13-server: pg_hba_file_rules NULL address and netmask on FreeBSD 11.x
Summary: [PATCH] databases/postgresql13-server: pg_hba_file_rules NULL address and net...
Status: Closed Overcome By Events
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: pgsql
URL:
Keywords: patch
Depends on:
Blocks:
 
Reported: 2020-11-11 16:42 UTC by Vinícius Zavam
Modified: 2020-12-19 18:34 UTC (History)
2 users (show)

See Also:
bugzilla: maintainer-feedback? (pgsql)


Attachments
fix-bogus-addrlen-in-hba-view.patch (3.10 KB, patch)
2020-11-11 16:42 UTC, Vinícius Zavam
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Vinícius Zavam freebsd_committer freebsd_triage 2020-11-11 16:42:55 UTC
Created attachment 219564 [details]
fix-bogus-addrlen-in-hba-view.patch

based on a discussion/thread on PostgreSQL's community workspace on Slack (https://postgresteam.slack.com/archives/C0FS3UTAP/p1603440839348800), we were able to identify and come with a patch which solves this issue.

  >> pg_hba_file_rules reports NULL address and netmask values incorrectly on
  >> FreeBSD 11 for tested postgres versions 10-13 (at least).

please follow the official pgsql report on https://www.postgresql.org/message-id/flat/16695-a665558e2f630be7%40postgresql.org

Reported by: Peter Vandivier <petervandivier % gmail.com>
Patched by: Tom Lane <tgl % sss.pgh.pa.us>
Comment 1 Andrew "RhodiumToad" Gierth 2020-11-11 16:49:14 UTC
This looks like it's already fixed in the upcoming (tomorrow) point releases? So no point in adding a patch for it.
Comment 2 Vinícius Zavam freebsd_committer freebsd_triage 2020-12-19 18:34:13 UTC
thanks! I am just going to close this one. appreciated :)