pginit.patch

application/octet-stream

Filename: pginit.patch
Type: application/octet-stream
Part: 0
Message: [PATCH] Add _PG_init to PL language handler documentation

Patch

Same data as JSON: GET /api/v1/attachments/:id/patch the parsed metadata as JSON — format, series position, per-file stats; never the diff bytes. API reference →
Format: unified
File+
doc/src/sgml/plhandler.sgml 11 0
diff --git doc/src/sgml/plhandler.sgml doc/src/sgml/plhandler.sgml
index b82a5da..ec79c88 100644
--- doc/src/sgml/plhandler.sgml
+++ doc/src/sgml/plhandler.sgml
@@ -110,6 +110,17 @@
 PG_MODULE_MAGIC;
 #endif
 
+/*
+* _PG_init()                   - library load-time initialization
+*
+* DO NOT make this static nor change its name!
+*/
+void
+_PG_init(void)
+{
+
+}
+
 PG_FUNCTION_INFO_V1(plsample_call_handler);
 
 Datum