nixpkgs/nixos
Oliver Charles e206684110 Use PostgreSQL 9.3's pg_isready to wait for connectivity
The postgresql module has a postStart section that waits for a database
to accept connections before continuing. However, this assumes various
properties about the database - specifically the database user
and (implicitly) the database name. This means that for old
installations, this command fails because there is no 'postgres' user,
and the service never starts.

While 7deff39 does create the 'postgres' user, a better solution is to
use `pg_isready`, who's sole purpose is to check if the database is
accepting connections. This has no dependency on users, so should be
more robust.
2014-04-06 12:38:02 +01:00
..
doc Bring back mkOrder 2014-03-30 20:35:25 +02:00
gui
lib Shut up Perl warning 2014-03-18 14:10:31 +01:00
maintainers Add all AWS regions to EBS AMI creation script. 2014-02-11 13:26:46 +01:00
modules Use PostgreSQL 9.3's pg_isready to wait for connectivity 2014-04-06 12:38:02 +01:00
tests Another fix to the installer tests 2014-03-31 11:10:56 +02:00
COPYING
default.nix
README
release-combined.nix Disable efi tests again 2014-03-01 09:51:28 -05:00
release.nix Move generation of coverage reports from nixos/lib/testing to releaseTools 2014-03-03 13:57:08 +01:00

*** NixOS ***

NixOS is a Linux distribution based on the purely functional package
management system Nix.  More information can be found at
http://nixos.org/nixos and in the manual in doc/manual.