Sync vs Flush

From: Jaka Jančar <jaka(at)kubje(dot)org>
To: pgsql-hackers(at)lists(dot)postgresql(dot)org
Subject: Sync vs Flush
Date: 2020-07-02 16:30:51
Message-ID: CAMUPXmp_27vuG+K1ff0oehVFifbLmfni4NmaRQxBDNTbsDFXow@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hi,

For an extended query that needs to get parameter types before sending
them, is there a difference in doing:

Parse, Describe statement, Flush, Bind, Execute, Sync
vs
Parse, Describe statement, Sync, Bind, Execute, Sync

Of course, there will be an additional ReadyForQuery in the latter case,
but other than that.

Thanks!

Jaka

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2020-07-02 16:34:00 Re: [PATCH] fix GIN index search sometimes losing results
Previous Message Pavel Borisov 2020-07-02 16:23:02 Re: [PATCH] fix GIN index search sometimes losing results