Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1i5EOB-0007P4-Fo for pgsql-hackers@arkaria.postgresql.org; Tue, 03 Sep 2019 19:22:51 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1i5EO9-0004It-IE for pgsql-hackers@arkaria.postgresql.org; Tue, 03 Sep 2019 19:22:49 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1i5EO9-0004Gz-9e for pgsql-hackers@lists.postgresql.org; Tue, 03 Sep 2019 19:22:49 +0000 Received: from mail-qk1-x72e.google.com ([2607:f8b0:4864:20::72e]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1i5EO6-0001Ng-A3 for pgsql-hackers@lists.postgresql.org; Tue, 03 Sep 2019 19:22:48 +0000 Received: by mail-qk1-x72e.google.com with SMTP id g17so17129922qkk.8 for ; Tue, 03 Sep 2019 12:22:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=2ndquadrant-com.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:message-id:mime-version:content-disposition :content-transfer-encoding:in-reply-to:user-agent; bh=h1VAl5Shg8SaFSnAzIm947PE5P5lEeTFexoFXvzraFE=; b=RJjHLDIbBAkGCuI5sXQyV8EEY5kiqOGtWkhmJpSIS/xdFtmmzdVgRZfa56n8MaKuhr 83JVDcGIgevZnA6diHPtqgJxnW3VVV32xQiTXN3C6Z89Oyk0ySrcpu4nrDGJBxUCEwVx 1q5a9IeLoZvEy/yGFmzeW5llhUa3MAKZn0yJa4c8NutG41bxNcKE1b0XJO2DldSvRe5p rFtfb0RSoxg1ii1GqoxlO4T+EZFcQ+i0J4z2K3RJHVsmhvNzG/r6gj+VsQwHkeX+IVxM kIJudpI8X2SUsIaa5QoKgTs6cCaFB/mGT3HILaUdpxPBPnZaIsbtBRxBRPxCgQjJuIST VkhA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:mime-version :content-disposition:content-transfer-encoding:in-reply-to :user-agent; bh=h1VAl5Shg8SaFSnAzIm947PE5P5lEeTFexoFXvzraFE=; b=IBFHD5nboP/IK/fmoOsuc6R+zvZzhFVQ/Jx0gmH1eMFdCbeckx2R4ea4OdBTv+TCLE G5dkO9vuGt8XSnBe7xgYVnxVLW7B78k1x2xGe8rrqtGok4PR3qDTmOPyRTDkSu6e9NtQ UoshYct2f1Thx4uHpOLCgDNSZgInMfre0v7SRnkWctQPSCW04nmqSsul99umI5bJ7u2J LmorZav/7Y8sFgqjUspElO9j57mgntfNM1X1C2f1TJ6Q0Y8ivUrTgRwmfNiSaWqPtvzS lrr2iLec8WMuW+abgCsBKrj/ag1uX9V4DnvNNPBfNXYPYmxsQngk0GS3qwNLc6Nw1Wbb 14kA== X-Gm-Message-State: APjAAAWFIn7LdS1POsiPTvm0DqfX1HGBHWSpuUriSDTO/aVYCPeRxtxj yFNi7IRLBdmKZL1InYpAretiaHnQAOL6tg== X-Google-Smtp-Source: APXvYqzuFR3ovc3P/f/D7nY36L/YeN+H0PQae4V37ZIYNHwprrMzxvMPeh9gVWg2pAEjWFLbba6y/A== X-Received: by 2002:ae9:e102:: with SMTP id g2mr35086021qkm.182.1567536724837; Tue, 03 Sep 2019 11:52:04 -0700 (PDT) Received: from nimloth.alvh.no-ip.org ([190.121.29.3]) by smtp.gmail.com with ESMTPSA id v192sm9175385qka.74.2019.09.03.11.52.04 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 03 Sep 2019 11:52:04 -0700 (PDT) Received: by nimloth.alvh.no-ip.org (Postfix, from userid 1000) id D1F7C120BB0; Tue, 3 Sep 2019 14:52:01 -0400 (-04) Date: Tue, 3 Sep 2019 14:52:01 -0400 From: Alvaro Herrera To: Amit Langote Cc: Pg Hackers Subject: Re: remove "msg" parameter from convert_tuples_by_name Message-ID: <20190903185201.GA14872@alvherre.pgsql> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: User-Agent: Mutt/1.9.4 (2018-02-28) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On 2019-Aug-07, Amit Langote wrote: > If we're reducing the message string to occur only once in the source > code, can we maybe write it to be more informative? I wonder if users > aren't normally supposed to see this message? Grepping for the messages given to convert_tuples_by_position yields quite a few matches in regression test output, but none for the one in convert_tuples_by_name. This makes me think that it isn't user-visible, unless things go very wrong. Pushed the patch, thanks. -- Álvaro Herrera https://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services