pg.ddx.io  pgsql-translators@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Alvaro Herrera <alvherre@alvh.no-ip.org>
Subject: [PATCH 2/6] Make strings identical
Date: Sun, 21 May 2017 10:30:12 -0400

---
 src/backend/utils/adt/json.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

inline patch 1: src/backend/utils/adt/json.c (+2/-2 lines) download inline-1.patchdiff --git a/src/backend/utils/adt/json.c b/src/backend/utils/adt/json.c index f704418603..192f9abae1 100644 --- a/src/backend/utils/adt/json.c +++ b/src/backend/utils/adt/json.c @@ -2003,7 +2003,7 @@ json_object_agg_transfn(PG_FUNCTION_ARGS) if (arg_type == InvalidOid) ereport(ERROR, (errcode(ERRCODE_INVALID_PARAMETER_VALUE), - errmsg("could not determine data type for argument 1"))); + errmsg("could not determine data type for argument %d", 1))); json_categorize_type(arg_type, &state->key_category, &state->key_output_func); @@ -2013,7 +2013,7 @@ json_object_agg_transfn(PG_FUNCTION_ARGS) if (arg_type == InvalidOid) ereport(ERROR, (errcode(ERRCODE_INVALID_PARAMETER_VALUE), - errmsg("could not determine data type for argument 2"))); + errmsg("could not determine data type for argument %d", 2))); json_categorize_type(arg_type, &state->val_category, &state->val_output_func); -- 2.11.0
--xjlgdp2jdzqs2cgj Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="0003-correctly-do-not-quote-type-name.patch"

Message-ID: <no-message-id-535@localhost>
Permalink:  ../no-message-id-535@localhost/
Also on:    postgresql.org/message-id/no-message-id-535@localhost

 ·  · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-translators@postgresql.org
  Cc: alvherre@alvh.no-ip.org
  Subject: Re: [PATCH 2/6] Make strings identical
  In-Reply-To: <no-message-id-535@localhost>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox