threads
listlengths
1
2.99k
[ { "msg_contents": "Hi all,\n\nHere my first patch for postgres. Starting by an easy thing, I correct \nthe duplicated \"the the\" strings from comments on some files.\n\n- src/backend/executor/execExpr.c\n- src/include/c.h\n- src/include/jit/llvmjit_emit.h\n- src/include/nodes/execnodes.h\n- src/include/replica...
[ { "msg_contents": "I'm not sure doc/bug.template still serves a purpose. There is bug\nreporting advice in the documentation, and there is a bug reporting\nform. This file just seems outdated. Should we remove it?\n\n-- \nPeter Eisentraut http://www.2ndQuadrant.com/\nPostgreSQL Development, 24x7...
[ { "msg_contents": "Hi,\n\nThe Release Management Team is pleased to announce that\nthe release date for PostgreSQL 11 Beta 1 is set to be 2019-05-23\n(wrapping [1] the release 2019-05-20).\n\nWe’re excited to make the first beta for this latest major\nrelease of PostgreSQL available for testing, and we welcome\...
[ { "msg_contents": "Hello hackers,\n\nSome users don't like the fact that ldapbindpasswd can leak into logs\n(and now system views?). Also, some users don't like the fact that it\nis in cleartext rather than some encryption scheme (though I don't\nknow what, since we'd presumably also need the key). I propose ...
[ { "msg_contents": "Hi,\n\nSince I keep forgetting the syntax and options, here is $SUBJECT.\n\n-- \nThomas Munro\nhttps://enterprisedb.com", "msg_date": "Tue, 14 May 2019 17:50:58 +1200", "msg_from": "Thomas Munro <thomas.munro@gmail.com>", "msg_from_op": true, "msg_subject": "Tab completion for...
[ { "msg_contents": "Hi,\n This is working in Oracle but not in postgresql 'CREATE INDEX\nclient.test_1_idx\n ON dbo.test_1 (name);' . Can we implement this by another way?\n\nThanks\nNavneet\n\nHi,   This is working in Oracle but not in postgresql 'CREATE INDEX client.test_1_idx  ON dbo.test_1 (name);'   . ...
[ { "msg_contents": "Hi,\n\nThat is an attempt number N+1 to relax checks for a temporary table access\nin a transaction that is going to be prepared.\n\nOne of the problems regarding the use of temporary tables in prepared transactions\nis that such transaction will hold locks for a temporary table after being p...
[ { "msg_contents": "The 'succeeded' argument seems backwards here:\n\n> static void\n> heapam_tuple_complete_speculative(Relation relation, TupleTableSlot *slot,\n> \t\t\t\t\t\t\t\t uint32 spekToken, bool succeeded)\n> {\n> \tbool\t\tshouldFree = true;\n> \tHeapTuple\ttuple = ExecFetchSlotHeapTuple(slot, true, ...
[ { "msg_contents": "Hi there I am interested about the project and have gone through the\nproject idea.\nBut I would like to know more about the project and the organization\nexpectations\nthe tech writers .Apart from the skills and language mentioned..what more\nskills/language you are expecting from technical ...
[ { "msg_contents": "Hi,\n\nVACUUM fails to parse 0 and 1 as boolean value\n\nThe document for VACUUM explains\n\n boolean\n Specifies whether the selected option should be turned on or off.\n You can write TRUE, ON, or 1 to enable the option, and FALSE, OFF,\n or 0 to disable it.\n\nBut VACUUM fails ...
[ { "msg_contents": "Hi,\n\nThere's a new set of CPU vulnerabilities, so far only affecting intel\nCPUs. Cribbing from the linux-kernel announcement I'm referring to\nhttps://xenbits.xen.org/xsa/advisory-297.html\nfor details.\n\nThe \"fix\" is for the OS to perform some extra mitigations:\nhttps://www.kernel.org...
[ { "msg_contents": "Hi all,\n\nI have just finished my annual set of checks with\nwal_consistency_checking enabled based on f4125278, and I am seeing no\nfailures when replaying comparison pages on a standby.\n\nThanks,\n--\nMichael", "msg_date": "Wed, 15 May 2019 13:10:30 +0900", "msg_from": "Michael Pa...
[ { "msg_contents": "Hi,\r\nCurrently any DDL operations (Create Indexes, Drop Indexes etc.) when run during an existing concurrent index build on the same table causes the index build to fail with “deadlock detected”. This is a pain-point specially when we want to kick-off multiple concurrent index builds on the...
[ { "msg_contents": "Hi all,\n\nWhen we build hash table for a hash join node etc., we split tuples into\ndifferent hash buckets. Since tuples could not all be held in memory.\nPostgres splits each bucket into batches, only the current batch of bucket\nis in memory while other batches are written to disk.\n\nDuri...
[ { "msg_contents": "Hi all, I’m working on an FDW that would benefit greatly from parallel foreign scan. I have implemented the callbacks described here:https://www.postgresql.org/docs/devel/fdw-callbacks.html#FDW-CALLBACKS-PARALLEL. and I see a big improvement in certain plans.\n\nMy problem is that I can’t se...
[ { "msg_contents": "Here's a bunch of message fixes in the postgres.po module. Please\ncomment if anything seems amiss. This is not a final patch, since\nregression output has not been adjusted; I only verified that the\nbackend still compiles cleanly. Some of the changes are going from this\nstyle of message...
[ { "msg_contents": "Hi,\n\nWhile looking at [1] I was rephrasing this comment + chck in\nheap_get_latest_tid():\n\n-\t * Since this can be called with user-supplied TID, don't trust the input\n-\t * too much. (RelationGetNumberOfBlocks is an expensive check, so we\n-\t * don't check t_ctid links again this way....
[ { "msg_contents": "catalog/pg_constraint.h defines a typedef ClonedConstraint,\nwhich AFAICS is no longer referenced anywhere. Is there a\nreason not to remove it?\n\n(I noticed this while eyeballing a test pgindent run.)\n\n\t\t\tregards, tom lane\n\n\n", "msg_date": "Wed, 15 May 2019 15:05:43 -0400", ...
[ { "msg_contents": "Hello,\n\nAs discussed elsewhere[1][2], our algorithm for deciding when to give\nup on repartitioning (AKA increasing the number of batches) tends to\nkeep going until it has a number of batches that is a function of the\nnumber of distinct well distributed keys. I wanted to move this minor\...
[ { "msg_contents": "Hi!\n\nGreetings from OSGeo Code sprint in Minneapolis :)\n\nWe're trying to make FULL JOIN on equality of geometry and can't figure out\nwhy it doesn't work.\n\nHere's reproducer, it works on bytea but not on PostGIS geometry throwing\nout\n\nERROR: FULL JOIN is only supported with merge-joi...
[ { "msg_contents": "Hi,\n\nConsider the below test:\n\ncreate tablespace mytbs location '/home/rushabh/mywork/workspace/pg/';\ncreate table test ( a int , b int ) partition by list (a);\n\nset default_tablespace to mytbs;\ncreate table test_p1 partition of test for values in (1);\n\nIn the above test, after the ...
[ { "msg_contents": "Hi all,\n\nIt seems my approach was quite candid because, of all postgres client\napplications, some document usage of connection string whereas other don't.\nThen, several ways of using connection strings are involved.\n\nHere is a little digest:\n\n| Postgres Client Application | Connection...
[ { "msg_contents": "Hi,\n\nI noticed that there is (another) oddity in commit aa09cd242f: in the\n!fpinfo->use_remote_estimate mode, when first called for costing an\nunsorted foreign scan, estimate_path_cost_size() computes\nretrieved_rows, which is the estimated number of rows fetched from the\nremote server, ...
[ { "msg_contents": "I'm trying to convert SAP Hana procedures in PG and i'm not able to handle\nbelow scenario in Postgres 11\n\nScenario: I want to pass a table (Multiple rows) to function and use it\ninside as a temp table.\n\nSample Code:\n\ncreate a table tbl_id (id int, name character varying (10));\ninsert...
[ { "msg_contents": "We should do a pgindent run fairly soon, so that people with patches\nawaiting the next CF will have plenty of time to rebase them as necessary.\nI don't want to do it right this minute, to avoid making trouble for the\nseveral urgent patches we're trying to get done before Monday's beta1\nwr...
[ { "msg_contents": "Hi,\n\ntable_update and table_delete both have comments that document all of\ntheir input parameters *except* for snapshot. This seems like an\noversight, especially because:\n\n * crosscheck - if not InvalidSnapshot, also check tuple against this\n\nWithout a comment about snapshot, wh...
[ { "msg_contents": "Hello,\n\nThis is in context with the previous mail I created dated April 30, 2019 in\nregard to GSoD'19.\nI am really interested to work on building a \"Mumbo-Jumbo PostgreSQL\ndictionary\".\nI am looking forward to a reply.\n\nThanking You\n\nManish Devgan\nhttps://github.com/gabru-md\nmani...
[ { "msg_contents": "Hackers,\n\nmost places that use SPI_connect ... SPI_finish check the\nreturn value of SPI_finish and elog if it failed. There\nare a few places that do not, and it is unclear to me\nwhy this is safe. SPI_finish appears to be needed to\nclean up memory contexts.\n\nExamples can be found in:...
[ { "msg_contents": "Currently TOAST table is always created (if needed based on data type\nproperties) independent of table AM. How toasting is handled seems\nshould be AM responsibility. Generic code shouldn't force the use of\nthe separate table for the same. Like for Zedstore we store toasted\nchunks in separ...
[ { "msg_contents": "In a nearby thread[1], Ashwin Agrawal complained that there is no way\nfor a table AM to get rid the TOAST table that the core system thinks\nshould be created. To that I added a litany of complaints of my own,\nincluding...\n\n- the core system decides whether or not a TOAST table is needed...
[ { "msg_contents": "So, I noticed that if I make a table in one schema and then a table with the\nsame name in another schema that describe only shows me one of them.\nDemonstrating with temp table and regular table just for simplicity:\nIf I make a temp table t1 and a normal table t1 (it doesn't\nmatter which o...
[ { "msg_contents": "Hackers,\n\nHead of master is giving me a segfault on running ANALYZE when isolation mode is SERIALIZABLE.\n\nMy configure:\n\nexport CFLAGS=\"-g\"\nexport LDFLAGS=\"-L/usr/local/opt/readline/lib\"\nexport CPPFLAGS=\"-I/usr/local/opt/readline/include\"\n\n./configure \\\n --prefix=/Users/jo...
[ { "msg_contents": "Hello hackers,\n\nI've stumbled upon a misspelled HAVE_ZLIB in a comment and decided to\ncheck all the unique identifiers/entities in the source tree. Using the\nballeyeing technique I've processed questionable A* and HAVE_* unicums\n(for now). The patches for every one are attached.\n\n1. AE...
[ { "msg_contents": "When bitmap-only heap scans were introduced in v11 (7c70996ebf0949b142a99)\nno changes were made to \"EXPLAIN\". This makes the feature rather opaque.\nYou can sometimes figure out what is going by the output of EXPLAIN\n(ANALYZE, BUFFERS), but that is unintuitive and fragile.\n\nLooking at ...
[ { "msg_contents": "Hi,\n\nWhile looking at fixing [1] on master, I noticed the following\ncodeblock:\n\nstatic HeapScanDesc\nheap_beginscan_internal(Relation relation, Snapshot snapshot,\n\t\t\t\t\t\tint nkeys, ScanKey key,\n\t\t\t\t\t\tParallelHeapScanDesc parallel_scan,\n\t\t\t\t\t\tbool allow_strat,\n\t\t\t\...
[ { "msg_contents": "Hi,\n\nCan I obtain a document with the organisational structure of this mailing\nlist. I would like to foresee what happens with my email.\n\nConcretely I would like to know if there is a filtering and/or relaying\nperson or algorithm involved\n\nThanks\n\nSascha\n\nHi,Can I obtain a documen...
[ { "msg_contents": "Hi all,\n\nMany of the grammars could be clarified. For instance there's a number of useless associativity and/or precedence declarations. Maybe the point is to leave some form of a documentation, but actually, since it's not used at all by the tool, that documentation is not checked.\n\nIn...
[ { "msg_contents": "Hello,\n\nNowadays, PostgreSQL is often used behind proxies. Some are PostgreSQL\nprotocol aware (Pgpool, PgBouncer), some are pure TCP (HAProxy). From\nthe database instance point of view, all clients come from the proxy.\n\nThere are two major problems with this topology:\n\n* It neutralize...
[ { "msg_contents": "Hi,\n\nI seem to recall that we expect tests to either work with\ndefault_transaction_isolation=serializable, or to set it to a different\nlevel where needed.\n\nCurrently that's not the case. When running check-world with PGOPTIONS\nset to -c default_transaction_isolation=serializable I get ...
[ { "msg_contents": "Hi,\n\nHere's a one-off regression test failure of a sort that commit\n624e440a intended to fix. a_star unexpectedly sorted higher. I\nchecked the space weather forecast for this morning but no sign of\nsolar flares. More seriously, it did the same in all 3 Parallel\nAppend queries. Recen...
[ { "msg_contents": "Hello,\n\nThis week I upgraded one of my large(2.8TB), high-volume databases from 9\nto 11. The upgrade itself went fine. About two days later, we unexpectedly\nhit transaction ID wraparound. What was perplexing about this was that the\nage of our oldest `datfrozenxid` was only 1.2 billion - ...
[ { "msg_contents": "Hi,\n\nThis patch series is to add support for spgist quadtree @<(point,circle)\noperator. The first two patches are to refactor existing code before\nimplemention the new feature. The third commit is the actual implementation\nprovided with a set of simple unit tests.\n\nChanges since v2:\n ...
[ { "msg_contents": "Someone probably forgot to update the comment when changing the arguments.\n\n-- \nAntonin Houska\nWeb: https://www.cybertec-postgresql.com", "msg_date": "Mon, 20 May 2019 16:03:40 +0200", "msg_from": "Antonin Houska <ah@cybertec.at>", "msg_from_op": true, "msg_subject": "Inac...
[ { "msg_contents": "Hello,\n\nWhile trying to setup a test environment under Windows I have managed to\nbuild the source using the latest Visual Studio 2019 [1].\n\nIt's only been tested in this one environment, Windows 10 x64, but the\nchanges seem tool dependant only.\n\nRegards,\n\nJuan José Santamaría Flecha...
[ { "msg_contents": "I have a question about this (really exciting) feature coming in pg12:\n\nAllow ALTER TABLE .. SET DATA TYPE timestamp/timestamptz to avoid a table\nrewrite when the session time zone is UTC (Noah Misch)\n\nIn the UTC time zone, the data types are binary compatible.\n\nWe actually want to mig...
[ { "msg_contents": "Hello,\n\nI posted this to the \"clean up docs for v12\" thread and it was\nsuggested I make a new thread instead, so here it is. Sorry for the\nextra noise! :-)\n\nI noticed the docs at\nhttps://www.postgresql.org/docs/devel/ddl-partitioning.html still say\nyou can't create a foreign key ref...
[ { "msg_contents": "Hello,\nCommit 578b229718e8f remove oids option from pg_dump but its is\nstill in pg_dumpall .The attach patch remove it\nregards\nSurafel", "msg_date": "Tue, 21 May 2019 09:31:48 +0300", "msg_from": "Surafel Temesgen <surafel3000@gmail.com>", "msg_from_op": true, "msg_subject...
[ { "msg_contents": "Perhaps it's just a matter of taste, but I think the TupleTableSlotOps\nstructure, once initialized, should be used wherever possible. At least for me\npersonally, when I read the code, the particular callback function name is a\nbit disturbing wherever it's not necessary.\n\n-- \nAntonin Hou...
[ { "msg_contents": "Consider:\n\nCREATE TABLE testwid\n(\n txtnotnull text,\n txtnull text,\n int8notnull int8,\n int8null int8\n);\nINSERT INTO testwid\nSELECT 'a' || g.i,\n NULL,\n g.i,\n NULL\nFROM generate_series(1,10000) AS g(i);\nANALYZE testwid;\nSELECT attname, avg_width FROM pg_sta...
[ { "msg_contents": "> On Wed, Mar 27, 2019 at 11:42 AM Haribabu Kommi\n<kommi(dot)haribabu(at)gmail(dot)com>\n> wrote:\n>\n> Visual Studio 2019 is officially released. There is no major change in the\n> patch, except some small comments update.\n>\n> Also attached patches for the back branches also.\n>\n\nI have...
[ { "msg_contents": "Given the number of different people that have sent in patches\nfor building with VS2019, it doesn't seem to me that we ought\nto let that wait for v13. We could treat it as something that\nwe only intend to go into v12, or we could think that we ought\nto back-patch it, but either way it sh...
[ { "msg_contents": "Attached is a patch for a write after allocated memory which we found in\ntesting. Its an obscure case but can happen if the same column is used in\ndifferent grouping keys, as in the example below, which uses tables from\nthe regress test suite (build with --enable-cassert in order to turn o...
[ { "msg_contents": "Hi,\n\nAttached is a draft of the PG12 Beta 1 press release that is going out\nthis Thursday. The primary goals of this release announcement are to\nintroduce new features, enhancements, and changes that are available in\nPG12, as well as encourage our users to test and provide feedback to\nh...
[ { "msg_contents": "Hi all,\n\nAs some may have noticed, I have been looking at the ACL dump ordering\nfor databases, and I have noticed the same issue with tablespaces:\nhttps://www.postgresql.org/message-id/20190522062626.GC1486@paquier.xyz\n\nFor the sake of avoiding looking at the other email, here is how to...
[ { "msg_contents": "Hi all,\n\nTrying to do pg_dump[all] on a 9.5 or older server results in spurious\nfailures:\npg_dump: column number -1 is out of range 0..36\n\nAfter looking around, the problem comes from\ncheck_tuple_field_number(), more specifically from getTables() where\nsomeone has forgotten to add NUL...
[ { "msg_contents": "Our Solaris packager reports that 12beta1 is failing to build for him\non some Solaris variants:\n\n> The link failure is:\n\n> ---\n> Undefined\t\t\tfirst referenced\n> symbol \t\t\t in file\n> ReadNextFullTransactionId pg_checksums.o\n> ld: fatal: symbol referencing errors. N...
[ { "msg_contents": "Hello,\n\nI have recently observed a deadlock on one of our production servers related\nto locking only a single row in a job table. There were two functions involved\nin the deadlock, the first one acquires a “for key share” lock on the row that\nrepresents the job it works on and subsequent...
[ { "msg_contents": "Hi,\n\na customer reported excessive memory usage and out-of-memory ERRORs\nafter introducing native partitioning in one of their databases. We\ncould narrow it down to the overhead introduced by the partitioning when\nissuing multiple statements in a single query. I could reduce the\nprobl...
[ { "msg_contents": "[ redirected from a thread in pgsql-committers[1] ]\n\nAs of commit eb9812f27 you can run a manual check-world with\nstdout dumped to /dev/null, and get fairly clean results:\n\n$ time make check-world -j10 >/dev/null\nNOTICE: database \"regression\" does not exist, skipping\n\nreal 1m43....
[ { "msg_contents": "Hackers,\n\nI have been auditing the v12 source code for places\nwhich inappropriately ignore the return value of a function\nand have found another example which seems to me\na fertile source of future bugs.\n\nIn src/backend/nodes/list.c, list_delete_cell frees the list\nand returns NIL whe...
[ { "msg_contents": "Hi,\n\nHere are some tiny things I noticed in passing.\n\n-- \nThomas Munro\nhttps://enterprisedb.com", "msg_date": "Thu, 23 May 2019 13:28:45 +1200", "msg_from": "Thomas Munro <thomas.munro@gmail.com>", "msg_from_op": true, "msg_subject": "Minor typos and copyright year slipp...
[ { "msg_contents": "Hackers,\n\nThe return value of gimme_edge_table is not used anywhere in the\ncore code, so far as I can see. But the value is computed as\n\n /* return average number of edges per index */\n return ((float) (edge_total * 2) / (float) num_gene);\n\nwhich involves some floating point math. ...
[ { "msg_contents": "Over on [1] I raised a concern about the lack of any warning in our\ndocuments to inform users that they might not want to use thousands of\npartitions. More recently there's [2], also suffering from OOM using\n100 partitions. Perhaps there's more too this, but the planner using\na lot of m...
[ { "msg_contents": "Hi,\nI am trying to use a create function in order to update some values in a\ntable (see below code).\nHowever, when I run the function, it never enters into the following loop\n*FOR r IN SELECT * FROM immatriculationemployeursucctemp2 where succursale\n= quote_literal(s.succursale) order b...
[ { "msg_contents": "Hi hackers!\nI am a student participating in GSoC 2019. I am looking forward to working\nwith you all and learning from you.\nMy project would aim to provide the ability to de-TOAST a fully TOAST'd and\ncompressed field using an iterator.\nFor more details, please take a look at my proposal[0...
[ { "msg_contents": "Hackers,\n\nIn src/backend/snowball/libstemmer/utilities.c, 'create_s' uses\nmalloc (not palloc) to allocate memory, and on memory exhaustion\nreturns NULL rather than throwing an exception. In this same\nfile, 'replace_s' calls 'create_s' and if it gets back NULL, returns\nthe error code -1...
[ { "msg_contents": "Now that beta is out, I wanted to do some crash-recovery testing where I\ninject PANIC-inducing faults and see if it recovers correctly. A long-lived\nPerl process keeps track of what it should find after the crash, and\nverifies that it finds it. You will probably be familiar with the gener...
[ { "msg_contents": "Hackers,\n\nIn src/backend/storage/ipc/barrier.c, BarrierAttach\ngoes to the bother of storing the phase before\nreleasing the spinlock, and then returns the phase.\n\nIn nodeHash.c, ExecHashTableCreate ignores the\nphase returned by BarrierAttach, and then immediately\ncalls BarrierPhase to ...
[ { "msg_contents": "Hi,\n\nI noticed that v12 release notes is referencing the wrong GUC. It\nshould be recovery_target_timeline instead of recovery_target_time.\nPatch attached.\n\n\n-- \n Euler Taveira Timbira -\nhttp://www.timbira.com.br/\n PostgreSQL: Consultoria, Desenv...
[ { "msg_contents": "Hackers,\n\nI have seen other lengthy discussions about fsync semantics, and if this\nquestion is being addressed there, this question might not be relevant.\n\nTwo calls to durable_unlink at log level DEBUG1 are ignoring the\nreturn value. Other calls at ERROR and FATAL are likewise ignorin...
[ { "msg_contents": "Hackers,\n\nI only see three invocations of ClosePipeStream in the sources.\nIn two of them, the return value is checked and an error is raised\nif it failed. In the third, the error (if any) is squashed.\n\nI don't know if a pipe stream over \"locale -a\" could ever fail to\nclose, but it s...
[ { "msg_contents": "Hi,\n\nRight now we don't indicate that a top-n sort is going to be used in\nEXPLAIN, just EXPLAIN ANALYZE. That's imo suboptimal, because one quite\nlegitimately might want to know that before actually executing (as it\nwill make a huge amount of difference in the actual resource intensity\n...
[ { "msg_contents": "It appears there is no mention of lack of support for CREATE INDEX\nCONCURRENTLY on partitioned index in the documents.\n\nAdded in the attached.\n\n-- \n David Rowley http://www.2ndQuadrant.com/\n PostgreSQL Development, 24x7 Support, Training & Services", "msg_date": "...
[ { "msg_contents": "Hi,\n\nI compared two data structures realistically by time, after estimating big\nO. T-tree outperforms b-tree, which is commonly used, for a medium size\ntable. Lehmann and Carey showed the same, earlier.\n\nCan you improve indexing by this?\n\nUnderstandably\n\nSascha Kuhl", "msg_date"...
[ { "msg_contents": "With a sample query such as\n\nSELECT x, avg(x)\nFROM (VALUES (1), (2), (3)) AS v (x);\n\nWe give the error message \"column \"v.x\" must appear in the GROUP BY\nclause or be used in an aggregate function\".\n\nThis is correct but incomplete. Attached is a trivial patch to also\nsuggest that...
[ { "msg_contents": "Hello\n\nI execute following query to the partitioned table, but the plan is different from my assumption, so please tell me the reason.\n\npostgres=# explain select * from jta, (select a, max(b) from jtb where a = 1 group by a ) c1 where jta.a = c1.a;\n QUERY P...
[ { "msg_contents": "The following bug has been logged on the website:\n\nBug reference: 15819\nLogged by: KOIZUMI Satoru\nEmail address: koizumistr@minos.ocn.ne.jp\nPostgreSQL version: 11.3\nOperating system: (Any)\nDescription: \n\nIn example of random_zipfian, the explanation is \"...
[ { "msg_contents": "Hi,\n\nIs it possible to obtain money for a contribution I give hear. Or is\neverything expected to be free?\n\nRegards\n\nSascha Kuhl\n\nHi,Is it possible to obtain money for a contribution I give hear. Or is everything expected to be free?RegardsSascha Kuhl", "msg_date": "Fri, 24 May 20...
[ { "msg_contents": "Hackers,\n\nThe return value of RegisterSnapshot is being ignored in a\nfew places in indexam.c and tableam.c, suggesting an\nintimate knowledge of the inner workings of the snapshot\nmanager from these two files. I don't think that is particularly\nwise, and I don't see a performance justif...
[ { "msg_contents": "The documentation for generated columns should probably say whether\nyou can create indexes on them.\n\n\n", "msg_date": "Fri, 24 May 2019 20:56:08 +0200", "msg_from": "Florian Weimer <fw@deneb.enyo.de>", "msg_from_op": true, "msg_subject": "Generated columns and indexes" } ...
[ { "msg_contents": "Hi,\n\n11.3 included some change to partition table planning. Namely\ncommit 925f46f (\"Fix handling of targetlist SRFs when scan/join relation is\nknown empty.\") seems to redo all paths for partitioned tables\nin apply_scanjoin_target_to_paths. It clears the paths in:\n\n```\n if (rel_is_pa...
[ { "msg_contents": "CREATE TABLE circles (c circle, EXCLUDE USING gist (c WITH &&));\n\nREINDEX TABLE CONCURRENTLY circles;\nWARNING: cannot reindex exclusion constraint index \"public.circles_c_excl\"\nconcurrently, skipping\nNOTICE: table \"circles\" has no indexes\nREINDEX\n\nThe message \"table has no inde...
[ { "msg_contents": "Hello PostgreSQL Mentors,\r\n\r\nHello, my name is Sharon Clark and I’m a technical writer interested in the Google Season of Docs (GSoD) project for PostgreSQL. My interest stems from working with developers and moving toward software documentation. The GSoD project is a great opportunity fo...
[ { "msg_contents": "Here's a small patch series aimed to both clean up a few misuses of\nstring functions and also to optimise a few things along the way.\n\n0001: Converts various call that use appendPQExpBuffer() that really\nshould use appendPQExrBufferStr(). If there's no formatting then\nusing the former f...
[ { "msg_contents": "Hello hackers,\n\nI've done another round of cross-checking the master branch for new\nunique identifiers/words. As my previous attempt to fix things was not\nnoticed, now I'm focusing on distinct typos.\n1. authenticaion (user-visible string)\n2. becuase\n3. checkinunique\n4. cheep\n5. compa...
[ { "msg_contents": "How do I get rid of this slot ?\n\nselect pg_drop_replication_slot('mysub');\nERROR: replication slot \"mysub\" is active for PID 13065\ntest_database=# select * from pg_subscription;\n subdbid | subname | subowner | subenabled | subconninfo | subslotname |\nsubsynccommit | subpublications\n...
[ { "msg_contents": "Hello hackers,\n\nPlease also consider fixing the following inconsistencies found in new\nv12 code:\n\n1. AT_AddOids - remove (orphaned after 578b2297)\n2. BeingModified ->TM_BeingModified (for consistency)\n3. copy_relation_data -> remove (orphaned after d25f5191)\n4. endblock -> endblk (an ...
[ { "msg_contents": "Was this just forgotten?\n\n-- \nPeter Eisentraut http://www.2ndQuadrant.com/\nPostgreSQL Development, 24x7 Support, Remote DBA, Training & Services\n\n\n", "msg_date": "Sun, 26 May 2019 08:12:30 +0200", "msg_from": "Peter Eisentraut <peter.eisentraut@2ndquadrant.com>", ...
[ { "msg_contents": "In the v12 beta1 release note:\n\nE.1.3.9. Server Applications\n\n Allow vacuumdb to select tables for vacuum based on...\n\nWhy is vacuumdb listed in \"Server Applications\"? It's in \"PostgreSQL\nClient Applications\" section in our manual.\n\nBest regards,\n--\nTatsuo Ishii\nSRA OSS, In...
[ { "msg_contents": "Hi,\n\nI noticed the estimated rows of the base relations during the join\nsearching is *very* different from the estimations in the final plan.\n\nJoin search (rows of the initial_rels):\nRELOPTINFO (ct): rows=1 width=4\nRELOPTINFO (it): rows=1 width=4\nRELOPTINFO (mc): rows=17567 width=32\n...
[ { "msg_contents": "We've had numerous bug reports complaining about the fact that ALTER TABLE\ngenerates subsidiary commands that get executed unconditionally, even\nif they should be discarded due to an IF NOT EXISTS or other condition;\nsee e.g. #14827, #15180, #15670, #15710. In [1] I speculated about\nfixi...
[ { "msg_contents": "Hi,\n\nI noticed returning a modified record in a row-level BEFORE UPDATE trigger\non postgres_fdw foreign tables do not work. Attached patch fixes this issue.\n\nBelow are scenarios similar to postgres_fdw test to reproduce the issue.\n\npostgres=# CREATE SERVER loopback FOREIGN DATA WRAPPER...
[ { "msg_contents": "I got some idea from the README under storage/lmgr and read some code of\nLockAcquireExtended , but I still have some questions now.\n\nLWLockAcquire(&MyProc->backendLock, LW_EXCLUSIVE);\nif (FastPathStrongRelationLocks->count[fasthashcode] != 0)\n acquired = false;\nelse\n acquired ...
[ { "msg_contents": "Hello,\n\nWhen investigating behavior of \"DISCARD ALL\", I found that order of\nsteps of equivalent sequence in documentation is not updated with\nchanges in code.\n\nPlease find attached patch to fix documentation.\n\nBest Regards,\nJan Chochol", "msg_date": "Mon, 27 May 2019 09:37:53 +...
[ { "msg_contents": "Hi, hackers.\n\nThere is the following problem with Postgres at Windows: files of \ndropped relation can be blocked for arbitrary long amount of time.\nSuch behavior is caused by two factors:\n1. Windows doesn't allow deletion of opened file.\n2. Postgres backend caches opened descriptors and...
[ { "msg_contents": "Hi,\n\nI am getting this below error - after performing pg_rewind when i try to \nstart new slave ( which earlier was my master) against PGv12 Beta1.\n\"\ncp: cannot stat ‘pg_wal/RECOVERYHISTORY’: No such file or directory\n2019-05-27 18:55:47.387 IST [25500] LOG:  entering standby mode\ncp: ...
[ { "msg_contents": "Dear moderator,\n\nAre there teams behind the names or does everybody write with their\npersonal name?\n\nSascha kuhl\n(personal name)\n\nDear moderator,Are there teams behind the names or does everybody write with their personal name?Sascha kuhl(personal name)", "msg_date": "Mon, 27 May ...
[ { "msg_contents": "The following bug has been logged on the website:\n\nBug reference: 15821\nLogged by: Christian Hofstaedtler\nEmail address: ch+pg@zeha.at\nPostgreSQL version: 11.3\nOperating system: Debian stretch amd64\nDescription: \n\nWe have enabled auto_explain and see error...
[ { "msg_contents": "I propose to add a column \"command\" to pg_stat_progress_create_index.\nThe sibling view pg_stat_progress_cluster already contains such a\ncolumn. This can help distinguish which command is running and thus\nwhich phases to expect. It seems reasonable to keep these views\nconsistent, too. ...
[ { "msg_contents": "Please see attached the patch that corrects the file-level SQL comment that\nindicates which submodule of pgcrypto is being tested.\n\nBest regards,\n-- \nGurjeet Singh http://gurjeet.singh.im/", "msg_date": "Mon, 27 May 2019 19:25:37 -0700", "msg_from": "Gurjeet Singh <gurjeet@singh....