Re: SELECT creates millions of temp files in a single directory

2022-04-23 Thread Tom Lane
ems in the past that could lead to unreasonable numbers of temp files in hash joins. Whether there's more to do, or Peter is running a version that lacks those fixes, is impossible to tell with the given info.) regards, tom lane

Re: SELECT creates millions of temp files in a single directory

2022-04-23 Thread Tom Lane
hash batches needed, which likely plays into this somehow. regards, tom lane

Re: Backing up a DB excluding certain tables

2022-04-26 Thread Tom Lane
ocess. Maybe you are restoring the backup into a database that isn't empty, but already contains the aspnet*.* tables? regards, tom lane

Re: Fresh eyeballs needed: input into error

2022-04-26 Thread Tom Lane
aracters in your input file; perhaps a control-D or ASCII NUL would produce that symptom. regards, tom lane

Re: Backing up a DB excluding certain tables

2022-04-26 Thread Tom Lane
[ please keep the list cc'd ] JORGE MALDONADO writes: > As for the answer by *Tom Lane*, I am not restoring the DB but only getting > the backup in plain format. I see that tables that contain "AspNet" in > their name are part of the resulting dumped file. For example, th

Re: "create function... depends on extension..." not supported. Why?

2022-04-26 Thread Tom Lane
at would probably be reverse-engineering an explanation. I think that "we didn't bother" is more nearly the situation. regards, tom lane

Re: errcodes.h and others not generated when compiling 13.6 on M1 Mac

2022-04-27 Thread Tom Lane
mal [1], so it's not a case of "it's completely broken". But you need the appropriate prerequisites, eg an Xcode installation [2]. I wonder exactly what configure options the OP is using, and what's installed on his Mac beyond bare macOS.

Re: "create function... depends on extension..." not supported. Why?

2022-04-27 Thread Tom Lane
ourselves having to make those keywords more reserved than they are now. regards, tom lane

Re: ERROR: cursor variable must be a simple variable (LINE XX: OPEN vQuery.cursorReturn FOR )

2022-04-28 Thread Tom Lane
n disclaimer, I'm not too sad about it. If somebody did want to relax this restriction, the thing to do would be to remove the datum type limitation altogether, not just restore bug compatibility with the old behavior. regards, tom lane

Re: Backing up a DB excluding certain tables

2022-04-28 Thread Tom Lane
ls down to one of getting the quoting around the double-quoted pattern correct. I'm not a Windows user so I don't know much about shell quoting rules there. regards, tom lane

Re: int8range and index usage for <@ operator

2022-04-28 Thread Tom Lane
PI. I think it could only work for a plan-time-constant range though, else you'd not know whether to use equality or inequality bounds. (Hmm ... or maybe, use equality always and treat it as a lossy conversion? But infinite bounds would still be a headache.) regards, tom lane

Re: errcodes.h and others not generated when compiling 13.6 on M1 Mac

2022-04-28 Thread Tom Lane
same installation instructions I pointed you to before: https://www.postgresql.org/docs/13/installation.html regards, tom lane

Re: errcodes.h and others not generated when compiling 13.6 on M1 Mac

2022-04-28 Thread Tom Lane
(There are some hacks involving toplevel vs not-top-level Makefiles that you might be falling foul of.) regards, tom lane

Re: errcodes.h and others not generated when compiling 13.6 on M1 Mac

2022-04-28 Thread Tom Lane
s then a likely explanation for the problem is lack of the "MAKELEVEL=0" bit. regards, tom lane

Re: External psql editor

2022-05-02 Thread Tom Lane
psql command line. A very quick test >> seems to indicate that you can. > Nope. No difference. Perhaps your psql is built against libedit rather than readline. regards, tom lane

Re: Meaning of "constant" not honored when the variable is used as the actual for a proc's OUT formal paameter

2022-05-03 Thread Tom Lane
postgresql.git&a=commitdiff&h=ccd10a9bf regards, tom lane

Re: Psycopg3 fails to resolve 'timezone localtime' on MacOS

2022-05-05 Thread Tom Lane
ent is trying to set the PG server's timezone setting or not. Your issue may be purely a Python one.) regards, tom lane

Re: "A transaction cannot be ended inside a block with exception handlers."

2022-05-06 Thread Tom Lane
uot; to the client. And that's actually one of the harder cases to deal with: if the connection drops just after you issue COMMIT, you can't tell whether the transaction got committed. regards, tom lane

Re: pg_dump: VACUUM and REINDEXING

2022-05-09 Thread Tom Lane
#x27;t want to wait around for autovacuum to get to it. regards, tom lane

Re: Question on cast string to date

2022-05-09 Thread Tom Lane
7;2020701'::date; ^ psql (9.4.26) Type "help" for help. regression=# select '2020701'::date; date 0202-07-01 (1 row) If you want to pursue this question, you could start by bisecting to find just which commit changed it and why. regards, tom lane

Re: Question on cast string to date

2022-05-09 Thread Tom Lane
"David G. Johnston" writes: > On Monday, May 9, 2022, Tom Lane wrote: >> If you want to pursue this question, you could start by bisecting >> to find just which commit changed it and why. > Manual history inspection of datetime.c > https://gith

Re: AW: [Extern] Re: consistent postgresql snapshot

2022-05-12 Thread Tom Lane
immediate" shutdown) and then take the snapshot. regards, tom lane

Re: Restricting user to see schema structure

2022-05-12 Thread Tom Lane
B to be able to share some data, you can probably build the connections you need using foreign tables or logical replication; but there's not a lot of pre-fab infrastructure for that, AFAIK. regards, tom lane

Re: TO_DATE function between PostgreSQL 8.2 and 9.4

2022-05-17 Thread Tom Lane
(now() + '-7day')::date; date 2022-05-10 (1 row) You might also want to look at other non-text-based manipulations such as date_trunc() and date_part(). regards, tom lane

Re: Who am I? Where am I connected?

2022-05-18 Thread Tom Lane
's true that it's not very easy to tell where any given value came from, but I doubt it'd be worth an ABI break to add such info. (You could at least recognize values that match the hard-wired default or environment variable value.) regards, tom lane

Re: No default for (user-specific) service file location on Windows?

2022-05-19 Thread Tom Lane
tory in the user's profile. In either case, the location can be overridden by setting ... ISTR there's precedent elsewhere for doing it about like that. regards, tom lane

Re: No default for (user-specific) service file location on Windows?

2022-05-19 Thread Tom Lane
hat the service file descriptions were worded comparably. regards, tom lane

Re: Casting a collation in an ORDER BY ... COLLATE

2022-05-21 Thread Tom Lane
(say) a run-time-variable table name. You'd have to construct and execute a dynamic SQL string. regards, tom lane

Re: list tablespaces named in custom format dump

2022-05-23 Thread Tom Lane
p Tablespace: It looks to me like that will only appear for tables with non-default tablespaces. regards, tom lane

Re: psql connect over ssl load balancer

2022-05-23 Thread Tom Lane
onnection. regards, tom lane

Re: list tablespaces named in custom format dump

2022-05-23 Thread Tom Lane
elling you the originating server version and pg_dump version. regards, tom lane

Re: cast to domain with default collation issue.

2022-05-23 Thread Tom Lane
to the domain doesn't create an explicit collation requirement. (That is, the domain *doesn't* have a specific collation attached to it, any more than type text does.) regards, tom lane

