rafsun42 commented on code in PR #1015:
URL: https://github.com/apache/age/pull/1015#discussion_r1254645959
##########
src/backend/utils/adt/agtype.c:
##########
@@ -4738,16 +4748,16 @@ static Datum get_vertex(const char *graph, const char
*vertex_label,
Int64GetDatum(graphid));
/* open the relation (table), begin the scan, and get the tuple */
- graph_vertex_label = heap_open(vertex_label_table_oid, ShareLock);
- scan_desc = heap_beginscan(graph_vertex_label, snapshot, 1, scan_keys);
+ graph_vertex_label = table_open(vertex_label_table_oid, ShareLock);
+ scan_desc = table_beginscan(graph_vertex_label, snapshot, 1, scan_keys);
tuple = heap_getnext(scan_desc, ForwardScanDirection);
/* bail if the tuple isn't valid */
if (!HeapTupleIsValid(tuple))
{
ereport(ERROR,
(errcode(ERRCODE_UNDEFINED_TABLE),
- errmsg("graphid %lu does not exist", graphid)));
+ errmsg("graphid cde %lu does not exist", graphid)));
Review Comment:
Typo?
--
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]