Re: Errors when restoring backup created by pg_dumpall

2024-12-01 Thread Tom Lane
tance". Is it possible that this database is so old that it contains a pre-extension (pre-9.1) version of earthdistance? regards, tom lane

Re: Connection to 127.0.0.1 refused in a Dockerfile based on postgres:17-alpine3.20

2024-12-01 Thread Tom Lane
hich merely sets up a postgresql.conf entry). regards, tom lane

Re: Errors when restoring backup created by pg_dumpall

2024-12-01 Thread Tom Lane
false); > in the pg_dumpall output file. I'm betting that won't help. The new-in-17 behavior is that maintenance commands such as CREATE INDEX internally force a "safe" search_path, regardless of the prevailing setting. It would be useful to know what is the command at line 4102 of all.sql. regards, tom lane

Re: Unique key constraint Issue

2024-11-25 Thread Tom Lane
lready have duplicate entries in the table, you'll need to correct them before REINDEX will succeed. regards, tom lane

Re: Connection to 127.0.0.1 refused in a Dockerfile based on postgres:17-alpine3.20

2024-12-01 Thread Tom Lane
hat. If it is "*", then it seems like something is interfering with expanding that. Maybe try explicitly setting it to "localhost"? regards, tom lane

Re: Errors when restoring backup created by pg_dumpall

2024-12-01 Thread Tom Lane
Adrian Klaver writes: > On 12/1/24 13:14, Tom Lane wrote: >> It would be useful to know what is the command at line 4102 >> of all.sql. > It is here: > https://gist.github.com/poperigby/fcb59eb6c22c6051800e06a0ec482b49 > CREATE TABLE public.geodata_places ( &g

Re: Errors when restoring backup created by pg_dumpall

2024-12-02 Thread Tom Lane
PopeRigby writes: > On 12/1/24 12:15, Tom Lane wrote: >> Cool. You did actually install the new scripts into your target >> installation, right? > Oh, is applying the patch and rebuilding PostgreSQL not enough? Not unless you did "make install" in the contrib

Re: "trailing junk after numeric literal at or near ""512"""

2024-12-24 Thread Tom Lane
nd d0 is not a utf-8 character so it block reading whole log file by > file_fdw. You certain that server is 16.6? Because we fixed that in 16.5: https://git.postgresql.org/gitweb/?p=postgresql.git&a=commitdiff&h=4fd4d7653 regards, tom lane

Re: Will PQsetSingleRowMode get me results faster?

2025-01-06 Thread Tom Lane
letion. So in principle, you might get best results by defining your query with DECLARE CURSOR and then using PQsetSingleRowMode on the FETCH. But it'd really depend on the particular query whether this gives any benefit. regards, tom lane

Re: search_path for PL/pgSQL functions partially cached?

2024-12-27 Thread Tom Lane
le if you don't want to think hard about this stuff. regards, tom lane

Re: repmgr(d) versions 5.5 vs 5.4 from apt.postgresql.org

2024-12-24 Thread Tom Lane
wer than the extension's SQL files (.../share/extension/repmgr.control etc). You need to straighten out that version mismatch. regards, tom lane

Re: Index usage with differing string types

2025-02-04 Thread Tom Lane
) Filter: ((id)::text = 'foo'::text) (2 rows) Your index supports bpchar comparison semantics, not text, so it doesn't work for this query. You could work around this by creating an index on id::text, but TBH I'd question the choice to use a bpchar column in the first place. It&#x

Re: old OS

2025-02-04 Thread Tom Lane
ven on > a system that old. Another workaround is to connect from a remote instance of psql. You'd probably need to modify the server's pg_hba.conf and perhaps poke a hole in its firewall, but that's still easier than installing new software. regards, tom lane

Re: old OS

2025-02-04 Thread Tom Lane
done locally on the old machine. You've got to shove the data over the network sooner or later, so why not sooner? regards, tom lane

Re: Passwordcheck Extension Not Installing

2025-02-09 Thread Tom Lane
k that's missing? The most obvious bet is that you installed a postgresql-contrib package that is not really compatible with the server package you're using and it put all the extension files somewhere else than where the server expects to find them. Try checking the file listing for the postgresql-contrib package you used. regards, tom lane

Re: PG-15.6: timeout parameters erroring out

2025-02-09 Thread Tom Lane
pretty clear: you need single quotes around the value '1min', and you didn't provide them. regards, tom lane

Re: Passwordcheck Extension Not Installing

