patch for pg_autovacuum

Started by Brian Hirtover 22 years ago6 messagesgeneral
Jump to latest
#1Brian Hirt
bhirt@mobygames.com

here's a patch that joins on pg_class.oid instead of
pg_class.relfilenode, also i have renamed the table structure from
relfilenode to relid.

Attachments:

patchapplication/octet-stream; name=patch; x-unix-mode=0644Download+18-18
#2Matthew T. O'Connor
matthew@zeut.net
In reply to: Brian Hirt (#1)
Re: patch for pg_autovacuum

Brian Hirt wrote:

here's a patch that joins on pg_class.oid instead of
pg_class.relfilenode, also i have renamed the table structure from
relfilenode to relid.

I can't test this patch right now, but I know when I wrote pg_autovacuum
I didn't test for table truncate, so it sound logical. From eyeballing
the patch it looks correct.

Brian, you might want to post this to the pgsql-patches list.

#3Bruce Momjian
bruce@momjian.us
In reply to: Brian Hirt (#1)
Re: patch for pg_autovacuum

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.

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

Brian Hirt wrote:

here's a patch that joins on pg_class.oid instead of
pg_class.relfilenode, also i have renamed the table structure from
relfilenode to relid.

[ Attachment, skipping... ]

---------------------------(end of broadcast)---------------------------
TIP 8: explain analyze is your friend

-- 
  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
#4Brian Hirt
bhirt@mobygames.com
In reply to: Bruce Momjian (#3)
Re: patch for pg_autovacuum

Bruce,

for what it's worth, Matthew O'Connor submitted a patch which includes
my patch.

best regards,

Brian Hirt.

On Nov 29, 2003, at 10:14 PM, Bruce Momjian wrote:

Show quoted text

[ Attachment, skipping... ]

#5Bruce Momjian
bruce@momjian.us
In reply to: Brian Hirt (#1)
Re: patch for pg_autovacuum

Patch applied. Thanks.

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

Brian Hirt wrote:

here's a patch that joins on pg_class.oid instead of
pg_class.relfilenode, also i have renamed the table structure from
relfilenode to relid.

[ Attachment, skipping... ]

---------------------------(end of broadcast)---------------------------
TIP 8: explain analyze is your friend

-- 
  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
#6Bruce Momjian
bruce@momjian.us
In reply to: Brian Hirt (#1)
Re: patch for pg_autovacuum

Also applied to 7.4.X.

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

Brian Hirt wrote:

here's a patch that joins on pg_class.oid instead of
pg_class.relfilenode, also i have renamed the table structure from
relfilenode to relid.

[ Attachment, skipping... ]

---------------------------(end of broadcast)---------------------------
TIP 8: explain analyze is your friend

-- 
  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