Re: Fwd: Why we need to check for local buffers in BufferIsExclusiveLocked and BufferIsDirty?

2025-01-29 Thread Tom Lane
27;m inclined to leave that alone. I pushed your patch after fooling with the comments a bit. regards, tom lane

preptlist.c can insert unprocessed expression trees

2025-01-28 Thread Tom Lane
quired for correct usage. (The caller has to produce an input that's of the base type, after all.) So it seems like that's not a convenience so much as an encouragement to incorrect coding. I propose, for HEAD only, 0002 which removes that misfeature and requires callers to supply the i

Re: Back patch of Remove durable_rename_excl()

2025-01-27 Thread Tom Lane
don't like to break ABI in minor releases. regards, tom lane

Re: BF member drongo doesn't like 035_standby_logical_decoding.pl

2025-01-27 Thread Tom Lane
Bertrand Drouvot writes: > On Fri, Jan 24, 2025 at 11:42:15AM -0500, Tom Lane wrote: >> PS: FTR, the hits I got on this in the past 90 days were >> >> sysname |branch | snapshot | stage | >>

Re: Using Expanded Objects other than Arrays from plpgsql

2025-01-26 Thread Tom Lane
Andrey Borodin writes: > On 26 Jan 2025, at 20:37, Tom Lane wrote: >> Maybe we should recast it as an action. What do you think of >> "mark_expr_as_assignment_source"? > Sounds better to me. I found no examples of similar functions nether in > p

Re: Why we need to check for local buffers in BufferIsExclusiveLocked and BufferIsDirty?

2025-01-26 Thread Tom Lane
Srinath Reddy writes: > as suggested did the changes and attached the patch for the same. Uh ... what in the world is the point of changing BufferIsExclusiveLocked's signature? regards, tom lane

Re: Using Expanded Objects other than Arrays from plpgsql

2025-01-26 Thread Tom Lane
Andrey Borodin writes: >> On 21 Jan 2025, at 23:12, Tom Lane wrote: >> somebody will review this > I'm trying to dig into the patch set. My knowledge of the module is shallow > and I hope to improve it by reading more patches in this area. Thanks for looking! >

Re: Convert sepgsql tests to TAP

2025-01-25 Thread Tom Lane
Peter Eisentraut writes: > This has been committed. And I understand there is a buildfarm client > update available for the affected buildfarm members. BTW, shouldn't the CF entry for this get closed now? regards, tom lane

Re: Why we need to check for local buffers in BufferIsExclusiveLocked and BufferIsDirty?

2025-01-25 Thread Tom Lane
on't initialize content locks for them. We could either Assert that that's not applied to local buffers, or act as though their lock is always held. Given Andres' argument probably the latter is better. regards, tom lane

Re: Set AUTOCOMMIT to on in script output by pg_dump

2025-01-25 Thread Tom Lane
Robert Treat writes: > On Wed, Jan 22, 2025 at 8:02 AM Shinya Kato > wrote: >> I agree to it and fixed the patch. > LGTM LGTM too. Pushed with a couple of very minor tweaks. regards, tom lane

Re: why -Fdance archive format option works with ./pg_restore but not with ./pg_dump?

2025-01-25 Thread Tom Lane
a invalid format,as we are doing currently > in pg. Good idea. I pushed your patch with that addition. regards, tom lane

Re: Add CASEFOLD() function.

2025-01-24 Thread Tom Lane
ters within LATIN-1 that have interesting case-folding behavior? regards, tom lane

Re: Convert sepgsql tests to TAP

2025-01-24 Thread Tom Lane
Robins Tharakan writes: > On Sat, 25 Jan 2025 at 08:59, Tom Lane wrote: >> alligator and lapwing are not reporting the >> relevant log file, but what we do see is an install failure that >> could well be down to a compile failure. > You're probably right about that

Re: Convert sepgsql tests to TAP

2025-01-24 Thread Tom Lane
t;postgres" appears earlier in the path. So we're forcing a bunch of useless "make install"s, but that was never mission-critical until today. Unsurprisingly, lapwing is also running under /home/postgres/. Apparently no other BF animals are. regards, tom lane

Re: Convert sepgsql tests to TAP

2025-01-24 Thread Tom Lane
t; on most animals, but not these two. How come? regards, tom lane

Re: Convert sepgsql tests to TAP

2025-01-24 Thread Tom Lane
Andrew Dunstan writes: > On 2025-01-24 Fr 4:07 PM, Tom Lane wrote: >> Looking at the buildfarm client script, it looks to me like it >> will unconditionally try to run TAP tests in every contrib directory >> that has a "t" subdirectory. Up to now, none of th

Re: Convert sepgsql tests to TAP

2025-01-24 Thread Tom Lane
Andrew Dunstan writes: > On 2025-01-24 Fr 10:57 AM, Tom Lane wrote: >> Looks like alligator needs some help here too. > That's an issue with the new TAP test - alligator isn't running the > TestSepgsql module. lapwing has also had a TAP test failure. Hmm. Neither o

Re: Casts from jsonb to other types should cope with json null

2025-01-24 Thread Tom Lane
scalar input), but of course that only works when the value you want to extract is in a JSON object field. I guess what would be wanted is a new function f(jsonb) returns text, but I'm unsure about a good name. regards, tom lane diff --git a/src/backend/utils/adt/json