Re: cast to domain with default collation issue.

2022-05-24 Thread Tom Lane
ior as its +underlying data type. The underlying type must be collatable if COLLATE is specified. regards, tom lane

Re: existing row not found by SELECT ... WHERE CTID = ?

2022-05-24 Thread Tom Lane
ails. Maybe something else already updated the row since the cursor was opened? That would change its CTID. regards, tom lane

Re: existing row not found by SELECT ... WHERE CTID = ?

2022-05-24 Thread Tom Lane
SELECT does. There is *plenty* of time for another session to get in there if you've been groveling through 50K records one at a time. regards, tom lane

Re: About psql \dt unable display same name table which have different schema

2022-05-24 Thread Tom Lane
ind public.test10, so it's not accessible except by qualification. You can do "\dt *.*" or "\dt new.*", etc, to see such tables. See here for more info: https://www.postgresql.org/docs/current/app-psql.html#APP-PSQL-PATTERNS regards, tom lane

Re: PG 13.6 : Data corruption error message not being sent to syslog

2022-05-25 Thread Tom Lane
;CODE:08006' or \ > $msg contains 'CODE:42501'\ > ) then ///xxx/pg_log/postgres_filter.log You should realize of course that syslog is not a 100% reliable logging mechanism -- at least most implementations are capable of dropping messages under load. But we needn't guess about reasons for missed messages here. regards, tom lane

Re: connect permission based on database name

2022-05-25 Thread Tom Lane
. You need to revoke that before other grants/revokes will have any functional effect. regards, tom lane

