Skip to content

Commit

Permalink
Merge branch 'master' of github.com:leto/plparrot
Browse files Browse the repository at this point in the history
  • Loading branch information
leto committed Nov 6, 2009
2 parents 5a31045 + 4cc0bfb commit 67340b3
Show file tree
Hide file tree
Showing 3 changed files with 37 additions and 2 deletions.
2 changes: 0 additions & 2 deletions .gitignore
Expand Up @@ -4,11 +4,9 @@
*.o
core*
plparrot
Makefile
.*/*.pbc
src/lib/*.pbc
src/lib/Glue.pir
src/lib/Util.pir
src/*.o
src/lib/*.o
src/plparrot.c
18 changes: 18 additions & 0 deletions src/Makefile
@@ -0,0 +1,18 @@
# pllolcode Makefile $Id: Makefile,v 1.9 2009/05/04 15:04:55 eggyknap Exp $

MODULE_big = plparrot
OBJS= plparrot.o

EXTRA_CLEAN =

ifndef DONT_USE_PGXS
PGXS := $(shell pg_config --pgxs)
include $(PGXS)
else
subdir = contrib/plparrot
top_builddir = ../..
include $(top_builddir)/src/Makefile.global
include $(top_srcdir)/contrib/contrib-global.mk
endif


19 changes: 19 additions & 0 deletions src/plparrot.c
@@ -0,0 +1,19 @@
#include "postgres.h"
#include "executor/spi.h"
#include "commands/trigger.h"
#include "fmgr.h"
#include "access/heapam.h"
#include "utils/syscache.h"
#include "catalog/pg_proc.h"
#include "catalog/pg_type.h"


PG_MODULE_MAGIC;

PG_FUNCTION_INFO_V1(plparrot_call_handler);

Datum
plparrot_call_handler(PG_FUNCTION_ARGS)
{
PG_RETURN_VOID();
}

0 comments on commit 67340b3

Please sign in to comment.