-# contrib/test_sballoc/Makefile
+# contrib/test_balloc/Makefile
-MODULES = test_sballoc
+MODULES = test_balloc
-EXTENSION = test_sballoc
-DATA = test_sballoc--1.0.sql
+EXTENSION = test_balloc
+DATA = test_balloc--1.0.sql
ifdef USE_PGXS
PG_CONFIG = pg_config
PGXS := $(shell $(PG_CONFIG) --pgxs)
include $(PGXS)
else
-subdir = contrib/test_sballoc
+subdir = contrib/test_balloc
top_builddir = ../..
include $(top_builddir)/src/Makefile.global
include $(top_srcdir)/contrib/contrib-global.mk
-/* contrib/test_sballoc/test_sballoc--1.0.sql */
+/* contrib/test_balloc/test_balloc--1.0.sql */
-- complain if script is sourced in psql, rather than via CREATE EXTENSION
-\echo Use "CREATE EXTENSION test_sballoc" to load this file. \quit
+\echo Use "CREATE EXTENSION test_balloc" to load this file. \quit
CREATE FUNCTION alloc(size pg_catalog.int8, count pg_catalog.int8)
RETURNS pg_catalog.void
/*--------------------------------------------------------------------------
*
- * test_sballoc.c
+ * test_balloc.c
* Test harness code for superblock allocator.
*
* Copyright (C) 2013, PostgreSQL Global Development Group
*
* IDENTIFICATION
- * contrib/test_sballoc/test_sballoc.c
+ * contrib/test_balloc/test_balloc.c
*
* -------------------------------------------------------------------------
*/
--- /dev/null
+comment = 'Test code for block allocator'
+default_version = '1.0'
+module_pathname = '$libdir/test_balloc'
+relocatable = true
+++ /dev/null
-comment = 'Test code for shared memory message queues'
-default_version = '1.0'
-module_pathname = '$libdir/test_sballoc'
-relocatable = true