Re: Removing useless \. at the end of copy in pgbench - Mailing list pgsql-hackers

From Fabien COELHO
Subject Re: Removing useless \. at the end of copy in pgbench
Date
Msg-id alpine.DEB.2.21.1807280941001.5142@lancre
Whole thread Raw
In response to Removing useless \. at the end of copy in pgbench  (Tatsuo Ishii <ishii@sraoss.co.jp>)
Responses Re: Removing useless \. at the end of copy in pgbench  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
Hello Tatsuo-san,

> If we want to support pre 7.4 backend (which only supports the version
> 2 protocol), we could test the current protocol version and decide
> whether we should send out "\." or not, but I doubt it's necessary.
>
> Comments?

Code tested, ok.

I agree that compatibility with protocol v2 (pg 7.4) is not an issue.

As Tom, I would not have bothered, though, however once it is there why 
not?

Should the doc state that pgbench compatibility is ok from pg 8.0?

-- 
Fabien.


pgsql-hackers by date:

Previous
From: Amit Kapila
Date:
Subject: Re: Problem while setting the fpw with SIGHUP
Next
From: Fabien COELHO
Date:
Subject: pgbench - add pseudo-random permutation function