test_sballoc -> test_balloc
authorRobert Haas <rhaas@postgresql.org>
Tue, 13 May 2014 14:54:56 +0000 (10:54 -0400)
committerRobert Haas <rhaas@postgresql.org>
Tue, 13 May 2014 14:54:56 +0000 (10:54 -0400)
contrib/test_balloc/Makefile [moved from contrib/test_sballoc/Makefile with 60% similarity]
contrib/test_balloc/test_balloc--1.0.sql [moved from contrib/test_sballoc/test_sballoc--1.0.sql with 85% similarity]
contrib/test_balloc/test_balloc.c [moved from contrib/test_sballoc/test_sballoc.c with 97% similarity]
contrib/test_balloc/test_balloc.control [new file with mode: 0644]
contrib/test_sballoc/test_sballoc.control [deleted file]

similarity index 60%
rename from contrib/test_sballoc/Makefile
rename to contrib/test_balloc/Makefile
index 880bccbd42c1748d23a01f692d01cf3081193526..8963ffb5a9d9f6d6d9d715be88dae536cface222 100644 (file)
@@ -1,16 +1,16 @@
-# 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
similarity index 85%
rename from contrib/test_sballoc/test_sballoc--1.0.sql
rename to contrib/test_balloc/test_balloc--1.0.sql
index 1cf8a5ae370bb2271a36fe30e3052af2cf77baef..dd2e8b4e202a99e21ee6e3fd3f4f2ec944df9402 100644 (file)
@@ -1,7 +1,7 @@
-/* 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
similarity index 97%
rename from contrib/test_sballoc/test_sballoc.c
rename to contrib/test_balloc/test_balloc.c
index 9a9545f6f916f6dd872285c587ffb35b5c80bbc2..e1a6ff1a477321dc831af50db350f3ed5de72e13 100644 (file)
@@ -1,12 +1,12 @@
 /*--------------------------------------------------------------------------
  *
- * 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
  *
  * -------------------------------------------------------------------------
  */
diff --git a/contrib/test_balloc/test_balloc.control b/contrib/test_balloc/test_balloc.control
new file mode 100644 (file)
index 0000000..5978962
--- /dev/null
@@ -0,0 +1,4 @@
+comment = 'Test code for block allocator'
+default_version = '1.0'
+module_pathname = '$libdir/test_balloc'
+relocatable = true
diff --git a/contrib/test_sballoc/test_sballoc.control b/contrib/test_sballoc/test_sballoc.control
deleted file mode 100644 (file)
index 58f61c0..0000000
+++ /dev/null
@@ -1,4 +0,0 @@
-comment = 'Test code for shared memory message queues'
-default_version = '1.0'
-module_pathname = '$libdir/test_sballoc'
-relocatable = true