Re: Solaris compiler status

2025-09-03 Thread Daniel Gustafsson
yone is keen on digging through the list for any relevant fixes? > So, can we declare that we don't support this compiler anymore? > > (gcc is readily available and seems to work alright, so I'm not saying the OS > is no longer viable.) +1 based on the findings above. -- Daniel Gustafsson

Re: Generate GUC tables from .dat file

2025-09-03 Thread Daniel Gustafsson
> On 3 Sep 2025, at 10:37, Peter Eisentraut wrote: > > On 28.08.25 15:29, Daniel Gustafsson wrote: >>> On 28 Aug 2025, at 08:53, Peter Eisentraut wrote: >>> I addressed all those, and did another cleanup pass over the script. (The >>> formatting is from pg

Re: Fix use of variable after pfree

2025-09-02 Thread Daniel Gustafsson
LE branches. > > Thanks for the patch. It looks good to me. I'll take care of it. Agreed, this looks correct. -- Daniel Gustafsson

Re: Serverside SNI support in libpq

2025-09-02 Thread Daniel Gustafsson
> On 1 Sep 2025, at 03:58, Michael Paquier wrote: > > On Wed, Aug 27, 2025 at 09:49:34PM +0200, Daniel Gustafsson wrote: >> When looking into why the SNI tests failed on Windows I think I found a >> pre-existing issue that we didn't have tests for, which my patch a

Re: Increase OpenBSD CI task's RAM disk size

2025-09-02 Thread Daniel Gustafsson
> On 15 Aug 2025, at 12:20, Nazir Bilal Yavuz wrote: > On Fri, 15 Aug 2025 at 12:19, Daniel Gustafsson wrote: >> >>> On 15 Aug 2025, at 10:46, Nazir Bilal Yavuz wrote: >>> Sometimes OpenBSD CI tasks fail with 'No space left on device' [1]. >>>

Re: PG 18 relnotes and RC1

2025-08-30 Thread Daniel Gustafsson
t; Corey Huinker claims to be working on the list of acknowledgments [0], but > I don't see any patches proposed yet. FWIW I have a list of names of v18 contributors put together for an upcoming talk which I intended to cross-reference against what got proposed here. If the list is procure

Re: No error checking when reading from file using zstd in pg_dump

2025-08-29 Thread Daniel Gustafsson
> On 24 Aug 2025, at 23:23, Daniel Gustafsson wrote: > I'll work on getting it in at the start of the week. While not exactly the start of the week, this is now done. -- Daniel Gustafsson

Re: Trivial fix of code comment

2025-08-29 Thread Daniel Gustafsson
s "committs" to "commits" which is what it should do. Agreed, pushed. -- Daniel Gustafsson

Re: pg_dump: fix memory leak

2025-08-29 Thread Daniel Gustafsson
#x27;t have to worry about it. That is certainly an option. -- Daniel Gustafsson

Re: pg_dump: fix memory leak

2025-08-29 Thread Daniel Gustafsson
> On 29 Aug 2025, at 09:36, m.korot...@postgrespro.ru wrote: > > Daniel Gustafsson wrote 2025-08-29 10:13: >> This is not actually a leak since the application will terminate immediately >> if >> a restrict key cannot be generated. > I agree that the current

Re: pg_dump: fix memory leak

2025-08-29 Thread Daniel Gustafsson
= generate_restrict_key(); if (!restrict_key) pg_fatal("could not generate restrict key"); -- Daniel Gustafsson

Re: Generate GUC tables from .dat file

2025-08-28 Thread Daniel Gustafsson
e bootstrap default for these variables in guc_tables.c, although in * principle it could be different. */ Apart from those small remarks, +1 on this patch. For future work, once this has landed, it could be neat to add formatting checks to ensure long/short_desc end with prope

Re: Serverside SNI support in libpq

2025-08-27 Thread Daniel Gustafsson
ut of (happy) accident, but it can be reproduced in HEAD as well. The attached version modifies the ssl tests to cover this with a connection attempt. If I'm not mistaken though, there should probably be a docs patch to make it clear how this works on Windows. No codechanges on top of the tes

Re: Support getrandom() for pg_strong_random() source

2025-08-26 Thread Daniel Gustafsson
g /dev/urandom with a more modern API, but after sleeping on it I'm less convinced that a'la carte CSPRNG configuration has enough upsides to warrant the risk of users accidentally becoming non-FIPS compliant. Another related thing to consider, uuid-ossp contrib module use arc4random() in the non e2fs case. -- Daniel Gustafsson

Re: Fixes a trivial bug in dumped parse/query/plan trees

2025-08-25 Thread Daniel Gustafsson
54) > :sort.collations ( 0 0) > :sort.nullsFirst ( false false) > ``` > > The unnecessary whitespace is now removed. What about external parsers written for this format which might now break? (Judging by the commitlog I believe this format is intentional and not a bug.) -- Daniel Gustafsson

Re: No error checking when reading from file using zstd in pg_dump

2025-08-24 Thread Daniel Gustafsson
> On 24 Aug 2025, at 23:21, Tom Lane wrote: > > Daniel Gustafsson writes: >>> On 1 Jul 2025, at 17:42, Tom Lane wrote: >>> There are some minor typos in the proposed commit message, too. > >> It seems that my grasp of the english language went on holiday

Re: Increase OpenBSD CI task's RAM disk size

2025-08-15 Thread Daniel Gustafsson
gt; increase it more. I don't know Cirrus enough to know if this is a daft question, but does this impact the cost (in actual money or credits) for running the CI tests? -- Daniel Gustafsson

Re: Bug in pg_dump --filter? - Invalid object types can be misinterpreted as valid

2025-08-07 Thread Daniel Gustafsson
> On 6 Aug 2025, at 06:49, Fujii Masao wrote: > I've added Assert(*line != NULL) at the start of filter_get_keyword(). > Updated patch attached. LGTM. -- Daniel Gustafsson

Re: Test to dump and restore objects left behind by regression

2025-08-05 Thread Daniel Gustafsson
o 18 and master? Thanks for reviving this. I am +1 on placing this behind PG_TEST_EXTRA as was discussed upthread. -- Daniel Gustafsson

Re: Bug in pg_dump --filter? - Invalid object types can be misinterpreted as valid

2025-08-05 Thread Daniel Gustafsson
;is empty" could be interpreted as being a null pointer, maybe we should add a if (!*line) check (or an Assert) before we dereference the passed in buffer? -- Daniel Gustafsson

Re: Enable data checksums by default

2025-07-30 Thread Daniel Gustafsson
;s something that still needs to be done for PG18. > > I don't have a strong opinion, but I lean towards having them on > by default. I agree with that, while there might be a lot of cases where disabling checksums is the right move it's still a sane default. -- Daniel Gustafsson

Re: Support getrandom() for pg_strong_random() source

2025-07-30 Thread Daniel Gustafsson
this would not be that but a small step on that path (whether or not that's the appropriate step is debatable). For installations without OpenSSL, getrandom() as an API over /dev/urandom still works when /dev is chrooted away. That subset might be too small to spend code on though. -- Daniel Gustafsson

Re: encode/decode support for base64url

2025-07-29 Thread Daniel Gustafsson
d version also adds a commit message, tweaks the documentation along with a few small changes to error message handling etc. The base64 code this extends is the RFC 2045 variant while base64url is based on base64 from RFC 3548 (obsoleted by RFC 4648). AFAICT this is not a problem here but has anyone else ver

Re: delimiter inconsistency in generate-wait_event_types.pl

2025-07-29 Thread Daniel Gustafsson
in the usage output, which is fixed in 0002. -- Daniel Gustafsson v2-0002-Fix-incorrect-option-name-in-usage-screen.patch Description: Binary data v2-0001-Consistently-handle-tab-delimiters-for-wait-event.patch Description: Binary data

Re: Support getrandom() for pg_strong_random() source

2025-07-28 Thread Daniel Gustafsson
an option at configure time? I would not be opposed to starting there. -- Daniel Gustafsson

Re: PG 18 beta1 release notes misses mention of pg_noreturn

2025-07-28 Thread Daniel Gustafsson
> On 25 Jul 2025, at 00:22, Bruce Momjian wrote: > > On Wed, Jul 2, 2025 at 06:23:52PM +0200, Daniel Gustafsson wrote: >>> On 2 Jul 2025, at 04:51, Steve Chavez wrote: >> >>> While updating an extension to support 18beta1, I stumbled on the removal >>

Re: Explicitly enable meson features in CI

2025-07-28 Thread Daniel Gustafsson
pick a commmitter can deal with, no need for a new version IMO). -- Daniel Gustafsson

Re: Support getrandom() for pg_strong_random() source

2025-07-28 Thread Daniel Gustafsson
seline we can also make use of the _priv_bytes functions to get increased isolation. -- Daniel Gustafsson

Re: [PoC] Federated Authn/z with OAUTHBEARER

2025-07-18 Thread Daniel Gustafsson
ng downtime unless beaten to it. -- Daniel Gustafsson

Re: fix organization wording in psql's \copyright command

2025-07-14 Thread Daniel Gustafsson
grepping for > "Postgres95" didn't find any, but ... Grepping around with a bit of fuzzy matching I too was unable to find more omissions. -- Daniel Gustafsson

Re: Changing the state of data checksums in a running cluster

2025-07-12 Thread Daniel Gustafsson
> On 11 Jul 2025, at 17:53, Bernd Helmle wrote: > Since i wanted to dig a little deeper in this patch i took the > opportunity and rebased it to current master, hopefully not having > broken something seriously. Thanks, much appreciated! -- Daniel Gustafsson

Re: Adding support for SSLKEYLOGFILE in the frontend

2025-07-12 Thread Daniel Gustafsson
> On 10 Jul 2025, at 09:33, Daniel Gustafsson wrote: > >> On 5 Jul 2025, at 10:56, Peter Eisentraut wrote: > >> This patch version looks good to me. > > Thanks for review, I'll get it committed shortly. This was committed yesterday ahead of the beta release. -- Daniel Gustafsson

Re: Explicitly enable meson features in CI

2025-07-10 Thread Daniel Gustafsson
, can we rename the job with a "- Meson > Auto" suffix or something, to try to call the difference out > explicitly? +1 -- Daniel Gustafsson

Re: Adding support for SSLKEYLOGFILE in the frontend

2025-07-10 Thread Daniel Gustafsson
> On 5 Jul 2025, at 10:56, Peter Eisentraut wrote: > This patch version looks good to me. Thanks for review, I'll get it committed shortly. -- Daniel Gustafsson

Re: Explicitly enable meson features in CI

2025-07-04 Thread Daniel Gustafsson
> On 4 Jul 2025, at 09:33, Nazir Bilal Yavuz wrote: > On Thu, 3 Jul 2025 at 17:07, Daniel Gustafsson wrote: >> An alternative approach would be to instead of having opt-in's for >> non-Windows >> have opt-outs for Windows, ie a MESON_WINDOWS_EXCLUDES which does =di

Re: libpq OpenSSL and multithreading

2025-07-03 Thread Daniel Gustafsson
> On 2 Jul 2025, at 13:44, Peter Eisentraut wrote: > > On 27.06.25 19:24, Daniel Gustafsson wrote: >> The OpenSSL code in libpq have two issues for multithreading: the verify_cb >> callback use a global variable to pass back error detail state and there is >

Re: Explicitly enable meson features in CI

2025-07-03 Thread Daniel Gustafsson
> On 3 Jul 2025, at 15:50, Nazir Bilal Yavuz wrote: > On Thu, 3 Jul 2025 at 16:21, Daniel Gustafsson wrote: >> + # Like 'MESON_COMMON_FEATURES' but not shared with 'Windows - VS' task too >> + MESON_NON_VS_FEATURES: >- >> >> I'm not

Re: Explicitly enable meson features in CI

2025-07-03 Thread Daniel Gustafsson
e -Dnls=disabled -DTAR=%TAR % build" +%BASH% -c "meson setup %MESON_COMMON_PG_CONFIG_ARGS% -Ddebug=true -Doptimization=g -Db_pch=true %MESON_COMMON_NON_VS_FEATURES% -D TAR=%TAR% build" The MinGW build no longer disables nls, or am I missing something? -- Daniel Gustafsson

Re: PG 18 beta1 release notes misses mention of pg_noreturn

2025-07-02 Thread Daniel Gustafsson
luding since it's otherwise not documented anywhere. -- Daniel Gustafsson

Re: [PATCH] plperl: use xsubpp -output unconditionally

2025-07-02 Thread Daniel Gustafsson
hat conditional (which also matches what Meson does). Please see the > attached. Nice catch. On that note, shouldn't we also be updating ppport.h with a new --compat-version run? -- Daniel Gustafsson

Re: [PATCH] initdb: Treat empty -U argument as unset username

2025-07-02 Thread Daniel Gustafsson
if this looks acceptable or if further refinement is needed. + pg_log_error("superuser name must not be empty"); + exit(1); I would prefer pg_fatal() for this. -- Daniel Gustafsson

Re: Fix inconsistency in the pg_buffercache documentation

2025-07-02 Thread Daniel Gustafsson
> On 2 Jul 2025, at 10:06, Bertrand Drouvot > wrote: > On Wed, Jul 02, 2025 at 09:55:52AM +0200, Daniel Gustafsson wrote: >> how about the attached? > > LGTM. Thanks, committed. -- Daniel Gustafsson

Re: Explicitly enable meson features in CI

2025-07-02 Thread Daniel Gustafsson
uration. The attached patch implements this change. Big +1 on this, thanks for tackling it. -- Daniel Gustafsson

Re: Fix inconsistency in the pg_buffercache documentation

2025-07-02 Thread Daniel Gustafsson
Thanks, that does indeed look like an omission. There seems to be a few more on the same page however, how about the attached? -- Daniel Gustafsson pg_buffercache.diff Description: Binary data

Re: [PATCH] initdb: Treat empty -U argument as unset username

2025-07-02 Thread Daniel Gustafsson
the wrong thing. Agreed, and it's not even clear that the previous code was intentionally trying to allow an empty -U. An improved error message would be a good patch though. -- Daniel Gustafsson

Re: No error checking when reading from file using zstd in pg_dump

2025-07-01 Thread Daniel Gustafsson
> On 1 Jul 2025, at 17:42, Tom Lane wrote: > There are some minor typos in the proposed commit message, too. It seems that my grasp of the english language went on holiday before I did. The attached v9 is hopefully less terrible. -- Daniel Gustafsson v9-0001-pg_dump-Fix-compressi

Re: No error checking when reading from file using zstd in pg_dump

2025-07-01 Thread Daniel Gustafsson
> On 1 Jul 2025, at 17:11, Tomas Vondra wrote: > On 7/1/25 16:24, Daniel Gustafsson wrote: >> This version has been tested against v17 and v16 where it applies and passes >> all tests (the latter isn't as assuring as it should be since there is a lack >> of

Re: No error checking when reading from file using zstd in pg_dump

2025-07-01 Thread Daniel Gustafsson
> On 26 Jun 2025, at 20:01, Daniel Gustafsson wrote: > >> On 26 Jun 2025, at 15:33, Tom Lane wrote: > >> So on the whole I prefer the "void" approach. I'm not dead >> set on that though, it's just a niggling worry. > > I think the likely

Re: Adding support for SSLKEYLOGFILE in the frontend

2025-07-01 Thread Daniel Gustafsson
> On 29 Jun 2025, at 12:56, Peter Eisentraut wrote: > > On 27.06.25 11:15, Daniel Gustafsson wrote: >>> On 26 Jun 2025, at 23:06, Daniel Gustafsson wrote: >>> I'll propose changes for these comments in the morning when coffee has been >>> had. >>

Re: Tags in the commitfest app: How to use them and what tags to add?

2025-07-01 Thread Daniel Gustafsson
able to fill the one role they had, maybe it's time to just remove them? -- Daniel Gustafsson

Re: [PoC] Federated Authn/z with OAUTHBEARER

2025-06-30 Thread Daniel Gustafsson
> On 30 Jun 2025, at 20:33, Jacob Champion > wrote: > > On Mon, Jun 30, 2025 at 10:02 AM Daniel Gustafsson wrote: >>> On 30 Jun 2025, at 18:58, Andres Freund wrote: >>> Probably just needs to be added to the installed_targets list. >> >> Thanks for

Re: [PoC] Federated Authn/z with OAUTHBEARER

2025-06-30 Thread Daniel Gustafsson
faces/libpq-oauth/libpq-oauth.a' could not be found > ninja: build stopped: subcommand failed. > > Probably just needs to be added to the installed_targets list. Thanks for the report, I'll take a look today to get it fixed. -- Daniel Gustafsson

libpq OpenSSL and multithreading

2025-06-27 Thread Daniel Gustafsson
through 3.5. Parking this in the next commitfest. -- Daniel Gustafsson 0001-libpq-Fix-multithreading-issues-in-the-OpenSSL-suppo.patch Description: Binary data

Re: Adding support for SSLKEYLOGFILE in the frontend

2025-06-27 Thread Daniel Gustafsson
> On 26 Jun 2025, at 23:06, Daniel Gustafsson wrote: > I'll propose changes for these comments in the morning when coffee has been > had. The attached moves to logging on stderr along with a test for this, and also removes the WARNING prefix that was added to the other stderr

Re: Adding support for SSLKEYLOGFILE in the frontend

2025-06-26 Thread Daniel Gustafsson
> On 26 Jun 2025, at 22:49, Peter Eisentraut wrote: > > On 03.04.25 17:51, Daniel Gustafsson wrote: >>> On 1 Apr 2025, at 22:22, Daniel Gustafsson wrote: >>> >>> I took another pass at this one and did a few small tweaks, so I would to >>> take >

Re: No error checking when reading from file using zstd in pg_dump

2025-06-26 Thread Daniel Gustafsson
gument than my "match an API we're still not aligned with". The attached v7 reverts back to void return. -- Daniel Gustafsson v7-0001-Initial-patch-by-Tom-Lane.patch Description: Binary data v7-0002-pg_dump-compression-API-write_func.patch Description: Binary data v7-0003-pg

Re: No error checking when reading from file using zstd in pg_dump

2025-06-26 Thread Daniel Gustafsson
presetting errno to 0 and then > replacing that with ENOSPC. I went over all the fwrite callsites *in this patchset* and made sure they follow the pattern. There are a number of more fwrite calls in pg_dump (and elsewhere) which might need the same treatment but I left those for a separate pat

Re: No error checking when reading from file using zstd in pg_dump

2025-06-25 Thread Daniel Gustafsson
ght well have missed some changes which aren't required to backpatch, and if so we need to pull those out. One thing this doesn't address is the lack of testing, which also should be tackled (having fault injection capabilities for client utils would be neat). -- Daniel Gustafsson v5-000

Re: Security Label Inheritance

2025-06-23 Thread Daniel Gustafsson
like a good improvement. The first sentence feels a bit long, but it's no dealbreaker. -- Daniel Gustafsson

Re: Non-reproducible AIO failure

2025-06-19 Thread Daniel Gustafsson
nd it too fails to reproduce any issue. -- Daniel Gustafsson

Re: Non-reproducible AIO failure

2025-06-19 Thread Daniel Gustafsson
g version 15.0.0 (clang-1500.3.9.4) which corresponds to LLVM 16. Nothing so far after running a testloop suggested by Andres off-list for two hours. -- Daniel Gustafsson

Re: Avoid possible dereference null pointer (src/backend/utils/cache/relcache.c)

2025-06-17 Thread Daniel Gustafsson
t; hitting a segfault a couple lines later. If I break something here while hacking I'd probably prefer a segfault to an Assert. -- Daniel Gustafsson

Re: Fix copy-and-past thinko (src/interfaces/libpq/fe-cancel.c)

2025-06-17 Thread Daniel Gustafsson
> On 17 Jun 2025, at 15:40, Ranier Vilela wrote: > In the function *PQcancelCreate* there is a copy-and-past thinko. > The pointer that must be checked is cancelConn. > > Trivial patch attached. Nice catch, will fix. -- Daniel Gustafsson

Re: pg_upgrade fails with an error "object doesn't exist"

2025-06-16 Thread Daniel Gustafsson
pg_dump (but I'm not sure it's worth spending the cycles in every upgrade to test for this, the check phase is already quite extensive). -- Daniel Gustafsson

Re: No error checking when reading from file using zstd in pg_dump

2025-06-16 Thread Daniel Gustafsson
Z_NULL? I suppose we could explicitly check/translate Z_NULL to NULL, > although Z_NULL is simply defined as 0. I don't recall if NULL has some > additional magic. Right, to be clear, I don't think there is a bug here (or the risk one going forward). It's just my own prefere

Re: No error checking when reading from file using zstd in pg_dump

2025-06-16 Thread Daniel Gustafsson
> On 16 Jun 2025, at 16:20, Tom Lane wrote: > > Daniel Gustafsson writes: >>> On 16 Jun 2025, at 15:56, Tom Lane wrote: >>> I've not checked to see what the other users of this API do, but >>> if they're all like this then we need to fix that comme

Re: No error checking when reading from file using zstd in pg_dump

2025-06-16 Thread Daniel Gustafsson
_getc can be simplified as well as it no longer needs to call ferror, it still needs to check feof though. -- Daniel Gustafsson

Re: pg_upgrade fails with an error "object doesn't exist"

2025-06-16 Thread Daniel Gustafsson
ill feels like a case of getting to keep both pieces when breaking it, but I wonder if we shouldn't make it harder to break? -- Daniel Gustafsson

Re: No error checking when reading from file using zstd in pg_dump

2025-06-16 Thread Daniel Gustafsson
e over 13200 tests in the log. Are you sure you are building with ZStd compression enabled? -- Daniel Gustafsson

Re: No error checking when reading from file using zstd in pg_dump

2025-06-16 Thread Daniel Gustafsson
> On 16 Jun 2025, at 10:52, Evgeniy Gorbanev wrote: > > 16.06.2025 14:25, Daniel Gustafsson пишет: >>> On 16 Jun 2025, at 10:14, Evgeniy Gorbanev wrote: >>> In src/bin/pg_dump/compress_zstd.c, the Zstd_read function always >>> returns true. But if you

Re: No error checking when reading from file using zstd in pg_dump

2025-06-16 Thread Daniel Gustafsson
return false; As cnt is coming from fread() returning false here would be wrong as you cannot from 0 alone know if it's EOF or an error. Instead it needs to inspect the stream with feof() and ferror() to know how to proceed. -- Daniel Gustafsson

Re: [PATCH] Fix incomplete memory clearing in OAuth authentication

2025-06-16 Thread Daniel Gustafsson
x27;m lacking imagination, but I fail to see how it's a security issue to not set a byte to \0 when it is known to be \0? -- Daniel Gustafsson

Re: Possibly hard-to-read message

2025-06-16 Thread Daniel Gustafsson
> On 12 Jun 2025, at 08:27, Peter Eisentraut wrote: > The rest looks good to me. FTR this was committed last week but I missed following up here. -- Daniel Gustafsson

Re: pg_upgrade fails with an error "object doesn't exist"

2025-06-16 Thread Daniel Gustafsson
> > Why can't we strictly restrict object creation in pg_catalog? Do you have allow_system_table_mods set to ON by any chance? As Laurenz said, such creation is already restricted, but it can be circumvented by using said GUC (which is *not* intended for production usage). -- Daniel Gustafsson

Re: Allow pg_dump --statistics-only to dump foreign table statistics?

2025-06-13 Thread Daniel Gustafsson
ble to be selective with statistics? -- Daniel Gustafsson

Re: pg_dump --with-* options

2025-06-13 Thread Daniel Gustafsson
iferation of concepts rather than trying to make it fit/shoehorn into one of the ones we already have? -- Daniel Gustafsson

Re: Possibly hard-to-read message

2025-06-11 Thread Daniel Gustafsson
> On 5 Jun 2025, at 13:14, Peter Eisentraut wrote: > > On 07.04.25 02:55, Daniel Gustafsson wrote: >>> On 7 Apr 2025, at 02:43, David G. Johnston >>> wrote: >>> How about: >>> >>> + "if set to a number, overrides the default

Re: Buffer overflow in SerializeLibraryState() found by Address Sanitizer

2025-06-10 Thread Daniel Gustafsson
accounting for that extra byte in > EstimateLibraryStateSpace() The last '\0' written isn't performed in relation to the size, but at a fixed index in the buffer: ... } start_address[0] = '\0'; How would that cause a buffer overflow? -- Daniel Gustafsson

Re: pg_upgrade: warn about roles with md5 passwords

2025-06-04 Thread Daniel Gustafsson
reed, I was going to support this warning but this comment convinced me otherwise. pg_upgrade is messy as it is without tasking it with more usecases. -- Daniel Gustafsson

Re: Retiring some encodings?

2025-05-26 Thread Daniel Gustafsson
to UTF-8 in >> terms of space utilization. > > Given this, removing it seems like a non-starter. Agreed, it seems very unappealing to remove something so important to such a large userbase. -- Daniel Gustafsson

Re: Fix a minor typo in jit/README

2025-05-26 Thread Daniel Gustafsson
> On 26 May 2025, at 08:44, Yugo Nagata wrote: > -additionally an index is over these is stored to > +additionally an index over these is stored to Fixed, thanks! -- Daniel Gustafsson

Re: Prevent an error on attaching/creating a DSM/DSA from an interrupt handler.

2025-05-23 Thread Daniel Gustafsson
> On 20 May 2025, at 11:56, Daniel Gustafsson wrote: > >> On 20 May 2025, at 04:29, Tom Lane wrote: > >> I want to argue for reverting, at least for v18. I do not think that >> ProcessGetMemoryContextInterrupt is anywhere near release-quality. >> I found ou

Re: Enable data checksums by default

2025-05-23 Thread Daniel Gustafsson
in the pg_upgrade check with explanatory comments if needed, and leave the functionality as is today. -- Daniel Gustafsson

Re: Retiring some encodings?

2025-05-23 Thread Daniel Gustafsson
actly what we need to make informed decisions. How prevalent is GB18030 usage, is it used in all postgres installations in China, most of them or in some particular cases? -- Daniel Gustafsson

Re: Enable data checksums by default

2025-05-23 Thread Daniel Gustafsson
> On 23 May 2025, at 11:55, Tomas Vondra wrote: > > On 5/23/25 11:25, Daniel Gustafsson wrote: >>> On 23 May 2025, at 10:10, Heikki Linnakangas wrote: >> >>> Aside from just documenting it, I see two things we could do: >>> >>> 1. Have pg

Re: Retiring some encodings?

2025-05-23 Thread Daniel Gustafsson
ce people get the > better. +1 -- Daniel Gustafsson

Re: Addition of %b/backend_type in log_line_prefix of TAP test logs

2025-05-21 Thread Daniel Gustafsson
, right, good point. I've managed to miss this part in > pg_regress.c. Using the same value makes even more sense. Agreed, and +1 on the change in general. -- Daniel Gustafsson

Re: proposal: schema variables

2025-05-20 Thread Daniel Gustafsson
est at some point is another thing, but we are seeing a very good role-model for taking responsibility for ones work here at the very least =) -- Daniel Gustafsson

Re: Log connection establishment timings

2025-05-20 Thread Daniel Gustafsson
> On 20 May 2025, at 10:52, Peter Eisentraut wrote: > src/test/ssl/t/SSL/Server.pm While I don't have an immediate usecase or test in mind, having the SSL tests use log_conections=all could be handy when hacking on the TLS support. -- Daniel Gustafsson

Re: Prevent an error on attaching/creating a DSM/DSA from an interrupt handler.

2025-05-20 Thread Daniel Gustafsson
and does so in TopMemoryContext. Ugh, that's indeed a showstopper. Attached is a revert of the feature, I want to re-read and re-test before pushing to make sure I didn't miss anything but can go ahead with it later today. -- Daniel Gustafsson 0001-Revert-function-to-get-memory-context-stats-f

Re: Prevent an error on attaching/creating a DSM/DSA from an interrupt handler.

2025-05-19 Thread Daniel Gustafsson
e as you say limited in what we can/should do in that case so immediately returning is the safer option. The attached also encodes the example from this thread as a test using an interactive background. (The attached has a small context id fix as well but the interesting bit is the above.) -- Da

Re: Find comment on SearchSysCacheLockedCopy1

2025-05-18 Thread Daniel Gustafsson
> On 18 May 2025, at 01:29, Paul A Jungwirth > wrote: > > Here is a very small comment fix, referencing the wrong function name. > There's a lot of suffixes flying around right here. Agreed, that seems like the right fix. -- Daniel Gustafsson

Re: Proposal: Make cfbot fail on patches not created by "git format-patch"

2025-05-16 Thread Daniel Gustafsson
27;m involved in, to remove barriers to entry. Good commit messages are obviously very important, but having your patch rejected (yes, I know, failing to apply) might not be strongest motivator for achieving this. -- Daniel Gustafsson

Re: Align wording on copyright organization

2025-05-16 Thread Daniel Gustafsson
> On 16 May 2025, at 10:40, Daniel Gustafsson wrote: > I will go ahead and push this to all supported branches. Done. I also ensured that the text in the legal notice match the OSI license text while in there. -- Daniel Gustafsson

Re: Align wording on copyright organization

2025-05-16 Thread Daniel Gustafsson
> On 16 May 2025, at 10:00, Tom Lane wrote: > > Dave Page writes: >> On Fri, 16 May 2025 at 09:12, Daniel Gustafsson wrote: >>> As was briefly discussed in the developers meeting, and the hallway track, >>> at >>> PGConf.dev we have a few variations on

Align wording on copyright organization

2025-05-16 Thread Daniel Gustafsson
As was briefly discussed in the developers meeting, and the hallway track, at PGConf.dev we have a few variations on the organization wording which really should be aligned with the wording defined by -core in pgweb commit 2d764dbc08. -- Daniel Gustafsson v1-0001-Align-organization-wording-in

Re: Fix incorrect order of params in comment

2025-05-13 Thread Daniel Gustafsson
> On 9 May 2025, at 23:50, Michael Paquier wrote: > > On Fri, May 09, 2025 at 07:21:17PM +0200, Daniel Gustafsson wrote: >> -=item $node->log_check($offset, $test_name, %parameters) >> +=item $node->log_check($test_name, $offset, %parameters) >> >> Ch

Fix incorrect order of params in comment

2025-05-09 Thread Daniel Gustafsson
ers) +=item $node->log_check($test_name, $offset, %parameters) Check contents of server logs. -- Daniel Gustafsson

Re: disabled SSL log_like tests

2025-05-09 Thread Daniel Gustafsson
> On 9 May 2025, at 18:42, Tom Lane wrote: > > Pushed all that stuff. The SSL tests pass for me now on OpenBSD 7.7, > and hopefully the CI environment will be happy too. Thanks! -- Daniel Gustafsson

Re: disabled SSL log_like tests

2025-05-09 Thread Daniel Gustafsson
> On 9 May 2025, at 02:15, Tom Lane wrote: > Daniel Gustafsson writes: >> If we were to end up with a >> Libressl libtls implementation in libpq we'd still have to test with Libressl >> against the OpenSSL compat layer in libssl since it could act as both. Not

  1   2   3   4   5   6   7   8   9   10   >