mirror of
https://github.com/postgres/postgres.git
synced 2025-10-16 17:07:43 +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:
@@ -15,7 +15,7 @@
|
||||
*
|
||||
*
|
||||
* IDENTIFICATION
|
||||
* $PostgreSQL: pgsql/src/bin/pg_dump/pg_backup_archiver.c,v 1.145 2007/08/06 01:38:14 tgl Exp $
|
||||
* $PostgreSQL: pgsql/src/bin/pg_dump/pg_backup_archiver.c,v 1.146 2007/08/21 01:11:20 tgl Exp $
|
||||
*
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
@@ -2419,7 +2419,9 @@ _getObjectDescription(PQExpBuffer buf, TocEntry *te, ArchiveHandle *AH)
|
||||
if (strcmp(type, "CONVERSION") == 0 ||
|
||||
strcmp(type, "DOMAIN") == 0 ||
|
||||
strcmp(type, "TABLE") == 0 ||
|
||||
strcmp(type, "TYPE") == 0)
|
||||
strcmp(type, "TYPE") == 0 ||
|
||||
strcmp(type, "TEXT SEARCH DICTIONARY") == 0 ||
|
||||
strcmp(type, "TEXT SEARCH CONFIGURATION") == 0)
|
||||
{
|
||||
appendPQExpBuffer(buf, "%s ", type);
|
||||
if (te->namespace && te->namespace[0]) /* is null pre-7.3 */
|
||||
@@ -2591,7 +2593,9 @@ _printTocEntry(ArchiveHandle *AH, TocEntry *te, RestoreOptions *ropt, bool isDat
|
||||
strcmp(te->desc, "TABLE") == 0 ||
|
||||
strcmp(te->desc, "TYPE") == 0 ||
|
||||
strcmp(te->desc, "VIEW") == 0 ||
|
||||
strcmp(te->desc, "SEQUENCE") == 0)
|
||||
strcmp(te->desc, "SEQUENCE") == 0 ||
|
||||
strcmp(te->desc, "TEXT SEARCH DICTIONARY") == 0 ||
|
||||
strcmp(te->desc, "TEXT SEARCH CONFIGURATION") == 0)
|
||||
{
|
||||
PQExpBuffer temp = createPQExpBuffer();
|
||||
|
||||
|
Reference in New Issue
Block a user