Re: [HACKERS] Backend crash (long)

2002-09-19 Thread Robert Treat
I've definitely seen errors from including vacuum and/or analyze statements in functions, I think I've seen crashes too. If you check the docs I'm pretty sure they mention the specifics of not being able to use such statements. Robert Treat On Wed, 2002-09-18 at 04:09, Michael Paesold wrote: > H

Re: [HACKERS] Backend crash (long)

2002-09-18 Thread Tom Lane
Rod Taylor <[EMAIL PROTECTED]> writes: > On Wed, 2002-09-18 at 11:03, Tom Lane wrote: >> "Michael Paesold" <[EMAIL PROTECTED]> writes: > I have written a test function, that will create a sequence and a table, > than insert one million rows into the table, analyze the table and create an > index o

Re: [HACKERS] Backend crash (long)

2002-09-18 Thread Rod Taylor
On Wed, 2002-09-18 at 11:03, Tom Lane wrote: > "Michael Paesold" <[EMAIL PROTECTED]> writes: > > I have written a test function, that will create a sequence and a table, > > than insert one million rows into the table, analyze the table and create an > > index on one of the columns. > > You can't

Re: [HACKERS] Backend crash (long)

2002-09-18 Thread Tom Lane
"Michael Paesold" <[EMAIL PROTECTED]> writes: > I have written a test function, that will create a sequence and a table, > than insert one million rows into the table, analyze the table and create an > index on one of the columns. You can't run ANALYZE inside a function. In CVS tip there's a che

[HACKERS] Backend crash (long)

2002-09-18 Thread Michael Paesold
Hi all, I have written a test function, that will create a sequence and a table, than insert one million rows into the table, analyze the table and create an index on one of the columns. (so this will all happen inside on transaction) After doing that, the backend will crash. (but the data will