Re: DSM segment handle generation in background workers

Поиск
Список
Период
Сортировка
От Thomas Munro
Тема Re: DSM segment handle generation in background workers
Дата
Msg-id CAEepm=1TmfPRPp3gnYdmEjAfvPK4Sn0QQu+TvihaOJTKEw7UDA@mail.gmail.com
обсуждение исходный текст
Ответ на Re: DSM segment handle generation in background workers  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
On Thu, Nov 15, 2018 at 4:25 AM Tom Lane <tgl@sss.pgh.pa.us> wrote:
> Thomas Munro <thomas.munro@enterprisedb.com> writes:
> > What do you think about the attached?
>
> I think you need to cast MyStartTimestamp to uint64 before shifting
> to ensure portable behavior of the shifts.  In principle it wouldn't
> matter because the int64 sign bit is nowhere near the part we care
> about, but I've heard some pretty wild claims about what compiler
> writers are entitled to do with "undefined" cases.

Thanks.  Pushed.

-- 
Thomas Munro
http://www.enterprisedb.com


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

Предыдущее
От: Kohei KaiGai
Дата:
Сообщение: lbound1 default in buildint2vector/buildoidvector
Следующее
От: Richard Guo
Дата:
Сообщение: Re: Pull up sublink of type 'NOT NOT (expr)'