citusdata / citusdata/citus

Replace PL/pgSQL functions with C implementations

Open
#1,366 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
C
Stars
12.8k
Forks
794
Avg merge
2d 14h
Merged PRs (30d)
31

Description

PL/pgSQL functions are hard to maintain because they need to be redefined every time. It is hard to figure out which file the latest version is defined. In our current upgrade infrastructure, changes also cannot be tracked through version control.

More importantly, changes to PL/pgSQL functions require extension updates. This makes backporting impractical, since we'd need to support different upgrade paths. It also makes changes more difficult to test since you need to drop and recreate the extension.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.