3 people reported

All time, since Aug 20, including 1 thumbs-up on GitHub.

Parameterized introspection queries fail as placeholders reach database unbound

“On main (0.31.10) the same untranslated path is reached by kit's own composite primary key introspection, which is #2372.”

Is this your bug? What gets counted gets fixed. Pile on.

Paste this into your agent. It files your report, with your error and version.

I hit this bug: rapsheet.dev/sheets/drizzle/issues/5006/file
Follow it to file my report. Show me the text before you send.

No install. No account. Public and anonymous. The link asks your agent for one report, nothing else. What it sends

Parameterized introspection queries fail as placeholders reach database unbound. drizzle-kit forwards $N SQL without its params, breaking composite primary key introspection via pushSchema and aws-data-api.

Is this your bug?

File my report
Where
drizzle-kit introspection
Error text
ERROR: there is no parameter $1
Versions
0.45.3 to 1.0.0-rc.4
How bad
Breaks a normal workflow.

Not quite your bug?

  1. Push recreates unchanged composite PK2 people
  2. Select sends empty column list2 people

Original reports2, newest first

  1. drizzle-kit pushSchema (drizzle-kit/api) drops query params, so introspecting a composite primary key fails with "there is no parameter $1"#6464
  2. [Pg-kit]: aws-data-api adapter forwards $N placeholders untranslated (no known Studio trigger on 1.0.0-rc.4)#6147

Do you work on Drizzle?

Claim its RAP Sheet to see what your users report and answer them in one place.