gpt4 book ai didi

configuration - PostgreSQL 允许来自 MAC 地址的连接

转载 作者:行者123 更新时间:2023-12-04 18:22:40 29 4
gpt4 key购买 nike

PostgreSQL 9.1 中是否有配置指令允许通过写入其 MAC 地址而不是将其 IP 地址写入“pg_hba.conf”来允许来自客户端的连接?

例如;而不是这样做;

host    all             all             192.168.2.1/32           trust

我想写这个;
host    all             all             00:08:C7:1B:8C:02        trust

最佳答案

不。

the docs说:

This field can contain either a host name, an IP address range, or one of the special key words mentioned below.

关于configuration - PostgreSQL 允许来自 MAC 地址的连接,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/10330717/

29 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com