博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
PostgreSQL 10.0 preview 功能增强 - 支持EUI-64格式MAC地址类型
阅读量:7101 次
发布时间:2019-06-28

本文共 1663 字,大约阅读时间需要 5 分钟。

标签

PostgreSQL , 10.0 , eui-64 , mac


背景

PostgreSQL 是全球最先进的开源数据库,所谓先进,体现在很多方面:

支持扩展类型

支持扩展操作符

支持扩展函数

支持扩展窗口

支持扩展聚合

支持扩展采样

支持扩展扫描

支持扩展索引,内置8种索引

支持扩展访问方法

支持扩展插件

支持扩展。。。。。。

支持丰富的SQL标准

支持丰富的内置类型,比如很早以前就支持了MAC地址数据类型,随着时间点推移,以往48位的MAC地址库可能很快会耗尽,现在提出了64位MAC地址的标准,PostgreSQL 10.0很快就会支持它。

可能直接在原有MAC地址类型中扩展,也可能新增eui64类型.

There was bug that is raised in [1] related to storing EUI-64 mac address  in PostgreSQL MAC address datatype.    As the current macaddr datatype stores only 48 bit MAC address only, and  now a days  people are adopting to EUI-64 format of MAC address. So it better to add  the support  in PostgreSQL.    Here I attached a POC patch that adds the support for EUI-64 MAC address  storage with a  new datatype macaddr64. Currently this type takes only EUI-64 datatype, not  accepts 48  bit MAC address.    Before continuing and adding more details for macaddr64 datatype, it is not  possible to  add the support for current macaddr datatype as it is a fixed size datatype  that is stored  in the disk. So any enhancements to change it from 48 to 64 bit will give  problems to  pg_upgrade.    As we are moving to PostgreSQL 10, so are there any plans of backward  compatiblity  breakage, so the existing macaddr datatype itself can be changed to support  both  48 and 64 bit MAC addresses. If not, I will try update the POC patch with  more details  similar like macaddr datatype.      [1] -  https://www.postgresql.org/message-id/20161010162001.1413.12486%40wrigleys.postgresql.org    Regards,  Hari Babu  Fujitsu Australia

这个patch的讨论,详见邮件组,本文末尾URL。

PostgreSQL社区的作风非常严谨,一个patch可能在邮件组中讨论几个月甚至几年,根据大家的意见反复的修正,patch合并到master已经非常成熟,所以PostgreSQL的稳定性也是远近闻名的。

参考

转载地址:http://ekrql.baihongyu.com/

你可能感兴趣的文章
JavaScript函数
查看>>
ubuntu16.04 改变网卡名称 Ubuntu server 14.04 LTS 升级 16.04 LTS
查看>>
序列化与反序列化的简便实用封装 续
查看>>
PHP5.1下安装json扩展
查看>>
Skype For Business Server 2015 离线消息
查看>>
centos6.5上dstat的安装
查看>>
翻身的废鱼——论PHP从入门到放弃需要多久?18
查看>>
建立window的时间服务器(NTP)
查看>>
提高C#编程水平不可不读的50个要诀
查看>>
正则表达式——转载
查看>>
C#实现HttpUtility.UrlEncode输出大写字母
查看>>
python实现计算日出日落时间算法
查看>>
.Net中GridView如何隐藏过长的内容显示
查看>>
R语言:ggplot2精细化绘图——以实用商业化图表绘图为例(转)
查看>>
BarTender中如何为称重设备设置秤显示?
查看>>
ls/cp/rm/mv/cat/whereis/locate/find
查看>>
Deployment的使用
查看>>
圆角 CSS
查看>>
vm12 安装ubuntu15.10详细图文教程 虚拟机安装ubuntu安装 ubuntu更新软件 ubuntu一直卡在下载语言怎么办?...
查看>>
你还有好多未完成的梦,怎么能够停下脚步
查看>>