1
0
mirror of https://github.com/postgres/postgres.git synced 2025-08-27 07:42:10 +03:00

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 a2e35b53c3.
This commit is contained in:
Alvaro Herrera
2015-03-25 15:57:08 -03:00
parent b3196e65f5
commit 8217fb1441
3 changed files with 13 additions and 3 deletions

View File

@@ -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);