From bdf46af748d0f15f257c99bf06e9e25aba6a24f9 Mon Sep 17 00:00:00 2001 From: Tom Lane Date: Thu, 26 Apr 2018 14:47:16 -0400 Subject: Post-feature-freeze pgindent run. Discussion: https://postgr.es/m/15719.1523984266@sss.pgh.pa.us --- contrib/jsonb_plpython/jsonb_plpython.c | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) (limited to 'contrib/jsonb_plpython/jsonb_plpython.c') diff --git a/contrib/jsonb_plpython/jsonb_plpython.c b/contrib/jsonb_plpython/jsonb_plpython.c index 548826f592f..08a7598aae3 100644 --- a/contrib/jsonb_plpython/jsonb_plpython.c +++ b/contrib/jsonb_plpython/jsonb_plpython.c @@ -25,7 +25,7 @@ static PyObject *decimal_constructor; static PyObject *PLyObject_FromJsonbContainer(JsonbContainer *jsonb); static JsonbValue *PLyObject_ToJsonbValue(PyObject *obj, - JsonbParseState **jsonb_state, bool is_elem); + JsonbParseState **jsonb_state, bool is_elem); #if PY_MAJOR_VERSION >= 3 typedef PyObject *(*PLyUnicode_FromStringAndSize_t) @@ -373,10 +373,11 @@ PLyObject_ToJsonbValue(PyObject *obj, JsonbParseState **jsonb_state, bool is_ele out->type = jbvNull; else if (PyString_Check(obj) || PyUnicode_Check(obj)) PLyString_ToJsonbValue(obj, out); - /* - * PyNumber_Check() returns true for booleans, so boolean check should come - * first. - */ + + /* + * PyNumber_Check() returns true for booleans, so boolean check should + * come first. + */ else if (PyBool_Check(obj)) { out = palloc(sizeof(JsonbValue)); -- cgit v1.2.3