Re: Connect to specific cluster on command line

2022-05-25 Thread Tom Lane
#x27;m vaguely aware that some packager (Debian I think) has added an overlay of that sort; but you'd need to consult the package-level documentation not the community docs in order to find out more. regards, tom lane

Re: existing row not found by SELECT ... WHERE CTID = ?

2022-05-25 Thread Tom Lane
relying on CTID is likely to be problematic. regards, tom lane

Re: Connect to specific cluster on command line

2022-05-25 Thread Tom Lane
ry via the --host option? Usually you'd use -p (--port). You *could* specify the exact path to the postmaster's socket via -h, but I think that's not idiomatic. regards, tom lane

Re: existing row not found by SELECT ... WHERE CTID = ?

2022-05-26 Thread Tom Lane
ow version. regards, tom lane

Re: JSONB index not in use, but is TOAST the real cause of slow query?

2022-05-28 Thread Tom Lane
t detuning your setup for other queries. You should probably also rethink whether you really want to store your data in this format, because anything at all that you do with that big JSONB column is going to be expensive. (Another thing that's been on the to-do list for awhile is enabling partial retrieval of large JSONB values, but AFAIK that hasn't happened yet either.) regards, tom lane

Re: JSONB index not in use, but is TOAST the real cause of slow query?

2022-05-28 Thread Tom Lane
-> operator certainly doesn't. regards, tom lane

Re: Showing alternative query planner plans with explain ?

2022-05-29 Thread Tom Lane
er to join in exactly the syntactic join order. regards, tom lane

Re: JSONB index not in use, but is TOAST the real cause of slow query?

2022-05-29 Thread Tom Lane
structure. Sure, you can store tons of unorganized data in a jsonb column, but you pay for that convenience with slow access. Normalizing the bits you need frequently into a more traditional relational schema is the route to better-performing queries. regards, tom lane

Re: Function definition regression in 15beta1 when specific parameter name (string) is used

2022-05-29 Thread Tom Lane
people. In a quick experiment here, I don't see any bison complaints if I back it down to unreserved_keyword, so this seems easily fixable. I wonder though if we don't need more review of patches that add partially- or fully-reserved keywords. regards, tom lane

Re: psql 15beta1 does not print notices on the console until transaction completes

2022-05-29 Thread Tom Lane
ibed to that? regards, tom lane

Re: The use of partial, expressional indices in pg < 14

2022-05-31 Thread Tom Lane
l, would the partial distribution > not be safe to use ? The hard part is to avoid double-counting the selectivity of the "is not null" clause if you do that. It's something that would be nice to do but it's much trickier than it sounds. regards, tom lane

Re: Build Postgres On AIX

2022-05-31 Thread Tom Lane
ld just not build uuid-ossp; it's fairly vestigial these days, now that we offer gen_random_uuid() in core. regards, tom lane

Re: function currtid2() in SQL and ESQL/C to get the new CTID of a row

2022-06-01 Thread Tom Lane
d handle this as EXEC SQL SELECT currtid2(:table ::text, :oldCTID ::tid) INTO :newCTID; If you want full-on dynamic SQL, that's also possible but you'd need PREPARE/EXECUTE, and it wouldn't look much like this fragment. I don't see a need for that here, though. regards, tom lane

Re: unoptimized nested loops

2022-06-01 Thread Tom Lane
ed. As best I can tell, the issue Tim's unhappy about is not so much the use of a nestloop as the lack of use of any index. But "string like '%foo%'" is not at all optimizable with a btree index. You might be able to get somewhere with a pg_trgm GIN or GIST index. regards, tom lane

Re: Accessing composite type elements

2022-06-02 Thread Tom Lane
th" indicates a null field value. regards, tom lane

Re: '{"x": 42, "y": null}'::jsonb != '{"x": 42}'::jsonb ... Really?

2022-06-03 Thread Tom Lane
a purist semantic point of view, but having the operator throw an error in such cases would make it close to unusable on not-uniformly-structured data. And really the point of using JSON inside a SQL database is to cope with irregularly- structured data, so fuzziness seems like what we want. regards, tom lane

Re: Window function?

2022-06-04 Thread Tom Lane
ion within GROUP BY groups, not windowing. regards, tom lane

Re: Call pstrdup() of palloc.h will change source string, please help!

2022-06-04 Thread Tom Lane
7;m also suspicious of the "// trim" code, which will misbehave for a zero-length token. regards, tom lane

