Re: Proposal to provide the facility to set binary format output for specific OID's per session

Ibrar Ahmed <ibrar.ahmad@gmail.com>

From: Ibrar Ahmed <ibrar.ahmad@gmail.com>
To: Dave Cramer <davecramer@gmail.com>, pgsql-hackers@lists.postgresql.org
Cc: Justin Pryzby <pryzby@telsasoft.com>, Sehrope Sarkuni <sehrope@jackdb.com>, Joe Conway <mail@joeconway.com>, Jack Christensen <jack@jackchristensen.com>, Kyotaro Horiguchi <horikyota.ntt@gmail.com>
Date: 2022-09-06T06:30:00Z
Lists: pgsql-hackers
On Fri, Aug 12, 2022 at 5:48 PM Dave Cramer <davecramer@gmail.com> wrote:

>
>
> On Fri, 5 Aug 2022 at 17:51, Justin Pryzby <pryzby@telsasoft.com> wrote:
>
>> On Tue, Jul 26, 2022 at 08:11:04AM -0400, Dave Cramer wrote:
>> > Attached patch to correct these deficiencies.
>>
>> You sent a patch to be applied on top of the first patch, but cfbot
>> doesn't
>> know that, so it says the patch doesn't apply.
>> http://cfbot.cputube.org/dave-cramer.html
>>
>> BTW, a previous discussion about this idea is here:
>>
>> https://www.postgresql.org/message-id/flat/40cbb35d-774f-23ed-3079-03f938aacdae@2ndquadrant.com
>
>
> squashed patch attached
>
> Dave
>
The patch does not apply successfully; a rebase is required.

=== applying patch ./0001-add-format_binary.patch
patching file src/backend/tcop/postgres.c
Hunk #1 succeeded at 97 (offset -8 lines).
patching file src/backend/tcop/pquery.c
patching file src/backend/utils/init/globals.c
patching file src/backend/utils/misc/guc.c
Hunk #1 succeeded at 144 (offset 1 line).
Hunk #2 succeeded at 244 with fuzz 2 (offset 1 line).
Hunk #3 succeeded at 4298 (offset -1 lines).
Hunk #4 FAILED at 12906.
1 out of 4 hunks FAILED -- saving rejects to file
src/backend/utils/misc/guc.c.rej
patching file src/include/miscadmin.h




-- 
Ibrar Ahmed