Frameworks
Packages that let extensions plug into more of PostgreSQL than SQL functions.
Beyond SQL functions, gopgext has packages for the other kinds of code an extension can add to PostgreSQL. They’re frameworks, like gokm’s: importing one compiles its C glue into the library (and adds its linker flags and install SQL), so extensions using them are pure Go.
httpHTTP(S) requests from SQL functions.
fdwForeign data wrappers: tables whose rows come from Go.
gistGiST operator classes: indexes for your data types.
ginGIN operator classes: inverted indexes over keys of values.
spgistSP-GiST operator classes: space-partitioned indexes.
brinBRIN operator classes: block range summaries.
amIndex access methods: new kinds of indexes, written in Go.
aggAggregates whose state is a Go value.
selectivitySelectivity estimators for your operators.
hooksObserve and instrument the statements a backend runs.
authHook into client authentication and password checks.
shmemShare state between backends through shared memory.
triggerTrigger and event trigger functions.
tsearchFull text search dictionaries and parsers.
subscriptSubscripting (x[...]) for your data types.
tablesampleTABLESAMPLE methods.