Skip site navigation (1) Skip section navigation (2)

Re: vacuumlo patch

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Kenji Sugita <sugita(at)srapc1327(dot)sra(dot)co(dot)jp>
Cc: pgsql-patches(at)postgresql(dot)org
Subject: Re: vacuumlo patch
Date: 2002-12-10 01:57:09
Message-ID: 200212100157.gBA1v9e24428@candle.pha.pa.us (view raw or flat)
Thread:
Lists: pgsql-patches
Patch applied.  Thanks.

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


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(at)postgresql(dot)org so that your
> message can get through to the mailing list cleanly

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

In response to

pgsql-patches by date

Next:From: Bruce MomjianDate: 2002-12-10 01:57:44
Subject: Re: minor doc improvements
Previous:From: Philip WarnerDate: 2002-12-10 01:55:51
Subject: Re: psql's \d commands --- end of the line for

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group