Re: SQL state: 42601. Execption handling.

2022-06-07 Thread Tom Lane
exception", any more than you could trap other syntax errors detected by the parser. (As an extreme example, you could certainly not trap it if you misspelled "exception".) regards, tom lane

Re: Cluster OID Limit

2022-06-09 Thread Tom Lane
te OID values within any one catalog or TOAST table, and it doesn't particularly matter if there are duplicates across tables. regards, tom lane

Re: PG_GETARG_TEXT_PP vs PG_GETARG_TEXT_P

2022-06-11 Thread Tom Lane
ue, in case that's what the input is. PG_GETARG_TEXT_PP is preferred in new code since it can avoid one step of palloc-and-copy-the-value; the only real downside is you have to use the appropriate macros to get the string's start address and length. regards, tom lane

Re: PG_GETARG_TEXT_PP vs PG_GETARG_TEXT_P

2022-06-11 Thread Tom Lane
Markur Sens writes: > On 12 Jun 2022, at 12:06 AM, Tom Lane wrote: >> PG_GETARG_TEXT_PP is preferred in new code since it can avoid one >> step of palloc-and-copy-the-value; the only real downside is you >> have to use the appropriate macros to get the string's start ad

Re: "A block containing an EXCEPTION clause is significantly more expensive to enter and exit than a block without one"

2022-06-13 Thread Tom Lane
o write a "validate_conversion" function that supports extension datatypes, but doesn't use something morally equivalent to a subtransaction, would be a nightmare: large, fragile, and probably not all that much faster. regards, tom lane

Re: Postgres NOT IN vs NOT EXISTS optimization

2022-06-14 Thread Tom Lane
acle does something like that already, or perhaps they're just ignoring the semantics problem; they do not have a reputation for hewing closely to the spec on behavior regarding nulls. regards, tom lane

Re: Recent 11.16 release change

2022-06-14 Thread Tom Lane
Daniel Brinzila writes: > I am a bit confused as to the following change: >Stop using query-provided column aliases for the columns of whole-row >variables that refer to plain tables (Tom Lane) > Could someone please give an example of this scenario, one that works in > 11

Re: cast to domain with default collation issue.

2022-06-14 Thread Tom Lane
"David G. Johnston" writes: > On Tue, May 24, 2022 at 7:42 AM Tom Lane wrote: >> Perhaps we could improve matters like this? >> -specified, the underlying data type's default collation is used. >> +specified, the domain ha

Re: PostgreSQL 12.2 on Linux ubuntu 20.4 / s390

2022-06-15 Thread Tom Lane
e SRPM for whichever version you want and seeing if it doesn't build on your machine. Building from SRPMs is not hard, and it's a good skill to acquire if you're using non-mainstream hardware. regards, tom lane

Re: ERROR: failed to find conversion function from key_vals_nn to record[]

2022-06-16 Thread Tom Lane
"David G. Johnston" writes: > The fact that a domain over an array isn’t being seen as an array here > seems like a bug. Hmm. The attached quick-hack patch seems to make this better, but I'm not sure whether there are any cases it makes worse. re

Re: Operators on ranges with a domain subtype do not implicitly cast operands of the domain's base type

2022-06-16 Thread Tom Lane
it's effectively [4,10)? What pitfalls does that create for, say, multirange operators? You could usefully make a domain over the range type and put some restrictions at that level, perhaps. regards, tom lane

Re: Outer joins and NULLs (old subject "ERROR: failed to find conversion function from key_vals_nn to record[]")

2022-06-19 Thread Tom Lane
types as soon as the CASE arms are discovered to not be all of the same type. regards, tom lane

Re: A error happend when I am clone the git repository

2022-06-19 Thread Tom Lane
of connection timeout somewhere in the git.postgresql.org infrastructure, causing a "git clone" that takes more than a couple of minutes to fail. I've complained about it before, but we've not isolated the cause. regards, tom lane

Re: Tuning a query with ORDER BY and LIMIT

2022-06-22 Thread Tom Lane
, it's hard to guess at why it isn't; maybe there's a data type issue? >> Is Postgres unable to optimize the query similar to Oracle? Is it possible >> this is possible but we are running on too old of a version? > PostgreSQL 10 is quite old, so that's a possibility. That's worked for many ages. regards, tom lane

Re: ERROR: new collation (en_US.UTF-8) is incompatible with the collation of the template database (en_US.utf-8)