Re: BF member drongo doesn't like 035_standby_logical_decoding.pl

2025-01-24 Thread Tom Lane
tice that some of them are 'with vacuum on pg_authid' but others are 'with vacuum on pg_class'. So those are two different steps in the test script, and there are other steps that are very similar but have not failed. Curiouser and curiouser. regards, tom lane

BF member drongo doesn't like 035_standby_logical_decoding.pl

2025-01-24 Thread Tom Lane
idea how to proceed on narrowing down the cause... regards, tom lane PS: FTR, the hits I got on this in the past 90 days were sysname |branch | snapshot | stage |

Re: pg_createsubscriber TAP test wrapping makes command options hard to read.

2025-01-24 Thread Tom Lane
107. You might be able to work around this with auth_extra, a la 1e3f461e8 and other past fixes. regards, tom lane

Re: why -Fdance archive format option works with ./pg_restore but not with ./pg_dump?

2025-01-24 Thread Tom Lane
uff, fine. It's not like there's no other duplicativeness in their switch-parsing logic. regards, tom lane

Re: Convert sepgsql tests to TAP

2025-01-24 Thread Tom Lane
ithub.com/PGBuildFarm/client-code/commit/60b72787036090c6bf829f5cef2b0b3e60f2a2db > > (or just copy the whole file from > https://raw.githubusercontent.com/PGBuildFarm/client-code/refs/heads/main/PGBuild/Modules/TestSepgsql.pm) Looks like alligator needs some help here too. regards, tom lane

Re: Casts from jsonb to other types should cope with json null

2025-01-24 Thread Tom Lane
dy has spoken against the 0001 patch (replace errors with return-a-null), so I think I'll go ahead and commit that one. Then I'll return to this thread with a fleshed-out patch for 0002. regards, tom lane

Re: Pgoutput not capturing the generated columns

2025-01-23 Thread Tom Lane
Amit Kapila writes: > On Fri, Jan 24, 2025 at 8:39 AM Tom Lane wrote: >> I think the problem is not so much the underscore as the >> inconsistency. You've got "pub", "gen", and "cols" run together, >> but then you feel a need to separa

Re: Pgoutput not capturing the generated columns

2025-01-23 Thread Tom Lane
g, the more so because no other column in that catalog has an underscore in its name. I see that this was carried over from a related C typedef name, but users aren't going to see that. They'll just see that somebody couldn't be bothered to maintain a consistent style. regards, tom lane

Re: SQL:2011 application time

2025-01-23 Thread Tom Lane
Paul Jungwirth writes: > On 1/23/25 15:28, Tom Lane wrote: >> I've only noticed the two, but I did not mount an aggressive search. >> It's possible that there were failures before 1772d554b0, since I >> now see that the diff is in a test case that is older than t

Re: Allow NOT VALID foreign key constraints on partitioned tables.

2025-01-23 Thread Tom Lane
%3A35%3A57 regards, tom lane

Re: SQL:2011 application time

2025-01-23 Thread Tom Lane
ns. Same error on two different machines makes it hard to credit hardware glitches, if that's what you mean. I could believe a bad pointer accessing unpredictable memory, but perhaps valgrind would catch that. regards, tom lane

Re: Self contradictory examining on rel's baserestrictinfo

2025-01-23 Thread Tom Lane
e to attack that: https://commitfest.postgresql.org/51/4690/ That's been stalled for lack of review, so if you were interested in helping out, that'd be great. regards, tom lane

Re: Increase of maintenance_work_mem limit in 64-bit Windows

2025-01-23 Thread Tom Lane
else #define MAX_KILOBYTES (INT_MAX / 1024) This is pretty much the crux of the whole thing, and you didn't fix/remove the comment you falsified. regards, tom lane

Re: Self contradictory examining on rel's baserestrictinfo

2025-01-23 Thread Tom Lane
dback, because I don't foresee anything very close to this getting committed. But I'd encourage you to pursue the ideas in other forms as suggested by this discussion. regards, tom lane

Re: Orphaned users in PG16 and above can only be managed by Superusers

2025-01-23 Thread Tom Lane
eruser roles is good enough for that, but I'm not quite sure. regards, tom lane

Re: "postmaster became multithreaded" is reachable

2025-01-23 Thread Tom Lane
Noah Misch writes: > On Thu, Jan 23, 2025 at 01:22:13PM -0500, Tom Lane wrote: >> An alternative idea (that maybe should also be done in PostmasterMain) >> is to report the HINT only #ifdef __darwin__ and on other platforms >> use the "Please report a bug" text. &g

"postmaster became multithreaded" is reachable

2025-01-23 Thread Tom Lane
maybe should also be done in PostmasterMain) is to report the HINT only #ifdef __darwin__ and on other platforms use the "Please report a bug" text. regards, tom lane [1] https://www.postgresql.org/message-id/18783-d1873b95a59b9103%40postgresql.org