2025-02-10 Thread Tom Lane
ed is that *passwordcheck is not an extension*. It has no SQL-visible objects. It's just a shared library that you must preload into the server, as per its documentation. regards, tom lane

Re: PG-15.6: timeout parameters erroring out

2025-02-10 Thread Tom Lane
er versions accepted them. But in a SET command I think no version will take it. regards, tom lane

Re: Any plan for minor release?

2025-02-10 Thread Tom Lane
=?UTF-8?B?Sm9zZWYgxaBpbcOhbmVr?= writes: > is there any plan for another minor release? https://www.postgresql.org/developer/roadmap/ regards, tom lane

Re: What is the story behind _SPI_PLAN_MAGIC?

2025-02-02 Thread Tom Lane
in spi.c. regards, tom lane

Re: could not accept ssl connection tlsv1 alert unknown ca

2025-01-30 Thread Tom Lane
resql.org/docs/current/libpq-ssl.html Those cause some additional checks to be made, but it's not like you can expect a completely broken certificate to work without them. regards, tom lane

Re: Errors when restoring backup created by pg_dumpall

2024-12-09 Thread Tom Lane
;t seem to work for you. I continue to suspect that you didn't really install the updated extension, but it's unclear. regards, tom lane [1] https://www.postgresql.org/message-id/flat/3395418.1618352...@sss.pgh.pa.us

Re: Request for new column in pg_namespace

2024-12-15 Thread Tom Lane
Isaac Morland writes: > On Sun, 15 Dec 2024 at 12:29, Tom Lane wrote: >> What I'd suggest as an improvement that could be implemented >> immediately is to wrap the checks in a user-defined function >> like "is_system_schema(nspname name)". > Would it make

Re: Request for new column in pg_namespace

2024-12-15 Thread Tom Lane
uot;system schema". As a counterexample, for some maintenance activities (such as vacuuming) you might wish to process pg_catalog. What I'd suggest as an improvement that could be implemented immediately is to wrap the checks in a user-defined function like "is_system_schema(nspname name)". regards, tom lane

Re: Wrapping a where clause to preserve rows with nulls

2024-12-18 Thread Tom Lane
NULL. Or perhaps what is wanted is WHERE (original-clause) OR (x IS NULL AND y IS NULL AND ...) ?? regards, tom lane

Re: Allowed to return possibly TOASTed datums?

2024-12-14 Thread Tom Lane
things equivalent to that in the core code, I think. regards, tom lane

Re: Allowed to return possibly TOASTed datums?

2024-12-14 Thread Tom Lane
ot detoasting saves work overall, because the object never has to get detoasted; but I think that's rare. It'd probably look like UPDATE t SET c = no_op_function(c) WHERE ... which is something few people would write. regards, tom lane

Re: Issue with pg_dump due to Schema OID Error

2024-12-19 Thread Tom Lane
#x27;t really foresee us accepting the costs of making it not act like that. I seem to recall someone submitting a patch recently that would add such locking, but I doubt it'll get accepted. regards, tom lane

Re: Streaming replication problem with collation

2024-12-20 Thread Tom Lane
oint would surely make a mess of the replica's indexes. You'll have to use logical replication for this. regards, tom lane

Re: CVE-2024-10979 Vulnerability Impact on PostgreSQL 11.10

2024-11-21 Thread Tom Lane
er to that will be forthcoming. Unofficially, however, I have no doubt that this bug is quite ancient. regards, tom lane

Re: Question About Native Support for SQL:2011 Temporal Tables in PostgreSQL

2024-11-23 Thread Tom Lane
e this long-running thread: https://www.postgresql.org/message-id/flat/CA+renyUApHgSZF9-nd-a0+OPGharLQLO=mdhcy4_qq0+noc...@mail.gmail.com regards, tom lane

Re: Unexpected results from a query with UNION ALL

2025-01-08 Thread Tom Lane
ff and on for the last few days, and I've found three different things that will need to be changed to make it work again. At least one of them looks too invasive to consider for back-patch. So don't hold your breath for a proper fix, but perhaps you could use UNION as a workaround? regards, tom lane

Re: concatenating hstores in a group by?

2025-01-19 Thread Tom Lane
( sfunc = hs_concat, stype = hstore ); Either way though, the order of aggregation is unspecified and thus it's unclear which input will win when there are duplicate keys. If that matters then you'll need to think about how you want to resolve it. regards, tom lane

Re: Issues with EPOCH-s, TIMESTAMP(TZ)-s and leap seconds.

