Skip to content

Postgres Storedproc docs - #265

Open
ruokun-niu wants to merge 1 commit into
drasi-project:mainfrom
ruokun-niu:postgres-storedproc-docs
Open

Postgres Storedproc docs#265
ruokun-niu wants to merge 1 commit into
drasi-project:mainfrom
ruokun-niu:postgres-storedproc-docs

Conversation

@ruokun-niu

Copy link
Copy Markdown
Contributor

Description

This pull request adds comprehensive documentation for configuring the new PostgreSQL Stored Procedure reaction in Drasi Server. It introduces a dedicated how-to guide and updates the main reactions configuration documentation to include this new integration.

Documentation Additions and Updates:

New PostgreSQL Stored Procedure Reaction Guide:

  • Introduces a detailed how-to guide (configure-storedproc-postgres-reaction/_index.md) explaining how to set up reactions that invoke PostgreSQL stored procedures on query result changes, including configuration options, template syntax, error handling, and practical examples.

Navigation and Discoverability:

  • Updates the main reactions configuration how-to index to add a card linking to the new PostgreSQL Stored Procedure reaction guide, improving discoverability for users.

Type of change

  • This pull request fixes a bug in Drasi and has an approved issue (issue link required).
  • This pull request adds or changes features of Drasi and has an approved issue (issue link required).
  • This pull request is a minor refactor, code cleanup, test improvement, or other maintenance task and doesn't change the functionality of Drasi (issue link optional).

Fixes: #258

Signed-off-by: Ruokun Niu <ruokunniu@microsoft.com>
@ruokun-niu
ruokun-niu requested review from a team and a lite review from Copilot August 7, 2026 22:26
@ruokun-niu ruokun-niu self-assigned this Aug 7, 2026

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

Adds Drasi Server documentation for the new storedproc-postgres reaction, including a dedicated how-to page and a new entry in the reactions index for discoverability.

Changes:

  • Added a new “Configure PostgreSQL Stored Procedure Reaction” guide with configuration reference, template syntax, and worked examples.
  • Updated the Drasi Server “Configure Reactions” index to include a new card linking to the stored-proc Postgres guide.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 2 comments.

File Description
docs/content/drasi-server/how-to-guides/configuration/configure-reactions/configure-storedproc-postgres-reaction/_index.md New how-to guide documenting storedproc-postgres configuration, templates, examples, and references.
docs/content/drasi-server/how-to-guides/configuration/configure-reactions/_index.md Adds a new card linking to the stored procedure Postgres reaction documentation.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

| `after` | The post-change row | `added`, `updated` |
| `before` | The pre-change row | `updated`, `deleted` |
| `data` | The raw data payload of an update diff | `updated` |
| `query_id` / `query_name` | The ID of the query that produced the result (aliases holding the same value) | all |
<div class="unified-card-icon"><i class="fas fa-database"></i></div>
<div class="unified-card-content">
<h3 class="unified-card-title">PostgreSQL Stored Procedure</h3>
<p class="unified-card-summary">Invoke Postgres stored procedures on changes</p>
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.

Docs: Add "Configure PostgreSQL Stored Procedure Reaction" page for Drasi Server

2 participants