| 74 | |
| 75 | |
| 76 | Datum |
| 77 | extension_bson_equal(PG_FUNCTION_ARGS) |
| 78 | { |
| 79 | pgbson *leftBson = PG_GETARG_PGBSON_PACKED(0); |
| 80 | pgbson *rightBson = PG_GETARG_PGBSON_PACKED(1); |
| 81 | |
| 82 | int compareResult = ComparePgbson(leftBson, rightBson); |
| 83 | |
| 84 | PG_FREE_IF_COPY(leftBson, 0); |
| 85 | PG_FREE_IF_COPY(rightBson, 1); |
| 86 | PG_RETURN_BOOL(compareResult == 0); |
| 87 | } |
| 88 | |
| 89 | |
| 90 | Datum |
nothing calls this directly
no test coverage detected