Re: [GENERAL] Newbie questions relating to transactions

2009-03-08 Thread Carl Sopchak
On Sunday, March 08, 2009, Tom Lane wrote: > Carl Sopchak writes: > > Here's what's around the error message in the log: > > > > SPI Proc: 3154128080 total in 398 blocks; 13664 free (178 chunks); > > 3154114416 used > > Hmm, so apparently some internal leak within the plpgsql engine. I'd be >

Re: [GENERAL] Newbie questions relating to transactions

2009-03-08 Thread Tom Lane
Carl Sopchak writes: > Here's what's around the error message in the log: > SPI Proc: 3154128080 total in 398 blocks; 13664 free (178 chunks); > 3154114416 used Hmm, so apparently some internal leak within the plpgsql engine. I'd be willing to look into this if you can provide a self-conta

Re: [GENERAL] Newbie questions relating to transactions

2009-03-08 Thread Carl Sopchak
On Sunday, March 08, 2009, Tom Lane wrote: > Carl Sopchak writes: > > On Sunday, March 08, 2009, Gregory Stark wrote: > >> What do you mean you're running out of memory? > > > > "ERROR: Out of Memory" is what I meant when I said I was running out of > > memory! :-) This is returned by psql, but

Re: [GENERAL] Newbie questions relating to transactions

2009-03-08 Thread Carl Sopchak
On Sunday, March 08, 2009, Alvaro Herrera wrote: > Carl Sopchak wrote: > > Well, the upgrade to 8.3 seemed to rid me of the command limit, but now > > I'm running out of memory. I have 2Gb physical and 8Gb swap (after > > adding 4Gb). > > Do you have AFTER triggers on the involved tables? They ar

Re: [GENERAL] Newbie questions relating to transactions

2009-03-08 Thread Thomas Kellerer
Carl Sopchak wrote on 08.03.2009 17:37: or a way to run a function outside an implicit transaction No sensible DBMS will let you do _anything_ outside a transaction Thomas -- Sent via pgsql-general mailing list (pgsql-general@postgresql.org) To make changes to your subscription: http://www.

Re: [GENERAL] Newbie questions relating to transactions

2009-03-08 Thread Tom Lane
Carl Sopchak writes: > On Sunday, March 08, 2009, Gregory Stark wrote: >> What do you mean you're running out of memory? > "ERROR: Out of Memory" is what I meant when I said I was running out of > memory! :-) This is returned by psql, but it is the postmaster process that > is hitting the wal

Re: [GENERAL] Newbie questions relating to transactions

2009-03-08 Thread Carl Sopchak
On Sunday, March 08, 2009, Gregory Stark wrote: > Carl Sopchak writes: > > Well, the upgrade to 8.3 seemed to rid me of the command limit, but now > > I'm running out of memory. I have 2Gb physical and 8Gb swap (after > > adding 4Gb). > > What do you mean you're running out of memory? For most pa

Re: [GENERAL] Newbie questions relating to transactions

2009-03-08 Thread Alvaro Herrera
Carl Sopchak wrote: > Well, the upgrade to 8.3 seemed to rid me of the command limit, but now I'm > running out of memory. I have 2Gb physical and 8Gb swap (after adding 4Gb). Do you have AFTER triggers on the involved tables? They are recorded on memory and we have no mechanism to spill to dis

Re: [GENERAL] Newbie questions relating to transactions

2009-03-08 Thread Gregory Stark
Carl Sopchak writes: > Well, the upgrade to 8.3 seemed to rid me of the command limit, but now I'm > running out of memory. I have 2Gb physical and 8Gb swap (after adding 4Gb). What do you mean you're running out of memory? For most part of Postgres that's only a problem if you've configured i

Re: [GENERAL] Newbie questions relating to transactions

