Re: gaussian distribution pgbench -- splits Bv6

Поиск
Список
Период
Сортировка
От Alvaro Herrera
Тема Re: gaussian distribution pgbench -- splits Bv6
Дата
Msg-id 20140724200119.GI5475@eldon.alvh.no-ip.org
обсуждение исходный текст
Ответ на Re: gaussian distribution pgbench -- splits Bv6  (Fabien COELHO <coelho@cri.ensmp.fr>)
Список pgsql-hackers
Fabien COELHO wrote:

> I also have a problem with assert & Assert.  I finally figured out
> that Assert is not compiled in by default, thus it is generally
> ignored. So it is more for debugging purposes when activated than
> for guarding against some unexpected user errors.

Yes, Assert() is for debugging during development.  If you need to deal
with user error, use regular if () and exit() as appropriate (ereport()
in the backend).  We mostly avoid assert() in our own code.

-- 
Álvaro Herrera                http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Training & Services



В списке pgsql-hackers по дате отправления:

Предыдущее
От: Fabrízio de Royes Mello
Дата:
Сообщение: Re: Verbose output of pg_dump not show schema name
Следующее
От: Peter Geoghegan
Дата:
Сообщение: Minor inaccuracy in jsonb_path_ops documentation