2025-01-27 Thread Tom Lane
we did support that, it'd enormously complicate all timestamp arithmetic --- and we could hardly do calculations with times in the future at all, given the uncertainty around when leap seconds will be declared. So if you want to do astronomical timekeeping, you should use some other data type than timestamptz. regards, tom lane

Re: Automatic upgrade of passwords from md5 to scram-sha256

2025-01-12 Thread Tom Lane
y moving in the direction of never letting the server see cleartext passwords. It's already possible to configure libpq to refuse such requests (see require_auth parameter), although that hasn't been made the default. regards, tom lane

Re: Postgresql database terminates abruptly with too many open files error

2025-01-14 Thread Tom Lane
les at OS level are 65000. I'm suspecting that you either need to increase that, decrease max_files_per_process (which defaults to 1000), or decrease max_connections. regards, tom lane

Re: Unexpected results from a query with UNION ALL

2025-01-04 Thread Tom Lane
nt results, and there have been few complaints about this omission so far. In the meantime, the most recommendable answer for you is probably to switch over to using SERIALIZABLE mode. That'd require adding application logic to retry after a serialization failure, but it would produce co

Re: glibc 2.35-2.39 upgrade requirements

2025-01-17 Thread Tom Lane
tches what you use for the database.) If the results are different then you definitely need to reindex; if they are the same then maybe you're okay. Pay particular attention to columns containing punctuation or non-ASCII characters, as those are the areas most likely to see changes.

Re: Different Autovacuum Settings on Master and Replica in Streaming Replication

2025-01-17 Thread Tom Lane
to master, then it will start to use whatever settings it has (and no, postgresql.conf is not copied by the replication infrastructure). regards, tom lane

Re: pgvector extension error

2025-01-17 Thread Tom Lane
that database already. It didn't come from pgvector, so where did it come from? regards, tom lane

Re: Postgres do not support tinyint?

2025-01-07 Thread Tom Lane
te the quotes) would provide an intermediate level of compactness versus pain. regards, tom lane

Re: The logic behind comparing generic vs. custom plan costs

2025-03-15 Thread Tom Lane
ch to a generic plan if there's not too much change and the generic plan's estimated rowcounts are in the same range. Or in other words, rather than believing a cost comparison, what we'd look for is whether we get basically the same plan in generic mode as in custom mode. I'm not sure how to mechanize that, though. regards, tom lane

Re: Determine server version from psql script

2025-03-22 Thread Tom Lane
ependencies and requires close attention to correct shell quoting, so it's seldom preferable IMO. regards, tom lane

Re: Nested Stored Procedures - ERROR: invalid transaction termination 2D000

2025-03-22 Thread Tom Lane
So if that's a top-level transaction, you can roll it back, but if it's a subtransaction you can't. regards, tom lane

Re: Determine server version from psql script

2025-03-22 Thread Tom Lane
Adrian Klaver writes: > On 3/22/25 17:31, Igor Korot wrote: >> Is there a way to determine the server version from such a script? > show server_version_num; psql already populates its SERVER_VERSION_NUM variable from that for you. regards, tom lane

Re: Getting all the plans.

2025-03-22 Thread Tom Lane
going to show you only a small fraction of the possible plans. If you are unhappy because you suspect the planner rejected what would really have been the best plan, the odds are good this won't help you because the plan you want to see didn't survive long enough to be shown. regards, tom lane

Re: Restoring only a subset of schemas

2025-03-17 Thread Tom Lane
t;, edit out what you don't want using any method you like, then use the edited list with "pg_restore -L". While I'd be in favor of improving pg_restore to accept wild-card patterns, I'm very hesitant to start inventing new kinds of selection switches for it. The interactions between such switches would be a mess. regards, tom lane

Re: After upgrading libpq, the same function(PQftype) call returns a different OID

2025-03-19 Thread Tom Lane
;s the "Backwards compatibility" comment that's bothering you, a look at pg_type.h will show you that that's only intended to apply to the CASHOID and LSNOID symbols. Everything below that in pg_type_d.h is machine-generated. regards, tom lane

Re: After upgrading libpq, the same function(PQftype) call returns a different OID

2025-03-20 Thread Tom Lane
regards, tom lane

Re: After upgrading libpq, the same function(PQftype) call returns a different OID

