PG17beta1: Unable to test Postgres on Fedora due to fatal Error in psql: undefined symbol: PQsocketPoll

2024-05-24 Thread Hans Buschmann
nd should occur in many other distributions also. I think a self compiled version of postgres should be self-confined and ready to run for testing. Any thoughts? Hans Buschmann

Re: First draft of PG 17 release notes

2024-05-09 Thread Hans Buschmann
p Chakraborty, Michael Paquier) perhaps you mean Allow, otherwise meaning not clear. 3. >> Add some long options to pg_archivecleanup (Atsushi Torikoshi) >>The long options are --debug, --dry-run, and /--strip-extension. The slash should be omitted. Hans Buschmann

AW: Proposal: Early providing of PGDG repositories for the major Linux distributions like Fedora or Debian

2024-05-03 Thread Hans Buschmann
oints are from my real world experience of usablity of Postgres. I have managed to learn or circumvent specific aspects, but I think usability for every not so skilled user should be in the main focus. Please see my suggestions this way! Hans Buschmann Von: D

AW: Type and CAST error on lowest negative integer values for smallint, int and bigint

2024-05-02 Thread Hans Buschmann
quot; exists already in the index) I just sent this message for the case this could be a problem to be resolved before the next minor versions scheduled for next week. Regards Hans Buschmann Von: David Rowley Gesendet: Donnerstag, 2. Mai 2024 13:33 An: Hans

Type and CAST error on lowest negative integer values for smallint, int and bigint

2024-05-02 Thread Hans Buschmann
-0), 64-bit (1 Zeile) postgres=# select -32768::smallint; ERROR: smallint out of range Thank you for looking Hans Buschmann

Proposal: Early providing of PGDG repositories for the major Linux distributions like Fedora or Debian

2024-04-24 Thread Hans Buschmann
nstallations. [2] (CC Devrim according to the thread Security lessons from libzlma - libsystemd) regards Hans Buschmann [1] https://www.postgresql.org/message-id/flat/ZgdCpFThi9ODcCsJ%40momjian.us [2] https://www.postgresql.org/message-id/18339-f9dda01a46c0432f%40postgresql.org

QUAL Pushdown causes ERROR on syntactically and semantically correct SQL Query

2023-06-05 Thread Hans Buschmann
minated by another join. These queries are syntactically and semantically correct but the postgre implementations causes them to error out. This is very surprising for the SQL User! The problem seems to exist also in certain backbranches. Hans Buschmann <>

AW: Proposal: Removing 32 bit support starting from PG17++

2023-05-25 Thread Hans Buschmann
Tom Lane writes: >Hans Buschmann writes: >> This inspired me to propose dropping 32bit support for PostgreSQL starting >> with PG17. >I don't think this is a great idea. Even if Intel isn't interested, >there'll be plenty of 32-bit left in the lower end of the market >

Proposal: Removing 32 bit support starting from PG17++

2023-05-24 Thread Hans Buschmann
. Even if I am not a postgres hacker I suppose this could simplify things quite a lot. Any thoughts for discussion are welcome! Hans Buschmann [1] https://www.phoronix.com/news/Intel-X86-S-64-bit-Only

Re: drop postmaster symlink

2023-05-23 Thread Hans Buschmann
?) Hans Buschmann

PG 16 draft release notes ready

2023-05-19 Thread Hans Buschmann
I observed a missing end bracket in E 1.3.11: Require Windows 10 or newer versions (Michael Paquier, Juan José Santamaría Flecha Hans Buschmann

Wrong rows estimations with joins of CTEs slows queries by more than factor 500

2023-02-08 Thread Hans Buschmann
on qou qou_1 (cost=0.00..294.22 rows=5944 width=72) (actual time=0.029..1.056 rows=424 loops=1) Filter: ((ibitmask < 0) OR (cardinality(mat_arr) > 11)) Rows Removed by Filter: 10275 Planning Time: 1.746 ms Execution Time: 13405.503 ms (116 Zeilen) This case really brought me to detect the problem! The original query and data are not shown here, but the principle should be clear from the execution plans. I think the planner shouldn't change the row estimations on further steps after left joins at all, and be a bit more conservative on inner joins. This may be related to the fact that this case has 2 join-conditions (xx_season an xx_code). Thanks for looking Hans Buschmann

Re: Making Vars outer-join aware

2023-01-24 Thread Hans Buschmann
o NOT NULL, which seems the most natural way when these quals are also used for partioning. [1] https://www.postgresql.org/message-id/1571413123735.26...@nidsa.net Thanks for looking Hans Buschmann

Introducing PgVA aka PostgresVectorAcceleration using SIMD vector instructions starting with hex_encode

2021-12-31 Thread Hans Buschmann
INTENTION Inspired by the effort to integrate JIT for executor acceleration I thought selected simple algorithms working with array-oriented data should be drastically accelerated by using SIMD instructions on modern hardware. I want to introduce this style of programming with the example of

AW: Assorted improvements in pg_dump

2021-12-07 Thread Hans Buschmann
9 and VS2022) albeit not excluded explicitly in the docs. But no one complained yet (for a long time now...). Thanks Hans Buschmann

