Re: where are the query output tuples stored

Поиск
Список
Период
Сортировка
От Dave Page
Тема Re: where are the query output tuples stored
Дата
Msg-id AANLkTimzCexdS+Xw8XpXWpO3Ae===N3yr_JhXRvv2U5Y@mail.gmail.com
обсуждение исходный текст
Ответ на Re: where are the query output tuples stored  (Raymond O'Donnell <rod@iol.ie>)
Ответы Re: where are the query output tuples stored  (Qiqi YU <vonclemay@gmail.com>)
Список pgadmin-support
On Tue, Mar 8, 2011 at 5:18 PM, Raymond O'Donnell <rod@iol.ie> wrote:
> On 08/03/2011 11:43, Qiqi YU wrote:
>>
>> Hi Raymond,
>>
>> That could be one possible way.
>> The thing is I need to extend the current pgAdmin tool, such as adding
>> a new tuple to the output panel (the output panel would contain many
>> tuples of resultant data). So which function in pgAdmin does the job
>> of creating the output table and filling in the data? I have been
>> using ddd to trace the program, but pgAdmin keeps starting new threads
>> and lost me.
>
> I'm afraid I don't know.... the source code for PgAdmin is at
> www.pgadmin.org, and the developers are on this list, so maybe they can help
> you.

The data is stored in a virtual table - the grid accesses it directly
from the pgSet object we get when we run the query, by using the
sqlResultTable::GetValue function whenever it wants a value.


-- 
Dave Page
Blog: http://pgsnake.blogspot.com
Twitter: @pgsnake

EnterpriseDB UK: http://www.enterprisedb.com
The Enterprise PostgreSQL Company


В списке pgadmin-support по дате отправления:

Предыдущее
От: Qiqi YU
Дата:
Сообщение: Re: where are the query output tuples stored
Следующее
От: "Johann 'Myrkraverk' Oskarsson"
Дата:
Сообщение: Why not .../bin/amd64/pg_config?