2025-04-05 Thread Tom Lane
"David G. Johnston" writes: > On Thu, Mar 20, 2025 at 11:54 AM Tom Lane wrote: >> I think it's a mistake to suppose that pg_type_d.h is the only >> place where there's a risk of confusion. We should be thinking >> about this more generally: genbki.pl

Re: After upgrading libpq, the same function(PQftype) call returns a different OID

2025-04-05 Thread Tom Lane
'm not sure what other parts would be useful to label. As for CASHOID and LSNOID, surely those have been deprecated long enough that we could just remove them? regards, tom lane

Re: Querying one partition in a function takes locks on all partitions

2025-04-05 Thread Tom Lane
x27;t feel a need to change the docs yet. regards, tom lane

Re: Q on SELECT column list pushdown from view to table

2025-04-05 Thread Tom Lane
Karsten Hilbert writes: > Am Tue, Mar 25, 2025 at 06:55:34PM -0400 schrieb Tom Lane: >> Works fine if you don't mess with the view's security_invoker >> status. > I know but doing so was kind of the point. [ shrug... ] It's not going to work. When the view

Re: Q on SELECT column list pushdown from view to table

2025-03-25 Thread Tom Lane
l from v_partially_private; > to work but selecting from the view fails. Works fine if you don't mess with the view's security_invoker status. regards, tom lane

Re: Confusion on Assert() definition

2025-03-26 Thread Tom Lane
e made to do something in debug builds but be no-ops in production builds. If you think there's actually a realistic chance of the case happening in a production context, you should use a regular if-test-and-ereport instead of an Assert. regards, tom lane

Re: Meson and Numa: C header not found

2025-04-10 Thread Tom Lane
/include/numa.h isn't there; but meson seems to fail as-expected without that, or silently fall back to libnuma=disabled if you don't try to force it. regards, tom lane

Re: Meson and Numa: C header not found

2025-04-10 Thread Tom Lane
es. That kind of looks like it might cause the check to fail if the libnuma library isn't there, which is something we do need to check, but doing it this way seems like it'd produce a pretty misleading failure message if numa.h exists but the library doesn't. regards, tom lane

Re: Meson and Numa: C header not found

2025-04-10 Thread Tom Lane
restorecon might help if so. regards, tom lane

Re: Interesting case of IMMUTABLE significantly hurting performance

2025-04-09 Thread Tom Lane
own habit when writing a SQL function that I wish to be inlined is to leave off all those markings. They won't matter if the function is successfully inlined, and they might get in the way of that happening. regards, tom lane

Re: Meson and Numa: C header not found