Re: Wrong security context for deferred triggers?

2025-01-23 Thread Tom Lane
ode that was trying to do something special in that situation. (Perhaps there is an argument for having some testing of the system's behavior when running as a dropped role, but I doubt that this is the place to start on that.) regards, tom lane

Re: Wrong security context for deferred triggers?

2025-01-22 Thread Tom Lane
match after comparing 3 of 3 entries 1 match after comparing 3 of 4 entries 1 match after comparing 3 of 5 entries which seems less inefficient. As said, you would never notice this effect in short queries, but for queries that queue a lot of events it could be important.

Re: [PATCH] Add roman support for to_number function

2025-01-22 Thread Tom Lane
han it is for other format codes. * I made some other cosmetic changes such as rearranging the error checks into an order that made more sense to me. Thanks for submitting this patch! regards, tom lane

Re: Wrong security context for deferred triggers?

2025-01-22 Thread Tom Lane
PUBLIC, and if it tries to inspect current_user or related functions those will fail, but there's no compromise to system integrity. So I'd just remove that test. regards, tom lane

Re: Quadratic planning time for ordered paths over partitioned tables

2025-01-22 Thread Tom Lane
be fixing this is at a higher level. Where are the repetitive find_ec_member_matching_expr calls coming from? regards, tom lane

Re: [PATCH] Fix a tiny typo in the documentation

2025-01-22 Thread Tom Lane
need to change anything here. There are many places in our docs where we flow into a or similar block without punctuation, and most of them read just fine to me. regards, tom lane

Re: SQL:2011 application time

2025-01-21 Thread Tom Lane
d_at)=([6,7), [2018-01-01,2018-02-01)) is referenced from table "temporal_fk_rng2rng". -- a PK update that fails because both are referenced (even before commit): BEGIN; ALTER TABLE temporal_fk_rng2rng ie, an expected error did not get thrown. regards, tom lane

Re: allow trigger to get updated columns

