키보드 네비게이션
↑W 이전 미실행
↓S 다음 미실행
←A 이전 수정
→D 다음 수정
PgUpQ 이전함수
PgDnE 다음함수
HomeC-A 시작
EndC-E 끝
Modified Lines Coverage: 2/2 lines (100.0%)
| Line | Hits | Source | Commit |
| 24 |
- |
errdetail_relkind_not_supported(char relkind) |
- |
| 25 |
- |
{ |
- |
| 26 |
- |
switch (relkind) |
- |
| 27 |
- |
{ |
- |
| 28 |
- |
case RELKIND_RELATION: |
- |
| 29 |
- |
return errdetail("This operation is not supported for tables."); |
- |
| 30 |
- |
case RELKIND_INDEX: |
- |
| 31 |
- |
return errdetail("This operation is not supported for indexes."); |
- |
| 32 |
- |
case RELKIND_SEQUENCE: |
- |
| 33 |
- |
return errdetail("This operation is not supported for sequences."); |
- |
| 34 |
- |
case RELKIND_TOASTVALUE: |
- |
| 35 |
- |
return errdetail("This operation is not supported for TOAST tables."); |
- |
| 36 |
- |
case RELKIND_VIEW: |
- |
| 37 |
- |
return errdetail("This operation is not supported for views."); |
- |
| 38 |
- |
case RELKIND_MATVIEW: |
- |
| 39 |
- |
return errdetail("This operation is not supported for materialized views."); |
- |
| 40 |
- |
case RELKIND_COMPOSITE_TYPE: |
- |
| 41 |
- |
return errdetail("This operation is not supported for composite types."); |
- |
| 42 |
- |
case RELKIND_FOREIGN_TABLE: |
- |
| 43 |
- |
return errdetail("This operation is not supported for foreign tables."); |
- |
| 44 |
- |
case RELKIND_PARTITIONED_TABLE: |
- |
| 45 |
- |
return errdetail("This operation is not supported for partitioned tables."); |
- |
| 46 |
- |
case RELKIND_PARTITIONED_INDEX: |
- |
| 47 |
- |
return errdetail("This operation is not supported for partitioned indexes."); |
- |
| 48 |
9 |
case RELKIND_PROPGRAPH: |
86c14eaWIP: SQL Property Graph Queries (SQL/PGQ) |
| 49 |
9 |
return errdetail("This operation is not supported for property graphs."); |
86c14eaWIP: SQL Property Graph Queries (SQL/PGQ) |
| 50 |
- |
default: |
- |
| 51 |
- |
elog(ERROR, "unrecognized relkind: '%c'", relkind); |
- |
| 52 |
- |
return 0; |
- |
| 53 |
- |
} |
- |
| 54 |
- |
} |
- |