DH_MAKE_PGXS(1)

✨ DH_MAKE_PGXS ✨

okay bestie, so this is the DH_MAKE_PGXS(1) page from the Debian PostgreSQL infrastructure manual, and it's literally about to make your whole extension-packaging situation cute πŸ’…


🌸 NAME 🌸

dh_make_pgxs β€” bestie, this thing spawns a brand-new Debian source package for a PGXS PostgreSQL extension. no cap, that's the whole job 🫢


πŸŽ€ SYNOPSIS πŸŽ€

dh_make_pgxs [-f] [-h URL] [-n name] [-v version]

πŸ’– DESCRIPTION πŸ’–

so here's the tea: dh_make_pgxs creates a debian/ directory tree for PostgreSQL extension packages that use the PGXS build system. the way it does the actual building? it lowkey hands that off to the pg_buildext tool. iconic behaviour, honestly πŸ”₯


⭐ OPTIONS ⭐

  • -f β€” overwrite existing files. it's giving "yes i know i'm being destructive, do it anyway" πŸ’€
  • -h URL β€” the package's upstream homepage. drop the link here so everybody knows where it came from 🌈
  • -n name β€” the package name you wanna use. default vibe? it just yanks it from the name of the current directory you're sitting in πŸ“βœ¨
  • -v version β€” the package version you wanna use. and same deal as above β€” if you don't say anything, it steals it from the current directory's name 🎯

πŸ¦‹ SEE ALSO πŸ¦‹

iykyk, go read those next if you're nosy πŸ‘€


πŸ‘‘ AUTHOR πŸ‘‘

Christoph Berg <myon@debian.org> β€” the main character who wrote this, periodt 🌟


and that's a wrap, babe 🫢 this was DH_MAKE_PGXS(1) from Debian, dated 2026-07-28 β€” go make some packages, you absolute legend πŸ’–πŸŽ€πŸ¦‹

πŸ“¦ where this page comes from