mirror of
https://github.com/postgres/postgres.git
synced 2025-06-29 10:41:53 +03:00
Speed up conversion of signed integers to C strings.
A hand-coded implementation turns out to be much faster than calling printf(). In passing, add a few more regresion tests. Andres Freund, with assorted, mostly cosmetic changes.
This commit is contained in:
@ -275,6 +275,7 @@ extern Datum current_schemas(PG_FUNCTION_ARGS);
|
||||
extern int32 pg_atoi(char *s, int size, int c);
|
||||
extern void pg_itoa(int16 i, char *a);
|
||||
extern void pg_ltoa(int32 l, char *a);
|
||||
extern void pg_lltoa(int64 ll, char *a);
|
||||
|
||||
/*
|
||||
* Per-opclass comparison functions for new btrees. These are
|
||||
|
Reference in New Issue
Block a user