Re: Postgres, fsync, and OSs (specifically linux)

Поиск
Список
Период
Сортировка
Искать
От
Robert Haas
Тема
Re: Postgres, fsync, and OSs (specifically linux)
Дата
Msg-id
CA+TgmobfSmKXEgJmf6qxLXygFLV1C5C5Ao_xJGpznkAX4TGWLA@mail.gmail.com
Ответ на
Список
Дерево обсуждения
Postgres, fsync, and OSs (specifically linux) Andres Freund <andres@anarazel.de>
Re: Postgres, fsync, and OSs (specifically linux) Bruce Momjian <bruce@momjian.us>
Re: Postgres, fsync, and OSs (specifically linux) Andres Freund <andres@anarazel.de>
Re: Postgres, fsync, and OSs (specifically linux) Bruce Momjian <bruce@momjian.us>
Re: Postgres, fsync, and OSs (specifically linux) Andres Freund <andres@anarazel.de>
Re: Postgres, fsync, and OSs (specifically linux) Stephen Frost <sfrost@snowman.net>
Re: Postgres, fsync, and OSs (specifically linux) Andres Freund <andres@anarazel.de>
Re: Postgres, fsync, and OSs (specifically linux) Andres Freund <andres@anarazel.de>
Re: Postgres, fsync, and OSs (specifically linux) Andres Freund <andres@anarazel.de>
Re: Postgres, fsync, and OSs (specifically linux) Thomas Munro <thomas.munro@enterprisedb.com>
Re: Postgres, fsync, and OSs (specifically linux) Thomas Munro <thomas.munro@enterprisedb.com>
Re: Postgres, fsync, and OSs (specifically linux) Andres Freund <andres@anarazel.de>
Re: Postgres, fsync, and OSs (specifically linux) Dmitry Dolgov <9erthalion6@gmail.com>
Re: Postgres, fsync, and OSs (specifically linux) Andres Freund <andres@anarazel.de>
Re: Postgres, fsync, and OSs (specifically linux) Andres Freund <andres@anarazel.de>
Re: Postgres, fsync, and OSs (specifically linux) Dmitry Dolgov <9erthalion6@gmail.com>
Re: Postgres, fsync, and OSs (specifically linux) Andres Freund <andres@anarazel.de>
Re: Postgres, fsync, and OSs (specifically linux) Dmitry Dolgov <9erthalion6@gmail.com>
Re: Postgres, fsync, and OSs (specifically linux) Andres Freund <andres@anarazel.de>
Re: Postgres, fsync, and OSs (specifically linux) Thomas Munro <thomas.munro@enterprisedb.com>
Re: Postgres, fsync, and OSs (specifically linux) Thomas Munro <thomas.munro@enterprisedb.com>
Re: Postgres, fsync, and OSs (specifically linux) Thomas Munro <thomas.munro@enterprisedb.com>
Re: Postgres, fsync, and OSs (specifically linux) Asim R P <apraveen@pivotal.io>
Re: Postgres, fsync, and OSs (specifically linux) Thomas Munro <thomas.munro@enterprisedb.com>
Re: Postgres, fsync, and OSs (specifically linux) Craig Ringer <craig@2ndquadrant.com>
Re: Postgres, fsync, and OSs (specifically linux) Thomas Munro <thomas.munro@enterprisedb.com>
Re: Postgres, fsync, and OSs (specifically linux) Thomas Munro <thomas.munro@enterprisedb.com>
Re: Postgres, fsync, and OSs (specifically linux) Thomas Munro <thomas.munro@enterprisedb.com>
Re: Postgres, fsync, and OSs (specifically linux) Craig Ringer <craig@2ndquadrant.com>
Re: Postgres, fsync, and OSs (specifically linux) Thomas Munro <thomas.munro@enterprisedb.com>
Re: Postgres, fsync, and OSs (specifically linux) Robert Haas <robertmhaas@gmail.com>
Re: Postgres, fsync, and OSs (specifically linux) Thomas Munro <thomas.munro@enterprisedb.com>
Re: Postgres, fsync, and OSs (specifically linux) Robert Haas <robertmhaas@gmail.com>
Re: Postgres, fsync, and OSs (specifically linux) Thomas Munro <thomas.munro@enterprisedb.com>
Re: Postgres, fsync, and OSs (specifically linux) Thomas Munro <thomas.munro@enterprisedb.com>
Re: Postgres, fsync, and OSs (specifically linux) Thomas Munro <thomas.munro@enterprisedb.com>
Re: Postgres, fsync, and OSs (specifically linux) Catalin Iacob <iacobcatalin@gmail.com>
Re: Postgres, fsync, and OSs (specifically linux) Craig Ringer <craig@2ndquadrant.com>
Re: Postgres, fsync, and OSs (specifically linux) Stephen Frost <sfrost@snowman.net>
Re: Postgres, fsync, and OSs (specifically linux) Michael Banck <michael.banck@credativ.de>
Re: Postgres, fsync, and OSs (specifically linux) Andres Freund <andres@anarazel.de>
Re: Postgres, fsync, and OSs (specifically linux) Andres Freund <andres@anarazel.de>
Re: Postgres, fsync, and OSs (specifically linux) Simon Riggs <simon@2ndquadrant.com>
Re: Postgres, fsync, and OSs (specifically linux) Andres Freund <andres@anarazel.de>
Re: Postgres, fsync, and OSs (specifically linux) Craig Ringer <craig@2ndquadrant.com>
Re: Postgres, fsync, and OSs (specifically linux) Simon Riggs <simon@2ndquadrant.com>
Re: Postgres, fsync, and OSs (specifically linux) Thomas Munro <thomas.munro@enterprisedb.com>
Re: Postgres, fsync, and OSs (specifically linux) Thomas Munro <thomas.munro@enterprisedb.com>
Re: Postgres, fsync, and OSs (specifically linux) Craig Ringer <craig@2ndquadrant.com>
Re: Postgres, fsync, and OSs (specifically linux) Thomas Munro <thomas.munro@enterprisedb.com>
Re: Postgres, fsync, and OSs (specifically linux) Craig Ringer <craig@2ndquadrant.com>
Re: Postgres, fsync, and OSs (specifically linux) Andres Freund <andres@anarazel.de>
Re: Postgres, fsync, and OSs (specifically linux) Craig Ringer <craig@2ndquadrant.com>
Re: Postgres, fsync, and OSs (specifically linux) Craig Ringer <craig@2ndquadrant.com>
Re: Postgres, fsync, and OSs (specifically linux) Andres Freund <andres@anarazel.de>
Re: Postgres, fsync, and OSs (specifically linux) Craig Ringer <craig@2ndquadrant.com>
Re: Postgres, fsync, and OSs (specifically linux) Andres Freund <andres@anarazel.de>
Re: Postgres, fsync, and OSs (specifically linux) Craig Ringer <craig@2ndquadrant.com>
Re: Postgres, fsync, and OSs (specifically linux) Andres Freund <andres@anarazel.de>
Re: Postgres, fsync, and OSs (specifically linux) Robert Haas <robertmhaas@gmail.com>
Re: Postgres, fsync, and OSs (specifically linux) Ashutosh Bapat <ashutosh.bapat@enterprisedb.com>
Re: Postgres, fsync, and OSs (specifically linux) Stephen Frost <sfrost@snowman.net>
Re: Postgres, fsync, and OSs (specifically linux) Abhijit Menon-Sen <ams@2ndQuadrant.com>
Re: Postgres, fsync, and OSs (specifically linux) Stephen Frost <sfrost@snowman.net>
Re: Postgres, fsync, and OSs (specifically linux) Ashutosh Bapat <ashutosh.bapat@enterprisedb.com>
Re: Postgres, fsync, and OSs (specifically linux) Craig Ringer <craig@2ndquadrant.com>
Re: Postgres, fsync, and OSs (specifically linux) Craig Ringer <craig@2ndquadrant.com>
Re: Postgres, fsync, and OSs (specifically linux) Craig Ringer <craig@2ndquadrant.com>
Re: Postgres, fsync, and OSs (specifically linux) Robert Haas <robertmhaas@gmail.com>
Re: Postgres, fsync, and OSs (specifically linux) Thomas Munro <thomas.munro@enterprisedb.com>
Re: Postgres, fsync, and OSs (specifically linux) Simon Riggs <simon@2ndquadrant.com>
On Thu, Nov 8, 2018 at 3:04 PM Thomas Munro
 wrote:
> My reasoning for choosing bms_join() is that it cannot fail, assuming
> the heap is not corrupted.  It simply ORs the two bit-strings into
> whichever is the longer input string, and frees the shorter input
> string.  (In an earlier version I used bms_union(), this function's
> non-destructive sibling, but then realised that it could fail to
> allocate() causing us to lose track of a 1 bit).

Oh, OK.  I was assuming it was allocating.

-- 
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company

В списке pgsql-hackers по дате отправления
От: Thomas Munro
Дата:
От: David Rowley
Дата:
FAQ