| 60 | PG_FUNCTION_INFO_V1(bson_in_range_numeric); |
| 61 | |
| 62 | Datum |
| 63 | extension_bson_compare(PG_FUNCTION_ARGS) |
| 64 | { |
| 65 | pgbson *leftBson = PG_GETARG_PGBSON_PACKED(0); |
| 66 | pgbson *rightBson = PG_GETARG_PGBSON_PACKED(1); |
| 67 | |
| 68 | int compareResult = ComparePgbson(leftBson, rightBson); |
| 69 | |
| 70 | PG_FREE_IF_COPY(leftBson, 0); |
| 71 | PG_FREE_IF_COPY(rightBson, 1); |
| 72 | PG_RETURN_INT32(compareResult); |
| 73 | } |
| 74 | |
| 75 | |
| 76 | Datum |
nothing calls this directly
no test coverage detected