mirror of
https://github.com/postgres/postgres.git
synced 2025-07-28 23:42:10 +03:00
Post-pgindent cleanup
Make slightly better decisions about indentation than what pgindent is capable of. Mostly breaking out long function calls into one line per argument, with a few other minor adjustments. No functional changes- all whitespace. pgindent ran cleanly (didn't change anything) after. Passes all regressions.
This commit is contained in:
@ -1300,7 +1300,8 @@ hstore_to_json_loose(PG_FUNCTION_ARGS)
|
||||
* digit as numeric - could be a zip code or similar
|
||||
*/
|
||||
if (src->len > 0 &&
|
||||
!(src->data[0] == '0' && isdigit((unsigned char) src->data[1])) &&
|
||||
!(src->data[0] == '0' &&
|
||||
isdigit((unsigned char) src->data[1])) &&
|
||||
strspn(src->data, "+-0123456789Ee.") == src->len)
|
||||
{
|
||||
/*
|
||||
|
Reference in New Issue
Block a user