threads listlengths 1 2.99k |
|---|
[
{
"msg_contents": "Hi hackers,\n\nI just noticed that psql's tab completion for ALTER TABLE … SET\nTABLESPACE was treating it as any other configuration parameter and\ncompleting with FROM DEFAULT or TO after it, instead of a list of\ntablespaces.\n\nPFA a patch that fixes this.\n\n- ilmari\n-- \n\"A disappoint... |
[
{
"msg_contents": "Hi hackers!\n\nI've been at the database conference and here everyone is talking about cache prefetches.\n\nI've tried simple hack\n\ndiff --git a/src/backend/access/nbtree/nbtsearch.c b/src/backend/access/nbtree/nbtsearch.c\nindex d3700bd082..ffddf553aa 100644\n--- a/src/backend/access/nbtre... |
[
{
"msg_contents": "To reproduce, compare the output of \\dC on two built-in casts(json to jsonb) and (xml to text) where only the the first is really \"with inout\".\n\nI've been using the folllowing query which (I believe) correctly shows\nthe (json to jsonb) cast as \"with inout\"\n\nSELECT\n CONCAT('CREATE... |
[
{
"msg_contents": "Hi,\n\n \n\nPlease find a question that didn't get an answer in the pgsql-sql list. I\nhope I'll get an answer here.\n\n \n\nThanks,\n\n \n\nOlivier\n\n \n\nDe : Olivier Leprêtre [mailto:o.lepretre@gmail.com] \nEnvoyé : mardi 28 août 2018 17:37\nÀ : 'pgsql-sql@lists.postgresql.org'\nObjet : p... |
[
{
"msg_contents": "Hi,\n\nmy colleague Bernd Helmle recently added progress reporting to our\npg_checksums application[1]. I have now forward ported this to\npg_verify_checksums for the September commitfest, please see the\nattached patch.\n\nHere's the description:\n\nThis optionally prints the progress of pg_... |
[
{
"msg_contents": "Hi,\n\n \n\nPlease find a question that didn't get an answer in the pgsql-sql list. I\nhope I'll get an answer here.\n\n \n\nThanks,\n\n \n\nOlivier\n\n \n\n \n\nDe : Olivier Leprêtre [mailto:o.lepretre@gmail.com] \nEnvoyé : mercredi 29 août 2018 15:49\nÀ : 'pgsql-sql@lists.postgresql.org'\nO... |
[
{
"msg_contents": "Hi. I have a question about PostgreSQL logical decoder output plugin.\n\nI am not specialist in Postgres at all, so maybe I miss some very\nbasic point. In the plugin, I want to always get all the values (even\nthose that are unchanged toast data)\n\n\nWhen I try to get the datum that is int... |
[
{
"msg_contents": "The current documentation is inconsistent about the JOHAB character encoding on server side. While the first table says that it is not possible to use JOHAB on server side, it is still listed in table 23.2 as a server character set:\n\nhttps://www.postgresql.org/docs/devel/static/multibyte.ht... |
[
{
"msg_contents": "Hi mentors and hackers,\n\n Thanks again for supporting me to pass the GSoC summer project and I\nfound that I have a learnt a lot during this project! Although the project\nis completed, I am thinking of contributing to PostgreSQL community in the\nlong term. So, the purpose of this email ... |
[
{
"msg_contents": "Hi\n\nAlready mentioned this in \nhttps://postgr.es/m/20180831205020.nxhw6ypysgshjtnl@alvherre.pgsql\n\nWhile trying to add support for foreign keys to partitioned tables, I\nnoticed that commit 8224de4f42cc (\"Indexes with INCLUDE columns and\ntheir support in B-tree\") added a column to pg_... |
[
{
"msg_contents": "Hi all,\n\nWhile looking at another patch for slot.c, I have noticed what looks\nlike incorrect use of errcode_for_file_access:\n- errcode_for_file_access() is used with rmtree(), which makes no sense\nas this comes from common/rmtree.c, and a warning already shows up using\n%m.\n- ERRCODE_DA... |
[
{
"msg_contents": "Two of the out arguments name of function\n\"pg_identify_object_as_address\" are not as documented.\nDocumentation says \"name\" and \"args\", but function returns\n\"object_names\" and \"object_args\".\n\nThis query shows what the function returns:\nselect (pg_identify_object_as_address(clas... |
[
{
"msg_contents": "This email thread from last year:\n\n\thttps://www.postgresql.org/message-id/flat/CAMjNa7cC4X9YR-vAJS-jSYCajhRDvJQnN7m2sLH1wLh-_Z2bsw%40mail.gmail.com\n\ngot stuck on when to check for certain optimizations in the planner. It\nwas discussed that knowing a plan was going to be expensive _befo... |
[
{
"msg_contents": "I noticed this strange hack in RelationBuildPartitionDesc:\n\n /*\n * It is possible that the pg_class tuple of a partition has not been\n * updated yet to set its relpartbound field. The only case where\n * this happens is when we open the parent relation to check... |
[
{
"msg_contents": "Hello,\n\nWe are using PostgreSQL to execute some SQL scripts \"auto translated\" from HIVE QL, where the join operator \"<=>\" is heavily used. The semantic same operator in PostgreSQL is \"IS NOT DISTINCT FROM\".\n\nHowever, we found when \"IS NOT DISTINCT FROM\" is used in joins, only nest... |
[
{
"msg_contents": "\nCollegues,\n\nFew days ago commit \n\n 1f349aa7d9a6633e87db071390c73a39ac279ba4\n\nFix 8a934d67 for libc++ and make more include order resistant. \n\nwas introduced into branch REL_11_STABLE.\nIt seems that it deals with GLIBC-based systems (i.e Linux and Hurd)\nonly, and shouldn't affect s... |
[
{
"msg_contents": "Clean up after TAP tests in oid2name and vacuumlo.\n\nOversights in commits 1aaf532de and bfea331a5. Unlike the case for\ntraditional-style REGRESS tests, pgxs.mk doesn't have any builtin support\nfor TAP tests, so it doesn't realize it should remove tmp_check/.\nMaybe we should build some a... |
[
{
"msg_contents": "Hello,\n\nWhile reviewing the ICU versioning work a while back, I mentioned the\nidea of using a user-supplied command to get a collversion string for\nthe libc collation provider. I was reminded about that by recent news\nabout an upcoming glibc/CLDR resync that is likely to affect\nPostgre... |
[
{
"msg_contents": "Hi,\n\nWe recently encountered an issue where the opaque data flags on a gin data leaf page was corrupted while replaying a gin insert WAL record. Upon further examination of the redo code, we found a bug in ginRedoRecompress code, which extracts the WAL information and updates the page.\n\nS... |
[
{
"msg_contents": "Hi Stephen,\n\nWhile hacking another patch, I have noticed that triggerring multiple\ntimes in a row installcheck on test_pg_dump results in a failure because\nit is missing clean up actions on the role regress_dump_test_role.\nRoles are shared objects, so I think that we ought to not let tra... |
[
{
"msg_contents": "Hello,\n\nWhen an empty namespace is being initially populated with certain objects,\nit is possible for a DROP SCHEMA operation to come in and delete the\nnamespace without using CASCADE. These objects would be created but are\nleft unusable. This is capable of leaving behind pg_class, pg_... |
[
{
"msg_contents": "Hi,\n\nAs we know, current planner will generate additional restriction clauses\nfrom\nequivalence clauses. This will generally lower the total cost because some\nof\ntuples may be filtered out before joins.\n\nIn this patch, we are trying to do the similar deduction, from\nnon-equivalence\nc... |
[
{
"msg_contents": "Hi,\n\nI have a bug in Windows 7 with max_files_per_process> 1200.\n\nUsing dup (0) in the function count_usable_fds more than 1200 times (0 \n= stdin) causes further unpredictable errors with file operations.\n\nWhen I open a real file and use its descriptor for the dup, no error \noccurs. ... |
[
{
"msg_contents": "Hi all;\n\nFor the last few months we have been facing a funny problem on a slave\nwhere queries go to 100% cpu usage and never finish, causing the recovery\nprocess to hang and the replica to fall behind, Over time we ruled out a\nlot of causes and were banging our heads against this one. ... |
[
{
"msg_contents": "In particular:\n exec_bind_message()\n PushActiveSnapshot(GetTransactionSnapshot());\n\n\nSuppressing this I've achieved over 1.9 M TXN's a second on select only pgbench on a 48 core box. It is about 50% faster with this change. The cpu usage of GetSnapshotData drops from about 22... |
[
{
"msg_contents": "I encountered this in 9.5 and haven't yet written a reproducer\nfor 10 or 11, but the code in question looks the same in master.\n\n\nIn xml.c, query_to_xml_internal() contains a loop that refers\nto SPI_processed every iteration:\n\nfor (i = 0; i < SPI_processed; i++)\n SPI_sql_row_to_xml... |
[
{
"msg_contents": "Allow extensions to install built as well as unbuilt headers.\n\nCommit df163230b overlooked the case that an out-of-tree extension\nmight need to build its header files (e.g. via ./configure). If it is\nalso doing a VPATH build, the HEADERS_* rules in the original commit\nwould then fail to ... |
[
{
"msg_contents": "Hi all,\n\nOn a recent thread of pgsql-committers has been discussed the fact that\nwe lacked a bit of infrastructure to allow extensions to control\nisolation and TAP tests:\nhttps://www.postgresql.org/message-id/20180905174527.GA2726@paquier.xyz\n\nAttached is a patch which is the result of... |
[
{
"msg_contents": "Refactor dlopen() support\n\nNowadays, all platforms except Windows and older HP-UX have standard\ndlopen() support. So having a separate implementation per platform\nunder src/backend/port/dynloader/ is a bit excessive. Instead, treat\ndlopen() like other library functions that happen to b... |
[
{
"msg_contents": "Why can not those shared catalog tables take lock via fast path if eligible? User tables and local catalog tables can take lock via fast path .",
"msg_date": "Thu, 06 Sep 2018 20:29:26 +0800",
"msg_from": "\"call_jinyu@126.com\" <call_jinyu@126.com>",
"msg_from_op": true,
... |
[
{
"msg_contents": "Hi,\n\nThe code currently says:\n\n\t * We can't use parallelism in serializable mode because the predicate\n\t * locking code is not parallel-aware. It's not catastrophic if someone\n\t * tries to run a parallel plan in serializable mode; it just won't get\n\t * any workers and will run ser... |
[
{
"msg_contents": "Hi all,\n\nWe are already in September, hence it is time to move on with the 2nd\ncommit fest for v12. As usual, there are many patches waiting for\nreview and integration:\nhttps://commitfest.postgresql.org/19/\nWith a couple of days of delay, I have switched the CF app as\nin-progress on T... |
[
{
"msg_contents": "While reviewing some other patches to improve partitioning performance\nI noticed that one of the loops in ExecFindInitialMatchingSubPlans()\ncould be coded a bit more efficiently. The current code loops over\nall the original subplans checking if the subplan is newly pruned, if\nit is, the ... |
[
{
"msg_contents": "Hi,\n\nI found that a argument \"filename\" is not used in execute_sql_string() \nalthough the comment says \"filename is used only to report errors.\",\nso I think we can remove this argument as done in the patch I attached.\n\nRegards,\n-- \nYugo Nagata <nagata@sraoss.co.jp>",
"msg_date... |
[
{
"msg_contents": "Hi,\n\nI am getting cache lookup failed for constraint error on master and 11beta3\nwith below test case.\n\n[edb@localhost bin]$ ./psql postgres\npsql (11beta3)\nType \"help\" for help.\n\npostgres=# CREATE TABLE non_part (a INT,PRIMARY KEY(a));\nCREATE TABLE\npostgres=# CREATE TABLE part (a... |
[
{
"msg_contents": "Hello hackers,\n\nI was faced on $SUBJECT on an heavily updated table and the same table \nheavily accessed on standby server.\n\nI notice autovacuum try to take an AEL in lazy_truncate_heap(). On \nprimary we try during VACUUM_TRUNCATE_LOCK_WAIT_INTERVAL (50ms) and we \nfailed after several... |
[
{
"msg_contents": "Hi;\n\nAttached is the patch we are fully testing at Adjust. There are a few\nnon-obvious aspects of the code around where the patch hits. I have run\nmake check on Linux and MacOS, and make check-world on Linux (check-world\nfails on MacOS on all versions and all branches due to ecpg fai... |
[
{
"msg_contents": "I have the following tables:\n- m(pk bigserial primary key, status text): with a single row\n- s(pk bigserial primary key, status text, action_at date, m_fk bigint):\n * 80% of the data has action_at between the current date and 1 year ago\n and status of E or C\n * 20% of the data has ... |
[
{
"msg_contents": "Commit 37c54863c removed the code in StandbyAcquireAccessExclusiveLock\nthat checked the return value of LockAcquireExtended. AFAICS this was\nflat out wrong, because it's still passing reportMemoryError = false\nto LockAcquireExtended, meaning there are still cases where\nLOCKACQUIRE_NOT_AV... |
[
{
"msg_contents": "Resending to -hackers as I realized this isn't a documentation issue so not\nappropriate or apparently interesting to readers of -doc.\n\nInspired by David's patch [0], find attached fixing words duplicated, across\nline boundaries.\n\nI should probably just call the algorithm proprietary, bu... |
[
{
"msg_contents": "Hi All,\n\nMy topology is as shown below:\n\nslave1 <------physical streaming protocol-----master1 <----logical\nstreaming protocol-----> master2 ------ physical streaming protocol\n---> slave2\n\nThe master1 and slave1 are within DC1, while the others are within DC2.\n\nThe logical streaming... |
[
{
"msg_contents": "Hi All,\n\nWhat's the local logical replication origin, which could be used to\nfilter local changes in the replication slot?\n\nIn other words, I'm curious that what's the default replication\norigin? Because normal DML locally does not set any origin explicitly,\ncorrect?\n\n",
"msg_dat... |
[
{
"msg_contents": "\nHi!\n\nI found an \"interest\" in RULE's operation:\n\nCREATE TABLE ruletest (id int4);\nCREATE TABLE rulelog (id int4, ts timestamp NOT NULL DEFAULT current_timestamp);\n\nCREATE RULE ruletest_rule AS ON INSERT TO ruletest DO INSERT INTO rulelog (id) VALUES (NEW.id);\n\nINSERT INTO ruletes... |
[
{
"msg_contents": "Hi, \n\nThis mail is about following bug report post: \nhttps://www.postgresql.org/message-id/flat/153442391458.1505.9181095584291689853%40wrigleys.postgresql.org\n\nWhen pg_dump has '--format=directory' option and the dump file size become \n4GB over, the strange error message 'Unknown error... |
[
{
"msg_contents": "I wondered why buildfarm member chipmunk has been failing hard\nfor the last little while. Fortunately, it's supplying us with\na handy backtrace:\n\nProgram terminated with signal 7, Bus error.\n#0 EA_flatten_into (allocated_size=<optimized out>, result=0xb55ff30e, eohptr=0x188f440) at arr... |
[
{
"msg_contents": "Hi All,\n\nIf I need to change the master address from which the slave\nreplicates, must I restart the postgresql? Or just reload is ok?\n\n",
"msg_date": "Mon, 10 Sep 2018 16:32:39 +0800",
"msg_from": "Jinhua Luo <luajit.io@gmail.com>",
"msg_from_op": true,
"msg_subject": "Ca... |
[
{
"msg_contents": "Hi all,\n\nAfter pulling the the latest commit --\ne3d77ea6b4e425093db23be492f236896dd7b501, I am getting following error on\ncompiling,\ncp: cannot stat ‘./dynloader.h’: No such file or directory\n\nThings were working fine till ac27c74def5d8544530b13d5901308a342f072ac\natleast.\n\nAnybody h... |
[
{
"msg_contents": "I haven't done significant debugging on this yet but if anyone else has\nseen this problem and can point me at anything this would be good.\nOtherwise I believe we will expect to debug and try to fix this problem\nsoon.\n\nAfter upgrading to PostgreSQL 10.5 from 10.2, we went from one type of... |
[
{
"msg_contents": "Hi\n\nI got new warnings\n\ngram.y: In function ‘base_yyparse’:\ngram.y:4507:20: warning: assignment to ‘CollateClause *’ {aka ‘struct\nCollateClause *’} from incompatible pointer type ‘Node *’ {aka ‘>\n n->collClause = $7;\n ^\ngram.y:4519:20: warning: assignment to ‘... |
[
{
"msg_contents": "Hi\n\nI cannot to find a page, where I can resend a mail from mailing list\narchive.\n\nCan do it the commitfest application? It can much more comfortable, than\nsearching it via majordomo.\n\np.s. How I can do it with current version of PostgreSQL mailing list\narchive?\n\nRegards\n\nPavel\n... |
[
{
"msg_contents": "hi,\n\nI found a little problem about printing ecpg version.\n\nunlike PostgreSQL ver.11 other programs, ecpg version string has only \nversion number.\n\n\n$ ./ecpg --version\necpg 11beta3\n\n$ ./psql --version\npsql (PostgreSQL) 11beta3\n\n$ ./pg_dump --version\npg_dump (PostgreSQL) 11beta3... |
[
{
"msg_contents": "Hi,\n\nI am getting below error while creating temp root partition table with on\ncommit. getting same error from v10 onwards.\n\n[edb@localhost bin]$ ./psql postgres\npsql (10.5)\nType \"help\" for help.\n\npostgres=# CREATE TEMP TABLE test ( c1 varchar, c2 int) PARTITION BY RANGE\n(c1) ON C... |
[
{
"msg_contents": "LLVM 7 landed in Debian unstable, this patch teaches ./configure to use\nit. (General patch, not specific to Debian.)\n\nChristoph",
"msg_date": "Wed, 12 Sep 2018 14:45:17 +0200",
"msg_from": "Christoph Berg <myon@debian.org>",
"msg_from_op": true,
"msg_subject": "[patch] Supp... |
[
{
"msg_contents": "Hello,\n\nWe encountered a query that has been able to frequently segfault one of our postgres instances under certain conditions which we have not fully been able to isolate for reproduction. We were able to get a core dump out of one of the crashes and have poked at it, but we believe the a... |
[
{
"msg_contents": "Hi hackers,\r\n\r\nAttached is a patch to add a pg_ls_tmpdir() function that lists the\r\ncontents of a specified tablespace's pgsql_tmp directory. This is\r\nvery similar to the existing pg_ls_logdir() and pg_ls_waldir()\r\nfunctions.\r\n\r\nBy providing more visibility into the temporary f... |
[
{
"msg_contents": "Hello,\n\nWhat do you think about changing wal_sender_timeout from PGC_HUP to PGC_BACKEND or PGC_USERSET?\n\nSome customer wants to change the setting per standby, i.e., a shorter timeout for a standby in the same region to enable faster detection failure and failover, and a longer timeout fo... |
[
{
"msg_contents": "The following bug has been logged on the website:\n\nBug reference: 15383\nLogged by: Marko Tiikkaja\nEmail address: marko@joh.to\nPostgreSQL version: 10.5\nOperating system: Linux\nDescription: \n\nI was looking at a problematic plan submitted by \"sjamaan\" on IR... |
[
{
"msg_contents": "Hi,\n\nWe are planning to have another release of PostgreSQL 11, either Beta 4\nor RC1, next week on Thursday, 2018-09-20. The version will be\ndetermined based on the state of the open items list[1] around the time\nof stamping.\n\nThanks,\n\nJonathan\n\n[1] https://wiki.postgresql.org/wiki/... |
[
{
"msg_contents": "Improve autovacuum logging for aggressive and anti-wraparound runs\n\nA log message was being generated when log_min_duration is reached for\nautovacuum on a given relation to indicate if it was an aggressive run,\nand missed the point of mentioning if it is doing an anti-wrapround\nrun. The... |
[
{
"msg_contents": "Allow concurrent-safe open() and fopen() in frontend code for Windows\n\nPostgreSQL uses a custom wrapper for open() and fopen() which is\nconcurrent-safe, allowing multiple processes to open and work on the\nsame file. This has a couple of advantages:\n- pg_test_fsync does not handle O_DSYN... |
[
{
"msg_contents": "Hi,\n\n(Tomas, CCing you because you IIRC mentioned encountered an issue like\nthis)\n\nI just spent quite a while debugging an issue where running logical\ndecoding yielded a:\nERROR: could not map filenode \"base/$X/$Y\" to relation OID\nerror.\n\nAfter discarding like 30 different theorie... |
[
{
"msg_contents": "HI, Dear pgsql-hackers\r\n\r\nThe details are as follows:\r\n\r\n\r\nEnvironment:\r\n\r\nOS: CentOS 6.7 (Final), Linux 3.18.48-11.el6.x86_64 x86_64, 64-bit\r\n\r\n\r\nPostgreSQL:\r\n\r\npostgres=# select version();\r\n version\r\n-------... |
[
{
"msg_contents": "in src/test/ssl the README suggest that the Makefile can be used to\nrecreate the ssl directory, however there are no rules to create\n*_ca.crt|key. Am I missing something ?\n\n\nDave Cramer\n\nin src/test/ssl the README suggest that the Makefile can be used to recreate the ssl directory, how... |
[
{
"msg_contents": "Hi Hackers -\n\nIt appears only the oid of the relations used in a view are captured in the view definition, not the relations' name itself. The effect this has is that relation renaming does not propagate to views. I would like to assert that they should.\n\nThe user has stated their intenti... |
[
{
"msg_contents": "To me the biggest disadvantage of using a materialized view instead of a\ntable delta load for an ETL process, for example, is that the materialized\nview is very inefficient in terms of write overhead, for of course it\nrewrites the whole set of data in the table, meaning heap, indexes, WAL ... |
[
{
"msg_contents": "Are there any plans to support logical replication to a table which is only\npartitioned on the subscriber? We are very interested in such a feature\nfor a couple use cases. We are using logical replication for archiving\ndata and we only want it partitioned on the archive server, and we wa... |
[
{
"msg_contents": "Hi,\n\nI kind of thought I'd sent out this mail Friday morning, but apparently\nI forgot to hit send, before accidentally releasing my laptop's battery\nwhile running :/\n\nWe'd agreed a while ago, when JIT compilation landed, to decide close to\nthe release whether JIT compilation should be ... |
[
{
"msg_contents": "Hi, Hackers!\n\nIn the AQO project (Adaptive Query Optimization) [1] the nodeToString() \nfunction is used by the planner to convert an query parse tree into a \nstring to generate a hash value [2].\nIn PostgreSQL v.11 call nodeToString(parse) segfaulted.\nThe reason is: parse tree node for X... |
[
{
"msg_contents": "Hi,\n\nWhile performing some benchmarks on REL_11_STABLE (at 444455c2d9), I've\nrepeatedly hit an apparent infinite loop on TPC-H query 4. I don't know\nwhat exactly are the triggering conditions, but the symptoms are these:\n\n1) A parallel worker\" process is consuming 100% CPU, with per fo... |
[
{
"msg_contents": "The report in\n\nhttps://www.postgresql.org/message-id/flat/3690074f-abd2-56a9-144a-aa5545d7a291%40postgrespro.ru\n\nset off substantial alarm bells for me about whether outfuncs/readfuncs\nprocessing had any additional problems we'd failed to notice. I thought\nthat to investigate that, it'... |
[
{
"msg_contents": "Hi Hackers,\n\nCurrently PostgreSQL provides following views to get the extension specific\ndetails\n\npg_available_extensions - Name, default_version, installed_version, comment\n\npg_available_extension_versions - Name, version, installed, superuser,\nrelocatable, schema, requires, comment\... |
[
{
"msg_contents": "Hi,\n\nI am able to create multiple primary key on partition table by executing\nbelow statement.\n\n[edb@localhost bin]$ ./psql postgres\npsql (11beta3)\nType \"help\" for help.\n\npostgres=# CREATE TABLE t1 (a int PRIMARY KEY,b int) PARTITION BY RANGE (a);\nCREATE TABLE\npostgres=# CREATE T... |
[
{
"msg_contents": "Hi all,\n\nOn a rather freshly-updated Debian SID server, I am able to see failures\nfor the SSL TAP tests:\n2018-09-17 22:00:27.389 JST [13072] LOG: database system is shut down\n2018-09-17 22:00:27.506 JST [13082] FATAL: could not load server\ncertificate file \"server-cn-only.crt\": ee k... |
[
{
"msg_contents": "Logs are below. This happens on master, and on 10. I suspect it is an\nissue with something regarding ecpg. Wondering what I am doing wrong.\n\n============== creating temporary instance ==============\n\n============== initializing database system ==============\n\n==... |
[
{
"msg_contents": "Hi All,\n\nI have found below difference in TO_TIMESTAMP results.\n\npostgres[114552]=# select to_timestamp('15-07-1984 23:30:32','dd-mm-yyyy\nhh24:mi:ss');\n to_timestamp\n---------------------------\n 1984-07-15 23:30:32+05:30\n(1 row)\n\npostgres[114552]=# select to_timestamp('15-07-... |
[
{
"msg_contents": "The PostgreSQL Core team are pleased to announce that following a long\nconsultation process, the project’s Code of Conduct (CoC) has now been\nfinalised and published at https://www.postgresql.org/about/policies/coc/.\n\nPlease take time to read and understand the CoC, which is intended to\n... |
[
{
"msg_contents": "That is, if table `foo` and table `bar` are both tables on the same\nremote server, then when I do `select * from foo, bar`, can it\ndelegate the whole query on the remote side, rather than fetching rows\nfrom both servers one by one and do merging on the local side?\n\nFor example:\n\n```\nf... |
[
{
"msg_contents": "If the view definition is too complex to be automatic updateable, then\nhow postgresql defines OLD in INSTEAD OF trigger? It cannot bind any\ncolumn on any table directly then, right?\n\nUnless postgresql refresh view as table source before executing\ntrigger? Then it may filter (WHERE sub-cl... |
[
{
"msg_contents": "Normally, EXPLAIN do not include the commands by stored procedures,\ne.g. aggregated function, trigger, correct?\n\nSo how to review the plan by those extensions?\n\n",
"msg_date": "Tue, 18 Sep 2018 19:33:17 +0800",
"msg_from": "Jinhua Luo <luajit.io@gmail.com>",
"msg_from_op": tr... |
[
{
"msg_contents": "https://www.postgresql.org/docs/current/static/postgres-fdw.html#id-1.11.7.43.12\n\nAs the doc said, the REPEATABLE READ isolation level is used to get\nsnapshot-consistent results.\n\nBut is it possible that postgres_fdw could get to know which remote\nqueries involved by each top outer comm... |
[
{
"msg_contents": "\n\nTomas Vondra has pointed out to me that there's an issue with triggers \nnot getting expanded tuples for columns with fast defaults. Here is an \nexample that shows the issue:\n\n\n andrew=# create table blurfl (id int);\n CREATE TABLE\n andrew=# insert into blurfl select x from ... |
[
{
"msg_contents": "Hi,\n\nI've been doing some testing today, and it seems heap_sync is somewhat\nconfused by partitioned tables. I'm doing a COPY into a partitioned\ntable (lineitem from TPC-H partitioned per month) like this:\n\n---------------------------------------------------------------------\nBEGIN;\n\n... |
[
{
"msg_contents": "While reviewing Amit's 0001 patch in [1] I noticed Amit pulled out the\ncode that inits the ResultRelInfos during InitPlan() but didn't update\nthe comment which says:\n\n/*\n* initialize result relation stuff, and open/lock the result rels.\n*\n* We must do this before initializing the plan ... |
[
{
"msg_contents": "Hello,\n\nI am Sunveer Singh, Google Code-in 2017 Grand Prize Winner with OSGeo.\n\nI am willing to be mentor for PostgreSQL. Last year I worked on almost 70\ntasks based on GIS world. A student an Grand Prize winner I will be able\nto help you guys during the GCI period. And The programming... |
[
{
"msg_contents": "Hey all!\n\n I'm Neha and I participated in Google Summer of Code this year for Xwiki, since, xwiki is not participating in Google code-in this year, I would like to volunteer for mentorship for Drupal. Is there a vacancy for that?\n\nI’ve worked with CERN and a couple of startups in past and... |
[
{
"msg_contents": "Hello, all!\n\nGoogle has a global, online contest that invites teenagers (ages 13-17) to\nwork with mentors from various pre-selected open source organizations. The\nidea is that these students are able to work on \"bite-sized tasks\" to\nbecome introduced to the technology and learn. Many o... |
[
{
"msg_contents": "Happened to notice that two errmsg() strings end with a period, which IIUC is\nagainst the Error Message Style Guide. Fixed in the attached patch.\n\ncheers ./daniel",
"msg_date": "Wed, 19 Sep 2018 22:24:44 +0200",
"msg_from": "Daniel Gustafsson <daniel@yesql.se>",
"msg_from_op":... |
[
{
"msg_contents": "Hello hackers,\n\nOn AIX, which I think might have been a pioneer in overcommitting\nmemory (?), they have the wonderfully named signal SIGDANGER. It's\ndelivered to every process on the system as a final courtesy some time\nbefore the OOM killer starts delivering SIGKILL. The theory is tha... |
[
{
"msg_contents": "SOME BACKGROUND:\n\nThe code for PL/Java functions resides in 'class images'. These are made\navailable, in advance, by loading them from 'jar files' into some tables\nin the database.\n\nWhen a PL/Java function is called, if the JVM hasn't loaded its class image\nyet, the JVM calls PL/Java's... |
[
{
"msg_contents": "Hi all,\n\nI have a requirement to get the active table list in a child postmaster\nprocess.\n\nWe are able to get the active table list after corresponding transaction\nends by using stat collector. Each postgres process will gather the table\nchange information locally, but only send the st... |
[
{
"msg_contents": "Providing SQL access for administrative tasks seems to be a\ngood thing, see ALTER SYSTEM and pg_reload_conf().\n\nIn that vein, I propose a function pg_promote() to promote\nphysical standby servers.\n\nIf there are no fundamental objections, I'll add it to the\nnext commitfest.\n\nYours,\nL... |
[
{
"msg_contents": "Hi, \n\nI'm trying to use DSA API and confused a little bit about $subject.\n\nSome type of return value or arguments are defined as size_t\nbut others are as Size.\n\nExample: \n- dsa_area *dsa_create_in_place(void *place, size_t size,\n int tranche_id, dsm_segment *segmen... |
[
{
"msg_contents": "Hi\n I would like to know what are the recommandation to resolve the problem of performance impact after applying the SPECTRE and MELTDOWN patches ?\n Do we have to add more CPUs ?\n\n NB : I have tested on one of our production database and I get an ... |
[
{
"msg_contents": "We're seeing a segmentation fault when creating a partition of a\npartitioned table with a primary key when there is a sql_drop trigger on\nPostgres 11beta4.\n\nWe discovered it because the Citus extension creates a sql_drop trigger,\nbut it's otherwise unrelated to the Citus extension:\nhttp... |
[
{
"msg_contents": "After the patch we did for the race condition here, one point which was\nbrought up which I thought was quite relevant was the fact that checking\nglobal flags feels a little ugly.\n\nI would like to set up a patch which refactors this as follows:\n\n1. We create an enum of cancellation leve... |
[
{
"msg_contents": "Is there somewhere that the transaction semantics inside a procedure are\ndocumented ? From what I can tell transactions start from the first DML\nstatement and end implicitly when the procedure exits. Commit or Rollback\ncan be called anytime inside the transaction and this implicitly starts... |
[
{
"msg_contents": "In backend/commands/tablecmds.c, function ATAddForeignKeyConstraint, I find:\n\nif (rel->rd_rel->relkind == RELKIND_PARTITIONED_TABLE)\n{\n if (!recurse)\n ereport(ERROR,\n (errcode(ERRCODE_WRONG_OBJECT_TYPE),\n errmsg(\"foreign key referencing partiti... |
[
{
"msg_contents": "At some point, somebody had the bright idea that various queries\nin tab-complete.c should be named like this:\n\nQuery_for_list_of_tsvmf\nQuery_for_list_of_tmf\nQuery_for_list_of_tpm\nQuery_for_list_of_tm\n\nEven assuming that you can fill in the unstated \"relations of these\nrelkinds\", I ... |
[
{
"msg_contents": "I would like to get some feedback on dealing with on-disk\ncompatibility for my nbtree patch, which is in the current CF [1]. I\nthought I'd start a new thread on these questions, since it's probably\nthe most sensitive aspect of the project, and can be discussed in a\nfairly contained way.\n... |
[
{
"msg_contents": "This function shows that only clock_timestamp() advances inside a\nprocedure, not statement_timestamp() or transaction_timestamp():\n\n\tCREATE OR REPLACE PROCEDURE test_timestamp () AS $$\n\tDECLARE\n\t str TEXT;\n\tBEGIN\n\t WHILE TRUE LOOP\n\t -- clock_timestam... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.