Re: vacuumlo patch - Mailing list pgsql-patches

From Bruce Momjian
Subject Re: vacuumlo patch
Date
Msg-id 200212091811.gB9IBTU05989@candle.pha.pa.us
Whole thread Raw
In response to vacuumlo patch  (Kenji Sugita <sugita@srapc1327.sra.co.jp>)
List pgsql-patches
Your patch has been added to the PostgreSQL unapplied patches list at:

    http://momjian.postgresql.org/cgi-bin/pgpatches

I will try to apply it within the next 48 hours.

---------------------------------------------------------------------------


Kenji Sugita wrote:
> Following patch avoids removing oids in the temporary table from the temporary
> table.

> Index: vacuumlo.c
> ===================================================================
> RCS file: /projects/cvsroot/pgsql-server/contrib/vacuumlo/vacuumlo.c,v
> retrieving revision 1.17.2.1
> diff -u -r1.17.2.1 vacuumlo.c
> --- vacuumlo.c    2002/12/03 07:12:23    1.17.2.1
> +++ vacuumlo.c    2002/12/07 03:14:29
> @@ -284,6 +284,7 @@
>      strcat(buf, "      AND t.typname in ('oid', 'lo') ");
>      strcat(buf, "      AND c.relkind = 'r'");
>      strcat(buf, "      AND c.relname NOT LIKE 'pg_%'");
> +    strcat(buf, "      AND c.relname != 'vacuum_l'");
>      res = PQexec(conn, buf);
>      if (PQresultStatus(res) != PGRES_TUPLES_OK)
>      {

>
> ---------------------------(end of broadcast)---------------------------
> TIP 3: if posting/reading through Usenet, please send an appropriate
> subscribe-nomail command to majordomo@postgresql.org so that your
> message can get through to the mailing list cleanly

--
  Bruce Momjian                        |  http://candle.pha.pa.us
  pgman@candle.pha.pa.us               |  (610) 359-1001
  +  If your life is a hard drive,     |  13 Roberts Road
  +  Christ can be your backup.        |  Newtown Square, Pennsylvania 19073

pgsql-patches by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: [HACKERS] Patch to make Turks happy.
Next
From: Peter Eisentraut
Date:
Subject: Re: show casts and conversions in psql (2nd try)