키보드 네비게이션
↑W 이전 미실행
↓S 다음 미실행
←A 이전 수정
→D 다음 수정
PgUpQ 이전함수
PgDnE 다음함수
HomeC-A 시작
EndC-E 끝
Modified Lines Coverage: 8/9 lines (88.9%)
| Line | Hits | Source | Commit |
| 3886 |
868 |
get_propgraph_label_name(Oid labeloid) |
86c14eaWIP: SQL Property Graph Queries (SQL/PGQ) |
| 3887 |
- |
{ |
86c14eaWIP: SQL Property Graph Queries (SQL/PGQ) |
| 3888 |
868 |
HeapTuple tuple; |
86c14eaWIP: SQL Property Graph Queries (SQL/PGQ) |
| 3889 |
868 |
char *labelname; |
86c14eaWIP: SQL Property Graph Queries (SQL/PGQ) |
| 3890 |
- |
|
86c14eaWIP: SQL Property Graph Queries (SQL/PGQ) |
| 3891 |
868 |
tuple = SearchSysCache1(PROPGRAPHLABELOID, labeloid); |
86c14eaWIP: SQL Property Graph Queries (SQL/PGQ) |
| 3892 |
868 |
if (!tuple) |
86c14eaWIP: SQL Property Graph Queries (SQL/PGQ) |
| 3893 |
- |
{ |
86c14eaWIP: SQL Property Graph Queries (SQL/PGQ) |
| 3894 |
0 |
elog(ERROR, "cache lookup failed for label %u", labeloid); |
86c14eaWIP: SQL Property Graph Queries (SQL/PGQ) |
| 3895 |
- |
return NULL; |
86c14eaWIP: SQL Property Graph Queries (SQL/PGQ) |
| 3896 |
- |
} |
86c14eaWIP: SQL Property Graph Queries (SQL/PGQ) |
| 3897 |
868 |
labelname = pstrdup(NameStr(((Form_pg_propgraph_label) GETSTRUCT(tuple))->pgllabel)); |
86c14eaWIP: SQL Property Graph Queries (SQL/PGQ) |
| 3898 |
868 |
ReleaseSysCache(tuple); |
86c14eaWIP: SQL Property Graph Queries (SQL/PGQ) |
| 3899 |
- |
|
86c14eaWIP: SQL Property Graph Queries (SQL/PGQ) |
| 3900 |
868 |
return labelname; |
86c14eaWIP: SQL Property Graph Queries (SQL/PGQ) |
| 3901 |
- |
} |
86c14eaWIP: SQL Property Graph Queries (SQL/PGQ) |
Modified Lines Coverage: 8/9 lines (88.9%)
| Line | Hits | Source | Commit |
| 3904 |
2937 |
get_propgraph_property_name(Oid propoid) |
86c14eaWIP: SQL Property Graph Queries (SQL/PGQ) |
| 3905 |
- |
{ |
86c14eaWIP: SQL Property Graph Queries (SQL/PGQ) |
| 3906 |
2937 |
HeapTuple tuple; |
86c14eaWIP: SQL Property Graph Queries (SQL/PGQ) |
| 3907 |
2937 |
char *propname; |
86c14eaWIP: SQL Property Graph Queries (SQL/PGQ) |
| 3908 |
- |
|
86c14eaWIP: SQL Property Graph Queries (SQL/PGQ) |
| 3909 |
2937 |
tuple = SearchSysCache1(PROPGRAPHPROPOID, propoid); |
86c14eaWIP: SQL Property Graph Queries (SQL/PGQ) |
| 3910 |
2937 |
if (!tuple) |
86c14eaWIP: SQL Property Graph Queries (SQL/PGQ) |
| 3911 |
- |
{ |
86c14eaWIP: SQL Property Graph Queries (SQL/PGQ) |
| 3912 |
0 |
elog(ERROR, "cache lookup failed for property %u", propoid); |
86c14eaWIP: SQL Property Graph Queries (SQL/PGQ) |
| 3913 |
- |
return NULL; |
86c14eaWIP: SQL Property Graph Queries (SQL/PGQ) |
| 3914 |
- |
} |
86c14eaWIP: SQL Property Graph Queries (SQL/PGQ) |
| 3915 |
2937 |
propname = pstrdup(NameStr(((Form_pg_propgraph_property) GETSTRUCT(tuple))->pgpname)); |
86c14eaWIP: SQL Property Graph Queries (SQL/PGQ) |
| 3916 |
2937 |
ReleaseSysCache(tuple); |
86c14eaWIP: SQL Property Graph Queries (SQL/PGQ) |
| 3917 |
- |
|
86c14eaWIP: SQL Property Graph Queries (SQL/PGQ) |
| 3918 |
2937 |
return propname; |
86c14eaWIP: SQL Property Graph Queries (SQL/PGQ) |
| 3919 |
- |
} |
86c14eaWIP: SQL Property Graph Queries (SQL/PGQ) |