Skip to content

Conversation

@snadrus
Copy link
Contributor

@snadrus snadrus commented Jan 26, 2026

A SQL mistake left SPs with multiple functions of this shape, which results in errors in indexing.
Lets delete them all and put back the one we want.

@snadrus snadrus requested a review from a team as a code owner January 26, 2026 17:56
@magik6k magik6k requested a review from Copilot January 27, 2026 12:52
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Removes duplicated process_piece_deal stored procedure/function definitions that were causing indexing errors, and recreates a single canonical process_piece_deal function.

Changes:

  • Drops all existing process_piece_deal overloads found in pg_proc.
  • Recreates process_piece_deal with the desired signature and upsert/insert behavior for market_piece_metadata and market_piece_deal.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

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