You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am using execute method and getting following error:
Base.php(381) : pg_query(): Query failed: ERROR: CREATE INDEX CONCURRENTLY cannot run inside a transaction block
My exact query is as following:
$this->get_adapter()->execute_ddl("DROP INDEX IF EXISTS ix_events_type_cd;");
$this->get_adapter()->execute_ddl("CREATE INDEX CONCURRENTLY IF NOT EXISTS
ix_events_type_cd ON public.xtable USING btree (type_cd);");
I am using postgres,
Any would be appreciated.
thanks,
Jaffar
The text was updated successfully, but these errors were encountered:
Hi,
I am using execute method and getting following error:
Base.php(381) : pg_query(): Query failed: ERROR: CREATE INDEX CONCURRENTLY cannot run inside a transaction block
My exact query is as following:
$this->get_adapter()->execute_ddl("DROP INDEX IF EXISTS ix_events_type_cd;");
$this->get_adapter()->execute_ddl("CREATE INDEX CONCURRENTLY IF NOT EXISTS
ix_events_type_cd ON public.xtable USING btree (type_cd);");
I am using postgres,
Any would be appreciated.
thanks,
Jaffar
The text was updated successfully, but these errors were encountered: