Index: contrib/reindex/reindex =================================================================== RCS file: /cvsroot/pgsql/contrib/reindex/reindex,v retrieving revision 1.2 diff -c -r1.2 reindex *** contrib/reindex/reindex 22 Jun 2002 04:08:07 -0000 1.2 --- contrib/reindex/reindex 23 Jun 2002 03:36:02 -0000 *************** *** 188,194 **** # Ok, no index. Is there a specific table to reindex? elif [ "$table" ]; then ! $PSQL $PSQLOPT $ECHOOPT -c "REINDEX TABLE $table" -d $dbname # No specific table, no specific index, either we have a specific database, # or were told to do all databases. Do it! --- 188,194 ---- # Ok, no index. Is there a specific table to reindex? elif [ "$table" ]; then ! $PSQL $PSQLOPT $ECHOOPT -c "REINDEX TABLE \"$table\"" -d $dbname # No specific table, no specific index, either we have a specific database, # or were told to do all databases. Do it! *************** *** 206,212 **** # database that we may reindex. tables=`$PSQL $PSQLOPT -q -t -A -d $db -c "$sql"` for tab in $tables; do ! $PSQL $PSQLOPT $ECHOOPT -c "REINDEX TABLE $tab" -d $db done done --- 206,212 ---- # database that we may reindex. tables=`$PSQL $PSQLOPT -q -t -A -d $db -c "$sql"` for tab in $tables; do ! $PSQL $PSQLOPT $ECHOOPT -c "REINDEX TABLE \"$tab\"" -d $db done done