Re: plpgsql loop not returning value - Mailing list pgsql-general

From Josh Close
Subject Re: plpgsql loop not returning value
Date
Msg-id 4a0cafe204101616555df74a04@mail.gmail.com
Whole thread Raw
In response to Re: plpgsql loop not returning value  (Michael Fuhr <mike@fuhr.org>)
Responses Re: plpgsql loop not returning value
List pgsql-general
On Sat, 16 Oct 2004 10:20:35 -0600, Michael Fuhr <mike@fuhr.org> wrote:
> Glad you got it working.
>
> A question about your design: you appear to have a tblBatchHistory_X
> table for each iId value in tblServers.  Is there a reason for doing
> that instead of having a single tblBatchHistory table with a foreign
> key reference to tblServers?

I didn't write it, but it's to avoid locking. Each table is for a
different server. They are all writing at the same time, and I guess
it speeds up the inserts to have them in different tables. It makes
querying them a little bit more tricky, but it's not bad.

-Josh

pgsql-general by date:

Previous
From: "Dann Corbit"
Date:
Subject: Re: pgsql function using C++?, or at least C interfacing with C++ lib?
Next
From: Steven Klassen
Date:
Subject: Re: Newbie table definition question