Skip to content

enable use_information_schema for ATTACH (1.5)#495

Merged
staticlibs merged 1 commit into
duckdb:v1.5-variegatafrom
staticlibs:use_info_schema_15
Jul 3, 2026
Merged

enable use_information_schema for ATTACH (1.5)#495
staticlibs merged 1 commit into
duckdb:v1.5-variegatafrom
staticlibs:use_info_schema_15

Conversation

@staticlibs

Copy link
Copy Markdown
Member

This is a backport of the PR #493 to v1.5-variegata stable branch.

PR following the conversation started at #490

I have excluded from the PR handling enums, composite types and indexes that are unfortunately reported differently by different DB vendors.

I see a couple options here:

  • leave ignored for now
  • try to auto-detect the actual DB this is talking to and pick the right queries to get the right info this way
  • change from a use_info_schema param to a pg_compatibility_mode_for=(spanner|redshift|cockroach|...)

Open to any of those options. Though auto-detection is probably the most brittle.

This is a backport of the PR duckdb#493 to `v1.5-variegata` stable branch.

PR following the conversation started at duckdb#490

I have excluded from the PR handling enums, composite types and indexes
that are unfortunately reported differently by different DB vendors.

I see a couple options here:

 - leave ignored for now
 - try to auto-detect the actual DB this is talking to and pick the
   right queries to get the right info this way
 - change from a `use_info_schema param` to a
  `pg_compatibility_mode_for=(spanner|redshift|cockroach|...)`

Open to any of those options. Though auto-detection is probably the most brittle.
@staticlibs staticlibs merged commit 3d355bb into duckdb:v1.5-variegata Jul 3, 2026
7 checks passed
@staticlibs staticlibs deleted the use_info_schema_15 branch July 3, 2026 16:25
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.

2 participants