Re: Selective backup script - Mailing list pgsql-general

From Greg Sabino Mullane
Subject Re: Selective backup script
Date
Msg-id b4dbb781eef1b3e0044fc88ac4c687d9@biglumber.com
Whole thread Raw
In response to Selective backup script  (Mike Blackwell <mike.blackwell@rrd.com>)
List pgsql-general
-----BEGIN PGP SIGNED MESSAGE-----
Hash: RIPEMD160


> Might there be a way to tag those databases somehow so the backup
> script knows to skip them?  I'd rather not hard code the list in
> the script.

Give them a unique connection limit, higher than max_connections,
e.g. ALTER DATABASE testdb1 CONNECTION LIMIT 9218;

Not as intuitive as a comment, but a lot more visible that something
is different about the database.

- --
Greg Sabino Mullane greg@turnstep.com
End Point Corporation http://www.endpoint.com/
PGP Key: 0x14964AC8 201111211715
http://biglumber.com/x/web?pk=2529DF6AB8F79407E94445B4BC9B906714964AC8
-----BEGIN PGP SIGNATURE-----

iEYEAREDAAYFAk7K0CwACgkQvJuQZxSWSshN5wCgsejmvDEzo3yBz3MBRy9OGYKI
BYMAoPLDjEXOJOLh5HSWtCLHhhfNu1Zn
=AP/0
-----END PGP SIGNATURE-----



pgsql-general by date:

Previous
From: Gavin Flower
Date:
Subject: Re: How to write a own parser for full text search
Next
From: jeffrey
Date:
Subject: Select duplicated values