| From: | Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us> |
|---|---|
| To: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
| Cc: | Rod Taylor <rbt(at)zort(dot)ca>, pgsql-bugs(at)postgresql(dot)org |
| Subject: | Re: 7.2 crash... |
| Date: | 2002-04-14 17:22:49 |
| Message-ID: | 200204141722.g3EHMnx13675@candle.pha.pa.us |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-bugs pgsql-hackers |
Oops, I see now. How is this?
Remember, I am not incredibly capable, just persistent. :-)
---------------------------------------------------------------------------
Tom Lane wrote:
> Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us> writes:
> > *** src/backend/commands/vacuum.c 12 Apr 2002 20:38:25 -0000 1.223
> > --- src/backend/commands/vacuum.c 14 Apr 2002 16:41:37 -0000
> > ***************
> > *** 181,186 ****
> > --- 181,189 ----
> > if (IsTransactionBlock())
> > elog(ERROR, "%s cannot run inside a BEGIN/END block", stmttype);
>
> > + if (!MemoryContextContains(QueryContext, vacstmt))
> > + elog(ERROR, "VACUUM cannot be executed from a function");
> > +
> > /*
> > * Send info about dead objects to the statistics collector
> > */
>
> > --ELM1018803173-10746-0_--
>
> Compare to immediately preceding error check. Isn't there something
> missing here?
>
> regards, tom lane
>
--
Bruce Momjian | http://candle.pha.pa.us
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 853-3000
+ If your life is a hard drive, | 830 Blythe Avenue
+ Christ can be your backup. | Drexel Hill, Pennsylvania 19026
| Attachment | Content-Type | Size |
|---|---|---|
| unknown_filename | text/plain | 717 bytes |
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Tom Lane | 2002-04-14 17:30:00 | Re: Bug #633: CASE statement evaluation does not short-circut |
| Previous Message | Tom Lane | 2002-04-14 17:15:30 | Re: 7.2 crash... |
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Tom Lane | 2002-04-14 17:30:00 | Re: Bug #633: CASE statement evaluation does not short-circut |
| Previous Message | Bruce Momjian | 2002-04-14 17:20:20 | Re: Again, sorry, caching. |