Skip to content

Add FinalizeLoad callback to catalogs, which can be called after the database is fully instantiated#17868

Merged
Mytherin merged 1 commit intoduckdb:v1.3-ossivalisfrom
Mytherin:finalizecatalog
Jun 11, 2025
Merged

Add FinalizeLoad callback to catalogs, which can be called after the database is fully instantiated#17868
Mytherin merged 1 commit intoduckdb:v1.3-ossivalisfrom
Mytherin:finalizecatalog

Conversation

@Mytherin
Copy link
Collaborator

This is necessary to support the duckdb ducklake:... syntax, since attaching DuckLake runs a bunch of queries that rely on the database to be mostly instantiated to run successfully (i.e. it requires amongst others core_functions to be loaded). This callback is called after this has finished.

In addition, we allow setting search paths directly without looking up whether or not they are valid - which is also useful when running queries prior to attaching a database you want to refer to.

@Mytherin Mytherin merged commit 05f691c into duckdb:v1.3-ossivalis Jun 11, 2025
48 checks passed
github-actions bot pushed a commit to duckdb/duckdb-r that referenced this pull request Jun 11, 2025
Add FinalizeLoad callback to catalogs, which can be called after the database is fully instantiated (duckdb/duckdb#17868)
github-actions bot added a commit to duckdb/duckdb-r that referenced this pull request Jun 11, 2025
Add FinalizeLoad callback to catalogs, which can be called after the database is fully instantiated (duckdb/duckdb#17868)

Co-authored-by: krlmlr <krlmlr@users.noreply.github.com>
@Mytherin Mytherin deleted the finalizecatalog branch June 12, 2025 15:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant