| 116 | |
| 117 | |
| 118 | Datum |
| 119 | extension_bson_lte(PG_FUNCTION_ARGS) |
| 120 | { |
| 121 | pgbson *leftBson = PG_GETARG_PGBSON_PACKED(0); |
| 122 | pgbson *rightBson = PG_GETARG_PGBSON_PACKED(1); |
| 123 | |
| 124 | int compareResult = ComparePgbson(leftBson, rightBson); |
| 125 | |
| 126 | PG_FREE_IF_COPY(leftBson, 0); |
| 127 | PG_FREE_IF_COPY(rightBson, 1); |
| 128 | PG_RETURN_BOOL(compareResult <= 0); |
| 129 | } |
| 130 | |
| 131 | |
| 132 | Datum |
nothing calls this directly
no test coverage detected