Another thing I see in the comment of PGConnection is this:
Copyright (c) 2001-2003 by Yanni Chiu. All Rights Reserved.

Does anyone know the actual license?

Doru


On Sun, Mar 2, 2014 at 5:34 PM, Tudor Girba <tudor@tudorgirba.com> wrote:
Hi,

I am trying to understand how PostgresV2 is implemented because I would like to build some inspector support for it, and I encounter a couple of issues. In case anyone knows the answer, it would speed up my effort:

- Why is result an instance variable in PGConnection? Making it a variable always returns the same object when executing a query and that is a bit of a pain.

- Why does the PGResult have the possibility of holding multiple PGResultSets? When is it possible to have multiple at the same time? (when you execute a query, the result is being initialized)

- When running something like�
connection execute: 'select * from ...'
the PGResultSet already includes all rows of the query. Is it not possible to have a stream-like functionality in which the actual rows are retrieved only on demand? (a similar functionality exists in DBXTalk)

- What is the difference between PGAsciiRow and PGDataRow?

Doru

--

"Every thing has its own flow"



--
www.tudorgirba.com

"Every thing has its own flow"