mirror of
https://github.com/postgres/postgres.git
synced 2025-06-30 21:42:05 +03:00
Tsearch2 functionality migrates to core. The bulk of this work is by
Oleg Bartunov and Teodor Sigaev, but I did a lot of editorializing, so anything that's broken is probably my fault. Documentation is nonexistent as yet, but let's land the patch so we can get some portability testing done.
This commit is contained in:
@ -3,7 +3,7 @@
|
||||
*
|
||||
* Copyright (c) 2000-2007, PostgreSQL Global Development Group
|
||||
*
|
||||
* $PostgreSQL: pgsql/src/bin/psql/command.c,v 1.180 2007/07/08 19:07:38 tgl Exp $
|
||||
* $PostgreSQL: pgsql/src/bin/psql/command.c,v 1.181 2007/08/21 01:11:22 tgl Exp $
|
||||
*/
|
||||
#include "postgres_fe.h"
|
||||
#include "command.h"
|
||||
@ -405,6 +405,27 @@ exec_command(const char *cmd,
|
||||
case 'u':
|
||||
success = describeRoles(pattern, show_verbose);
|
||||
break;
|
||||
case 'F': /* text search subsystem */
|
||||
switch (cmd[2])
|
||||
{
|
||||
case '\0':
|
||||
case '+':
|
||||
success = listTSConfigs(pattern, show_verbose);
|
||||
break;
|
||||
case 'p':
|
||||
success = listTSParsers(pattern, show_verbose);
|
||||
break;
|
||||
case 'd':
|
||||
success = listTSDictionaries(pattern, show_verbose);
|
||||
break;
|
||||
case 't':
|
||||
success = listTSTemplates(pattern, show_verbose);
|
||||
break;
|
||||
default:
|
||||
status = PSQL_CMD_UNKNOWN;
|
||||
break;
|
||||
}
|
||||
break;
|
||||
|
||||
default:
|
||||
status = PSQL_CMD_UNKNOWN;
|
||||
|
Reference in New Issue
Block a user