diff options
author | Alvaro Herrera <alvherre@alvh.no-ip.org> | 2015-03-25 15:57:08 -0300 |
---|---|---|
committer | Alvaro Herrera <alvherre@alvh.no-ip.org> | 2015-03-25 15:57:08 -0300 |
commit | 8217fb1441ce4b4e1785f9acfa0ce50039247a10 (patch) | |
tree | 48f8c77a36f1bf9617e202fcc60ab63c574797ac /src/backend/tcop/utility.c | |
parent | b3196e65f5bfc997ec7fa3f91645a09289c10dee (diff) | |
download | postgresql-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/backend/tcop/utility.c')
-rw-r--r-- | src/backend/tcop/utility.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c index d9443b1496a..fd09d3ad9ed 100644 --- a/src/backend/tcop/utility.c +++ b/src/backend/tcop/utility.c @@ -1129,7 +1129,8 @@ ProcessUtilitySlow(Node *parsetree, case OBJECT_TSCONFIGURATION: Assert(stmt->args == NIL); DefineTSConfiguration(stmt->defnames, - stmt->definition); + stmt->definition, + NULL); break; case OBJECT_COLLATION: Assert(stmt->args == NIL); |