fix?(package): postgreact: ~stir the stupid shit till it works [3]

This commit is contained in:
zerosummed
2025-04-18 21:37:23 +03:00
parent aec4876832
commit 60d977110c
7 changed files with 63 additions and 42 deletions

View File

@@ -1,14 +1,10 @@
#include "postgres.h"
#include "fmgr.h"
#include "utils/builtins.h" /* for text_to_cstring and cstring_to_text */
#include "postgreact.h"
#ifdef PG_MODULE_MAGIC
PG_MODULE_MAGIC;
#endif
Datum hello(PG_FUNCTION_ARGS)
{
PG_RETURN_TEXT_P(cstring_to_text("Eblan!"));
Datum hello(PG_FUNCTION_ARGS) {
PG_RETURN_TEXT_P(cstring_to_text("Eblan!"));
}
void _PG_init(void) {