2025-01-21 Thread Tom Lane
mory bloat, by not performing afterTriggerCopyBitmap() unless we actually need a new AfterTriggerSharedData entry. According to my measurements, that thinko roughly tripled the space consumed per AFTER UPDATE event :-(. I'm surprised nobody complained about that yet. regards, tom lane

Re: allow trigger to get updated columns

2025-01-21 Thread Tom Lane
e else instead of bloating AfterTriggerSharedData. The obvious fix would involve adding a bms_equal() call to the comparison loop in afterTriggerAddEvent, which makes me quite sad on performance grounds. Maybe it hardly matters in the big scheme of things, though. regards, tom lane

Re: attndims, typndims still not enforced, but make the value within a sane threshold

2025-01-21 Thread Tom Lane
the index column's type. See v2 attached (now with a regression test). regards, tom lane diff --git a/src/backend/catalog/index.c b/src/backend/catalog/index.c index 7377912b41..c2efcb68d2 100644 --- a/src/backend/catalog/index.c +++ b/src/backend/catalog/index.c @

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

2025-01-21 Thread Tom Lane
be in that mode if the OS is. (If we end up inventing a FIPS-mode flag, I would fully expect interested vendors to patch our code to force it on when the OS-level flag is set, which is exactly what they will have done to OpenSSL. We should design our behavior with that in mind.) regards, tom lane

Re: attndims, typndims still not enforced, but make the value within a sane threshold

2025-01-21 Thread Tom Lane
seems inconsistent that it sets up the index column's attndims and atttypid this way. regards, tom lane

Re: New feature request for adding session information to PostgreSQL transaction log

2025-01-21 Thread Tom Lane
likely costs more in space than > extending the existing commit record with a session id, but seems like > something an extension could do without changes in core. I think this'd be an acceptable tradeoff if it only has to happen once per commit. Not sure if that answers the request though. regards, tom lane

Re: Year of first commit

2025-01-21 Thread Tom Lane
ears. That's why, for example, we advance the end date on every file every year, even if it receives no other changes that year. regards, tom lane

Re: Using Expanded Objects other than Arrays from plpgsql

2025-01-21 Thread Tom Lane
this, because I'd really like to get it into v18, and feature freeze is getting closer. regards, tom lane

Re: Year of first commit

2025-01-21 Thread Tom Lane
to 100%. regards, tom lane

Re: How to deinitialize a connection for background worker

2025-01-21 Thread Tom Lane
s plenty more. I'd suggest letting the worker process die and spawning a new one if you need to redirect its efforts to a new database. If that seems too expensive, rethink the design that requires you to do it. regards, tom lane

Re: [PATCH] Add roman support for to_number function

2025-01-21 Thread Tom Lane
as we add more input spaces: regression=# select to_number('123', ' 999'); to_number --- 12 (1 row) regression=# select to_number(' 123', ' 999'); to_number --- 1 (1 row) This is bizarrely inconsistent, and I think what's causing it is the extra space-consumption in NUM_numpart_from_char. regards, tom lane

Re: Year of first commit

2025-01-21 Thread Tom Lane
to older work, so we prefer to use the same copyright dates as related older files even in less clear-cut cases. regards, tom lane

Re: pg_createsubscriber TAP test wrapping makes command options hard to read.

2025-01-20 Thread Tom Lane
terms of developer overhead versus likely formatting improvements. (Of course, if a new version comes out that is way better than what we're using, I could be persuaded that it's worth changing. But from what you're showing here, that hasn't happened yet.) regards, tom lane

Re: Add RESPECT/IGNORE NULLS and FROM FIRST/LAST options

2025-01-20 Thread Tom Lane
NULLS option, throw > an error. Yeah, that would be my first thought too. The only question is whether a function that fails to check that could crash. If it merely gives surprising answers, I think this way is fine. regards, tom lane

Re: [PATCH] Add roman support for to_number function

2025-01-20 Thread Tom Lane
me dubiously-formatted > values: > postgres=# select to_number('mmmdcm', 'RN'); > to_number > --- > 4400 > (1 row) Ugh. This makes more urgent my question about where roman_to_int's algorithm came from, because there's evidently something not right about it. regards, tom lane

Re: pg_createsubscriber TAP test wrapping makes command options hard to read.

2025-01-20 Thread Tom Lane
t we can, so that would be counterproductive. Do you have a strong argument for switching to some other specific version of perltidy? regards, tom lane

Re: [PATCH] Add roman support for to_number function

2025-01-20 Thread Tom Lane
but it's at least possible to see where it's coming from: it's eating the digits that appear within a six-character window, and not any more. Not sure if anyone would thank us for making this change though. I can't avoid the suspicion that somebody somewhere is depending on the current behavior. Anyway, this is getting off-topic for the current thread. regards, tom lane

Re: [PATCH] Improve code coverage of network address functions

2025-01-20 Thread Tom Lane
Jacob Champion writes: > On Mon, Jan 20, 2025 at 11:35 AM Tom Lane wrote: >> Maybe we could add this to the existing src/test/ssl/ tests, >> which already deal with that hazard? > That seems okay in the short term. (But it certainly highlights our > lack of a "PG_T

Re: tzdata 2025a and timestamptz.out

2025-01-20 Thread Tom Lane
Asia/Singapore in this test case. It has a roughly similar UTC offset, and that offset hasn't changed in tzdb since 2003. (Gotta love "git blame".) regards, tom lane

Re: [PATCH] Improve code coverage of network address functions

2025-01-20 Thread Tom Lane
ot-run-by-default test case. Maybe we could add this to the existing src/test/ssl/ tests, which already deal with that hazard? regards, tom lane

Re: Eager aggregation, take 3

2025-01-20 Thread Tom Lane
o your question about whether we want to use some heuristics to limit the planner's search space. regards, tom lane

Re: Proper way to clean-up connection for reuse (`DISCARD ALL` and default role)

2025-01-20 Thread Tom Lane
ne thing that is not well documented is that RESET ALL doesn't touch either "session_authorization" or "role". I suppose the reasoning is that those things are session properties specified by the SQL standard. It's a little weird, but it's stood for many years and I doubt we'd consider changing it now. regards, tom lane

Re: [PATCH] Add roman support for to_number function

2025-01-20 Thread Tom Lane
Hunaid Sohail writes: > On Sat, Jan 18, 2025 at 5:27 AM Tom Lane wrote: > Initially, when I looked at the test case: > SELECT to_number('M CC', 'RN'); > I was confused about whether it should be 'MCC'. After further inspection, > I realized that

Re: int64 support in List API

2025-01-19 Thread Tom Lane
ot more. The devil's in the details though. regards, tom lane

Re: Add RESPECT/IGNORE NULLS and FROM FIRST/LAST options

2025-01-19 Thread Tom Lane
-in window > functions? No, there needs to be a way for the individual window function to throw error if that's specified for a function that can't handle it. I'm just saying I don't want that to be hard-wired in some centralized spot. regards, tom lane

Re: attndims, typndims still not enforced, but make the value within a sane threshold

2025-01-19 Thread Tom Lane
Michael Paquier writes: > Small question on this one: would it be worth adding a check in > sanity_check.sql for bumpy values? Yeah, I didn't bother with a regression test in this draft, but we should likely have one. Or was your point something different? r

Re: Add RESPECT/IGNORE NULLS and FROM FIRST/LAST options

2025-01-19 Thread Tom Lane
the feature to specific functions. regards, tom lane

Re: attndims, typndims still not enforced, but make the value within a sane threshold

2025-01-19 Thread Tom Lane
>test3 |1 I looked at getting a better result here and decided that it didn't look very promising. pg_dump uses format_type() to build the type name to put in CREATE TABLE, and that doesn't have access to attndims. regards, tom lane diff --g

Re: stored short varlena in array

2025-01-19 Thread Tom Lane
27;m afraid this ship sailed a long time ago. Perhaps it was a poor decision but I think we're stuck with it. regards, tom lane

Re: Old BufferDesc refcount in PrintBufferDescs and PrintPinnedBufs

2025-01-19 Thread Tom Lane
ebugPrintBufferRefcount() is much more targeted. Sounds like we're in agreement. I'll push Jacob's second patch. regards, tom lane

Re: New feature request for adding session information to PostgreSQL transaction log

2025-01-19 Thread Tom Lane
ion-specific details about what is to be logged. It would be impractical to satisfy all such cases in one implementation. There would also be concerns about imposing overhead on users who have no need for such a feature. regards, tom lane

Re: [PATCH] immediately kill psql process if server is not running.

2025-01-18 Thread Tom Lane
error from mx.zohocorp.com. So I'm not going to hold my breath waiting for a reply. regards, tom lane

Re: [PATCH] immediately kill psql process if server is not running.

2025-01-18 Thread Tom Lane
mething we can do here, but the current patch feels like a dead end. regards, tom lane

Re: Adding comments to help understand psql hidden queries

2025-01-18 Thread Tom Lane
+ OutputComment(&buf, _("Get information about each column\n")); That leads to some oddly-formatted output. Anyway, I encourage you to work on these issues and see if we can get to a committable patch. regards, tom lane diff --git a/src/bin/psql/c

Re: [PATCH] Fix jsonb comparison for raw scalar pseudo arrays

2025-01-18 Thread Tom Lane
there more to do? regards, tom lane [1] https://commitfest.postgresql.org/51/5394/

Re: Old BufferDesc refcount in PrintBufferDescs and PrintPinnedBufs

2025-01-17 Thread Tom Lane
(which might not be available, or our own process might hold it already). I'd vote for just removing them... regards, tom lane

Re: rename es_epq_active to es_epqstate

2025-01-17 Thread Tom Lane
r leaving it alone. regards, tom lane

Re: [PATCH] Add roman support for to_number function

2025-01-17 Thread Tom Lane
t patterns, and fixed it to not eat any more characters than it should. This might allow putting back some format-combination capabilities, but other than the whitespace angle I figure we can leave that for people to request it. regards, tom lane diff --git a/doc/src/sgml/

Re: Set AUTOCOMMIT to on in script output by pg_dump

2025-01-17 Thread Tom Lane
-no-psqlrc) option when restoring a database ... to provide clarity about what the switch does. regards, tom lane

Re: [PATCH] Add some documentation on how to call internal functions

2025-01-17 Thread Tom Lane
Pavel Stehule writes: > pá 18. 10. 2024 v 22:23 odesílatel Tom Lane napsal: >> The problem here is that we failed to pass through the result of >> PG_GET_COLLATION() to text_starts_with. We could do that, certainly, >> for a couple more lines of code. But it feels like th

Re: SQLFunctionCache and generic plans

2025-01-17 Thread Tom Lane
worth splitting it into a series of two patches: the first one just does code motion such as pushing existing logic into a new subroutine, and then the second one has the logic changes. Or maybe that wouldn't help much, but consider giving it a try. regards, tom lane

Re: leafhopper: Assert("outerstartsel <= outerendsel"), File: "costsize.c"

2025-01-16 Thread Tom Lane
culation. Not sure why leafhopper and only leafhopper would be showing that. regards, tom lane [1] https://www.postgresql.org/message-id/7270.1302902...@sss.pgh.pa.us [2] https://www.postgresql.org/message-id/19320.1323039...@sss.pgh.pa.us [3] https://www.postgresql.org/message-id/e1kut0q-57...@gemulon.postgresql.org

Re: Automatic update of time column

2025-01-16 Thread Tom Lane
this behavior. We have a few such things already, such as suppress_redundant_updates_trigger() and tsvector_update_trigger(). So I think a patch to make a pre-written trigger for this purpose would be much less controversial. regards, tom lane

Re: Eager aggregation, take 3

2025-01-16 Thread Tom Lane
apes the optimization applies to and what's the rationale for the transformation being correct. The commentary in pathnodes.h for the new data structures is likewise so skimpy as to be near useless. regards, tom lane

Re: Make pg_stat_io view count IOs as bytes instead of blocks

2025-01-15 Thread Tom Lane
((unsigned int) (io_op)) >= IOOP_EXTEND) Yeah, that's safe parenthesis-wise. Whether it'll silence the warning from those old clangs remains to be seen. (But if it doesn't, maybe it's not worth working harder, given that they're old.) regards, tom lane

Re: Make pg_stat_io view count IOs as bytes instead of blocks

2025-01-15 Thread Tom Lane
enum. Personally I'd keep the macro but move it to pgstat.h, close to the enum declaration, so that there's more than epsilon chance of someone who's changing the enum noticing they need to update it. regards, tom lane

Re: TOAST versus toast

2025-01-15 Thread Tom Lane
quot;untoasted" because the latter feels like it could also mean "detoasted". (And as I write this para, I'm having a hard time wanting to upcase the words, which reinforces my doubts about s/toast/TOAST/g.) regards, tom lane

Re: Make pg_stat_io view count IOs as bytes instead of blocks

2025-01-15 Thread Tom Lane
oblem, but a static inline would remove the risk.) regards, tom lane

