sqltag

package
v1.166.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 21, 2026 License: Apache-2.0 Imports: 0 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Package sqltag is the comment that opens every statement the platform runs on an application database for its own bookkeeping (#2528): the type lookups a call makes, describe, plan, the own-database guard, the outbox poll and the health report. The health report's ranking of statements leaves out every statement carrying it, so what it ranks is the application's own work. A comment changes neither the plan nor pg_stat_statements' query id.

The statements write the comment into their text rather than concatenate this constant, so each stays one literal the statement gate can read; a test in each package holds every one to it.

Index

Constants

View Source
const Platform = "/* mcp-data-platform */"

Platform is the comment.

Variables

This section is empty.

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL