Re: autoprewarm_dump_now

2025-06-17 Thread Daria Shanina
akes in fear of incoming buildfarm results* > > -- > Robert Haas > EDB: http://www.enterprisedb.com > -- Best regards, Daria Shanina From a4776e4ae0c2ffe3061b64dec7ac60d730db12b0 Mon Sep 17 00:00:00 2001 From: Darya Shanina Date: Tue, 22 Apr 2025 11:27:01 +0300 Subject: [PAT

Re: autoprewarm_dump_now

2025-05-30 Thread Daria Shanina
Some of our clients encountered a problem — they needed to allocate shared_buffers = 700 GB on a server with 1.5 TB RAM, and the error "invalid memory alloc request size 1835008000" occurred. That is, these are not mental exercises. Best regards, Daria Shanina чт, 29 мая 2025 г. в

Re: autoprewarm_dump_now

2025-05-29 Thread Daria Shanina
Hello! I have made a patch, now we can allocate more than 1 GB of memory for the autoprewarm_dump_now function. Best regards, Daria Shanina пт, 4 апр. 2025 г. в 19:36, Robert Haas : > On Fri, Apr 4, 2025 at 12:17 PM Melanie Plageman > wrote: > > Unrelated to this problem, but I

Re: rounding_up

2025-04-15 Thread Daria Shanina
you set it to with fesetround() (see man page) To my great shame, I didn't know about fesetround(). Thanks a lot too! Best regards, Daria Shanina пн, 14 апр. 2025 г. в 17:26, Tom Lane : > Christoph Moench-Tegeder writes: > > ## Daria Shanina (vilensip...@gmail.com): > >

Re: rounding_up

2025-04-15 Thread Daria Shanina
Hi, Tom! > Round-to-nearest-even is a well-respected rule Yes, you're convinced me! I can’t argue with IEEE 754 =) And, of course, can’t break compatibility. Best regards, Daria Shanina пн, 14 апр. 2025 г. в 17:26, Tom Lane : > Christoph Moench-Tegeder writes: > >

rounding_up

2025-04-14 Thread Daria Shanina
=msvc-170 says something else. I tested at several OS: Lubuntu daria-shanina@lnv-dshanina:~/projects/test$ ./rounding_up rint(2.00) is 2.0 | round(2.00) is 2.0 | ceil(2.00) is 2.0 | floor(2.00) is 2.0 rint(2.10) is 2.0 | round(2.10) is 2.0 | ceil(2.10) is 3.0 | floor(2.10) is 2.0 rint(2.20) is