aboutsummaryrefslogtreecommitdiff
path: root/src/include/commands
diff options
context:
space:
mode:
authorAlvaro Herrera <alvherre@alvh.no-ip.org>2015-03-25 15:57:08 -0300
committerAlvaro Herrera <alvherre@alvh.no-ip.org>2015-03-25 15:57:08 -0300
commit8217fb1441ce4b4e1785f9acfa0ce50039247a10 (patch)
tree48f8c77a36f1bf9617e202fcc60ab63c574797ac /src/include/commands
parentb3196e65f5bfc997ec7fa3f91645a09289c10dee (diff)
downloadpostgresql-8217fb1441ce4b4e1785f9acfa0ce50039247a10.tar.gz
postgresql-8217fb1441ce4b4e1785f9acfa0ce50039247a10.zip
Add OID output argument to DefineTSConfiguration
... which is set to the OID of a copied text search config, whenever the COPY clause is used. This is in the spirit of commit a2e35b53c39.
Diffstat (limited to 'src/include/commands')
-rw-r--r--src/include/commands/defrem.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/include/commands/defrem.h b/src/include/commands/defrem.h
index a9c67838a63..595f93f79a5 100644
--- a/src/include/commands/defrem.h
+++ b/src/include/commands/defrem.h
@@ -101,7 +101,8 @@ extern ObjectAddress AlterTSDictionary(AlterTSDictionaryStmt *stmt);
extern ObjectAddress DefineTSTemplate(List *names, List *parameters);
extern void RemoveTSTemplateById(Oid tmplId);
-extern ObjectAddress DefineTSConfiguration(List *names, List *parameters);
+extern ObjectAddress DefineTSConfiguration(List *names, List *parameters,
+ ObjectAddress *copied);
extern void RemoveTSConfigurationById(Oid cfgId);
extern ObjectAddress AlterTSConfiguration(AlterTSConfigurationStmt *stmt);