BUG #16695: pg_hba_file_rules NULL address and netmask - Mailing list pgsql-bugs

From PG Bug reporting form
Subject BUG #16695: pg_hba_file_rules NULL address and netmask
Date
Msg-id 16695-a665558e2f630be7@postgresql.org
Whole thread Raw
Responses Re: BUG #16695: pg_hba_file_rules NULL address and netmask
Re: BUG #16695: pg_hba_file_rules NULL address and netmask
List pgsql-bugs
The following bug has been logged on the website:

Bug reference:      16695
Logged by:          Peter Vandivier
Email address:      petervandivier@gmail.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


pgsql-bugs by date:

Previous
From: Pavel Borisov
Date:
Subject: Re: BUG #16329: Valgrind detects an invalid read when building a gist index with buffering
Next
From: Dmitry Marakasov
Date:
Subject: Re: BUG #16696: Backend crash in llvmjit