jrgemignani commented on issue #1521:
URL: https://github.com/apache/age/issues/1521#issuecomment-1909213255
```
psql-16.1-5432-pgsql=# select agtype_object_field(properties, 'name') from
xyz._ag_label_vertex;
agtype_object_field
---------------------
"John"
(1 row)
psql-16.1-5432-pgsql=# select agtype_object_field_agtype(properties, 'name')
from xyz._ag_label_vertex;
ERROR: invalid input syntax for type agtype
LINE 1: select agtype_object_field_agtype(properties, 'name') from x...
^
DETAIL: Expected agtype value, but found "name".
CONTEXT: agtype data, line 1: name
psql-16.1-5432-pgsql=#
psql-16.1-5432-pgsql=# select properties->'name' from xyz._ag_label_vertex;
ERROR: invalid input syntax for type agtype
LINE 1: select properties->'name' from xyz._ag_label_vertex;
^
DETAIL: Expected agtype value, but found "name".
CONTEXT: agtype data, line 1: name
psql-16.1-5432-pgsql=#
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]