¾�ΥС�������ʸ�� �� 17 | 16 | 15 | 14 | 13 | 12 | 11 | 10 | 9.6 | 9.5 | 9.4 | 9.3 | 9.2 | 9.1 | 9.0 | 8.4 | 8.3 | 8.2 | 8.1 | 8.0 | 7.4 | 7.3 | 7.2

reindexdb

名前

reindexdb -- PostgreSQL�ǡ����١����Υ���ǥå�����ƺ������ޤ���

概要

reindexdb [connection-option...] [--table | -t table ] [--index | -i index ] [dbname]
reindexdb [connection-option...] [--all | -a]
reindexdb [connection-option...] [--system | -s] [dbname]

����

reindexdb�ϡ�PostgreSQL�ǡ����١�����Υ���ǥå�����ƺ�������桼�ƥ���ƥ��Ǥ���

reindexdb�ϡ�REINDEXSQL���ޥ�ɤΥ�åѤǤ��� ���Υ桼�ƥ���ƥ�����Ѥ��Ƥ�¾����ˡ�ǥ����Ф˥����������Ƥ⡢�ǡ����١�������ǥå����κƺ����ˤϼ¼�Ū�ʰ㤤�Ϥ���ޤ���

���ץ����

reindexdb�ϰʲ��Υ��ޥ�ɥ饤�����������դ��ޤ���

-a
--all

���٤ƤΥǡ����١����Υ���ǥå�����ƺ������ޤ���

[-d] dbname
[--dbname] dbname

����ǥå����ƺ�����Ԥ��ǡ����١�����̾������ꤷ�ޤ��� ���줬���ꤵ�줺�����ġ�-a�ʤޤ���--all�ˤ���Ѥ���Ƥ��ʤ���硢PGDATABASE�Ķ��ѿ�����ǡ����١���̾����ޤ�ޤ��� ��������ꤵ��Ƥ��ʤ����ϡ���³���˻��ꤷ���桼��̾�����Ѥ���ޤ���

-e
--echo

reindexdb�������������Ф������������ޥ�ɤ�ɽ�����ޤ���

-i index
--index index

index�Τߤ�ƺ������ޤ���

-q
--quiet

�ʹԥ�å�������ɽ�����ޤ���

-s
--system

�ǡ����١����Υ����ƥ५�������Υ���ǥå�����ƺ������ޤ���

-t table
--table table

table�Υ���ǥå����Τߤ�ƺ������ޤ���

�ޤ���reindexdb�ϡ���³�ѥ�᡼���Ȥ��ưʲ��Υ��ޥ�ɥ饤�����������դ��ޤ���

-h host
--host host

�����Ф���Ư���Ƥ���ޥ���Υۥ���̾����ꤷ�ޤ��� �ۥ���̾������å��夫��Ϥޤ��硢Unix�ɥᥤ�󥽥��å��ѤΥǥ��쥯�ȥ�Ȥ��ƻ��Ѥ���ޤ���

-p port
--port port

�����Ф���³��ƻ뤹��TCP�ݡ��Ȥ⤷����Unix�ɥᥤ�󥽥��åȥե�����γ�ĥ�Ҥ���ꤷ�ޤ���

-U username
--username username

��³����桼��̾����ꤷ�ޤ���

-w
--no-password

�ѥ���ɤ����Ϥ�¥���ޤ��� �����Ф��ѥ����ǧ�ڤ�ɬ�פȤ������ġ�.pgpass�ե�����ʤɤ�¾����ˡ�����ѤǤ��ʤ���硢��³��Ԥϼ��Ԥ��ޤ��� �Хå�����֤�ѥ���ɤ����Ϥ���桼����¸�ߤ��ʤ����ˤ��Υ��ץ�����ͭ�Ѥ��⤷��ޤ���

-W
--password

�ǡ����١�������³�������ˡ�reindexdb�϶���Ū�˥ѥ�������Ϥ�¥���ޤ���

�����Ф��ѥ����ǧ�ڤ��׵᤹����reindexdb�ϼ�ưŪ�˥ѥ�������Ϥ�¥���ޤ��Τǡ����줬���פˤʤ뤳�ȤϤ���ޤ��� ��������reindexdb�ϡ������Ф˥ѥ���ɤ�ɬ�פ��ɤ�����Ƚ�Ǥ��뤿�����³��Ԥ�̵�̤˹Ԥ��ޤ��� ��������;�פ���³��Ԥ��ɤ������-W�����Ϥ�ͭ�դȤʤ���⤢��ޤ���

��

PGDATABASE
PGHOST
PGPORT
PGUSER

�ǥե���Ȥ���³�ѥ�᡼���Ǥ���

�ޤ������Υ桼�ƥ���ƥ��ϡ�¾�ΤۤȤ�ɤ�PostgreSQL�桼�ƥ���ƥ���Ʊ�͡�libpq�ǥ��ݡ��Ȥ����Ķ��ѿ�����Ѥ��ޤ���項30.13�򻲾Ȥ��Ƥ��������ˡ�

����

���꤬ȯ��������硢�ͤ����븶���ȥ��顼��å������ˤĤ��Ƥ�������REINDEX��psql�򻲾Ȥ��Ƥ��������� �ǡ����١��������Фϡ����ꤷ���ۥ��ȤDz�Ư���Ƥ���ɬ�פ�����ޤ��� �ޤ���libpq�ե���ȥ���ɥ饤�֥��Υǥե���Ȥ������Ķ��ѿ���Ŭ������뤳�Ȥ����դ��Ƥ���������

����

reindexdb�μ¹���ˤ�PostgreSQL�����Ф˲��٤���³���ʤ���Фʤ�ʤ����Ȥ�����ޤ��������ξ�礽���٤˥ѥ���ɤ�ɬ�פǤ��� ���Τ褦�ʾ���~/.pgpass�ե�������Ѱդ��Ƥ����������Ǥ��� �ܺ٤�項30.14�򻲾Ȥ��Ƥ���������

��

�ǡ����١���test�Υ���ǥå�����ƺ������ޤ���

$ reindexdb test

abcd�Ȥ����ǡ����١�����Υơ��֥�foo�Υ���ǥå����ȥ���ǥå���bar��ƺ������ޤ���

$ reindexdb --table foo --index bar abcd

��Ϣ����

REINDEX