mirror of
https://github.com/postgres/postgres.git
synced 2025-06-13 07:41:39 +03:00
Pre-beta mechanical code beautification.
Run pgindent, pgperltidy, and reformat-dat-files. I manually fixed a couple of comments that pgindent uglified.
This commit is contained in:
@ -99,7 +99,7 @@ hstore_to_plpython(PG_FUNCTION_ARGS)
|
||||
PyObject *key;
|
||||
|
||||
key = PLyUnicode_FromStringAndSize(HSTORE_KEY(entries, base, i),
|
||||
HSTORE_KEYLEN(entries, i));
|
||||
HSTORE_KEYLEN(entries, i));
|
||||
if (HSTORE_VALISNULL(entries, i))
|
||||
PyDict_SetItem(dict, key, Py_None);
|
||||
else
|
||||
@ -107,7 +107,7 @@ hstore_to_plpython(PG_FUNCTION_ARGS)
|
||||
PyObject *value;
|
||||
|
||||
value = PLyUnicode_FromStringAndSize(HSTORE_VAL(entries, base, i),
|
||||
HSTORE_VALLEN(entries, i));
|
||||
HSTORE_VALLEN(entries, i));
|
||||
PyDict_SetItem(dict, key, value);
|
||||
Py_XDECREF(value);
|
||||
}
|
||||
|
Reference in New Issue
Block a user