Skip to content

Commit

Permalink
Adjust schema for start_background_workers to new location (timescale…
Browse files Browse the repository at this point in the history
  • Loading branch information
svenklemm authored Sep 27, 2023
1 parent fb04c50 commit 5536cc9
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion _troubleshooting/cagg-watermark-in-future.md
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ window.

```sql
SELECT COALESCE(
_timescaledb_internal.to_timestamp(_timescaledb_internal.cagg_watermark(<ID>)),
_timescaledb_functions.to_timestamp(_timescaledb_functions.cagg_watermark(<ID>)),
'-infinity'::timestamp with time zone
);
```
Expand Down
2 changes: 1 addition & 1 deletion _troubleshooting/scheduled-jobs-stop-running.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ Your scheduled jobs might stop running for various reasons. On self-hosted
TimescaleDB, you can fix this by restarting background workers:

```sql
SELECT _timescaledb_internal.start_background_workers();
SELECT _timescaledb_functions.start_background_workers();
```

<CloudMSTRestartWorkers />
2 changes: 1 addition & 1 deletion quick-start/ruby.md
Original file line number Diff line number Diff line change
Expand Up @@ -238,7 +238,7 @@ and most other tasks are executed on the hypertable.
Indexes:
"page_loads_created_at_idx" btree (created_at DESC)
Triggers:
ts_insert_blocker BEFORE INSERT ON page_loads FOR EACH ROW EXECUTE FUNCTION _timescaledb_internal.insert_blocker()
ts_insert_blocker BEFORE INSERT ON page_loads FOR EACH ROW EXECUTE FUNCTION _timescaledb_functions.insert_blocker()
```
</Collapsible>
Expand Down
2 changes: 1 addition & 1 deletion self-hosted/multinode-timescaledb/multinode-maintenance.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ The custom maintenance job can be run as a user-defined action. For example:
CREATE OR REPLACE PROCEDURE data_node_maintenance(job_id int, config jsonb)
LANGUAGE SQL AS
$$
SELECT _timescaledb_internal.remote_txn_heal_data_node(fs.oid)
SELECT _timescaledb_functions.remote_txn_heal_data_node(fs.oid)
FROM pg_foreign_server fs, pg_foreign_data_wrapper fdw
WHERE fs.srvfdw = fdw.oid
AND fdw.fdwname = 'timescaledb_fdw';
Expand Down
2 changes: 1 addition & 1 deletion use-timescale/troubleshoot-timescaledb.md
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ Your scheduled jobs might stop running for various reasons. On self-hosted
TimescaleDB, you can fix this by restarting background workers:

```sql
SELECT _timescaledb_internal.start_background_workers();
SELECT _timescaledb_functions.start_background_workers();
```

<CloudMSTRestartWorkers />
Expand Down

0 comments on commit 5536cc9

Please sign in to comment.