Postgres docs说 Actor 应该看起来像...
expression::typename
typename(expression)
cast(expression as typename)
但这行得通:
select date '2015-06-20';
这是什么语法?它在哪里记录?
最佳答案
它是类型常量 - 参见 http://www.postgresql.org/docs/9.4/static/sql-syntax-lexical.html 4.1.2.7 节。其他类型的常量。
A constant of an arbitrary type can be entered using any one of the following notations:
type 'string' 'string'::type CAST ( 'string' AS type )
关于postgresql - Postgres 中的这种类型 'literal' 语法是什么?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/30967839/