Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Reorganizing to fit recommended PGXN recommended structure (src/, sql…
…/), added META.json.
- Loading branch information
Showing
13 changed files
with
60 additions
and
30 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
{ | ||
"name": "pg_check", | ||
"abstract": "Performs basic integrity checks of data files (page structure, tuple structure).", | ||
"description": "When the database fails with a strange error and you suspect that might be caused by a data corruption, this tool might help you a it performs basic integrity checks - verifies page structure (lower/upper), placement of tuples on the page, etc.", | ||
"version": "0.1.0", | ||
"maintainer": "Tomas Vondra <tv@fuzzy.cz>", | ||
"license": "bsd", | ||
"prereqs": { | ||
"runtime": { | ||
"requires": { | ||
"PostgreSQL": "9.0.0" | ||
} | ||
} | ||
}, | ||
"provides": { | ||
"pg_check": { | ||
"file": "sql/pg_check--0.1.0.sql", | ||
"version": "0.1.0" | ||
}, | ||
}, | ||
"resources": { | ||
"repository": { | ||
"url": "https://tvondra@github.com/tvondra/pg_check.git", | ||
"web": "http://github.com/tvondra/pg_check", | ||
"type": "git" | ||
} | ||
}, | ||
"tags" : ["check", "integrity", "structure", "data", "corruption"], | ||
"meta-spec": { | ||
"version": "1.0.0", | ||
"url": "http://pgxn.org/meta/spec.txt" | ||
}, | ||
"release_status" : "testing" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,22 +1,14 @@ | ||
#------------------------------------------------------------------------- | ||
# | ||
# pg_check Makefile | ||
# | ||
#------------------------------------------------------------------------- | ||
MODULE_big = pg_check | ||
OBJS = src/pg_check.o src/common.o src/heap.o src/index.o | ||
|
||
MODULE_big = pg_check | ||
OBJS = pg_check.o index.o heap.o common.o | ||
DATA_built = pg_check.sql | ||
DATA = uninstall_pg_check.sql | ||
EXTENSION = pg_check | ||
DATA = sql/pg_check--0.1.0.sql | ||
MODULES = pg_check | ||
|
||
CFLAGS=`pg_config --includedir-server` | ||
|
||
ifdef USE_PGXS | ||
PG_CONFIG = pg_config | ||
PGXS := $(shell $(PG_CONFIG) --pgxs) | ||
include $(PGXS) | ||
else | ||
subdir = contrib/pg_check | ||
top_builddir = ../.. | ||
include $(top_builddir)/src/Makefile.global | ||
include $(top_srcdir)/contrib/contrib-global.mk | ||
endif | ||
|
||
pg_check.so: $(OBJS) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
# pg_check | ||
comment = 'Provides basic integrity checks for data files.' | ||
default_version = '0.1.0' | ||
relocatable = true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file was deleted.
Oops, something went wrong.