sql: support casting arrays to string #24746
Labels
A-sql-pgcompat
Semantic compatibility with PostgreSQL
A-sql-semantics
C-enhancement
Solution expected to add code/behavior + preserve backward-compat (pg compat issues are exception)
No error pops up in Navicat when selecting roles.
SELECT fdwname AS name, fdwacl AS acl FROM pg_foreign_data_wrapper WHERE fdwacl::VARCHAR LIKE '%admin%'
I180409 23:48:05.179837 8072 sql/conn_executor.go:1805 [n1,client=[::1]:59064,user=root] execution error: invalid cast: string[] -> VARCHAR
The text was updated successfully, but these errors were encountered: