pg.ddx.io  pgsql-interfaces@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Hannu Krosing <hannu@tm.ee>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Peter Galbavy <peter.galbavy@knowtion.net>
Cc: pgsql-hackers@postgreSQL.org
Cc: pgsql-interfaces@postgreSQL.org
Subject: Re: More thoughts about FE/BE protocol
Date: 10 Apr 2003 19:55:18 +0300
Message-ID: <1049993718.1886.27.camel@fuji.krosing.net> (raw)
In-Reply-To: <1049993435.1886.24.camel@fuji.krosing.net>
References: <10478.1049927451@sss.pgh.pa.us>
	<003f01c2ff40$9f1a0e70$7c28a8c0@cblan.mblox.com>
	<3625.1049983061@sss.pgh.pa.us>
	<1049993435.1886.24.camel@fuji.krosing.net>

Hannu Krosing kirjutas N, 10.04.2003 kell 19:50:

> I would propose something like X11 protocol (from memory)
> 
> each request (query) has a serial number.
> 
> eash response is sent in resonable sized chunks, and each chunk has a
> serial number of request, chunk number of response and an indicator for
> EndOfResponse (or perhaps to for Completed or Aborted).

They should both have size as well, as Tom suggested.

> This would make resyncing easier as you can safely ignore responsed you
> dont wan't to see anymore even if for some reasons some of them are
> still in pipeline.
> 
> What could be useful (and is often requested) is sending the number of
> records in response *if it is known without extra work*.
> 
> Also there should be a way to tell the backend not to send some types of
> notices/warnings.

-----------------
Hannu




view thread (25+ messages)  latest in thread

Message-ID: <1049993718.1886.27.camel@fuji.krosing.net>
Permalink:  ../1049993718.1886.27.camel@fuji.krosing.net/
Also on:    postgresql.org/message-id/1049993718.1886.27.camel@fuji.krosing.net

 · 

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-interfaces@postgresql.org
  Cc: hannu@tm.ee, tgl@sss.pgh.pa.us, peter.galbavy@knowtion.net, pgsql-hackers@postgreSQL.org
  Subject: Re: More thoughts about FE/BE protocol
  In-Reply-To: <1049993718.1886.27.camel@fuji.krosing.net>

* 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