- html - 出于某种原因,IE8 对我的 Sass 文件中继承的 html5 CSS 不友好?
- JMeter 在响应断言中使用 span 标签的问题
- html - 在 :hover and :active? 上具有不同效果的 CSS 动画
- html - 相对于居中的 html 内容固定的 CSS 重复背景?
有没有可能将CHAR
数据类型自动转换成bpchar
?
我们已经看到从应用程序端选择列 datatype
是 CHAR
但创建了数据库级别 bpchar
的场景。
谁能帮我解决这个问题?
最佳答案
https://www.postgresql.org/docs/current/static/datatype-character.html
character(n), char(n) fixed-length, blank padded
在bpchar中有效,b代表blank,p代表padded,bpchar
等同于char(n)
或 character(n)
,一个空白填充到 n
长度的字符串...
更多引述:
https://www.postgresql.org/docs/current/static/typeconv-query.html
bpchar (“blank-padded char”, the internal name of the character data type)
关于postgresql - 为什么 char 数据类型会自动转换为 bpchar?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/51421269/
有没有可能将CHAR数据类型自动转换成bpchar? 我们已经看到从应用程序端选择列 datatype 是 CHAR 但创建了数据库级别 bpchar 的场景。 谁能帮我解决这个问题? 最佳答案 ht
我有一个使用 postgres 数据库的 spring + hibernate 应用程序。我需要为 Controller 编写单元测试。对于测试,我想使用 h2 数据库,但不幸的是,测试在 creat
我是一名优秀的程序员,十分优秀!