AW: VS2022: Support Visual Studio 2022 on Windows

2021-11-24 Thread Hans Buschmann
od relations to EDB suggesting them to target VS2022 as the build environment for the upcoming PG15 release? postgres=# select version (); version PostgreSQL 14.1, compiled by Visual C++ build 1931, 64-bit (1 row) T

AW: VS2022: Support Visual Studio 2022 on Windows

2021-11-20 Thread Hans Buschmann
version v4. Due to my restricted devlopment environment I appreciate if anybody can test the resulting binaries (but MS seems not have changed much on the C Build environment internally). Thanks Hans Buschmann 0001_support_vs2022_v4.patch Description: 0001_support_vs2022_v4.patch

AW: VS2022: Support Visual Studio 2022 on Windows

2021-11-06 Thread Hans Buschmann
elsewhere in the postgres source tree. I will reflect any updates after official release on monday, November 8 Hans Buschmann 0001_support_vs2022_v2.patch Description: 0001_support_vs2022_v2.patch

AW: Assorted improvements in pg_dump

2021-10-25 Thread Hans Buschmann
omeone could jump in ... Thanks for the patch and awaiting your thoughts Hans Buschmann

Re: Assorted improvements in pg_dump

2021-10-22 Thread Hans Buschmann
with further work under the way (not yet ready), pg_dump can really profit from parallel/not compressing mode, especially considering the huge amount of bytea/blob/string data in many big customer scenarios. Thoughts? Hans Buschmann

AW: VS2022: Support Visual Studio 2022 on Windows

2021-10-13 Thread Hans Buschmann
PG without errors. Thanks Hans Buschmann Von: Michael Paquier Gesendet: Montag, 11. Oktober 2021 08:03 An: Andrew Dunstan Cc: Laurenz Albe; Hans Buschmann; pgsql-hack...@postgresql.org Betreff: Re: VS2022: Support Visual Studio 2022 on Windows On Mon

VS2022: Support Visual Studio 2022 on Windows

2021-10-01 Thread Hans Buschmann
ing the 32bit version, but this has to be discussed in another thread (if the Windows 32bit Version is still important to support on newer VS Versions) Thanks for looking at it Hans Buschmann 0001_support_vs2022.patch Description: 0001_support_vs2022.patch

AW: PG14: Avoid checking output-buffer-length for every encoded byte during pg_hex_encode

2021-08-16 Thread Hans Buschmann
Von: Ranier Vilela Gesendet: Montag, 16. August 2021 17:04 An: Hans Buschmann Cc: pgsql-hack...@postgresql.org Betreff: Re: PG14: Avoid checking output-buffer-length for every encoded byte during pg_hex_encode Hello Ranier, Thank you for your quick response

PG14: Avoid checking output-buffer-length for every encoded byte during pg_hex_encode

2021-08-16 Thread Hans Buschmann
on Windows). If it seems useful somebody could enter it as an open item / resolved item for pg14 after beta 3. Thanks for looking! Hans Buschmann hex_encode_length_check_outside_loop.patch Description: hex_encode_length_check_outside_loop.patch

AW: Missing constant propagation in planner on hash quals causes join slowdown

2019-11-10 Thread Hans Buschmann
the constants away there my be a special case where all hash conditions are constants, so a hash table has not to be build (or at least one hash cond has to be preserved). Hans Buschmann

Missing constant propagation in planner on hash quals causes join slowdown

2019-10-18 Thread Hans Buschmann
gated to all equivalence columns and not considered in hash joining. Unfortunely I am not in the position to write a patch, so I would appreciate any help to get this optimization realized. Much thanks in advance Hans Buschmann -- jointest.sql -- 18.10.2019 drop table if exists tmast