Repository navigation
chore: bump libpg-query to 18.2.7 (PG 18 stack depth fix) - #408
Conversation
|
Review complete. No blocking issues — approved ✅; 1 nitpick below. 🧹 Nitpicks (1) — 🟢 1 low
This PR upgrades the
No other files were touched; none were skipped. Reviewed commit: 3921c71 |
|
I'll fix CI failures and address comments from users with write access. I'll skip comments containing "(aside)".
|
|
No actionable comments were generated in the recent review. Walkthrough
Merge Risk:
|
|
Review the following changes in direct dependencies. Learn more about Socket for GitHub.
|
|
@Luxor-Code-Review Thanks. Keeping it as a single-statement check on purpose: the regression on 18.2.6 is |
Summary
Bumps
libpg-query18.2.6 → 18.2.7 in every PG 18 package andconfig/versions.json(lockfile updated). 18.2.7 restores the PG 18 WASM stack-depth budget (constructive-io/libpg-query-node#210, libpg_query7791971), so deeply chained expressions parse again.Adds a regression test in
packages/parser/__tests__/parser.test.ts:parseSync('SELECT 1 + 1 + ... ')with 2000 terms. On 18.2.6 this returnsstack depth limit exceeded; on 18.2.7 it parses.Old/new WASM
parseSyncdiff over all kitchen-sink fixtures: 312 files / 24159 generated statements, 0 differences; generated files unchanged.Implemented in session Publish libpg-query 18.2.7 with WASM stack fix
Review with Devin · Open in Devin Desktop
Summary by CodeRabbit
SELECTexpression with 2,000 chained terms and returns a single statement.