| From: | Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us> |
|---|---|
| To: | Tina Messmann <tina(dot)messmann(at)xinux(dot)de> |
| Cc: | Shaun Thomas <sthomas(at)townnews(dot)com>, pgsql-general(at)postgresql(dot)org |
| Subject: | Re: Contrib: Reindex script. |
| Date: | 2002-06-23 03:36:45 |
| Message-ID: | 200206230336.g5N3akZ12147@candle.pha.pa.us |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-general pgsql-patches |
Tina Messmann wrote:
> Shaun Thomas wrote:
>
> >Ok,
> >
> >As before, this script is basically a vacuumdb for indexes. I call it
> >reindexdb on my own system, and put it in the postgres binary directory
> >simply because it's indispensable in my system.
> >
> >This should be the last one.
> >
> [snip....]
>
> Hi Shaun,
>
> Thanks for that script but....
> your script doesn't deal with mixed case table names (reindexdb -a).
>
> I modified it to my needs by altering the REINDEX command from
>
> $PSQL $PSQLOPT $ECHOOPT -c "REINDEX TABLE $tab" -d $db
> to:
>
> $PSQL $PSQLOPT $ECHOOPT -c "REINDEX TABLE \"$tab\"" -d $db
Changes made to CVS, actually in two places. Patch attached.
--
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 | 1.4 KB |
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Bruce Momjian | 2002-06-23 03:45:33 | Re: Contrib reindex script: |
| Previous Message | Bruce Momjian | 2002-06-23 03:34:05 | Re: [GENERAL] Contrib: Reindex script. |
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Christopher Kings-Lynne | 2002-06-23 07:02:39 | Fix for fe-secure on FreeBSD/Alpha and FreeBSD/i386, v4.4 |
| Previous Message | Bruce Momjian | 2002-06-23 03:34:05 | Re: [GENERAL] Contrib: Reindex script. |