Skip to content

documentdb_api_internal.cursor_directory_cleanup() is not a procedure #238

Open
@AlekSi

Description

@AlekSi

Describe the bug

Noticed that in logs:

ERROR:  documentdb_api_internal.cursor_directory_cleanup() is not a procedure at character 6
HINT:  To call a function, use SELECT.
STATEMENT:  CALL documentdb_api_internal.cursor_directory_cleanup();

And, indeed, this function is being CALLed:

PERFORM cron.schedule('documentdb_cursor_cleanup_task', '* * * * *', $$CALL documentdb_api_internal.cursor_directory_cleanup();$$);

Environment

v0.104, any environment.

Reproduction Steps

  1. Run it.
  2. Check logs.

Expected behavior

This function is called with SELECT, no error in logs.

Actual behavior

This function is called with CALL, an error in the logs.

Additional context

N/A

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions