mirror of
https://github.com/postgres/postgres.git
synced 2025-06-16 06:01:02 +03:00
Avoid some pnstrdup()s when constructing jsonb
This speeds up text to jsonb parsing and hstore to jsonb conversions somewhat.
This commit is contained in:
@ -381,9 +381,6 @@ parse_object_field(JsonLexContext *lex, JsonSemAction *sem)
|
||||
|
||||
if (oend != NULL)
|
||||
(*oend) (sem->semstate, fname, isnull);
|
||||
|
||||
if (fname != NULL)
|
||||
pfree(fname);
|
||||
}
|
||||
|
||||
static void
|
||||
|
Reference in New Issue
Block a user