Re: pg_dumpall appendPQExpBuffer construct sql need an white space

2025-01-15 Thread Tom Lane
ERE NOT (ur.rolname ~ '^pg_' AND um.rolname ~ '^pg_')" > need a white space at the end? The right paren is its own token in any case, so we don't need a space for correctness. You could argue that it'd improve readability, but who reads pg_dumpall's queries? regards, tom lane

Re: Change GUC hashtable to use simplehash?

2025-01-15 Thread Tom Lane
he other coding you suggest. regards, tom lane

Re: [PATCH] Hex-coding optimizations using SVE on ARM.

2025-01-15 Thread Tom Lane
David Rowley writes: > I agree that the evidence you (John) gathered is enough reason to use > memcpy(). Okay ... doesn't quite match my intuition, but intuition is a poor guide to such things. regards, tom lane

Re: Having problems generating a code coverage report

2025-01-15 Thread Tom Lane
pot checks looked sane). I'm curious whether a similar workaround will help with the Debian toolchain. regards, tom lane

Re: Using Expanded Objects other than Arrays from plpgsql

2025-01-15 Thread Tom Lane
I noticed that v2 of this patch series failed to apply after 7b27f5fd3, so here's v3. No non-trivial changes. regards, tom lane From d82b50dc222fb8751f45875fb3627bf08ca2e0cf Mon Sep 17 00:00:00 2001 From: Tom Lane Date: Wed, 15 Jan 2025 12:37:54 -0500 Subject: [PAT

