feat: hel: "" -> <>

This commit is contained in:
2025-04-19 22:38:58 +00:00
parent 0c58befc43
commit 62abe7b846
2 changed files with 9 additions and 9 deletions

View File

@@ -1,12 +1,11 @@
MODULE_big = hel MODULE_big = hel
OBJS = hel.o OBJS = hel.o
EXTENSION = hel EXTENSION = hel
DATA = hel--0.1.sql
DATA = $(wildcard *.sql)
PG_CONFIG = pg_config PG_CONFIG = pg_config
PGXS := $(shell $(PG_CONFIG) --pgxs)
HECTIC_CONFIG = hectic-config HECTIC_CONFIG = hectic-config
CFLAGS += $(shell $(HECTIC_CONFIG) --cflags) CFLAGS += $(shell $(HECTIC_CONFIG) --cflags)
@@ -14,4 +13,5 @@ LDFLAGS += $(shell $(HECTIC_CONFIG) --libs)
SHLIB_LINK := $(LIBS) SHLIB_LINK := $(LIBS)
PGXS := $(shell $(PG_CONFIG) --pgxs)
include $(PGXS) include $(PGXS)

View File

@@ -1,8 +1,8 @@
#include "postgres.h" #include <postgres.h>
#include "fmgr.h" #include <fmgr.h>
#include "utils/builtins.h" #include <utils/builtins.h>
#include "utils/json.h" #include <utils/json.h>
#include "hectic.h" #include <hectic.h>
#include <string.h> #include <string.h>
#ifdef PG_MODULE_MAGIC #ifdef PG_MODULE_MAGIC
@@ -304,4 +304,4 @@ Datum render(PG_FUNCTION_ARGS)
arena_free(&arena); arena_free(&arena);
PG_RETURN_TEXT_P(result); PG_RETURN_TEXT_P(result);
} }