| 130 | |
| 131 | |
| 132 | Datum |
| 133 | extension_bson_gt(PG_FUNCTION_ARGS) |
| 134 | { |
| 135 | pgbson *leftBson = PG_GETARG_PGBSON_PACKED(0); |
| 136 | pgbson *rightBson = PG_GETARG_PGBSON_PACKED(1); |
| 137 | |
| 138 | int compareResult = ComparePgbson(leftBson, rightBson); |
| 139 | |
| 140 | PG_FREE_IF_COPY(leftBson, 0); |
| 141 | PG_FREE_IF_COPY(rightBson, 1); |
| 142 | PG_RETURN_BOOL(compareResult > 0); |
| 143 | } |
| 144 | |
| 145 | |
| 146 | Datum |
nothing calls this directly
no test coverage detected