From: | Tina Messmann <tina(dot)messmann(at)xinux(dot)de> |
---|---|
To: | Shaun Thomas <sthomas(at)townnews(dot)com>, pgsql-general(at)postgresql(dot)org |
Subject: | Re: Contrib: Reindex script. |
Date: | 2002-05-10 13:15:45 |
Message-ID: | 3CDBC801.40503@xinux.de |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general pgsql-patches |
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
Regards
Tina
From | Date | Subject | |
---|---|---|---|
Next Message | Daniel Lucazeau | 2002-05-10 13:53:15 | Database encoding |
Previous Message | Sangbutsarakum, Patai | 2002-05-10 11:02:16 | 7.2.1 on OpenBSD 3.0 |
From | Date | Subject | |
---|---|---|---|
Next Message | Joe Conway | 2002-05-10 18:02:28 | Re: troubleshooting pointers |
Previous Message | Tom Lane | 2002-05-10 00:15:13 | Re: troubleshooting pointers |