Re: [HACKERS] psql

From: Bruno Wolff III <bruno(at)wolff(dot)to>
To: Nailah Ogeer <ogeer(at)cs(dot)queensu(dot)ca>
Cc: pgsql-general(at)postgresql(dot)org, pgsql-hackers(at)postgresql(dot)org
Subject: Re: [HACKERS] psql
Date: 2003-06-20 01:49:56
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-cygwin pgsql-general pgsql-hackers pgsql-patches

On Thu, Jun 19, 2003 at 17:07:43 -0400,
Nailah Ogeer <ogeer(at)cs(dot)queensu(dot)ca> wrote:

Please don't respond to other messages to start a new thread.

> What i am trying to do is to maintain a linked list of all the relations
> in a database. When i create a db then i want it to insert into the linked
> list the relation ids. As it stands now, i can create a db fine and i see
> the relation id's in the linked list. BUT, as soon as i psql into the db
> then they all disappear. I maintain an array that stores the linked lists
> which i initialized in buf_init.
> I don't understand this. Can someone explain why? Is it wiping out the
> array i initialized before.

You might be better off explaining to us what you are really trying to
do. Information about relations is already in the system catalogs.
Using a linked list in a relation database doesn't work very well.

In response to

  • psql at 2003-06-19 21:07:43 from Nailah Ogeer


Browse pgsql-cygwin by date

  From Date Subject
Next Message Nailah Ogeer 2003-06-20 15:00:42 Re: [HACKERS] psql
Previous Message Nailah Ogeer 2003-06-19 21:07:43 psql

Browse pgsql-general by date

  From Date Subject
Next Message Együd Csaba 2003-06-20 04:43:55 Getting one row for each subquery row...?
Previous Message Gene Leung 2003-06-20 01:45:46 big5 characters does not show properly at the new upgrade (version 7.3.3)

Browse pgsql-hackers by date

  From Date Subject
Next Message Michael A Nachbaur 2003-06-20 02:36:37 RServ patch to support multiple slaves (sorta)
Previous Message The Hermit Hacker 2003-06-20 01:23:23 tsearch V2 (Was: Re: Two weeks to feature freeze)

Browse pgsql-patches by date

  From Date Subject
Next Message Peter Eisentraut 2003-06-20 11:31:23 Re: Patch to be verbose about being unable to read
Previous Message Christopher Kings-Lynne 2003-06-20 01:21:52 Re: allowed user/db variables