| 102 | |
| 103 | |
| 104 | Datum |
| 105 | extension_bson_lt(PG_FUNCTION_ARGS) |
| 106 | { |
| 107 | pgbson *leftBson = PG_GETARG_PGBSON_PACKED(0); |
| 108 | pgbson *rightBson = PG_GETARG_PGBSON_PACKED(1); |
| 109 | |
| 110 | int compareResult = ComparePgbson(leftBson, rightBson); |
| 111 | |
| 112 | PG_FREE_IF_COPY(leftBson, 0); |
| 113 | PG_FREE_IF_COPY(rightBson, 1); |
| 114 | PG_RETURN_BOOL(compareResult < 0); |
| 115 | } |
| 116 | |
| 117 | |
| 118 | Datum |
nothing calls this directly
no test coverage detected