Re: Make pg_stat_io view count IOs as bytes instead of blocks

2025-01-15 Thread Tom Lane
EXTEND) + ((io_op) >= IOOP_EXTEND) I suppose one alternative is to re-order the enum so that the upper-limit check in this macro *isn't* tautological ... but that seems a bit silly. regards, tom lane [1] https://buildfarm.postgresql.org/cgi-bin/show_stage_log.pl?nm=demoiselle&dt=2025-01-15%2005%3A20%3A59&stg=build

Re: [PATCH] Hex-coding optimizations using SVE on ARM.

2025-01-14 Thread Tom Lane
ulation, which I believe most modern compilers will see. regards, tom lane

Re: Issue with markers in isolation tester? Or not?

2025-01-14 Thread Tom Lane
7;t mean to minimize the question of whether we need better documentation about this behavior.) regards, tom lane

Re: convert libpgport's pqsignal() to a void function

2025-01-14 Thread Tom Lane
Nathan Bossart writes: > On Tue, Jan 14, 2025 at 10:02:46PM -0500, Tom Lane wrote: >> LGTM, although I don't know enough about Windows to know if the >> "== SIG_ERR" test in that path is correct. > It's apparently not [0]. :( Bleah. > My guess is that

Re: convert libpgport's pqsignal() to a void function

2025-01-14 Thread Tom Lane
nough about Windows to know if the "== SIG_ERR" test in that path is correct. regards, tom lane

  1   2   3   4   5   6   7   8   9   10   >