Merge pull request #15 from saaros/master

Code refactoring with minor fixes and consistent indentation and style
pgmemcache: fix builds with sasl support (missing semicolon) [#17]
packacing: `make rpm` to build an rpm on fedora / rhel
Merge pull request #18 from saaros/rpm

packacing: `make rpm` to build an rpm on fedora / rhel
doc: merge COPYING into LICENSE
fix unterminated C-strings in memcache_get_multi
fix crash on last memcache_get_multi call
Merge pull request #19 from maxim-ky/master

fix random crashes
pgmemcache: release version 2.1.2
pgmemcache: correct free function for memcached_stat_get_value

libmemcached 1.0.16 and greater switched to using malloc for
values returned from memcached_stat_get_value.
Merge branch 'master' of git://github.com/melor/pgmemcache

* 'master' of git://github.com/melor/pgmemcache:
  pgmemcache: correct free function for memcached_stat_get_value
Use pg_regress for make installcheck testing

This uses pg_regress to start a memcached instance, run test queries
from test.sql, and stops the memcached again. Needs root.

apt.postgresql.org uses this for integration testing for the Debian
packages; these tests discovered the incompatibility with libmemcached
1.0.16.
debian: new packaging to replace yada [#21]
Merge pull request #24 from ChristophBerg/regressiontests

Use pg_regress for make installcheck testing
Merge pull request #25 from saaros/debian

debian: new packaging to replace yada [#21]
Update NEWS and README a bit
debian: make sure the right pg version's binaries are in path
pgmemcache: stop using postgresql memory allocation in libmemcached

Libmemcached (and different versions of it) may or may not use the memory
allocation functions given to it with memcached_set_memory_allocators which
causes segmentation faults when calls to postgresql malloc/free are mixed
with calls to libc malloc/free.

It turns out that libmemcached calls from pgmemcache doesn't really need to
use postgresql's memory allocation functions as we never pass the data as-is
back to pg anyway, and we can just manually free the couple of temporary
allocations that are created.
pgmemcache: reorganize and clean up source code a bit

* Moved static function declarations to pgmemcache.c
* Fixed some minor indentation issues
* Fold do_memcache_set_cmd into memcache_set_cmd
tests: run memcached as a normal user so root access is not required