2025-04-10 Thread Tom Lane
e but not library presence (else it wouldn't have thought that the library was there either, I guess). Kind of weird, but I'm still learning about meson. regards, tom lane

Re: Doubt on pg_timezone_names and pg_timezone_abbrevs

2025-03-31 Thread Tom Lane
a/k/a UTC+2. To get it to mean Indian Standard Time a/k/a Asia/Calcutta you need set timezone_abbreviations TO 'India'; (or more likely, adjust that in your installation's postgresql.conf). See https://www.postgresql.org/docs/current/datetime-config-files.html regards, tom lane

Re: Postgres Query Plan using wrong index

2025-04-01 Thread Tom Lane
th columns are covered by "idx_col_b_a". They may be covered, but sort order matters, and that index has the wrong sort order to help with this query. Try create index on test_table(col_b, col_a); regards, tom lane

Re: After upgrading libpq, the same function(PQftype) call returns a different OID

2025-03-15 Thread Tom Lane
e than before. That would be surprising, but with zero details it's hard to debug. regards, tom lane

Re: Custom index access method for primary keys

2025-04-07 Thread Tom Lane
able to do CREATE TABLE mytable ...; CREATE UNIQUE INDEX myindex ON mytable USING myam (...); ALTER TABLE mytable ADD PRIMARY KEY USING INDEX myindex; It doesn't look like we yet allow direct "USING myam" in PRIMARY KEY, but sooner or later we might get to that.

Re: Request for official clarification on SQL parameter parsing changes in PostgreSQL 15 and 16

2025-04-17 Thread Tom Lane
paces around the parameter symbol. It's really a bug that it didn't do so already, since closely-adjacent cases like digits immediately after the "?" would already have caused failures. regards, tom lane

Re: Cannot turn track_counts on

2025-04-17 Thread Tom Lane
they sound like they might be things that would take it on themselves to fool with your stats-collection settings. I'd check their code for something close to SetConfigOption("track_counts", ..., PGC_S_OVERRIDE); regards, tom lane

Re: pg_get_serial_sequence not working for manually set seq

2025-04-21 Thread Tom Lane
rg/docs/current/datatype-numeric.html#DATATYPE-SERIAL regards, tom lane

Re: Resetting the lock_timeout value for a transaction

2025-04-27 Thread Tom Lane
for that. We don't seem to have bothered with that exact syntax, but you could spell it like SET LOCAL lock_timeout TO DEFAULT; regards, tom lane

Re: Upsert error "column reference is ambiguous"

2025-04-28 Thread Tom Lane
Tim Starling writes: > On 28/4/25 20:54, Tom Lane wrote: >> Even if I were on board with arbitrarily adopting one of the two >> possible interpretations, it's far from obvious to me that most people >> would agree that "v" should mean the value from the existi

Re: Another documentation issue

2025-04-23 Thread Tom Lane
Igor Korot writes: > On Wed, Apr 23, 2025 at 1:28 PM Tom Lane wrote: >> If we do anything about this, I'd just say "systems that have >> posix_fadvise()". If we write something more specific it's likely to >> become obsolete, and it doesn't seem t

Re: Feature Proposal: Column-Level DELETE Operation in SQL

2025-04-23 Thread Tom Lane
s why NoSQL is not SQL, and this is one. You can already approximate this sort of behavior in Postgres by storing the less-structured aspects of your data in a JSON or XML column. I'd suggest pursuing that approach rather than trying to get us to mangle fundamental SQL semantics beyond recognition. regards, tom lane

Re: How to properly fix memory leak

2025-04-26 Thread Tom Lane
ring. Which part of this is responsible for seeing that that gets freed? regards, tom lane

Re: Interesting case of IMMUTABLE significantly hurting performance

2025-04-10 Thread Tom Lane
which is actually more than the real difference in runtime. (I hasten to add that I don't have a lot of faith in our function cost estimates. But the planner is quite well aware that a non-inlined SQL function is likely to be expensive.) regards, tom lane

Re: Clarification on the docs

2025-04-12 Thread Tom Lane
=postgresql.git;a=commitdiff;h=78637a8be regards, tom lane

Re: Cannot turn track_counts on

2025-04-16 Thread Tom Lane
DE to it. What extensions do you have installed? regards, tom lane

Re: Fwd: Identify system databases

2025-04-16 Thread Tom Lane
lication needn't connect to a particular database because it does no catalog accesses (and hence can't run SQL). All it's able to do is suck out the WAL stream. Logical replication can do SQL --- but it has to connect to a specific database. regards, tom lane

Re: Fwd: Identify system databases

2025-04-16 Thread Tom Lane
that as a good thing. (You can, of course, speculate about some major rearchitecting of the system catalogs that would make this situation different. I doubt that's going to happen at this point, though. There's too much stuff that's dependent on how things are now.) regards, tom lane

Re: ICU Collations and Collation Updates

2025-04-14 Thread Tom Lane
h. So the collation-changed warnings that Laurenz mentions are a lot more trustworthy for ICU collations. 2. It's at least *possible* to use your own fixed-version ICU library if you're desperate enough. I don't think that would work too well for libc; you're stuck with what the platform provides. regards, tom lane

Re: TRUNCATE ONLY with foreign keys and triggers disabled

2025-04-14 Thread Tom Lane
runcate both the referenced and referencing tables in the same command. The state of the triggers is not material to this, since TRUNCATE doesn't fire them anyway. regards, tom lane

Re: Index not used in certain nested views but not in others

2025-04-30 Thread Tom Lane
lanner's ability to see that the outer query's join operator is compatible with the table's index. regards, tom lane

Re: Another documentation issue

2025-04-23 Thread Tom Lane
which > would provide a bit more clarity. If we do anything about this, I'd just say "systems that have posix_fadvise()". If we write something more specific it's likely to become obsolete, and it doesn't seem to me that it's hard for someone to research "does my box have posix_fadvise()?". regards, tom lane

Re: Dump version issues

2025-04-23 Thread Tom Lane
promise that pg_dump version N will produce output that you can use with pg_restore or server versions less than N, whether they share the same archive version or not. regards, tom lane

Re: segmentation fault

2025-04-23 Thread Tom Lane
atching version of pg_config would answer that.) Can you get a stack trace from the crash? https://wiki.postgresql.org/wiki/Generating_a_stack_trace_of_a_PostgreSQL_backend regards, tom lane

Re: Fwd: Identify system databases

2025-04-15 Thread Tom Lane
about terminology. These three databases are part of the ecosystem and clients generally expect them to be there. But the server doesn't depend on them to function. Does that make them "system" databases? All depends on what you think that means. regards, tom lane

Re: Identify system databases

2025-04-15 Thread Tom Lane
tified by name not by OID. You can drop template1, and the only thing that will be unhappy is CREATE DATABASE, and if you make a new DB that is named template1 then CREATE DATABASE will be happy again. regards, tom lane

Re: Upsert error "column reference is ambiguous"

2025-04-28 Thread Tom Lane
PG, thus allowing it to DWIM. Even if I were on board with arbitrarily adopting one of the two possible interpretations, it's far from obvious to me that most people would agree that "v" should mean the value from the existing row, rather than the new value. Better to make them say which they want. regards, tom lane

Re: Fwd: SQL transactions executing from VMSS

2025-04-28 Thread Tom Lane
ty exists around that software. regards, tom lane

Re: Wal Files not removing automatically

2025-04-28 Thread Tom Lane
27;t understand why you don't have two slots, one for each). regards, tom lane

Re: DROP ROLE as SUPERUSER

2025-04-29 Thread Tom Lane
Dominique Devienne writes: > On Fri, Feb 21, 2025 at 3:44 PM Tom Lane wrote: >> DROP OWNED also removes relevant permission entries (which can be >> thought of as things owned by the role, if you hold your head at >> the right angle). See its man page. > Except when it

Re: Upsert error "column reference is ambiguous"

2025-04-29 Thread Tom Lane
he get-go. Nonetheless, it's there now and is a pretty similar precedent. regards, tom lane

Re: Index not used in certain nested views but not in others

2025-05-03 Thread Tom Lane
is complaining about is that that fails to happen if there's a UNION ALL in the way. Postgres is capable of doing that in other cases, so it's a fair question. regards, tom lane

Re: Why is an error not thrown when the time exceeds the lock timeout for an ExclusiveLock on a transaction ?

2025-04-18 Thread Tom Lane
imeout: it is the lock wait time after which we check to see if there's a deadlock. If there's not, we just log the above message (if configured to do so) and keep waiting. If you want to fail after X amount of time, lock_timeout or perhaps statement_timeout is what to set for that. regards, tom lane

Re: Calling set-returning functions in a non-set-expecting context

2025-02-17 Thread Tom Lane
vocation of another set-returning function, it's just going to take whatever that function returns first. regards, tom lane

Re: Clarification on Role Access Rights to Table Indexes

2025-02-17 Thread Tom Lane
s of their own, which is why access rights are a poor gating mechanism for something that needs to be applicable to indexes. Ownership could work, because we make indexes inherit their table's ownership. regards, tom lane

Re: Loading the latest N rows into the cache seems way too fast.

2025-02-17 Thread Tom Lane
es. (pg_prewarm wouldn't have either, without special pushups.) regards, tom lane

Re: Loading the latest N rows into the cache seems way too fast.

2025-02-17 Thread Tom Lane
Ron Johnson writes: > On Mon, Feb 17, 2025 at 4:36 PM Tom Lane wrote: >> It's not pulling in the TOAST storage where the bytea column lives. >> (pg_prewarm wouldn't have either, without special pushups.) > Puzzling, since I ran "PERFORM *". What if I exp

Re: Clarification on Role Access Rights to Table Indexes

2025-02-17 Thread Tom Lane
"David G. Johnston" writes: > On Monday, February 17, 2025, Tom Lane wrote: >> You'd really have to take that up with the author of pg_prewarm. > This is our contrib module so this seems like the expected place to ask > such a question. It’s neither a bug nor a to

Re: Please implement a catch-all error handler per row, for COPY

2025-03-02 Thread Tom Lane
happen here, because a subtransaction per row is not practical. regards, tom lane

Re: Please implement a catch-all error handler per row, for COPY

2025-03-01 Thread Tom Lane
ich that would. Even ignoring the performance angle, this request seems remarkably ill-specified. What is a "row-level handler" for errors that have to do with identifying row boundaries? regards, tom lane

Re: Get CTID from within an OUTPUT/SEND function

2025-03-04 Thread Tom Lane
Garfield Lewis writes: > I would like to know if it is possible to get the CTID from within > the OUTPUT and SEND functions of a CREATE TYPE? No. A datatype output function has no reason to expect that the value it's handed has ever been in a table at all. r

<    24   25   26   27   28   29   30   >