Skip site navigation (1) Skip section navigation (2)

Peripheral Links

Header And Logo

PostgreSQL
| The world's most advanced open source database.

Site Navigation

Search archives
  Advanced Search

Re: [HACKERS] Incrementally Updated Backup


  • From: Heikki Linnakangas <heikki(at)enterprisedb(dot)com>
  • To: Simon Riggs <simon(at)2ndquadrant(dot)com>
  • Cc: pgsql-patches(at)postgresql(dot)org, pgsql-hackers(at)postgresql(dot)org
  • Subject: Re: [HACKERS] Incrementally Updated Backup
  • Date: Tue, 19 Sep 2006 16:05:02 +0100
  • Message-id: <4510071E.9080707@enterprisedb.com> <text/plain>

Simon Riggs wrote:
+
+ if (startupAfterRecovery)
+ ereport(ERROR,
+ (errmsg("recovery ends normally with startup_after_recovery=false")));
+

I find this part of the patch a bit ugly. Isn't there a better way to exit than throwing an error that's not really an error?

--
Heikki Linnakangas
EnterpriseDB http://www.enterprisedb.com



Home | Main Index | Thread Index

Privacy Policy | About PostgreSQL
Copyright © 1996 – 2012 PostgreSQL Global Development Group