Skip to content

deepfryed/pghammer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Hamming distance function for PostgreSQL

Computes the hamming distance for 2 64bit unsigned integers.

Requirements

  • PostgreSQL Server development libraries. (debian: postgresql-server-dev-9.0 e.g.)

  • pg_config in PATH.

  • GNU C compiler.

  • GNU make.

Installing

PSQL_DB=<database name> make install

Example

select hamming_distance(4, 3); #=> 3

License

CC BY-SA 3.0

About

hamming distance fn for postgresql

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages