On Tue, Mar 8, 2011 at 5:18 PM, Raymond O'Donnell <r...@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 -- Sent via pgadmin-support mailing list (pgadmin-support@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgadmin-support