Re: Rename Function: pg_postmaster_start_time

2024-11-06 Thread Daniel Gustafsson
t similar functions it's clear they don't use the pg_postgres_ prefix, like for example pg_conf_load_time. Should this if so be pg_start_time? -- Daniel Gustafsson

Re: pg_upgrade check for invalid databases

2024-11-06 Thread Daniel Gustafsson
> On 1 Nov 2024, at 01:36, Bruce Momjian wrote: > On Fri, Oct 25, 2024 at 01:55:57PM +0200, Daniel Gustafsson wrote: >> In the meantime, the OP has a good point that it's a tad silly that >> pg_upgrade >> fails hard on invalid databases instead of detecting an

Re: index_delete_sort: Unnecessary variable "low" is used in heapam.c

2024-11-06 Thread Daniel Gustafsson
> On 5 Nov 2024, at 22:08, Daniel Gustafsson wrote: > >> On 5 Nov 2024, at 17:40, Fujii Masao wrote: >> >> On 2024/09/24 21:31, Daniel Gustafsson wrote: >>>> On 24 Sep 2024, at 10:32, btnakamurakoukil >>>> wrote: >>>&g

Re: index_delete_sort: Unnecessary variable "low" is used in heapam.c

2024-11-05 Thread Daniel Gustafsson
> On 5 Nov 2024, at 17:40, Fujii Masao wrote: > > On 2024/09/24 21:31, Daniel Gustafsson wrote: >>> On 24 Sep 2024, at 10:32, btnakamurakoukil >>> wrote: >>> I noticed unnecessary variable "low" in index_delete_sort() >>> (/postgres/src

Re: Time to add a Git .mailmap?

2024-11-05 Thread Daniel Gustafsson
> On 5 Nov 2024, at 10:33, Alvaro Herrera wrote: > Therefore I +1 Daniel's original proposal with thanks, and BTW I'm not > sorry for changing my name to use the hard-won ' accent on it :-) Done. -- Daniel Gustafsson

Re: pg_dump --no-comments confusion

2024-11-04 Thread Daniel Gustafsson
> On 4 Nov 2024, at 21:00, Bruce Momjian wrote: > Proposed patch attached. LGTM. -- Daniel Gustafsson

Re: pg_dump --no-comments confusion

2024-11-04 Thread Daniel Gustafsson
, I think it would be a good change. > But I also think that > "SQL" in front of the command name is unnecessary because the man page > uses the "FOOBAR command" form throughout Agreed. >--inserts >Dump data as INSERT commands [...] > > Also, it doesn't really matter whether COMMENT is standard SQL. AFAIK some flavor of COMMENT is present in MySQL, PostgreSQL and Oracle which already makes it more "standardized" than many parts of the SQL standard =) -- Daniel Gustafsson

Re: Allow specifying a dbname in pg_basebackup connection string

2024-11-04 Thread Daniel Gustafsson
+1 on your patch, reading through I can't see anything it misses. Maybe a comment above the change with a note on why dbname is tested for NULL there would be good? -- Daniel Gustafsson

Re: [PoC] Federated Authn/z with OAUTHBEARER

2024-11-04 Thread Daniel Gustafsson
e common pattern for erroring out like this. -- Daniel Gustafsson

Re: Time to add a Git .mailmap?

2024-11-03 Thread Daniel Gustafsson
> On 1 Nov 2024, at 13:53, Peter Eisentraut wrote: > > On 01.11.24 12:53, Alvaro Herrera wrote: >> On 2024-Oct-31, Daniel Gustafsson wrote: >>> When looking at our Git tree for a recent conference presentation I >>> happened to >>> notice that we h

Re: IPC::Run::time[r|out] vs our TAP tests

2024-10-31 Thread Daniel Gustafsson
> On 28 Oct 2024, at 11:56, Heikki Linnakangas wrote: > > On 09/04/2024 20:10, Daniel Gustafsson wrote: >> Turning the timeout into a timer and returning undef along with logging a >> test >> failure in case of expiration seems a bit saner (maybe Andrew can suggest a

Re: Fix typos where 'the' was repeated

2024-10-31 Thread Daniel Gustafsson
> On 31 Oct 2024, at 10:24, vignesh C wrote: > I noticed a couple of typos in code. "the the" should have been "the", > attached patch has the changes for the same. Fixed, thanks. -- Daniel Gustafsson

Time to add a Git .mailmap?

2024-10-31 Thread Daniel Gustafsson
committer entry. -- Daniel Gustafsson mailmap.diff Description: Binary data

Re: Segfault in jit tuple deforming on arm64 due to LLVM issue

2024-10-31 Thread Daniel Gustafsson
h it would probably help readers. -- Daniel Gustafsson

Re: [PoC] Federated Authn/z with OAUTHBEARER

2024-10-29 Thread Daniel Gustafsson
> On 29 Oct 2024, at 17:40, Jacob Champion > wrote: > > On Tue, Oct 29, 2024 at 3:52 AM Daniel Gustafsson wrote: >> Currently we don't support any conditional compilation which only affects >> backend or frontend, all --without-XXX flags turn it off for both. >

Re: Replace current implementations in crypt() and gen_salt() to OpenSSL

2024-10-29 Thread Daniel Gustafsson
> On 29 Oct 2024, at 13:53, Joe Conway wrote: > > On 10/29/24 05:57, Daniel Gustafsson wrote: >>> On 26 Oct 2024, at 20:10, Joe Conway wrote: >>> Rather than depend on figuring out if we are in FIPS_mode in a portable >>> way, I think the GUC is simpler and

Re: doc issues in event-trigger-matrix.html

2024-10-29 Thread Daniel Gustafsson
unction -pg_event_trigger_table_rewrite_reason(). +pg_event_trigger_table_rewrite_oid() To discover the reason(s) +for the rewrite, use the function pg_event_trigger_table_rewrite_reason() +(see ). -- Daniel Gustafsson

Re: [PoC] Federated Authn/z with OAUTHBEARER

2024-10-29 Thread Daniel Gustafsson
> On 28 Oct 2024, at 17:09, Jacob Champion > wrote: > On Mon, Oct 28, 2024 at 6:24 AM Daniel Gustafsson wrote: >> Looking more at the patchset I think we need to apply conditional compilation >> of the backend for oauth like how we do with other opt-in schemes in >

Re: Replace current implementations in crypt() and gen_salt() to OpenSSL

2024-10-29 Thread Daniel Gustafsson
their own extension. -- Daniel Gustafsson

Re: [PoC] Federated Authn/z with OAUTHBEARER

2024-10-28 Thread Daniel Gustafsson
s a hot mess =/ Looking more at the patchset I think we need to apply conditional compilation of the backend for oauth like how we do with other opt-in schemes in configure and meson. The attached .txt has a diff for making --with-oauth a requirement for compiling support into backend libpq.

Re: Inconsistent output handling in 002_pg_upgrade.pl test logs

2024-10-28 Thread Daniel Gustafsson
refer to output this to the log only and not the TAP output, to avoid the risk of not seeing the test output for all the log output on the screen. -- Daniel Gustafsson

Re: ActiveState Perl is not valid anymore to build PG17 on the Windows 10/11 platforms, So Documentation still suggesting it should be updated

2024-10-28 Thread Daniel Gustafsson
ed patch to make these changes. +1 for applying backpatched to at least 17 but possibly further down judging by the linked threads. -- Daniel Gustafsson

Re: sslinfo extension - add notbefore and notafter timestamps

2024-10-28 Thread Daniel Gustafsson
needed. -- Daniel Gustafsson v13-0001-Add-notBefore-and-notAfter-to-SSL-cert-info-disp.patch Description: Binary data

Re: pg_upgrade check for invalid databases

2024-10-25 Thread Daniel Gustafsson
a tad silly that pg_upgrade fails hard on invalid databases instead of detecting and reporting like how other errors are handled. The attached adds this check and expands the report wording to cover it. -- Daniel Gustafsson 0001-Find-invalid-databases-during-upgrade-check-stage.patch Description: Binary data

Re: Retire support for OpenSSL 1.1.1 due to raised API requirements

2024-10-24 Thread Daniel Gustafsson
This has now been committed via the TLS 1.3 ciphersuite patchset. -- Daniel Gustafsson

Re: Add support to TLS 1.3 cipher suites and curves lists

2024-10-24 Thread Daniel Gustafsson
/LibreSSL requirement, I will reach out to BF animal owners for upgrades. -- Daniel Gustafsson

Re: Incorrect comment on pg_shadow view

2024-10-18 Thread Daniel Gustafsson
pg_group are now views on pg_authid. I'm no native speaker but I don't interpret "publicly accessible" as readable by the public role, rather that they are accessible via a user interface (in this case SQL). -- Daniel Gustafsson

Re: Use more CppAsString2() in pg_amcheck.c

2024-10-18 Thread Daniel Gustafsson
d feed to the binary the values from the header. The > patch attached does that. I haven't studied the patch in detail (yet), nothing stood out from a quick skim, but +1 on the concept. -- Daniel Gustafsson

Re: wrong comment in libpq.h

2024-10-17 Thread Daniel Gustafsson
> On 17 Oct 2024, at 04:45, Bruce Momjian wrote: > I looked at this and decided the GUC section was illogical, so I just > moved the variables up into the be-secure.c section. Patch attached. No objections. -- Daniel Gustafsson

Re: Enable data checksums by default

2024-10-16 Thread Daniel Gustafsson
easonable use-case, so +1. -- Daniel Gustafsson

Re: Remove deprecated -H option from oid2name

2024-10-16 Thread Daniel Gustafsson
> On 15 Oct 2024, at 22:48, Peter Eisentraut wrote: > > On 09.10.24 20:30, Daniel Gustafsson wrote: >>> On 9 Oct 2024, at 19:15, Nathan Bossart wrote: >>> Another problem is that "deprecated" may or may not imply that the feature >>> will be removed

Re: Remove deprecated -H option from oid2name

2024-10-15 Thread Daniel Gustafsson
features we've marked as deprecated and sometimes they are kept. -- Daniel Gustafsson

Re: Add support to TLS 1.3 cipher suites and curves lists

2024-10-15 Thread Daniel Gustafsson
> On 14 Oct 2024, at 15:08, Peter Eisentraut wrote: > > On 26.09.24 11:01, Daniel Gustafsson wrote: >> Attached is a v7 which address a test failure in the CI. It turns out that >> the >> test_misc module gather GUC names using the :alpha: character class which &

Re: Add support to TLS 1.3 cipher suites and curves lists

2024-10-15 Thread Daniel Gustafsson
> On 3 Oct 2024, at 01:20, Jacob Champion > wrote: > > On Wed, Oct 2, 2024 at 11:33 AM Daniel Gustafsson wrote: >>> If I migrate a server to a different machine that doesn't support my >>> groups, I don't know that this would give me enough information t

Re: [PATCH] Avoid mixing custom and OpenSSL BIO functions

2024-10-11 Thread Daniel Gustafsson
> On 5 Sep 2024, at 00:10, Daniel Gustafsson wrote: > Thanks for reviewing, I plan on going ahead with this patch shortly. That ended up not being shortly, but having spent a fair bit of time reading the diff over and testing on multiple versions of OpenSSL and LibreSSL I've now push

Re: pg_upgrade check for invalid databases

2024-10-11 Thread Daniel Gustafsson
> On 7 Oct 2024, at 22:04, Nathan Bossart wrote: > > On Mon, Oct 07, 2024 at 03:37:35PM -0400, Bruce Momjian wrote: >> On Tue, Oct 1, 2024 at 09:28:54AM +0200, Daniel Gustafsson wrote: >>> Correct, sorry for being unclear. The consistency argument would be to >

Re: sunsetting md5 password support

2024-10-10 Thread Daniel Gustafsson
d point in time for when MD5 goes away with notices in all release notes up until that point. -- Daniel Gustafsson

Re: Allow default \watch interval in psql to be configured

2024-10-10 Thread Daniel Gustafsson
> On 10 Oct 2024, at 02:01, Michael Paquier wrote: > > On Wed, Oct 09, 2024 at 04:24:27PM +0200, Daniel Gustafsson wrote: >> Fixed. > > -doublesleep = 2; > +doublesleep = pset.watch_interval; > > This forces the use of seconds a

Re: Converting tab-complete.c's else-if chain to a switch

2024-10-10 Thread Daniel Gustafsson
ing the code I agree that we must check previous_words_count here so +1 on this patch. -- Daniel Gustafsson

Re: Doc: typo in config.sgml

2024-10-10 Thread Daniel Gustafsson
use unintended side effects when executed by copy/paste. What separates nbsp is that it may affect the rendering in an un-intuitive way by forcing two words to not break even if the viewport is too narrow to fit. Catching such characters seems wortwhile since it's also quite doable with a tr

Re: Remove deprecated -H option from oid2name

2024-10-09 Thread Daniel Gustafsson
I think we should separate between discouraged and deprecated. -- Daniel Gustafsson

Re: Remove deprecated -H option from oid2name

2024-10-09 Thread Daniel Gustafsson
> On 9 Oct 2024, at 18:33, Nathan Bossart wrote: > > On Wed, Oct 09, 2024 at 10:08:31AM +0200, Daniel Gustafsson wrote: >> The -H option to oid2name was deprecated in v12, and with v12 going out of >> support it seems about time to remove it for v18. Not the most >>

Re: Allow default \watch interval in psql to be configured

2024-10-09 Thread Daniel Gustafsson
equal to* 0". Or maybe "cannot be negative". -0 is also accepted, > though. I changed to "must be at least XX" to keep the message short. > set -> sets > > beetween -> between Fixed. -- Daniel Gustafsson v2-0001-Make-default-watch-interval-configurable.patch Description: Binary data

Allow default \watch interval in psql to be configured

2024-10-09 Thread Daniel Gustafsson
e attached adds a new variable, WATCH_INTERVAL, which is used as the default value in case no value is defined when executing the command. The defualt of this remains at 2 seconds as it is now. The count and min_rows values are not affected by this as those seem less meaningful to set defaults on.

Remove deprecated -H option from oid2name

2024-10-09 Thread Daniel Gustafsson
The -H option to oid2name was deprecated in v12, and with v12 going out of support it seems about time to remove it for v18. Not the most groundbreaking cleanup, but also no point in carrying it around for 5 more years. -- Daniel Gustafsson v1-0001-Remove-depracated-H-option-for-host.patch

Re: pgindent fails with perl 5.40

2024-10-09 Thread Daniel Gustafsson
> On 8 Oct 2024, at 22:56, Daniel Gustafsson wrote: > >> On 8 Oct 2024, at 22:24, Andrew Dunstan wrote: >> The patch looks fine, and should be backpatched. Looks like this is a 12 >> year old thinko. AFAICT File::Spec doesn't export anything. > > Thanks for

Re: pgindent fails with perl 5.40

2024-10-08 Thread Daniel Gustafsson
> On 8 Oct 2024, at 22:24, Andrew Dunstan wrote: > > On 2024-10-08 Tu 5:26 AM, Daniel Gustafsson wrote: >>> On 8 Oct 2024, at 03:50, Erik Wienhold wrote: >>>> Calling the import method of an unknown package produces a warning >>>> [...] >>>

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

2024-10-08 Thread Daniel Gustafsson
h_ptr > and foreach_oid macros instead of plain foreach. Fair point, done in the v4 attached upthread. -- Daniel Gustafsson

Re: pgindent fails with perl 5.40

2024-10-08 Thread Daniel Gustafsson
.00 which was released just a hair over 2 decades ago so I think we can safely assume any File::Spec we use to have it. -- Daniel Gustafsson

Re: Doc: typo in config.sgml

2024-10-08 Thread Daniel Gustafsson
o objection, I will commit this to > master branch. No objections, LGTM. -- Daniel Gustafsson

Re: Commit fest 2024-09

2024-10-07 Thread Daniel Gustafsson
> On 7 Oct 2024, at 09:47, Michael Paquier wrote: > The commit fest 2024-09 should have ended one week ago, so I have been > taking one step ahead and I have begun cleaning up things. Thanks for doing this, much appreciated! -- Daniel Gustafsson

Re: Enable data checksums by default

2024-10-07 Thread Daniel Gustafsson
, but I think this should be an xref like how we link to --no-locale in the -E docs: instead. LGTM otherwise. -- Daniel Gustafsson

Re: Retire support for OpenSSL 1.1.1 due to raised API requirements

2024-10-03 Thread Daniel Gustafsson
> On 10 Sep 2024, at 10:44, Daniel Gustafsson wrote: > This change will be committed together with the TLSv1.3 cipher suite pathcset, > just wanted to bring it up here and not hide it in another thread. In the TLSv1.3 cipher suite thread it was brought up that this bump in minimum vers

Re: [PATCH] Check for TupleTableSlot nullness before dereferencing

2024-10-03 Thread Daniel Gustafsson
there was a reachable segfault on a null pointer deref I have a feeling we'd heard about it by now so some extra care seems warranted to ensure it's not a static analyzer false positive. -- Daniel Gustafsson

Re: Add support to TLS 1.3 cipher suites and curves lists

2024-10-02 Thread Daniel Gustafsson
> On 2 Oct 2024, at 19:16, Jacob Champion > wrote: > > On Wed, Sep 25, 2024 at 6:39 AM Daniel Gustafsson wrote: >> I can't recall specific bounds for supporting LibreSSL even being discussed, >> the support is also not documented as an official thing. Requiring T

Re: Converting README documentation to Markdown

2024-10-01 Thread Daniel Gustafsson
> On 1 Oct 2024, at 16:53, Jelte Fennema-Nio wrote: > On Tue, 1 Oct 2024 at 15:52, Daniel Gustafsson wrote: >>> Apart from this, I don't changing the placeholders like to < foo >. >>> In some cases, this really decreases readability. Maybe we should look

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

2024-10-01 Thread Daniel Gustafsson
> On 1 Oct 2024, at 00:43, Michael Banck wrote: > > Hi, > > On Mon, Sep 30, 2024 at 11:21:30PM +0200, Daniel Gustafsson wrote: >>> Yeah, I think a view like pg_stat_progress_checksums would work. >> >> Added in the attached version. It probably needs some

Re: pg_upgrade check for invalid databases

2024-10-01 Thread Daniel Gustafsson
> On 1 Oct 2024, at 00:20, Tom Lane wrote: > > Daniel Gustafsson writes: >>> On 30 Sep 2024, at 16:55, Tom Lane wrote: >>> TBH I'm not finding anything very much wrong with the current >>> behavior... this has to be a rare situation, do we need to add

Re: pg_upgrade check for invalid databases

2024-10-01 Thread Daniel Gustafsson
> On 1 Oct 2024, at 02:35, Thomas Krennwallner wrote: > > On 30/09/2024 17.29, Daniel Gustafsson wrote: >>> On 30 Sep 2024, at 16:55, Tom Lane wrote: >>> TBH I'm not finding anything very much wrong with the current >>> behavior... this has

Re: ACL_MAINTAIN, Lack of comment content

2024-09-30 Thread Daniel Gustafsson
> On 30 Sep 2024, at 17:43, Tom Lane wrote: > > Nathan Bossart writes: >> On Mon, Sep 30, 2024 at 04:13:55PM +0200, Daniel Gustafsson wrote: >>> I'm not a native speaker so I'm not sure which is right, but grepping for >>> other >>> li

Re: pg_upgrade check for invalid databases

2024-09-30 Thread Daniel Gustafsson
enerally tries to report all the offending entries to help the user when fixing the source database. Not sure if it's a strong enough argument for carrying code which really shouldn't see much use though. -- Daniel Gustafsson

Re: ACL_MAINTAIN, Lack of comment content

2024-09-30 Thread Daniel Gustafsson
> On 30 Sep 2024, at 12:38, Yugo Nagata wrote: > > On Mon, 30 Sep 2024 11:40:29 +0200 > Daniel Gustafsson wrote: > >> - * MATERIALIZED VIEW, and REINDEX on all relations. >> + * MATERIALIZED VIEW, REINDEX and LOCK TABLE on all relations. > > Should we put a c

Re: Doc: typo in config.sgml

2024-09-30 Thread Daniel Gustafsson
doing so made me realize we don't have an equivalent meson target). -- Daniel Gustafsson check_nbsp.diff Description: Binary data

Re: ACL_MAINTAIN, Lack of comment content

2024-09-30 Thread Daniel Gustafsson
INDEX on all relations. >> */ > > Therefore, shouldn't LOCK TABLE be added to the comment? That's correct, for the list to be complete LOCK TABLE should be added as per the attached. -- Daniel Gustafsson acl_maintain_comment.diff Description: Binary data

Re: Add support to TLS 1.3 cipher suites and curves lists

2024-09-26 Thread Daniel Gustafsson
allows all alphanumeric characters. This is not directly related to this patch, it just happened to be exposed by it. -- Daniel Gustafsson v7-0001-Handle-alphanumeric-characters-in-matching-GUC-na.patch Description: Binary data v7-0002-Raise-the-minimum-supported-OpenSSL-version-to-1..patch

Re: Add support to TLS 1.3 cipher suites and curves lists

2024-09-25 Thread Daniel Gustafsson
> On 18 Sep 2024, at 22:48, Jacob Champion > wrote: > On Mon, Sep 9, 2024 at 5:00 AM Daniel Gustafsson wrote: >> The attached version also has a new 0001 which bumps the minimum required >> OpenSSL version to 1.1.1 (from 1.1.0) since this patchset requires API's on

Re: index_delete_sort: Unnecessary variable "low" is used in heapam.c

2024-09-24 Thread Daniel Gustafsson
en used since it was committed in d168b666823. The question is if it's a left-over from development which can be removed, or if it should be set and we're missing an optimization. Having not read the referenced paper I can't tell so adding Peter Geoghegan who wrote this for clarification. -- Daniel Gustafsson

Re: Cleaning up ERRCODE usage in our XML code

2024-09-23 Thread Daniel Gustafsson
> On 23 Sep 2024, at 19:17, Tom Lane wrote: > Daniel Gustafsson writes: > >> There is an ERRCODE_INTERNAL_ERROR in xml_out_internal() which seems a tad >> odd >> given that any error would be known to be parsing related and b) are caused >> by >> libxm

Re: miscellaneous pg_upgrade cleanup

2024-09-23 Thread Daniel Gustafsson
> On 17 Sep 2024, at 21:22, Nathan Bossart wrote: > > Here are a few miscellaneous cleanup patches for pg_upgrade. I don't think > there's anything controversial here. No objections to any of these changes, LGTM. -- Daniel Gustafsson

Re: Cleaning up ERRCODE usage in our XML code

2024-09-23 Thread Daniel Gustafsson
not internally. Not sure if it's worth bothering with but with the other ones improved it stood out. -- Daniel Gustafsson

Re: [PATCH] Mention service key word more prominently in pg_service.conf docs

2024-09-17 Thread Daniel Gustafsson
e last sentence, but it mentions the env var in the > first paragraph. Here's a patch to make the key word equally prominent. Fair point, that seems like a good change, will apply. -- Daniel Gustafsson

Re: broken build - FC 41

2024-09-11 Thread Daniel Gustafsson
albeit in a limited fashion. PostgreSQL still support OpenSSL 1.1.1 where engines aren't deprecated, and I expect we will for some time. -- Daniel Gustafsson

Re: Converting README documentation to Markdown

2024-09-10 Thread Daniel Gustafsson
> On 10 Sep 2024, at 17:37, Tom Lane wrote: > > Daniel Gustafsson writes: >> Since there doesn't seem to be much interest in going all the way to >> Markdown, >> the attached 0001 is just the formatting changes for achieving (to some >> degree) >>

Re: [PATCH] Fix small overread during SASLprep

2024-09-10 Thread Daniel Gustafsson
> On 9 Sep 2024, at 23:21, Daniel Gustafsson wrote: > >> On 9 Sep 2024, at 20:41, Jacob Champion >> wrote: >> >> On Mon, Sep 9, 2024 at 11:30 AM Daniel Gustafsson wrote: >>> Just to make sure I understand, this is for guarding against overreads in >&

Re: Special-case executor expression steps for common combinations

2024-09-10 Thread Daniel Gustafsson
rated. The attached v3 is a rebase to handle executor changes done since v2, with the above mentioned fix as well. If there are no objections I think we should apply this version. -- Daniel Gustafsson v3-0001-Replace-EEOP_DONE-with-special-steps-for-return-n.patch Description: Binary data v

Re: Retire support for OpenSSL 1.1.1 due to raised API requirements

2024-09-10 Thread Daniel Gustafsson
> On 10 Sep 2024, at 00:53, Michael Paquier wrote: > > On Mon, Sep 09, 2024 at 11:29:09PM +0200, Daniel Gustafsson wrote: >> Agreed. OpenSSL 1.1.1 is very different story and I suspect we'll be stuck >> on >> that level for some time, but 1.1.0 is gone from

Re: Cutting support for OpenSSL 1.0.1 and 1.0.2 in 17~?

2024-09-10 Thread Daniel Gustafsson
, but given that we regularly test LibreSSL and fix breakage in our support I think we should. -- Daniel Gustafsson

Re: Retire support for OpenSSL 1.1.1 due to raised API requirements

2024-09-09 Thread Daniel Gustafsson
> On 9 Sep 2024, at 16:48, Tom Lane wrote: > > Daniel Gustafsson writes: >> The patchset in https://commitfest.postgresql.org/49/5025/ which adds support >> for configuring cipher suites in TLS 1.3 handshakes require an API available >> in >> OpenSSL 1.1.1 and

Re: [PATCH] Fix small overread during SASLprep

2024-09-09 Thread Daniel Gustafsson
> On 9 Sep 2024, at 20:41, Jacob Champion > wrote: > > On Mon, Sep 9, 2024 at 11:30 AM Daniel Gustafsson wrote: >> Just to make sure I understand, this is for guarding against overreads in >> validation of strings containing torn MB characters? > > Right. Our

Re: optimizing pg_upgrade's once-in-each-database steps

2024-09-09 Thread Daniel Gustafsson
> On 9 Sep 2024, at 21:17, Nathan Bossart wrote: > > On Thu, Sep 05, 2024 at 01:32:34PM +0200, Daniel Gustafsson wrote: >> I've read and tested through the latest version of this patchset and I think >> it's ready to go in. > > Thanks for reviewing. I'

Re: [PATCH] Fix small overread during SASLprep

2024-09-09 Thread Daniel Gustafsson
ion of strings containing torn MB characters? Assuming I didn't misunderstand you this patch seems correct to me. -- Daniel Gustafsson

Retire support for OpenSSL 1.1.1 due to raised API requirements

2024-09-09 Thread Daniel Gustafsson
d patchset for illustration. The removal should happen when pushing the rest of the patchset. Does anyone see any reason not to go to 1.1.1 as the minimum? -- Daniel Gustafsson v5-0001-Raise-the-minimum-supported-OpenSSL-version-to-1..patch Description: Binary data

Re: Add support to TLS 1.3 cipher suites and curves lists

2024-09-09 Thread Daniel Gustafsson
> On 22 Jul 2024, at 19:14, Jacob Champion > wrote: > > On Fri, Jul 12, 2024 at 1:03 PM Daniel Gustafsson wrote: >> The original author added the string parsing in order to provide a good error >> message in case of an error in the list, and since that seemed like a ni

Re: broken build - FC 41

2024-09-09 Thread Daniel Gustafsson
^~ > compilation terminated. That implies OPENSSL_NO_ENGINE isn't defined while the engine header is missing, which isn't really a workable combination. Which version of OpenSSL is this? -- Daniel Gustafsson

Re: Typos in the code and README

2024-09-06 Thread Daniel Gustafsson
> On 4 Sep 2024, at 17:34, David Rowley wrote: > > On Wed, 4 Sept 2024 at 20:24, Daniel Gustafsson wrote: >> Not mandatory at all, but since you were prepping a typo backpatch anyways I >> figured these could join to put a small dent in reducing risks for future >> b

Re: Avoid possible dereference null pointer (src/bin/pg_dump/pg_dump.c)

2024-09-05 Thread Daniel Gustafsson
> On 4 Sep 2024, at 20:35, Daniel Gustafsson wrote: >> On 4 Sep 2024, at 19:30, Nathan Bossart wrote: >> On Wed, Sep 04, 2024 at 02:10:28PM -0300, Ranier Vilela wrote: >>> patch attached. >> >> Yeah, that looks like a problem to me. I've cc'd Da

Re: optimizing pg_upgrade's once-in-each-database steps

2024-09-05 Thread Daniel Gustafsson
ocess. This is primarily intended for the inital step in s/inital/initial/ -- Daniel Gustafsson

Re: [PATCH] Avoid mixing custom and OpenSSL BIO functions

2024-09-04 Thread Daniel Gustafsson
> On 4 Sep 2024, at 23:19, David Benjamin wrote: > > On Wed, Sep 4, 2024 at 9:22 AM Daniel Gustafsson <mailto:dan...@yesql.se>> wrote: >> > On 3 Sep 2024, at 14:18, Daniel Gustafsson > > <mailto:dan...@yesql.se>> wrote: >> >> > Atta

Re: Avoid possible dereference null pointer (src/bin/pg_dump/pg_dump.c)

2024-09-04 Thread Daniel Gustafsson
ah, that looks like a problem to me. I've cc'd Daniel here. Thanks for the report, it does seem genuine to me too. I'll get that handled later today. -- Daniel Gustafsson

Re: [PATCH] Avoid mixing custom and OpenSSL BIO functions

2024-09-04 Thread Daniel Gustafsson
> On 3 Sep 2024, at 14:18, Daniel Gustafsson wrote: > Attached is a v4 rebase over the recent OpenSSL 1.0.2 removal which made this > patch no longer apply. I've just started to dig into it so have no comments > on > it right now, but wanted to get a cleaned up version in

Re: Typos in the code and README

2024-09-04 Thread Daniel Gustafsson
> On 4 Sep 2024, at 03:25, Michael Paquier wrote: > > On Tue, Sep 03, 2024 at 12:00:13PM +0200, Daniel Gustafsson wrote: >> I see your v17 typo fixes, and raise you a few more. Commit 31a98934d169 >> from >> just now contains 2 (out of 3) sets of typos intro

Re: Minor cleanups in the SSL tests

2024-09-03 Thread Daniel Gustafsson
> On 17 May 2024, at 09:58, Daniel Gustafsson wrote: > >> On 17 May 2024, at 07:57, Peter Eisentraut wrote: >> >> On 16.05.24 23:27, Daniel Gustafsson wrote: >>>> On 16 May 2024, at 11:43, Peter Eisentraut wrote: >>>> You might want to run yo

Re: [PATCH] Avoid mixing custom and OpenSSL BIO functions

2024-09-03 Thread Daniel Gustafsson
> On 19 May 2024, at 22:32, Daniel Gustafsson wrote: > >> On 19 May 2024, at 22:21, Peter Eisentraut wrote: > >> Whoever commits these should be sure to coordinate this. > > Thanks for the reminder. I have this patchset, the OCSP stapling patchset and > the mul

Re: Typos in the code and README

2024-09-03 Thread Daniel Gustafsson
before the release. I see your v17 typo fixes, and raise you a few more. Commit 31a98934d169 from just now contains 2 (out of 3) sets of typos introduced in v17 so they should follow along when you push the ones mentioned here. -- Daniel Gustafsson

Re: Use XLOG_CONTROL_FILE macro everywhere?

2024-09-02 Thread Daniel Gustafsson
ve that one as the filename spelled out. - "the \".old\" suffix from %s/global/pg_control.old.\n" + "the \".old\" suffix from %s/%s.old.\n" Same with that change, not sure I think that makes reading the errormessage code any easier. -- Daniel Gustafsson

Re: Proposal for implementing OCSP Stapling in PostgreSQL

2024-09-02 Thread Daniel Gustafsson
oken my crystal ball is this > time. The timing is awful for this patchset in particular. It is indeed, if it ends up deprecated server-side among the big providers then support for it risks being very hard to use. Not sure what is the best course of action here is. -- Daniel Gustafsson

Re: Cutting support for OpenSSL 1.0.1 and 1.0.2 in 17~?

2024-09-02 Thread Daniel Gustafsson
> On 2 Sep 2024, at 10:03, Daniel Gustafsson wrote: > >> On 23 Aug 2024, at 01:56, Michael Paquier wrote: >> >> On Thu, Aug 22, 2024 at 11:13:15PM +0200, Daniel Gustafsson wrote: >>> On 22 Aug 2024, at 02:31, Michael Paquier wrote: >>>> Just do it

Re: Jargon and acronyms on this mailing list

2024-09-02 Thread Daniel Gustafsson
te list can be found in the post >> below, I'll refrain from copying everything here. >> >> https://www.crunchydata.com/blog/understanding-the-postgres-hackers-mailing-list > > Nice write-up! +1 > Might it also be worth linking to the acronyms and > glossary sec

Re: More performance improvements for pg_dump in binary upgrade mode

2024-09-02 Thread Daniel Gustafsson
> On 5 Jun 2024, at 04:39, Nathan Bossart wrote: > > On Wed, May 15, 2024 at 03:21:36PM -0500, Nathan Bossart wrote: >> Nice! I'll plan on taking a closer look at this one. > > LGTM. I've marked the commitfest entry as ready-for-committer. Thanks for review, committed. -- Daniel Gustafsson

Re: Cutting support for OpenSSL 1.0.1 and 1.0.2 in 17~?

2024-09-02 Thread Daniel Gustafsson
> On 23 Aug 2024, at 01:56, Michael Paquier wrote: > > On Thu, Aug 22, 2024 at 11:13:15PM +0200, Daniel Gustafsson wrote: >> On 22 Aug 2024, at 02:31, Michael Paquier wrote: >>> Just do it :) >> >> That's my plan, I wanted to wait a bit to see

  1   2   3   4   5   6   7   8   9   10   >