BUG #16695: pg_hba_file_rules NULL address and netmask

From: PG Bug reporting form <noreply(at)postgresql(dot)org>
To: pgsql-bugs(at)lists(dot)postgresql(dot)org
Cc: petervandivier(at)gmail(dot)com
Subject: BUG #16695: pg_hba_file_rules NULL address and netmask
Date: 2020-11-02 21:01:00
Message-ID: 16695-a665558e2f630be7@postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

The following bug has been logged on the website:

Bug reference: 16695
Logged by: Peter Vandivier
Email address: petervandivier(at)gmail(dot)com
PostgreSQL version: 13.0
Operating system: FreeBSD 11
Description:

Greetings,

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

```
sudo su
pkg update -f
pkg install postgresql10-server postgresql10-client
sysrc postgresql_enable=yes
service postgresql initdb
service postgresql start
psql -U postgres -c 'select * from pg_hba_file_rules'
sudo -u postgres cat $(psql -Xtc 'show hba_file') | tail -13
```

All postgres versions appear to report correct values for pg_hba_file_rules
on FreeBSD 12

Cheers,

Peter V

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Dmitry Marakasov 2020-11-02 21:45:09 Re: BUG #16696: Backend crash in llvmjit
Previous Message Pavel Borisov 2020-11-02 16:55:14 Re: BUG #16329: Valgrind detects an invalid read when building a gist index with buffering