Help us shape the future of Go! Take the 2026 Go Developer Survey

postgresmigration

package
v0.26.0 Latest Latest
Warning

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

Go to latest
Published: Nov 3, 2026 License: MIT Imports: 3 Imported by: 0

Documentation

Overview

Package postgresmigration owns private deterministic artifact assembly for the PostgreSQL planner, which artifact creation and the runner share.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BindDataTransforms

func BindDataTransforms(artifact migration.Artifact, transforms []migration.DataTransformDescriptor) (migration.Artifact, error)

BindDataTransforms inserts checksum-only callback identities into the final transaction phase, immediately before its required-value audit when it has one and otherwise before the final PostgreSQL schema assertion, so the audit sees the values a transform writes.

func ValidateVersionedTransition

func ValidateVersionedTransition(before, after schema.Snapshot, transforms []migration.DataTransformDescriptor) error

ValidateVersionedTransition refuses transform-backed field changes that would leave retained snapshots on the previous structure.

Types

This section is empty.

Jump to

Keyboard shortcuts

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