Remove configure --disable-float4-byval and --disable-float8-byval

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема Remove configure --disable-float4-byval and --disable-float8-byval
Дата
Msg-id f3e1e576-2749-bbd7-2d57-3f9dcf75255a@2ndquadrant.com
обсуждение исходный текст
Ответы Re: Remove configure --disable-float4-byval and --disable-float8-byval  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
AFAICT, these build options were only useful to maintain compatibility 
for version-0 functions, but those are no longer supported, so these 
options can be removed.  There is a fair amount of code all over the 
place to support these options, so the cleanup is quite significant.

The current behavior became the default in PG9.3.  Note that this does 
not affect on-disk storage.  The only upgrade issue that I can see is 
that pg_upgrade refuses to upgrade incompatible clusters if you have 
contrib/isn installed.  But hopefully everyone who is affected by that 
will have upgraded at least once since PG9.2 already.

float4 is now always pass-by-value; the pass-by-reference code path is 
completely removed.

float8 and related types are now hardcoded to pass-by-value or 
pass-by-reference depending on whether the build is 64- or 32-bit, as 
was previously also the default.

-- 
Peter Eisentraut              http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services

Вложения

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

Предыдущее
От: Antonin Houska
Дата:
Сообщение: Re: MarkBufferDirtyHint() and LSN update
Следующее
От: Michael Paquier
Дата:
Сообщение: Re: [PATCH] Do not use StdRdOptions in Access Methods