threads listlengths 1 2.99k |
|---|
[
{
"msg_contents": "Hi Robert,\n\nI was rebasing my patch to convert RELSEG_SIZE into an initdb-time\nsetting, and thus runtime variable, and I noticed this stack variable\nin src/backend/backup/basebackup_incremental.c:\n\nGetFileBackupMethod(IncrementalBackupInfo *ib, const char *path,\n ... |
[
{
"msg_contents": "Hi\n\nafter today update, the build with --with-llvm produces broken code, and\nmake check fails with crash\n\n Upgrade hwdata-0.380-1.fc40.noarch\n@updates-testing\n Upgraded hwdata-0.379-1.fc40.noarch @@System\n Upgrade llvm-18.1.0~rc4-1.fc40.x86_6... |
[
{
"msg_contents": "I think we generally follow the rule that we include 'postgres.h' or\n'postgres_fe.h' first, followed by system header files, and then\npostgres header files ordered in ASCII value. I noticed that in some C\nfiles we fail to follow this rule strictly. Attached is a patch to fix\nthis.\n\nBa... |
[
{
"msg_contents": "Someone on -general was asking about this, as they are listening on\nmultiple IPs and would like to know which exact one clients were hitting. I\ntook a quick look and we already have that information, so I grabbed some\nstuff from inet_server_addr and added it as part of a \"%L\" (for 'local... |
[
{
"msg_contents": "Hi hackers,\n\nI just noticed that commit d93627bc added a bunch of pg_fatal() calls\nusing %s and strerror(errno), which could be written more concisely as\n%m. I'm assuming this was done because the surrounding code also uses\nthis pattern, and hadn't been changed to use %m when support fo... |
[
{
"msg_contents": "Hi Hackers,\n\nWhen configuring SSL on the Postgres server side with the following \ninformation:\n\nssl = on\nssl_ca_file = 'root_ca.crt'\nssl_cert_file = 'server-cn-only.crt'\nssl_key_file = 'server-cn-only.key'\n\nIf a user makes a mistake, for example, accidentally using 'root_ca.crl' \ni... |
[
{
"msg_contents": "The following query:\n\nSELECT * FROM (\n SELECT 2023 AS year, * FROM remote_table_1\n UNION ALL\n SELECT 2022 AS year, * FROM remote_table_2\n)\nORDER BY year DESC;\n\nyields the following remote query:\n\nSELECT [columns] FROM remote_table_1 ORDER BY 2023 DESC\n\nand subsequently fails r... |
[
{
"msg_contents": "This patch adds a link to the \"attach partition\" command section\n(similar to the detach partition link above it) as well as a link to\n\"create table like\" as both commands contain additional information\nthat users should review beyond what is laid out in this section.\nThere's also a co... |
[
{
"msg_contents": "I could not find any explanation of the following behaviour in docs -\n\n\nOur documentation for CREATE TABLE says:\n\nCREATE TABLE also automatically creates a data type that represents\nthe composite type corresponding to one row of the table. Therefore,\ntables cannot have the same name as... |
[
{
"msg_contents": "Hi,\n\nWhile looking ExecQueryAndProcessResults, I found the following code.\n\n /* \n * If SIGINT is sent while the query is processing, the interrupt will be\n * consumed. The user's intention, though, is to cancel the entire watch\n * process, so detect a sent cancellatio... |
[
{
"msg_contents": "If popen fails in pipe_read_line we invoke perror for the error message, and\npipe_read_line is in turn called by find_other_exec which is used in both\nfrontend and backend code. This is an old codepath, and it seems like it ought\nto be replaced with the more common logging tools we now ha... |
[
{
"msg_contents": "Hi hackers,\n\nPlease find attached a tiny patch to remove a $SUBJECT.\n\nIndeed, it does not seem appropriate to remove stats during slot invalidation as\none could still be interested to look at them.\n\nThis spurious call has been introduced in be87200efd. I think that initially we\ndesign... |
[
{
"msg_contents": "Hello Team,\n\nCan you help me with steps to identify transactions which caused wal\ngeneration to surge ?\n\nRegards,\nGayatri.\n\n\n",
"msg_date": "Fri, 8 Mar 2024 20:20:30 +0530",
"msg_from": "Gayatri Singh <gayatripremselvi@gmail.com>",
"msg_from_op": true,
"msg_subject": ... |
[
{
"msg_contents": "Hi,\n\nWe observed a slight lag in timestamp for a few logs from the emit_log_hook\nhook implementation when the log_line_prefix GUC has '%m'.\n\nUpon debugging, we found that the saved_timeval_set variable is set to\n'true' in get_formatted_log_time() but is not reset to 'false' until the\nn... |
[
{
"msg_contents": "Hi,\n\nI was trying to learn enough about the new bulk_write.c to figure out\nwhat might be going wrong over at [1], and finished up doing this\nexercise, which is experiment quality but passes basic tests. It's a\nbit like v1-0013 and v1-0014's experimental vectored checkpointing\nfrom [2] ... |
[
{
"msg_contents": "When including tables with the new pg_dump functionality, it fails to\nerror out if a table is missing, but only if more than one table is\nspecified.\n\nE.g., if table foo exist, but not bar:\n\npg_dump --table bar\npg_dump: error: no matching tables were found\n\nwith file \"myfilter\" cont... |
[
{
"msg_contents": "Greetings, everyone!\n\nWhile running \"installchecks\" on databases with UTF-8 encoding the test\ncitext_utf8 fails because of Turkish dotted I like this:\n\n SELECT 'i'::citext = 'İ'::citext AS t;\n t\n ---\n- t\n+ f\n (1 row)\n\nI tried to replicate the test's results by hand and with... |
[
{
"msg_contents": "Hi all!\n\npg_regress accepts the expecteddir argument. However, it is never used\nand outputdir is used instead to get the expected files paths.\n\nThis patch fixes this and uses the expecteddir argument as expected.\n\nRegards,\nAnthonin",
"msg_date": "Mon, 11 Mar 2024 09:23:16 +0100",
... |
[
{
"msg_contents": "While self-reviewing my \"Refactoring backend fork+exec code\" patches, I \nnoticed this in pq_init():\n\n> \t/*\n> \t * In backends (as soon as forked) we operate the underlying socket in\n> \t * nonblocking mode and use latches to implement blocking semantics if\n> \t * needed. That allows ... |
[
{
"msg_contents": "Hi All,\n\nDuring my journey of designing Pg based solution at my work I was severely hit by several shortcomings in GiST.\nThe most severe one is the lack of support for SAOP filters as it makes it difficult to have partition pruning and index (only) scans working together.\n\nTo overcome th... |
[
{
"msg_contents": "I am seeing an increasing number of bug/problem reports on obsolete\nPostgres versions, either not running a superseded minor version, or\nrunning an unsupported major version.\n\nWhat can we do to reduce such reports, or at least give a consistent\nresponse? It is very helpful that we have ... |
[
{
"msg_contents": "Hi hackers,\n\nBelow is a `case when` demo,\n\n```sql\ncreate table foo(a int, b int);\ninsert into foo values (1, 2);\nselect case 1 when 1 then a else b end from foo;\n```\n\n\nCurrently, psql output is,\n\n\n```text\n b\n---\n 1\n(1 row)\n```\n\n\nAt the first glance at the output column t... |
[
{
"msg_contents": "Hi hackers,\n\nWhen the PostgreSQL server is configured with --with-llvm, the pgxs.mk\nframework will generate LLVM bitcode for extensions automatically.\nSometimes, I don't want to generate bitcode for some extensions. I can\nturn off this feature by specifying with_llvm=0 in the make comman... |
[
{
"msg_contents": "Moved from discussion on -committers:\n\nhttps://postgr.es/m/0ef325fa06e7a1605c4e119c4ecb637c67e5fb4e.camel@j-davis.com\n\nSummary:\n\nDo not use perl empty patterns like // or qr// or s//.../, the behavior\nis too surprising for perl non-experts. There are a few such uses in\nour tests; patc... |
[
{
"msg_contents": "Hello,\n\nBoth the incremental JSON [1] and OAuth [2] patchsets would be\nimproved by json_errdetail(), which was removed from FRONTEND builds\nin b44669b2ca:\n\n> The routine providing a detailed error message based on the error code\n> is made backend-only, the existing code being uns... |
[
{
"msg_contents": "While playing around with EXPLAIN and SubPlans, I noticed that there's\na bug in how this is handled for MERGE. For example:\n\ndrop table if exists src, tgt, ref;\ncreate table src (a int, b text);\ncreate table tgt (a int, b text);\ncreate table ref (a int);\n\nexplain (verbose, costs off)\... |
[
{
"msg_contents": "Hello\n\n\n\nI noticed that the comment for declaring create_tidscan_paths() in src/include/optimizer/paths.h has a typo. The function is implemented in tidpath.c, not tidpath.h as stated, which does not exist.\n\n\n\nMade a small patch to correct it.\n\n\n\nThank you\n\n\n\n\n\nCary Huang\n\... |
[
{
"msg_contents": "Hi,\n\nSeveral animals are timing out while waiting for catchup,\nsporadically. I don't know why. The oldest example I have found so\nfar by clicking around is:\n\nhttps://buildfarm.postgresql.org/cgi-bin/show_log.pl?nm=skink&dt=2024-02-23%2015%3A44%3A35\n\nSo perhaps something was committe... |
[
{
"msg_contents": "\nI and several colleagues have just been trying to build from a tarball \nwith meson.\n\n\n`meson setup build .` results in this:\n\n\n[...]\n\nMessage: checking for file conflicts between source and build directory\n\nmeson.build:2963:2: ERROR: Problem encountered:\n****\nNon-clean source c... |
[
{
"msg_contents": "Hi,\n\nI noticed 3 regression test failures like $SUBJECT in cfbot runs for\nunrelated patches that probably shouldn't affect GIN, so I guess this\nis probably a problem in master. All three happened on FreeBSD, but I\ndoubt that's relevant, it's just that the FreeBSD CI task was randomly\ns... |
[
{
"msg_contents": "I was taking a look at the login event triggers work (nice work btw)\nand saw a couple of minor items that I thought would be worth cleaning\nup. This is mostly just clarifying the exiting docs and code comments.\n\nRobert Treat\nhttps://xzilla.net",
"msg_date": "Wed, 13 Mar 2024 21:47:53... |
[
{
"msg_contents": "Hello.\n\nA recent commit 6612185883 introduced two error messages that are\nidentical in text but differ in their placeholders.\n\n-\t\t\tpg_fatal(\"could not read file \\\"%s\\\": read only %d of %d bytes\",\n-\t\t\t\t\t filename, (int) rb, (int) st.st_size);\n+\t\t\tpg_fatal(\"could not re... |
[
{
"msg_contents": "Hello.\n\nWhile examining reorderbuffer.c, I found several typos. I'm not sure\nif fixing them is worthwhile, but I've attached a fix just in case.\n\nregards.\n\n-- \nKyotaro Horiguchi\nNTT Open Source Software Center",
"msg_date": "Thu, 14 Mar 2024 13:28:17 +0900 (JST)",
"msg_from":... |
[
{
"msg_contents": "Greetings!\n\nThe question (a short version): is it possible for a client to send two\nselects in the same transaction using the extended query protocol (without\ndeclaring cursors) and pull rows simultaneously by means of interleaving\nportal names and restricting fetch size in Execute comma... |
[
{
"msg_contents": "Two meson patches.\n\nOne of them adds version gates to two LLVM flags (-frwapv, \n-fno-strict-aliasing). I believe we moved the minimum LLVM version \nrecently, so these might not be necessary, but maybe it helps for \nhistorictal reasons. If not, I'll just remove the comment in a different ... |
[
{
"msg_contents": "Hi,\n\nThe synopsis of pg_md5_hash() seems wrong such as:\n - s/int/bool/\n - \"errstr\" is missing\nSo, I created a patch to fix them.\n\nsrc/common/md5_common.c\n==================================================\n* SYNOPSIS #include \"md5.h\"\n* int pg_md5_hash(c... |
[
{
"msg_contents": "Introduce \"builtin\" collation provider.\n\nNew provider for collations, like \"libc\" or \"icu\", but without any\nexternal dependency.\n\nInitially, the only locale supported by the builtin provider is \"C\",\nwhich is identical to the libc provider's \"C\" locale. The libc\nprovider's \"C... |
[
{
"msg_contents": "Hi,\n\nSince ldap2pg 6, I'm working on running by default as non-super role\nwith CREATEDB. Robert Haas made this a viable solution as of Postgres\n16.\n\nI got a case where ldap2pg tries to remove a role from a group. But\nldap2pg user is not the grantor of this membership. This triggers a\n... |
[
{
"msg_contents": "I got a weird test failure while testing my forking refactor patches on \nCirrus CI \n(https://cirrus-ci.com/task/5880724448870400?logs=test_running#L121):\n\n> [16:52:39.753] Summary of Failures:\n> [16:52:39.753] \n> [16:52:39.753] 66/73 postgresql:intarray-running / intarray-running/regres... |
[
{
"msg_contents": "Hi,\n\nWhile working on [1], it was identified that\nWaitXLogInsertionsToFinish emits a LOG message, and adjusts the upto\nptr to proceed further when caller requests to flush past the end of\ngenerated WAL. There's a comment explaining no caller should ever do\nthat intentionally except in c... |
[
{
"msg_contents": "Hello Hackers,\n\nI have implemented TODO “Allow LISTEN on patterns” [1] and attached\nthe patch to the email. The patch basically consists of the following\ntwo parts.\n\n1. Support wildcards in LISTEN command\n\nNotification channels can be composed of multiple levels in the form\n‘a.b.c’ w... |
[
{
"msg_contents": "To build on NixOS/nixpkgs I came up with a few small patches to \nmeson.build. All of this works fine with Autoconf/Make already.",
"msg_date": "Sat, 16 Mar 2024 12:48:31 +0100",
"msg_from": "Wolfgang Walther <walther@technowledgy.de>",
"msg_from_op": true,
"msg_subject": "Bui... |
[
{
"msg_contents": "Running the regression tests when building with musl libc fails, with \nerrors like the following:\n\nERROR: could not load library \n\"<builddir>/tmp_install/usr/lib/postgresql/libpqwalreceiver.so\": Error \nloading shared library libpq.so.5: No such file or directory (needed by \n<builddir... |
[
{
"msg_contents": "Hello Team,\n\nHope everyone is doing well here.\n\nI am writing this email to understand an issue I'm facing when fetching data in our Java application. We are using PostgreSQL JDBC Driver version 42.6.0.\n\nIssue:\n\nWe are encountering an issue where the double precision data type in Postg... |
[
{
"msg_contents": "Hackers,\n\nThe jsonpath doc[1] has an excellent description of the format of strings, but for unquoted path keys, it simply says:\n\n> Member accessor that returns an object member with the specified key. If the key name matches some named variable starting with $ or does not meet the JavaSc... |
[
{
"msg_contents": "Hi,\n\nWhile working on [1], I noticed that the backtrace_functions GUC code\ndoes its own string parsing and uses another extra variable\nbacktrace_function_list to store the processed form of\nbacktrace_functions GUC.\n\nI think the code can be simplified a bit by using\nSplitIdentifierStri... |
[
{
"msg_contents": "Hi,\n\nWe are pleased to announce the Release Management Team (RMT) (cc'd)\nfor the PostgreSQL 17 release:\n- Robert Haas\n- Heikki Linnakangas\n- Michael Paquier\n\nYou can find information about the responsibilities of the RMT here:\nhttps://wiki.postgresql.org/wiki/Release_Management_Team\... |
[
{
"msg_contents": "I was looking at the documentation index this morning[1], and I can't\nhelp feeling like there are some parts of it that are over-emphasized\nand some parts that are under-emphasized. I'm not sure what we can do\nabout this exactly, but I thought it worth writing an email and seeing\nwhat oth... |
[
{
"msg_contents": "Hello,\nI would like to make a feature request for existing implementation of connection object. What I would like to request you is as follows.\n\nI have configured primary and hot standby PostgreSQL server. The replication works fine with repmanager. All I need to achieve is to keep the cli... |
[
{
"msg_contents": "Hello Chapman,\n\nThanks for the reply and suggestion.\n\nBelow are my observations when i was debugging the code of postgres-jdbc driver for double precision data type.\n\n1- When the value in DB is 40 and fetched value is also 40\n A - In the QueryExecuterImpl class method - receiveFiel... |
[
{
"msg_contents": "hi.\nI think the \"X\" and \"-\" mean in this matrix [0] is not very intuitive.\nmainly because \"X\" tends to mean negative things in most cases.\nwe can write a sentence saying \"X\" means this, \"-\" means that.\n\nor maybe Check mark [1] and Cross mark [2] are more universal.\nand we ca... |
[
{
"msg_contents": "Hi,\n\nI'm looking at an open proposal to introduce row-level security policy\ntemplates [0], and I have been making some progress on it.\n\nThe proposal aims to introduce templates for RLS policies, where the idea\nis to allow users to define policies as a template, and apply it to\nmultiple... |
[
{
"msg_contents": "Over in the thread discussing the addition of UUIDv7 support [0], there \nis some uncertainty about what timestamp precision one can expect from \ngettimeofday().\n\nUUIDv7 uses milliseconds since Unix epoch, but can optionally use up to \n12 additional bits of timestamp precision (see [1]), ... |
[
{
"msg_contents": "Hi,\n\nI do not understand why hot_updates value is not 0 for pg_database? Given\nthat reloptions is empty for this table that means it has a default value\nof 100%\n\nRegards,\n\nFabrice\n\n SELECT\n relname AS table_name,\n seq_scan AS sequential_scans,\n idx_scan AS index_scans,\n... |
[
{
"msg_contents": "While reviewing the patch for SET ACCESS METHOD[1] I noticed that\npg_class.relam is not documented fully for partitioned tables, so I\nproposed the attached. Also, I remove a comment that merely repeats\nwhat was already said a few lines above.\n\nThis is intended for backpatch to 12.\n\n[1... |
[
{
"msg_contents": "Hey,\n\nI'm trying to build a postgres export tool that reads data from table pages\nand exports it to an S3 bucket. I'd like to avoid manual commands like\npg_dump, I need access to the raw data.\n\nCan you please point me to the postgres source header / cc files that\nencapsulate this funct... |
[
{
"msg_contents": "For the last few days, buildfarm member parula has been intermittently\nfailing the partition_prune regression test, due to unexpected plan\nchanges [1][2][3][4]. The symptoms can be reproduced exactly by\ninserting a \"vacuum\" of one or another of the partitions of table\n\"ab\", so we can... |
[
{
"msg_contents": "Hello hackers,\n\nAmong many recoveryCheck (more concretely, 027_stream_regress) failures\noccurred on a number of buildfarm animals after switching to meson, which\ncan be explained by timeouts, I saw a different failure on adder:\nhttps://buildfarm.postgresql.org/cgi-bin/show_log.pl?nm=adde... |
[
{
"msg_contents": "David Wheeler complained over in [1] that genbki.pl fails to produce a\nuseful error message if there's anything wrong in a catalog data file.\nHe's right about that, but the band-aid patch he proposed doesn't\nimprove the situation much. The actual problem is that key error\nmessages in gen... |
[
{
"msg_contents": "Greetings,\n\nI am getting the following error\n\nmeson.build:1479:17: ERROR: Can not run test applications in this cross\nenvironment.\n\nHave configured for amd64_x86\n\nRunning `meson setup --wipe build --prefix=c:\\postgres86`\n\nThe docs say it is possible to build postgres for x86. Are ... |
[
{
"msg_contents": "Hi Aadhav Vignesh,\n\nInterestingly, Alexander asked for ideas for GSoC projects at Supabase\n(I'm on the Auth team), and I proposed the RLS templates idea. As you\nalready pointed out, the idea comes out of us seeing how RLS policies\nare used in real-life and the pain points associated with... |
[
{
"msg_contents": "Hello,\n\nwe run multiple versions of PostgreSQL instances on production. Some time ago\nwe add new physical servers and decided to go with latest GA from pgdg APT\nrepository, that is PostgreSQL 16.\n\nWe encounter slow `GRANT ROLES` only on PostgreSQL 16 instances up to 42 seconds\nin produ... |
[
{
"msg_contents": "Hi,\n\nThere is a failure in 040_standby_failover_slots_sync on tamandua:\nhttps://buildfarm.postgresql.org/cgi-bin/show_log.pl?nm=tamandua&dt=2024-03-21%2008%3A28%3A58\n\nThe reason of the timeout is that the table sync worker for the new table is not started\nafter executing ALTER SUBSCRIPT... |
[
{
"msg_contents": "Good day-\n I'll start by admitting that I am a typical American who only speaks\none language.\n I maintain the PL./Haskell extension (\nhttps://github.com/ed-o-saurus/PLHaskell). I recently received a bug report\nfrom a user who is unable to load the extension when they have set lc_me... |
[
{
"msg_contents": "Hello Team,\n\nWe are working on AIX systems and noticed that the thread on removing AIX support in Postgres going forward.\n\nhttps://github.com/postgres/postgres/commit/0b16bb8776bb834eb1ef8204ca95dd7667ab948b”\n\nWe would be glad to understand any outstanding issues hindering the support o... |
[
{
"msg_contents": "Hi!\n\nIn commit 7b5275eec more tests and test coverage were added into\npg_resetwal/t/001_basic.pl.\nAll the added stuff are pretty useful in my view. Unfortunately, there\nwere some magic constants\nbeen used. In overall, this is not a problem. But while working on 64 bit\nXIDs I've noti... |
[
{
"msg_contents": "Hello, \n\nMy team and I have been working on adding Large block size(LBS)\nsupport to XFS in Linux[1]. Once this feature lands upstream, we will be\nable to create XFS with FS block size > page size of the system on Linux.\nWe also gave a talk about it in Linux Plumbers conference recently[2... |
[
{
"msg_contents": "Hello postgres hackers:\nI recently notice these sql can lead to a assertion error in pg14 and older version. Here is an example:\npostgres=> CREATE TABLE t1 (a int); CREATE TABLE postgres=> INSERT INTO t1 VALUES (1); INSERT 0 1 postgres=> SELECT EXISTS ( SELECT * FROM t1 GROUP BY GROUPING SE... |
[
{
"msg_contents": "In my queries I often need to do MIN/MAX for tuples, for example:\n\n SELECT MAX(row(year, month))\n FROM (VALUES(2025, 1), (2024,2)) x(year, month);\n\nThis query throws:\n\n ERROR: function max(record) does not exist\n\nIn this case you can replace it with `MAX((year||'-'||month||'-1')... |
[
{
"msg_contents": "Hi,\n\nWhile working on [1], I noticed $SUBJECT: WaitLatchOrSocket in back\nbranches is ignoring the possibility of failing partway through, too.\nI added a PG_FAINALLY block to that function, like commit 555276f85.\nPatch attached.\n\nBest regards,\nEtsuro Fujita\n\n[1] https://www.postgresq... |
[
{
"msg_contents": "Another thing I noticed while working on [1] is $SUBJECT: this\nfunction checks whether the given query string is non-NULL or not when\ncreating a WARNING message, but the function is always called with the\nquery string set, so it should be non-NULL. I removed the check and\ninstead added a... |
[
{
"msg_contents": "On 2024-03-20 12:11, Alexander Korotkov wrote:\n> On Wed, Mar 20, 2024 at 12:34 AM Kartyshov Ivan\n> <i.kartyshov@postgrespro.ru> wrote:\n>> > 4.2 With an unreasonably high future LSN, BEGIN command waits\n>> > unboundedly, shouldn't we check if the specified LSN is more than\n>> > pg_last_wa... |
[
{
"msg_contents": "\nHi, hackers,\n\nWhen I try to configure PostgreSQL 16.2 on Illumos using the following command,\nit complains $subject.\n\n ./configure --enable-cassert --enable-debug --enable-nls --with-perl \\\n --with-python --without-tcl --without-gssapi --with-openssl \\\n --with-ldap --w... |
[
{
"msg_contents": "Dear hackers,\n\nI was looking at how foreign keys deal with collations, and I came across this comment about not \nre-checking a foreign key if the column type changes in a compatible way:\n\n * Since we require that all collations share the same notion of\n * equality (which they do, be... |
[
{
"msg_contents": "I have a patch in the queue [1] that among other things tries to\nreduce the number of XIDs consumed during pg_upgrade by making\npg_restore group its commands into batches of a thousand or so\nper transaction. This had been passing tests, so I was quite\nsurprised when the cfbot started to ... |
[
{
"msg_contents": "Hi,\n\nI am aware of few previous attempts and discussions on this topic\n(eventually shelved or didn't materialize):\n\n- https://www.postgresql.org/message-id/45E2A6AE.1080805@oss.ntt.co.jp\n-\nhttps://www.postgresql.org/message-id/CA%2BTgmoZgapzekbTqdBrcH8O8Yifi10_nB7uWLB8ajAhGL21M6A%40mai... |
[
{
"msg_contents": "Cast_jsonb_to_hstore WIP\nv1\nThis extension add function that can cast jsonb to hstore.\nThat link to my github where does my extension lie\nhttps://github.com/antuanviolin/cast_jsonb_to_hstore\n\nCast_jsonb_to_hstore WIPv1This extension add function that can cast jsonb to hstore.That link t... |
[
{
"msg_contents": "Track last_inactive_time in pg_replication_slots.\n\nThis commit adds a new property called last_inactive_time for slots. It is\nset to 0 whenever a slot is made active/acquired and set to the current\ntimestamp whenever the slot is inactive/released or restored from the disk.\nNote that we d... |
[
{
"msg_contents": "I happened to notice that the set_cheapest() calls in functions\nset_namedtuplestore_pathlist() and set_result_pathlist() are redundant,\nas we've centralized the set_cheapest() calls in set_rel_pathlist().\n\nAttached is a trivial patch to remove these calls.\n\nBTW, I suspect that the set_c... |
[
{
"msg_contents": "Hi Alvaro,\n\nI met an issue related to Catalog not-null commit on HEAD.\n\npostgres=# CREATE TABLE t1(c0 int, c1 int);\nCREATE TABLE\npostgres=# ALTER TABLE t1 ADD CONSTRAINT Q PRIMARY KEY(c0, c1);\nALTER TABLE\npostgres=# \\d+ t1\n Table \"public.t... |
[
{
"msg_contents": "Hi,\n\nAt present time, an existing pg_is_in_recovery() method is not enough\nto distinguish a server being in point in time recovery (PITR) mode and \nan ordinary replica\nbecause it returns true in both cases.\n\nThat is why pg_is_standby_requested() function introduced in attached \npatch ... |
[
{
"msg_contents": "Hi Team,\n\n I am currently referring to the Postgres source code (psql (PostgreSQL) 14.3) and came across a particular section related to window aggregate initialization that has left me with a question. Specifically, I noticed a conditional case in the initialization of per aggregate (i... |
[
{
"msg_contents": "Hi!\n\nWe take care to always set application_name to improve our log lines\nwhere we use %a in log_line_prefix to log application name, per [1].\nBut notices which are sent to the client do not have the application\nname and are thus hard to attribute correctly. Could \"a\" be added with\nth... |
[
{
"msg_contents": "Our PostGIS bot that follows master branch has been crashing for past couple\nof days on one of our tests\n\nhttps://trac.osgeo.org/postgis/ticket/5701\n\nI traced the issue down to this commit:\nhttps://git.postgresql.org/gitweb/?p=postgresql.git;a=commit;h=66c0185a3d14b\nbbf51d0fc9d267093ff... |
[
{
"msg_contents": "I've been having trouble compiling PG 17 using msys2 / mingw64 (sorry my\nmeson setup is a bit broken at moment, so couldn't test that.).\n\nBoth my msys2 envs (Rev2, Built by MSYS2 project) 13.2.0 and my older\nsetup (x86_64-posix-seh-rev0, Built by MinGW-W64 project) 8.1.0\n\nHave the sam... |
[
{
"msg_contents": "Hi,\n\nNathan Bossart <nathandbossart(at)gmail(dot)com> writes:\n>Committed with that change. Thanks for the guidance on this one.\n\nI think that left an oversight in a commit d365ae7\n<https://github.com/postgres/postgres/commit/d365ae705409f5d9c81da4b668f59c3598feb512>\nIf the admin_role i... |
[
{
"msg_contents": "Greetings,\n\nThere is a report on the pgjdbc github JDBC Driver shows erratic behavior\nwhen filtering on CURRENT_DATE · pgjdbc/pgjdbc · Discussion #3184\n(github.com) <https://github.com/pgjdbc/pgjdbc/discussions/3184>\n\nHere are the plans.\n\nJDBC - Nested Loop (incorrect result)\n\nSort ... |
[
{
"msg_contents": "Hi,\n\nPer Coverity.\n\nCoverity has some reports in the new code\npg_createsubscriber.c\nI think that Coverity is right.\n\n1.\nCID 1542682: (#1 of 1): Resource leak (RESOURCE_LEAK)\nleaked_storage: Variable buf going out of scope leaks the storage it points\nto.\n\n2.\nCID 1542704: (#1 of 1... |
[
{
"msg_contents": "Hi -hackers,\n\nWhile chasing some other bug I've learned that backtrace_functions\nmight be misleading with top elog/ereport() address.\n\nReproducer:\n\n# using Tom's reproducer on master:\nwget https://www.postgresql.org/message-id/attachment/112394/ri-collation-bug-example.sql\necho '' >>... |
[
{
"msg_contents": "Hello hackers,\n\nWhen running multiple 027_stream_regress.pl test instances in parallel\n(and with aggressive autovacuum) on a rather slow machine, I encountered\ntest failures due to the subselect test instability just as the following\nfailures on buildfarm:\n1) https://buildfarm.postgresq... |
[
{
"msg_contents": "Noticed some newly introduced excessive trailing semicolons:\n\n$ git grep -E \";;$\" -- *.c *.h\nsrc/include/lib/radixtree.h: int deletepos =\nslot - n4->children;;\nsrc/test/modules/test_tidstore/test_tidstore.c: BlockNumber prevblkno = 0;;\n\nHere is a trivia... |
[
{
"msg_contents": "I am trying to discover the causes of occasional data loss in logical\nreplication; it is VERY rare and happens every few week/months. \n\nOur setup is a source DB running in docker on AWS cloud server. The\nsource database is stored in on local disks on the cloud server. \n\nThe replication ... |
[
{
"msg_contents": "Hi!\n\nI have the same problem as [1]. I have table something like:\n\nCREATE TABLE values (\n id int NOT NULL,\n revision int NOT NULL,\n data jsonb NOT NULL,\n PRIMARY KEY (id, revision)\n)\n\nAnd I would like to be able to specify PRIMARY KEY (id, revision DESC)\nbecause the most commo... |
[
{
"msg_contents": "You might have seen reports today about a very complex exploit added to\nrecent versions of liblzma. Fortunately, it was only enabled two months\nago and has not been pushed to most stable operating systems like Debian\nand Ubuntu. The original detection report is:\n\n https://www.op... |
[
{
"msg_contents": "Hi,\n\nWhile I working in [1], Coverity reported some errors:\n\nsrc/bin/pg_basebackup/pg_createsubscriber.c\nCID 1542690: (#1 of 2): Out-of-bounds access (OVERRUN)\nalloc_strlen: Allocating insufficient memory for the terminating null of\nthe string. [Note: The source code implementation of ... |
[
{
"msg_contents": "This is my first patch, so sorry if I miss something.\n\nIf I have a function which returns lots of columns and any of these columns\nreturns a wrong type it's not easy to see which one is that column because\nit points me only to its position, not its name. So, this patch only adds\nthat col... |
[
{
"msg_contents": "i am getting linking issues when trying to link libpq with my pg extension\nand i am using pg's libpq ,so libpq is built along with pg,so i did this in\nmy extension's cmakelists.txt\n\nfile (GLOB storage_SRC CONFIGURE_DEPENDS \"*.cpp\" )\nadd_library(storage OBJECT ${storage_SRC})\ntarget_li... |
[
{
"msg_contents": "Hi,\n\nWhen attempting to implement a new table access method, I discovered that\nrelation_copy_for_cluster() has the following declaration:\n\n\n void (*relation_copy_for_cluster) (Relation NewTable,\n Relation OldTable,\n ... |
[
{
"msg_contents": "Hi hackers,\n\nI'm playing a toy static analysis checker with PostgreSQL and found a\nvariable is missing volatile qualifier.\n\nBest Regards,\nXing",
"msg_date": "Mon, 1 Apr 2024 21:44:31 +0800",
"msg_from": "Xing Guo <higuoxing@gmail.com>",
"msg_from_op": true,
"msg_subject"... |
[
{
"msg_contents": "A warning was recently[0] introduced into the Meson build:\n\nWARNING: Project targets '>=0.54' but uses feature introduced in '0.55.0': Passing executable/found program object to script parameter of add_dist_script\n\nThere are 3 way to solve the issue that I have laid out in 3 separate \npa... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.