Skip to content

Conversation

@cevian
Copy link
Contributor

@cevian cevian commented Oct 28, 2025

Summary

Fixed incorrect SQL syntax in prompt documentation files where add_columnstore_policy was being called with SELECT instead of CALL. Since add_columnstore_policy is a procedure (not a function), it must be invoked with CALL.

  • Fixed 5 instances across 2 prompt files
  • src/prompts/md/migrate_to_hypertables.md: 2 instances
  • src/prompts/md/setup_hypertable.md: 3 instances

Test plan

  • Review the diff to confirm all SELECT add_columnstore_policy(...) statements have been changed to CALL add_columnstore_policy(...)
  • Verify that no other procedures in the codebase are incorrectly using SELECT
  • Confirm the SQL syntax is now correct for TimescaleDB procedure calls

🤖 Generated with Claude Code

Updated all instances of add_columnstore_policy to use CALL instead of SELECT, as it is a procedure not a function. This affects 5 instances across 2 prompt files.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <[email protected]>
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