Closed staab closed 4 years ago
Matching on strings is a performance problem since it's in an inner loop. We should convert this to some constant-time match functionality in C for custom types, and for built-in types bring in pg_types.c. Once we do that, #7 may just go away.
Types: https://github.com/postgres/postgres/blob/master/src/include/catalog/pg_type.dat Error Codes: https://github.com/postgres/postgres/blob/master/src/backend/utils/errcodes.txt
Matching on strings is a performance problem since it's in an inner loop. We should convert this to some constant-time match functionality in C for custom types, and for built-in types bring in pg_types.c. Once we do that, #7 may just go away.