pg.ddx.io  pgsql-hackers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Andrew Dunstan <andrew.dunstan@2ndquadrant.com>
To: Andrew Gierth <andrew@tao11.riddles.org.uk>
Cc: Fabien COELHO <coelho@cri.ensmp.fr>
Cc: Stephen Frost <sfrost@snowman.net>
Cc: PostgreSQL Developers <pgsql-hackers@postgresql.org>
Subject: Re: [HACKERS] pgbench - allow to store select results into variables
Date: Tue, 14 Aug 2018 08:35:49 -0400
Message-ID: <43802e1e-f2fb-96f3-69b0-e28ba96ffbac@2ndQuadrant.com> (raw)
In-Reply-To: <87bma55h2l.fsf@news-spur.riddles.org.uk>
References: <alpine.DEB.2.20.1708132029250.15606@lancre>
	<CAFj8pRDukEVowiGddVs9P9oNUrKui8pRm29kJUjZgG-ZjcCN=Q@mail.gmail.com>
	<alpine.DEB.2.20.1709081916410.3568@lancre>
	<alpine.DEB.2.20.1710201836530.15170@lancre>
	<CAFj8pRCGNRALRm6r2n-9iZQENJ92J3Hm=17mwXKeERXuNuAq7g@mail.gmail.com>
	<alpine.DEB.2.20.1710251209330.24229@lancre>
	<alpine.DEB.2.20.1801100952040.2283@lancre>
	<alpine.DEB.2.20.1803241024500.13537@lancre>
	<20180407031725.GX27724@tamriel.snowman.net>
	<alpine.DEB.2.20.1804071734480.4721@lancre>
	<20180408000001.GD27724@tamriel.snowman.net>
	<alpine.DEB.2.20.1804080732470.4721@lancre>
	<alpine.DEB.2.20.1804271819510.8704@lancre>
	<abaeb25e-f98a-4c96-92ad-f178a27dc8b5@2ndQuadrant.com>
	<alpine.DEB.2.21.1808140012360.2727@lancre>
	<527f7e3e-402f-4043-b370-2e11ca84d19e@2ndQuadrant.com>
	<87bma55h2l.fsf@news-spur.riddles.org.uk>



On 08/14/2018 07:37 AM, Andrew Gierth wrote:
>>>>>> "Andrew" == Andrew Dunstan <andrew.dunstan@2ndquadrant.com> writes:
>   >>> This patch contains CRLF line endings
>   >>
>   >> Alas, not according to "file" nor "hexdump" (only 0A, no 0D) on my
>   >> local version, AFAICS.
>   >>
>   >> What happens on the path and what is done by mail clients depending
>   >> on the mime type is another question (eg text/x-diff or text/plain).
>
>   Andrew> It's not done by my MUA, and it's present in your latest posted
>   Andrew> patch. If anything I'd suspect your MUA:
>
> The patch in the original email is in text/plain with base64 transfer
> encoding, which means that CRLF line endings are mandatory. It's
> actually up to the receiving MUA (or the archives webserver) to undo
> that.
>
> If the archives webserver isn't handling that then it's a bug there.
>


Probably a good reason not to use text/plain for patches, ISTM. I do 
note that my MUA (Thunderbird) uses text/x-patch and probably violates 
RFC2046 4.1.1

cheers

andrew

-- 
Andrew Dunstan                https://www.2ndQuadrant.com
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services





view thread (120+ messages)  latest in thread

Message-ID: <43802e1e-f2fb-96f3-69b0-e28ba96ffbac@2ndQuadrant.com>
Permalink:  ../43802e1e-f2fb-96f3-69b0-e28ba96ffbac@2ndQuadrant.com/
Also on:    postgresql.org/message-id/43802e1e-f2fb-96f3-69b0-e28ba96ffbac@2ndQuadrant.com

 · 

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-hackers@postgresql.org
  Cc: andrew.dunstan@2ndquadrant.com, andrew@tao11.riddles.org.uk, coelho@cri.ensmp.fr, sfrost@snowman.net
  Subject: Re: [HACKERS] pgbench - allow to store select results into variables
  In-Reply-To: <43802e1e-f2fb-96f3-69b0-e28ba96ffbac@2ndQuadrant.com>

* 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