2009-03-08 Thread Carl Sopchak
Well, the upgrade to 8.3 seemed to rid me of the command limit, but now I'm running out of memory. I have 2Gb physical and 8Gb swap (after adding 4Gb). Is there a way for me to run this outside of one huge transaction? This really shouldn't be using more than a few hundred megs of RAM (assumin

Re: [GENERAL] Newbie questions relating to transactions

2009-03-07 Thread Tom Lane
Carl Sopchak writes: > I have written a PL/pgSQL function that performs these calculations by > reading > the needed data, calculating, and saving the results. When run over a > smaller set of data, it works fine. But when I tried to run it over this > larger set of data, I got the error mes

[GENERAL] Newbie questions relating to transactions

2009-03-07 Thread Carl Sopchak
Hi, I'm new to pgsql (but not databases in general) and I've run into a roadblock that I'm having difficulty figuring out how to get around. Any help would be greatly appreciated! I'm using the database to store the results of calculations over data in some tables. There are a lot of data re

[GENERAL] Newbie questions (pg_global, tablespace, pg_temp, ...)

2007-01-17 Thread Alexi Gen
Hello, I'm new to postgreSQL (not databases) and trying to find my way arouund. Have a couple of questions: (a) In which dir is the pg_global stored? Is it "C:\Program Files\PostgreSQL\8.2\data\global"? (b) Why is the pg_tablespace.spclocation column=null for pg_default & pg_global? (c) When

Re: [GENERAL] Newbie questions (pg_global, tablespace, pg_temp, ...)

2007-01-17 Thread Martijn van Oosterhout
On Wed, Jan 17, 2007 at 07:02:13PM +0530, Alexi Gen wrote: > Hello, > > I'm new to postgreSQL (not databases) and trying to find my way arouund. > Have a couple of questions: > > (a) In which dir is the pg_global stored? > Is it "C:\Program Files\PostgreSQL\8.2\data\global"? Yes. > (b) Why is t

[GENERAL] Newbie questions (pg_global, tablespace, pg_temp, ...)

2007-01-17 Thread Alexi Gen
Hello, I'm new to postgreSQL (not databases) and trying to find my way arouund. Have a couple of questions: (a) In which dir is the pg_global stored? Is it "C:\Program Files\PostgreSQL\8.2\data\global"? (b) Why is the pg_tablespace.spclocation column=null for pg_default & pg_global? (c) When

Re: [GENERAL] Newbie Questions

2005-10-24 Thread Oliver Elphick
On Fri, 2005-10-21 at 19:46 -0400, Douglas McNaught wrote: > Redefined Horizons <[EMAIL PROTECTED]> writes: > > > I'm running the latest stable version of PostgreSQL on a Debian Linux box > > running Gnome 2.0. I've just started setting up my first database with > > PostgreSQL and I've got a few n

Re: [GENERAL] Newbie Questions

2005-10-21 Thread Guy Rouillier
Changed your email format from HTML to plain text, which is preferred on most mailing lists. Redefined Horizons wrote: > I'm running the latest stable version of PostgreSQL on a Debian Linux > box running Gnome 2.0. I've just started setting up my first database > with PostgreSQL and I've got a fe

Re: [GENERAL] Newbie Questions

2005-10-21 Thread Douglas McNaught
Redefined Horizons <[EMAIL PROTECTED]> writes: > I'm running the latest stable version of PostgreSQL on a Debian Linux box > running Gnome 2.0. I've just started setting up my first database with > PostgreSQL and I've got a few newbie questions: I'm going to assume you installed the Debian packag

[GENERAL] Newbie Questions

2005-10-21 Thread Redefined Horizons
I'm running the latest stable version of PostgreSQL on a Debian Linux box running Gnome 2.0. I've just started setting up my first database with PostgreSQL and I've got a few newbie questions:   [1] Is there a way to determine where all the parts of my defualt PostgreSQL installation are located?  

Re: [GENERAL] Newbie questions

1999-06-08 Thread K.T.
From: Scott Alexander <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] <[EMAIL PROTECTED]> Date: Tuesday, June 08, 1999 5:57 PM Subject: [GENERAL] Newbie questions >Database design - CASE tools > >For people who *don't* use a CASE tool: what

[GENERAL] Newbie questions

1999-06-08 Thread Scott Alexander
Hello everyone - I'm new to PostgreSQL so bear with me if this seems like obvious questions. (By the way, I did read the FAQ at http://metalab.unc.edu/LDP/HOWTO/PostgreSQL-HOWTO.html#toc26 but these questions weren't addressed there...) Database design - CASE tools M

[GENERAL] Newbie questions

1999-06-08 Thread Scott Alexander
Hello everyone - I'm new to PostgreSQL so bear with me if this seems like obvious questions. (By the way, I did read the FAQ at http://metalab.unc.edu/LDP/HOWTO/PostgreSQL-HOWTO.html#toc26 but these questions weren't addressed there...) Database design - CASE tools M