pgsql-server/contrib/pg_autovacuum pg_autovacuum.c

From: momjian(at)svr1(dot)postgresql(dot)org (Bruce Momjian)
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql-server/contrib/pg_autovacuum pg_autovacuum.c
Date: 2003-09-11 19:01:18
Message-ID: 20030911190118.2BFCED1B546@svr1.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

CVSROOT: /cvsroot
Module name: pgsql-server
Changes by: momjian(at)svr1(dot)postgresql(dot)org 03/09/11 16:01:18

Modified files:
contrib/pg_autovacuum: pg_autovacuum.c

Log message:
> It quotes table names for vacuum and analyze, and uppercases the
> keywords for clarity.

Yeah, this is basically what I meant, sorry I didn't get to it quicker.

However, I tested it out a little and the patch you made doesn't work
because it produces commands like:

VACUUM ANALYZE "public.FooBar"

Which doesn't work, so I made my own patch that creates commands like:

VACUUM ANALYZE "public"."FooBar"

This allows for mixed case schema names as well as tables.

Adam, can you please give this a test as you are the person who caught
the bug in the first place.

Thanks,

Matthew T. O'Connor

Browse pgsql-committers by date

  From Date Subject
Next Message Bruce Momjian 2003-09-11 21:42:21 pgsql-server/doc/src/sgml docguide.sgml ecpg.s ...
Previous Message Bruce Momjian 2003-09-11 18:30:41 pgsql-server/ oc/src/sgml/charset.sgml oc/src/ ...