Previous   Next 

Function set_curcfg

Sets the current configuration.

set_curcfg(configuration INT | TEXT) RETURNS VOID

  • 'configuration' is the int oid or text name of a configuration listed in table pg_ts_cfg.
SELECT oid, ts_name FROM pg_ts_cfg;
  
  oid  |     ts_name
-------+-----------------
 17211 | default
 17212 | default_russian
 17213 | simple
 17569 | default_english
(4 rows)

SELECT set_curcfg('default');

 set_curcfg
------------

(1 row)