Skip to content

Commit 0bd605d

Browse files
author
Yury Frolov
committed
(pg_hashlib) -> spqrhash
1 parent c8c2121 commit 0bd605d

26 files changed

+66
-66
lines changed

COPYRIGHT

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@ Files under PostgreSQL License:
1111

1212
- crc32.c
1313
- pgsql84.c
14-
- pghashlib.c
15-
- pghashlib.h
14+
- pgspqrhash.c
15+
- pgspqrhash.h
1616

1717
Files under MIT license:
1818

Makefile

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -3,18 +3,18 @@ PG_CONFIG = pg_config
33
RST2HTML = rst2html
44

55
# load version
6-
include hashlib.control
6+
include spqrhash.control
77
EXT_VERSION = $(patsubst '%',%,$(default_version))
8-
DISTNAME = pghashlib-$(EXT_VERSION)
8+
DISTNAME = spqrhash-$(EXT_VERSION)
99

1010
# module description
11-
MODULE_big = hashlib
12-
SRCS = src/pghashlib.c src/murmur3.c
11+
MODULE_big = spqrhash
12+
SRCS = src/spqrhash.c src/murmur3.c
1313
OBJS = $(SRCS:.c=.o)
1414
EXTENSION = $(MODULE_big)
1515

16-
DOCS = hashlib.html
17-
EXTRA_CLEAN = hashlib.html
16+
DOCS = spqrhash.html
17+
EXTRA_CLEAN = spqrhash.html
1818

1919
REGRESS_OPTS = --inputdir=test
2020

@@ -23,8 +23,8 @@ REGRESS_OPTS = --inputdir=test
2323
Regress_noext = test_init_noext test_int8_murmur test_string_murmur
2424
Regress_ext = test_init_ext test_int8_murmur test_string_murmur
2525

26-
Data_noext = sql/hashlib.sql sql/uninstall_hashlib.sql
27-
Data_ext = sql/hashlib--1.0.sql sql/hashlib--unpackaged--1.0.sql
26+
Data_noext = sql/spqrhash.sql sql/uninstall_spqrhash.sql
27+
Data_ext = sql/spqrhash--1.0.sql sql/spqrhash--unpackaged--1.0.sql
2828

2929
# Work around PGXS deficiencies - switch variables based on
3030
# whether extensions are supported.
@@ -52,9 +52,9 @@ tags:
5252
%.s: %.c
5353
$(CC) -S -fverbose-asm -o - $< $(CFLAGS) $(CPPFLAGS) | cleanasm > $@
5454

55-
html: hashlib.html
55+
html: spqrhash.html
5656

57-
hashlib.html: README.rst
57+
spqrhash.html: README.rst
5858
$(RST2HTML) $< > $@
5959

6060
deb:
@@ -64,7 +64,7 @@ deb:
6464

6565
debclean: clean
6666
$(MAKE) -f debian/rules realclean
67-
rm -f lib* hashlib.so* hashlib.a
67+
rm -f lib* spqrhash.so* spqrhash.a
6868
rm -rf .deps
6969

7070
tgz:

README.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
pghashlib
1+
pgspqrhash
22
=========
33

4-
The goal of pghashlib is to provide stable hashes for PostgeSQL,
4+
The goal of pgspqrhash is to provide stable hashes for PostgeSQL,
55
"stable" in the sense that their implementation does not change,
66
they are independent from PostgeSQL version.
77

@@ -19,7 +19,7 @@ You need PostgreSQL developent environment. Then simply::
1919

2020
$ make
2121
$ make install
22-
$ psql -d ... -c "create extension hashlib"
22+
$ psql -d ... -c "create extension spqrhash"
2323

2424

2525
Functions

debian/postgresql-spqrhash-13.docs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
hashlib.html
1+
spqrhash.html
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
usr/lib/postgresql/13/lib/hashlib.so
2-
usr/share/postgresql/13/contrib/hashlib.sql
1+
usr/lib/postgresql/13/lib/spqrhash.so
2+
usr/share/postgresql/13/contrib/spqrhash.sql

debian/postgresql-spqrhash-14.docs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
hashlib.html
1+
spqrhash.html
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
usr/lib/postgresql/14/lib/hashlib.so
2-
usr/share/postgresql/14/contrib/hashlib.sql
1+
usr/lib/postgresql/14/lib/spqrhash.so
2+
usr/share/postgresql/14/contrib/spqrhash.sql

debian/postgresql-spqrhash-15.docs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
hashlib.html
1+
spqrhash.html
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
usr/lib/postgresql/15/lib/hashlib.so
2-
usr/share/postgresql/15/contrib/hashlib.sql
1+
usr/lib/postgresql/15/lib/spqrhash.so
2+
usr/share/postgresql/15/contrib/spqrhash.sql

debian/postgresql-spqrhash-16.docs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
hashlib.html
1+
spqrhash.html

0 commit comments

Comments
 (0)