Re: [HACKERS] Moving tablespaces
Tom Lane <tgl@sss.pgh.pa.us>
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Magnus Hagander <magnus@hagander.net>
Cc: Andrew Dunstan <andrew@dunslane.net>, Bruce Momjian <bruce@momjian.us>, PostgreSQL-documentation <pgsql-docs@postgresql.org>, PostgreSQL-development <pgsql-hackers@postgresql.org>
Date: 2011-12-06T15:17:13Z
Lists: pgsql-hackers
Magnus Hagander <magnus@hagander.net> writes: > Throwing an error seems a lot more safe in this case than just > returning NULL. Since it's a situtation that really shouldn't happen. > Maybe an assert, but I think a regular ereport(ERROR) would be the > best. Not an assert, since it's trivially user-triggerable. regards, tom lane