2022-06-22 Thread Tom Lane
think we conservatively assume that any difference in spelling is significant). Best bet might be to edit the dump file to adjust the locale spellings to match your new system. regards, tom lane

Re: ERROR: new collation (en_US.UTF-8) is incompatible with the collation of the template database (en_US.utf-8)

2022-06-24 Thread Tom Lane
d it handles all these variants. So this doesn't seem like it should take much new code, though maybe some refactoring would be needed to make the lookup code available where this check is happening. I'm not personally very excited about this, but if someone wanted to prepare a patch...

Re: Libpq question related to allocated resources

2022-06-27 Thread Tom Lane
backend/libpq/auth.c at least, backend/libpq is unrelated to interfaces/libpq. (I've seen hints that they arose from a common code base, but if so, that was a few decades and a lot of rewrites ago.) regards, tom lane

Re: User's responsibility when using a chain of "immutable" functions?

2022-06-28 Thread Tom Lane
ecific practical case can't be proven. Still, that result has discouraged most people from spending much time on mechanically checking such things. If you declare a function immutable, Postgres will believe you; the consequences if you lied are on your own head. regards, tom lane [1] https://en.wikipedia.org/wiki/Halting_problem

Re: User's responsibility when using a chain of "immutable" functions?

2022-06-28 Thread Tom Lane
Pavel Stehule writes: > st 29. 6. 2022 v 7:46 odesílatel Tom Lane napsal: >> ... that result has discouraged most people from spending much >> time on mechanically checking such things. If you declare a function >> immutable, Postgres will believe you; the consequences

Re: Fatel: unsupported frientend protocol error

2022-06-30 Thread Tom Lane
_PROTOCOL(1234,5680) So some client is running code new enough to try GSS protocol, but the 9.6 server doesn't know what that is. You'd need v12 or later server if you don't want to see these complaints. (But you could just ignore them.) regards, tom lane

Re: Beginner Question:Why it always make sure that the postgres better than common csv file storage in disaster recovery?

2022-07-03 Thread Tom Lane
rom checkable. There's more to it than that, but if there's not any attention to crash recovery then it's not what I'd call a database. The filesystem alone won't promise much here. regards, tom lane

Re: Seems to be impossible to set a NULL search_path

2022-07-05 Thread Tom Lane
ite into pg_catalog. They can. But I don't see much point in being paranoid about whether the contents of pg_catalog are trustworthy. If an adversary has already obtained superuser privileges, he needn't bother with anything as complicated as trojan-horsing something you might call later. regards, tom lane

Re: About revoking large number of privileges; And the PUBLIC role.

2022-07-07 Thread Tom Lane
all its schemas. > Which implies REVOKE'ing grants on all those "db specific" ROLEs first. You should not really have to revoke those manually. The normal process for that is to use DROP OWNED BY. https://www.postgresql.org/docs/current/role-removal.html regards, tom lane

Re: - operator overloading not giving expected result

2022-07-08 Thread Tom Lane
s), and that EDB's fork follows Oracle's datatype naming. So I'd not be at all surprised by this result if it's on EDB. BTW, Oracle doesn't really accept "::" casting notation does it? I always thought that was a pure Postgres-ism. regards, tom lane

Re: Error when pasting function blocks into psql

2022-07-08 Thread Tom Lane
starting psql with the '-n' switch. Another fairly likely possibility is that your paste contains invisible characters that psql does not think are whitespace, like non-break space ( ). However, pasting into a file wouldn't make that problem go away, so the tab idea seems a shade more likely. regards, tom lane

Re: Issues with upserts

2022-07-13 Thread Tom Lane
you're expecting a serial ID column to not have holes in the sequence of values, you're going to be sadly disappointed, whether you use ON CONFLICT UPDATE or not. regards, tom lane

Re: PostgreSQL 14.4 ERROR: out of memory issues

2022-07-18 Thread Tom Lane
eleted) ... And here we have the culprit, evidently ... but what the dickens is it? I can't think of any mechanism within Postgres that would create such an allocation. regards, tom lane

Re: PostgreSQL 14.4 ERROR: out of memory issues

2022-07-18 Thread Tom Lane
s to know that. At this point I suspect that PG 14.3 vs 14.4 is a red herring, and what you should be looking into is what else you updated at about the same time, particularly in the line of container management tools or the like (if you use any). regards, tom lane

Re: About limitation of using postgresql in china

2022-07-19 Thread Tom Lane
#x27;t know. regards, tom lane

Re: pgsql 10.19 : "ERROR: cannot convert infinity to numeric" except there is no infinity

