Re: [HACKERS] Postgres Speed or lack thereof

From: Hannu Krosing <hannu(at)trust(dot)ee>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: pgsql-hackers(at)postgreSQL(dot)org
Subject: Re: [HACKERS] Postgres Speed or lack thereof
Date: 1999-01-18 23:15:06
Message-ID: 36A3C07A.67C6C91C@trust.ee
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Tom Lane wrote:
>
> Also, while the fe/be protocol is certainly a bit crufty, I'm not
> convinced that a well-designed frontend is going to suffer any real
> performance problem from parsing the protocol. The trick again is to
> read into a buffer and parse from the buffer.

That's also what I did, but still better protocol would have helped

> > And of course we need some sort of CLI that can do prepared statements
> > and that can use binary fields (not only the file interface).
>
> > Currently we have some of it, bu only in SPI.
>
> SPI? I missed something ... what's that?

I think it stands for Server Programming Interface (?). Vadim (?) added
it as the interface for C and other programming language functions
to execute queries inside the backend. AFAIK, it follows the standard
prepare-bind-execute-fetch model for its queries.

It is quite well documented in the standard PG docs.

-------------------
Hannu Krosing

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 1999-01-19 02:03:08 Re: [HACKERS] Postgres Speed or lack thereof
Previous Message The Hermit Hacker 1999-01-18 22:41:34 Re: [HACKERS] I need a PostgreSQL vacation