[COMMITTERS] pgsql: Clean up the use of some page-header-access macros: principally,

2008-07-13 Thread Tom Lane
Log Message: --- Clean up the use of some page-header-access macros: principally, use SizeOfPageHeaderData instead of sizeof(PageHeaderData) in places where that makes the code clearer, and avoid casting between Page and PageHeader where possible. Zdenek Kotala, with some additional cleanu

[COMMITTERS] pgsql: Change the PageGetContents() macro to guarantee its result is

2008-07-13 Thread Tom Lane
Log Message: --- Change the PageGetContents() macro to guarantee its result is maxalign'd, thereby forestalling any problems with alignment of the data structure placed there. Since SizeOfPageHeaderData is maxalign'd anyway in 8.3 and HEAD, this does not actually change anything right now,

[COMMITTERS] npgsql - Npgsql2: [#1010425] Patch for actual german translation Added

2008-07-13 Thread User Fxjr
Log Message: --- [#1010425] Patch for actual german translation Added missing german localization files and fix VS.Net 2008 project file to use them and previous french localization commited. Thanks Christian Graefe (christian.graefe @nospam@ web.de) for patch. Modified Files:

[COMMITTERS] pgsql: Create a type-specific typanalyze routine for tsvector, which

2008-07-13 Thread Tom Lane
Log Message: --- Create a type-specific typanalyze routine for tsvector, which collects stats on the most common individual lexemes in place of the mostly-useless default behavior of counting duplicate tsvectors. Future work: create selectivity estimation functions that actually do somethi

[COMMITTERS] pgsql: Clean up buildfarm failures arising from the seemingly

2008-07-13 Thread Tom Lane
Log Message: --- Clean up buildfarm failures arising from the seemingly straightforward page macros patch :-(. Results from both baiji and mastodon imply that MSVC fails to perceive offsetof(PageHeaderData, pd_linp[0]) as a constant expression in some contexts where offsetof(PageHeaderData