2022-07-19 Thread Tom Lane
the infinity to > numeric it will fail. If that doesn’t happen the query won’t fail. FWIW, PG 14 and later do support infinity in the numeric type. regards, tom lane

Re: Concurrent INSERT statements with RETURNING clause resetting SERIAL sequence

2022-07-19 Thread Tom Lane
es (e.g. update a one-row table). The point of sequence objects is exactly to provide a feature with better concurrent performance, at the cost of no rollback guarantees. So, there's no bug here, and calling it one isn't going to change anybody's mind about that. regards, tom lane

Re: citext on exclude using gist

2022-07-19 Thread Tom Lane
good way to deal with the inter-extension connection other than to give btree_gist a hard dependency on citext, which people wouldn't appreciate too much.) You could fake it with exclude using gist (lower(foo) with =, bar with &&) which is surely conceptually ugly, but I think it gives compatible semantics. regards, tom lane

Re: operator does not exist: text = bytea

2022-07-20 Thread Tom Lane
lying some code details). It's entirely possible that there isn't any solution other than fixing your app to be more consistent about how it binds the parameter. regards, tom lane

Re: plan for function returning table combined with condition

2022-07-20 Thread Tom Lane
nlining would result in exposing the actual result * of the function's last SELECT, which should not happen in that case. So try adding STABLE to the function definition. (This could be better documented, perhaps.) regards, tom lane

Re: FK Constraint sort order with pg_dump

2022-07-21 Thread Tom Lane
's schema name if we want the transform name to be unique. Not sure whether it's worth venturing into such nonlocal fixes. regards, tom lane diff --git a/src/bin/pg_dump/pg_dump_sort.c b/src/bin/pg_dump/pg_dump_sort.c index 5de3241eb4..2282c002ae 10064

Re: pg_dump query failed

2022-07-28 Thread Tom Lane
bug fixes, and it's not improbable that the underlying issue here is included in that. If that doesn't help, you'll need to start debugging. The symptom looks a bit like catalog corruption; if you are lucky then REINDEX'ing the catalogs used in that query would help. regards, tom lane

Re: Re: « The PL/pgSQL interpreter parses the function's source text and produces an internal binary instruction tree... »

2022-07-28 Thread Tom Lane
couple of grounds but it undoubtedly leads to surprising results if you expect error conditions to be recognized left-to-right or anything like that. Of course, SQL commands themselves have to be analyzed in not particularly left-to-right order, and we don't get that many complaints about that. regards, tom lane

Re: Connecting to postgres on OSX from Swift using PostgresClientKit

2022-07-31 Thread Tom Lane
t code is running in some kind of sandbox that disallows IP connections by default. Also, does psql work when you say "psql -h localhost"? It's possible that your server isn't listening on localhost, or there's a firewall there. Your working connections could all be via Unix sockets, from what little you've said so far. regards, tom lane

Re: Inconsistent permission enforcement for schemas

2022-08-01 Thread Tom Lane
INER; although that makes the function's permissions those of the function's owner not the view's owner. regards, tom lane

Re: Strange collation names ("hu_HU.UTF-8")

2022-08-02 Thread Tom Lane
I'd try that in a scratch installation first ...) There was some discussion not long ago about relaxing the check for "same collation name" [1], but no one has written a patch. regards, tom lane [1] https://www.postgresql.org/message-id/flat/fedc0205-c15b-e400-aa3f-e1d2a1285ddb%40sourcepole.ch

Re: "Missing" column in Postgres logical replication update message

2022-08-03 Thread Tom Lane
ent). So that right there is two cases where we omit data for a column. I suspect the "unchanged toasted data" case is what matters for your purposes. Maybe you've found some code that fails to implement that correctly? regards, tom lane

Re: PostgreSQL 14.4 ERROR: out of memory issues

2022-08-03 Thread Tom Lane
. Ah. I bet this is another instance of the known memory leakage problems with JIT inlining [1]. Per Andres' comments in that thread, it seems hard to solve properly. For now all I can recommend is to disable that. regards, tom lane [1] https://www.postgresql.org/message-id/flat/20201001021609.GC8476%40telsasoft.com

Re: Index only scans for expressional indices when querying for the expression

2022-08-04 Thread Tom Lane
rees not just the base Vars. regards, tom lane

Re: Index only scans for expressional indices when querying for the expression

2022-08-04 Thread Tom Lane
x27;d be interested. regards, tom lane

<    7   8   9   10   11   12   13   14   15   16   >