threads listlengths 1 2.99k |
|---|
[
{
"msg_contents": "Hi,\n\nJust noticed that pg_class now has several varlena fields:\n#ifdef CATALOG_VARLEN\t\t\t/* variable-length fields start here */\n\t/* NOTE: These fields are not present in a relcache entry's rd_rel field. */\n\taclitem\t\trelacl[1];\t\t/* access permissions */\n\ttext\t\treloptions[1];\... |
[
{
"msg_contents": "Hi,\n\nI often get an error \"ERROR: tuple concurrently updated\" when\nchanging subscription state(ALTER SUBSCRIPTION or DROP SUBSCRIPTION).\nThe cause of this error is that table sync worker and apply worker can\ntry to update the same tuple in pg_subscription_rel. Especially it\noften hap... |
[
{
"msg_contents": "Hi,\n\nAttached the patch for $subject.\n\ns/Whem/When/\n\nRegards,\n\n--\nMasahiko Sawada\nNIPPON TELEGRAPH AND TELEPHONE CORPORATION\nNTT Open Source Software Center\n\n\n\n-- \nSent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)\nTo make changes to your subscription:\nhttp:/... |
[
{
"msg_contents": "Hi,\n\nExportSnapshot() has, right at the beginning, the following block:\n\n /*\n * We cannot export a snapshot from a subtransaction because there's no\n * easy way for importers to verify that the same subtransaction is still\n * running.\n */\n if (IsSubTransaction()... |
[
{
"msg_contents": "I have a new MacBook Pro running Sierra. I managed to get PostgreSQL\nto build after install Xcode, installing MacPorts, installing the\ndocumentation toolchain via some incantation that was apparently\nwrong, and then uninstalling and reinstalling the documentation\ntoolchain per https://tr... |
[
{
"msg_contents": "Hi all,\n\nI have noticed that the following messages can show up from\npg_receivewal even if the verbose mode is not used:\n if (prevtimeline != 0 && prevtimeline != timeline)\n fprintf(stderr, _(\"%s: switched to timeline %u at %X/%X\\n\"),\n ... |
[
{
"msg_contents": "Hi,\n\nThe commit ddd7b22b225ae41d16ceb218b387645cb9becfdc makes table sync\nworkers stop when subscription relation entry is removed. It doesn't\nwork fine inside transaction block. I think we should disallow to use\nthe following subscription DDLs inside a transaction block. Attached\npatch... |
[
{
"msg_contents": "Hi all,\n\n001_ssltests.pl in src/test/ssl/ includes the following to skip all\ntests should IPC::Run be not available:\n# Like TestLib.pm, we use IPC::Run\nBEGIN\n{\n eval {\n require IPC::Run;\n import IPC::Run qw(run start);\n 1;\n ... |
[
{
"msg_contents": "Hi,\n\nI was doing some testing for my default partitioning work, and I realized\nthat\nthere seem to be a some optimization possible (and I think we should really\nhave\nthis optimization) for logic around handling the \"key IS NOT NULL\"\nconstraints\nfollowed by predicate_implied_by() call... |
[
{
"msg_contents": "Hi,\n\nI just found this typo while doing french translation, patch attached.\n\nRegards.\n\n--\nJulien Rouhaud\nhttp://dalibo.com - http://dalibo.org\n\n\n\n-- \nSent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)\nTo make changes to your subscription:\nhttp://www.postgresql.o... |
[
{
"msg_contents": "Project: Explicitly support predicate locks in index AMs besides b-tree\n\nHi,\n\nDuring this week, I mostly worked on testing to verify my code and on\ndebugging to solve some issues I was having. I have specifically created\ntwo tests. The first test is about verifying serialization failure... |
[
{
"msg_contents": "While debugging some other stuff, I was wondering to what extent node\ntypes supporting utility statements should be supported in outfuncs.c.\nRunning with --debug-print-parse=on, executing\n\ncreate table test1 (a int, b text);\n\ngives output that is truncated somewhere in the middle (possi... |
[
{
"msg_contents": "\nRelease 5 of the PostgreSQL Buildfarm Client has been released and can\nbe downloaded from\n<https://buildfarm.postgresql.org/downloads/releases/build-farm-5.tgz>\n\n\nIn a similar move to PostgreSQL version numbering, with this release we\nmove to a one part numbering system.\n\n\nIn addit... |
[
{
"msg_contents": "In https://www.postgresql.org/docs/10/static/hot-standby.html#hot-standby-users\n\nIt is explained that read only transactions (not in standby) allow to\nupdate sequences.\n\n In normal operation, <quote>read-only</> transactions are allowed to\n update sequences and to use <command>LIS... |
[
{
"msg_contents": "Hi,\n\nI found a typo in the PG10 release note and attached is a patch\nto fix it.\n\nRegards,\n\n-- \nYugo Nagata <nagata@sraoss.co.jp>\n\n\n\n-- \nSent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)\nTo make changes to your subscription:\nhttp://www.postgresql.org/mailpref/pg... |
[
{
"msg_contents": "Hi,\n\nWhen I am reading the PG 10 release-notes, I found the following item.\n\n> Add function pg_current_logfile() to read syslog's current stderr and csvlog output file names (Gilles Darold)\n\nThis confused me because \"syslog\" is one of method for logging as well\nas stderr and csvlog. ... |
[
{
"msg_contents": "Hi,\n\nCurrently $subject but should we use CatalogTupleDelete() instead?\nIt's actually the same behavior though. Other functions use\nCatalogTupleXXX(). Attached patch.\n\nRegards,\n\n--\nMasahiko Sawada\nNIPPON TELEGRAPH AND TELEPHONE CORPORATION\nNTT Open Source Software Center\n\n\n\n-- ... |
[
{
"msg_contents": "Hello, hackers!\n\nNow in pgbench we can test only transactions with Read Committed \nisolation level because client sessions are disconnected forever on \nserialization failures. There were some proposals and discussions about \nit (see message here [1] and thread here [2]).\n\nI suggest a p... |
[
{
"msg_contents": "If I publish a pgbench workload and subscribe to it, the subscription\nworker is signalling the wal writer thousands of times a second, once for\nevery async commit. This has a noticeable performance cost.\n\nI don't think it is ever necessary to signal the wal writer here, unless\nwal write... |
[
{
"msg_contents": "Don't force-assign transaction id when exporting a snapshot.\n\nPreviously we required every exported transaction to have an xid\nassigned. That was used to check that the exporting transaction is\nstill running, which in turn is needed to guarantee that that\nnecessary rows haven't been remo... |
[
{
"msg_contents": "Coverity complained that libpqwalreceiver.c's libpqrcv_PQexec()\npotentially leaks a PGresult. It's right: if PQconsumeInput() fails after\nwe've already collected at least one PGresult, the function just returns\nNULL without remembering to free last_result. That's easy enough to fix,\njus... |
[
{
"msg_contents": "Hello.\n\nIt is annoying that only staext_dependencies_load is prefixed\nwith \"staext\" (two t's) among several similar names prefixed by\n\"statext\"(three t's).\n\nShould we rename it to have the same prefix?\n\nregards,\n\n-- \nKyotaro Horiguchi\nNTT Open Source Software Center\n\n\n\n-- ... |
[
{
"msg_contents": "Hi, all. In the last week, I replaced linked list with hash table in SerializableXact. \n I only replace inConflicts and outConflicts. The other linked lists, such as possibleUnsafeConflicts, I will modify them after other things work well.\n\nThere are still some bugs: the abort rate is much... |
[
{
"msg_contents": "As a cloud service, Azure Database for PostgreSQL uses a gateway proxy to route connections to a node hosting the actual server. Potentially there could be multiple hops (for example client, optional proxy at the client like pgbouncer for connection pooling, Azure gateway proxy, backend serve... |
[
{
"msg_contents": "As a cloud service, Azure Database for PostgreSQL uses a gateway proxy to route connections to a node hosting the actual server. To do that, the proxy needs to know the name of the server it tries to locate. As a work-around we currently overload the username parameter to pass in the server n... |
[
{
"msg_contents": "While working on adding support for tuple routing for foreign \npartitions, I noticed that in create_modifytable_path, we forgot to add \na comment on its new argument 'partitioned_rels'. Attached a patch for \nincluding that in the comments for that function.\n\nBest regards,\nEtsuro Fujita... |
[
{
"msg_contents": "Spotted s/fiedls/fields/ in src/interfaces/ecpg/pgtypeslib/datetime.c per the\nattached patch.\n\ncheers ./daniel\n\n\n\n\n-- \nSent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)\nTo make changes to your subscription:\nhttp://www.postgresql.org/mailpref/pgsql-hackers",
"ms... |
[
{
"msg_contents": "Hello,\n\nI played around a bit with the logical replication in 10.0 beta 1.\n\nMy first question was: is it possible to set the \"slave\" server to run in\n(almost) read-only mode?\n\nThe current setup is the following:\n\nThere is a Rails application running on multiple servers\nTwo Postgre... |
[
{
"msg_contents": "Hi all,\n\nFirst of all bear with me since I'm new in PostgreSQL world, I'm SQL Server\nDBA with 20yrs experience.\nI've seen the thread started by Tsunakawa Takayuki about huge pages support\non windows and his version of pg_ctl.c in commit fest.\nI see no information anywhere about how to r... |
[
{
"msg_contents": "Hi hackers,\r\n\r\nI want to hack a little. I applied for GSoC project (https://wiki.postgresql.org/wiki/GSoC_2017#GiST_API_advancement), but now I'm going to hack on my own. With the help of Andrew Borodin, I want to start the project with adding a third state to collision check. The third s... |
[
{
"msg_contents": "I wonder if there were some discussion/attempts to add ASOF join to \nPostgres (sorry, may be there is better term for it, I am refereeing \nKDB definition: http://code.kx.com/wiki/Reference/aj ).\nSuch kind of join can be useful when we need to associate two \ntimeseries. It is quite popula... |
[
{
"msg_contents": "Hi,\n\nI just found $SUBJECT, patch attached.\n--\nJulien Rouhaud\nhttp://dalibo.com - http://dalibo.org\n\n\n\n-- \nSent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)\nTo make changes to your subscription:\nhttp://www.postgresql.org/mailpref/pgsql-hackers",
"msg_date": "T... |
[
{
"msg_contents": "Вас пригласили на мероприятие.\r\n\r\nНазвание: Re: [HACKERS] intermittent failures in Cygwin from \r\nselect_parallel testsэх\"\r\nКогда: пт, 16 июнь 2017 09:00 – 10:00 Москва +00\r\nКалендарь: pgsql-hackers@postgresql.org\r\nУчастники:\r\n * Vladimir Sitnikov– организатор\r\n * pgs... |
[
{
"msg_contents": "pg_waldump --help claims that you run it like this:\n\nUsage:\n pg_waldump [OPTION]... [STARTSEG [ENDSEG]]\n\nAnd https://www.postgresql.org/docs/10/static/pgwaldump.html agrees.\nSince square brackets indicate optional arguments, this sort of makes\nit sound like running pg_waldump with no ... |
[
{
"msg_contents": "I just put this line in my postgresql.conf:\n\n```\nshared_preload_libraries = '/Path/Contains/UpCaseWords/an_ext.so'\n```\n\nThen the server couldn't start. It tried to load the file\n\"/path/contains/upcasewords/an_ext.so\" and failed.\n\nAfter few digging, I found there's a wrong use of `S... |
[
{
"msg_contents": "Maybe I am missing something, but I could not find any description\nthat logical replication does not support large objects and TRUNCATE\nin the doc. Do we want to add them to the doc as the restrictions of\nthe logical replication?\n\nBest regards,\n--\nTatsuo Ishii\nSRA OSS, Inc. Japan\nEn... |
[
{
"msg_contents": "While doing some testing I noticed that RLS policy not getting honer\nwhile pg_dump on declarative partition.\n\nI can understand that while doing SELECT on individual child\ntable, policy of parent is not getting applied. But is this desirable\nbehaviour? I think for partitions, any policy o... |
[
{
"msg_contents": "Hi, hackers!\n\nI have created my first patch for predicate locking in gist index. It\nincludes a test for verification of serialization failures and a test to\ncheck false positives.\nI am submitting my patch little late because there were some issues with\n\"make check\" that I was trying t... |
[
{
"msg_contents": "Hi,\r\n\r\nI am referring to the contents of https://yum.postgresql.org/ (specifically version 9.6 rpms for CentoOS7)\r\n\r\nMore specifically I wonder if they are configured: --with-python --with-tcl --with-pam --with-ldap\r\n\r\nAnd do they install the Additional Supplied Modules (https:... |
[
{
"msg_contents": "Hi all,\n\nI have noticed the following thing:\n--- a/src/test/ssl/t/001_ssltests.pl\n+++ b/src/test/ssl/t/001_ssltests.pl\n@@ -34,8 +34,6 @@ sub run_test_psql\n # The first argument is a (part of a) connection string, and it's also printed\n # out as the test case name. It is appended to $co... |
[
{
"msg_contents": "Spotted one “paramter” typo and git grep found two more, patch attached with\ns/paramter/parameter/ for these.\n\ncheers ./daniel\n\n\n\n\n-- \nSent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)\nTo make changes to your subscription:\nhttp://www.postgresql.org/mailpref/pgsql-h... |
[
{
"msg_contents": "> To be clear, part of \"retrying from the beginning\" means that if a> result from one statement is used to determine the content (or> whether to run) a subsequent statement, that first statement must be> run in the new transaction and the results evaluated again to> determine what to use fo... |
[
{
"msg_contents": "A \"condition\" is missing, patch attached.\n\n--\nJulien Rouhaud\nhttp://dalibo.com - http://dalibo.org\n\n\n\n-- \nSent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)\nTo make changes to your subscription:\nhttp://www.postgresql.org/mailpref/pgsql-hackers",
"msg_date": "S... |
[
{
"msg_contents": "Hello,\n\nI am looking to add a new language feature that returns the rows that\nconflict on an INSERT, and would appreciate feedback and guidance on this.\n\nHere is an example.\n\nTo implement a get_or_create_id() function, this is how it must currently\nbe done:\n\nCREATE TABLE example (\n... |
[
{
"msg_contents": "Building on Cygwin latest 10 beta1 or head sourece,\nmake check fails as:\n\n---------------------initdb.log -----------------------------\nThe database cluster will be initialized with locales\n COLLATE: en_US.UTF-8\n CTYPE: en_US.UTF-8\n MESSAGES: C\n MONETARY: en_US.UTF-8\n ... |
[
{
"msg_contents": "Patch attached.\n\n--\nJulien Rouhaud\nhttp://dalibo.com - http://dalibo.org\n\n\n\n-- \nSent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)\nTo make changes to your subscription:\nhttp://www.postgresql.org/mailpref/pgsql-hackers",
"msg_date": "Sun, 18 Jun 2017 08:46:20 +02... |
[
{
"msg_contents": "Patch attached.\n\n--\nJulien Rouhaud\nhttp://dalibo.com - http://dalibo.org\n\n\n\n-- \nSent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)\nTo make changes to your subscription:\nhttp://www.postgresql.org/mailpref/pgsql-hackers",
"msg_date": "Sun, 18 Jun 2017 09:16:07 +02... |
[
{
"msg_contents": "While playing around with logical replication, I am confused by the\nbehavior of REPLICA IDENTITY FULL.\n\nFirst I created a table having 2 INT columns with no keys. If I\nexecute ALTER TABLE REPLICA IDENTITY FULL, replication for\nUPDATE/DELETE works.\n\nIn the session below, port 11002 is t... |
[
{
"msg_contents": "Hi all\n\nTL;DR: formalize using StringInfo over an existing buffer as a cursor\nfor pq_getmsg.\n\nIn src/backend/replication/logical/worker.c we intern a pre-existing\nstring in a StringInfo so it can be used with the pq_getmsg functions\netc.\n\n StringInfoData s;\n\n....... |
[
{
"msg_contents": "What are some arguments against setting pd_lower in the GIN metapage as\nfollows?\n\nGinMetaPageData *metad = GinPageGetMeta(page);\n\n((PageHeader) page)->pd_lower =\n ((char *) metad + sizeof(GinMetaPageData)) - (char *) page;\n\nI saw that _bt_initmetapage() does it, so was wondering wh... |
[
{
"msg_contents": "Hi,\n\nGreg Burek from Heroku (CCed) reported a weird issue on IM, that was\nweird enough to be interesting. What he'd observed was that he promoted\nsome PITR standby, and early clones of that node work, but later clones\ndid not, failing to read some segment.\n\nThe problems turns out to b... |
[
{
"msg_contents": "Currently we allow rules to be defined on table partitions, but these\nrules only fire when the partition is accessed directly, not when it\nis accessed via the parent:\n\nCREATE TABLE t1(a int, b int) PARTITION BY RANGE(a);\nCREATE TABLE t1_p PARTITION OF t1 FOR VALUES FROM (1) TO (10);\nINS... |
[
{
"msg_contents": "Summary:\n*The trigger suppress_redundant_updates_trigger does not suppress updates\nof strings larger than 16000 bit (or 2000 octet) with equal values*\n\n\nPlatform information\n\n\n - PostgreSQL version: 9.6.3, server 9.5.6\n - C library version: glibc 2.19 on docker container running\... |
[
{
"msg_contents": "Hello Hackers,\n\nI wonder if it is intentional that \\d complains on stderr if it cannot find\nrelations to match, but \\dt prints the message to the current output file?\n\npostgres=# \\d xxx\nDid not find any relation named \"xxx\".\npostgres=# \\dt xxx\nNo matching relations found.\n\nI'v... |
[
{
"msg_contents": "Hi,\n\nI have observed that even after dropping operator class, not able to drop\nschema containing it. below is a example.\n\npostgres=# CREATE SCHEMA sch_test;\nCREATE SCHEMA\npostgres=# SET search_path TO 'sch_test';\nSET\npostgres=# CREATE OR REPLACE FUNCTION sch_test.dummy_hashint4_39779... |
[
{
"msg_contents": "Project: Explicitly support predicate locks in index AMs besides b-tree\n\nHi,\n\n\nDuring this week, I continued my work on testing and created my first patch\nfor gist index. I have also started working on the hash index. In summary,\nI have done following things in this week.\n\n1) updated... |
[
{
"msg_contents": "https://www.postgresql.org/docs/devel/static/sql-createsubscription.html\n\nHas the note:\n\nSee Section 26.2.5.1\n<https://www.postgresql.org/docs/devel/static/warm-standby.html#streaming-replication-authentication>\nfor\ndetails on how to configure access control between the subscription an... |
[
{
"msg_contents": "When terminating, or cancelling, a backend it’s currently not possible to let\nthe signalled session know *why* it was dropped. This has nagged me in the\npast and now it happened to come up again, so I took a stab at this. The\nattached patch implements the ability to pass an optional text... |
[
{
"msg_contents": "Hi,\n\nAttached patch for $subject.\n\ns/opreator/operator/\n\nRegards,\n\n--\nMasahiko Sawada\nNIPPON TELEGRAPH AND TELEPHONE CORPORATION\nNTT Open Source Software Center\n\n\n\n-- \nSent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)\nTo make changes to your subscription:\nht... |
[
{
"msg_contents": "Hi, all. In the last week, I fixed some bugs and replace the list of “PossibleUnsafeConflicts” with hash table.\nIt passed the existing 178 tests. The patch is attached.\n\nBut in my benchmark, the throughput decrease by 15% after the modification.\nCan you help me do a quick review to find i... |
[
{
"msg_contents": "Here is a small patch to add a comment on its new member PartitionRoot.\n\nBest regards,\nEtsuro Fujita\n\n\n\n-- \nSent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)\nTo make changes to your subscription:\nhttp://www.postgresql.org/mailpref/pgsql-hackers",
"msg_date": "Tu... |
[
{
"msg_contents": "Michael Malis via:\nhttp://malisper.me/postgres-transactions-arent-fully-isolated/ has\ndetermined that postgresql transactions are not fully isolated even\nwhen using serializable isolationl level.\n\nIf I prep a table, ints via:\npostgres=# create table ints (n int);\nCREATE TABLE\npostgre... |
[
{
"msg_contents": "I've set up a repo on our git server for the new improved version\nof pg_bsd_indent. Please test it for portability to your favorite\nplatform(s) by doing\n\ngit clone https://git.postgresql.org/git/pg_bsd_indent.git\ncd pg_bsd_indent\nmake -s all\nmake check\n\nNote you will need a PG insta... |
[
{
"msg_contents": "Barring objections, I'd like to reindent HEAD with the new version\nof pg_bsd_indent (and correspondingly updated pgindent script)\ntomorrow, say around 1800 UTC.\n\n\t\t\tregards, tom lane\n\n\n-- \nSent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)\nTo make changes to your s... |
[
{
"msg_contents": "I'm a little mystified by exec_simple_check_node(). The regression\ntests seem not to exercise it. It can only be reached when\nexec_simple_recheck_plan() finds no other reason to reject the plan,\nand the only case it seems to reject is the one where there's a\nset-returning function burie... |
[
{
"msg_contents": "I'm not seeing an obvious error in my attempt to use CREATE STATISTICS \nIF NOT EXISTS. Given this is new, maybe there is a bug in the parser.\n\nSample output:\npsql (10beta1)\nType \"help\" for help.\n\no365logs=# select version();\n version ... |
[
{
"msg_contents": "Hi,\n\nIn J.2. Tool Sets section of documentation, there is a link to DocBook\nXSL Stylesheets but that link seems no longer available. I got 404\nerror.\n\nJ.2. Tool Sets\n<https://www.postgresql.org/docs/devel/static/docguide-toolsets.html>\n\nAs a updated next link I guess we can use the f... |
[
{
"msg_contents": "I think this should go away:\n\n ereport(NOTICE,\n (errmsg(\"created replication slot \\\"%s\\\" on\npublisher\",\n slotname)));\n\n\nIt doesn't appear to be contingent on anything other than the content of\nthe command you just... |
[
{
"msg_contents": "Commit d3cc37f1d801a6b5cad9bf179274a8d767f1ee50 added this to \nExecInitModifyTable:\n\n+ /* The root table RT index is at the head of the partitioned_rels \nlist */\n+ if (node->partitioned_rels)\n+ {\n+ Index root_rti;\n+ Oid root_oid;\n+\n+ root_rti = linitial... |
[
{
"msg_contents": "Here is a patch to fix a typo in a comment in ExecWithCheckOptions(): \ns/as as/as/.\n\nBest regards,\nEtsuro Fujita\n\n\n\n-- \nSent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)\nTo make changes to your subscription:\nhttp://www.postgresql.org/mailpref/pgsql-hackers",
"m... |
[
{
"msg_contents": "Hi,\n\nI have found that we can cancel/terminate autovacuum launchers and\nbackground worker processes by pg_cancel/terminate_backend function.\nI'm wondering this behavior is not expected and if not I want to fix it.\n\n\nThe current pg_stat_activity shows background workers and autovacuum\n... |
[
{
"msg_contents": "Hi,\n\nAs I report in another thread[1], I found the autovacuum launcher occurs\nthe following error in PG 10 when this received SIGINT. I can repuroduce\nthis by pg_cancel_backend or `kill -2 <pid of autovacuum laucher>`.\n\n2017-06-21 13:56:07.010 JST [32483] ERROR: canceling statement due... |
[
{
"msg_contents": "Hi,\n\nIn the documentation[1], there is the following description:\n\n \"pg_stat_activity does not show an entry for the Startup process\"\n\nHowever, the current pg_stat_activity show startup process's entry.\n\npostgres=# select pid, backend_type from pg_stat_activity ;\n pid | backend... |
[
{
"msg_contents": "While playing with HEAD as of d14c85ed,\r\nI ran into the following:\r\n\r\nCREATE DATABASE source;\r\nCREATE DATABASE recipient;\r\n\r\n\\c source\r\nCREATE TABLE repli(id integer PRIMARY KEY, val text NOT NULL);\r\nINSERT INTO repli VALUES (1, 'one');\r\nCREATE PUBLICATION repsend FOR TABLE... |
[
{
"msg_contents": "Hello,\n\nThis is version 3 of a new SQL function written in order to monitor long\nrunning SQL queries/utilities in Postgres backends.\nPrevious patches were using a command named PROGRESS. This was restricting\nthe use to psql only.\n\n\nRationale for the new SQL function\n=================... |
[
{
"msg_contents": "Hi,\n\nAs I report in another thread[1], when the logical replication launcher \nis terminated by SIGTERM, it never been restarted and we need to restart\nthe server to enable logical replication again.\n\nThis is because the logical replication launcher exits with exitstatus 0,\nso if it exi... |
[
{
"msg_contents": "Hi,\n\nWhen promoting a standby without using the \"fast promotion\" logic,\ne.g. by using recovery targets (which doesn't use fast promotion for\nunbeknownst to me reasons), checkpointer doesn't necessarily respect\narchive timeout for the first cycle after promotion. The reason for\nthat i... |
[
{
"msg_contents": "Hi,\n\nWhen doing a PITR style recovery, with recovery target set, we're\ncurrently not doing a fast promotion, in contrast to the handling when\ndoing a pg_ctl or trigger file based promotion. That can prolong making\nthe server available for writes.\n\nI can't really see a reason for this?\... |
[
{
"msg_contents": "Hi,\n\nNow that hash index support write-ahead logging, it will be great if we add\nsupport for predicate locking to it.\nImplementation of predicate locking in hash index seems very simple.\nI have already made changes in the code. I am currently working on testing.\n\nHere is my approach\n\... |
[
{
"msg_contents": "Restart logical replication launcher when killed\n\nAuthor: Yugo Nagata <nagata@sraoss.co.jp>\n\nBranch\n------\nmaster\n\nDetails\n-------\nhttps://git.postgresql.org/pg/commitdiff/f669c09989bda894d6ba01634ccb229f0687c08a\n\nModified Files\n--------------\nsrc/backend/tcop/postgres.c | 5 +++... |
[
{
"msg_contents": "Hi,\n\nAuthor: Heikki Linnakangas <heikki.linnakangas@iki.fi>\nBranch: master Release: REL9_5_BR [b2a5545bd] 2015-04-13 16:53:49 +0300\nBranch: REL9_4_STABLE Release: REL9_4_2 [d72792d02] 2015-04-13 17:22:21 +0300\nBranch: REL9_3_STABLE Release: REL9_3_7 [a800267e4] 2015-04-13 17:22:35 +0300\... |
[
{
"msg_contents": "The release team has agreed that a good time to put out beta2 will\nbe the second week of July, ie wrap tarballs 10 July for announcement\n13 July.\n\nI imagine beta3 will appear along with the scheduled back-branch\nreleases in the second week of August, but that's not positively\ndecided ye... |
[
{
"msg_contents": "In the attached script, the second insert into t2 (as part of the CTE)\nshould succeed. My actual use case isn't much more complex; the function is\nused primarily to allow peaking at columns that the function definer has\naccess to but a typical user does not. Function also makes it easy to ... |
[
{
"msg_contents": "Attached a patch for $SUBJECT.\n\n- * If RecPtr is not NULL, try to read a record at that position. Otherwise\n+ * If RecPtr is valid, try to read a record at that position. Otherwise\n\nCommit 4d6d425ab8d addressed the comment above XLogReadRecord() in\nxlogreader.c, but missed the same ab... |
[
{
"msg_contents": "Dear PG hackers,\n\nFirst my apology if I appear to be a jerk or not following the policy.\n\nI emailed Boxuan Zhai who was in charge of the SQL Merge keyword in\n2010 of GSoC but without reply.\n\nI want to apply merge_v201.patch to specific PG version.\n\nIt failed saying 1 or 2 of 5 hunk ... |
[
{
"msg_contents": "Hi,\n\nSince an optional second argument wait_for_archive of pg_stop_backup\nhas been introduced in PostgreSQL 10 we can choose whether wait for\narchiving. But my colleagues found that we can do pg_stop_backup with\nwait_for_archive = true on the standby server but it actually doesn't\nwait... |
[
{
"msg_contents": "Hello,\n\n our testing team has noticed apparently wrong backup/restore error messages like this:\n\n\npg_restore: [compress_io] could not read from input file: success\npg_dump: [directory archiver] could not write to output file: success\n\n\n\nSuch \"success\" messages are caused by cal... |
[
{
"msg_contents": "Hello, I have a maybe-silly question.\n\nWhat makes us have both TRUE/true or FALSE/false as constants of\nbool?\n\nThe following definitions in c.h didn't mess anything up.\n\n#define TRUE\ttrue\n#define FALSE\tfalse\n\n\n# NIL seems causing similar mess.\n\nregards,\n\n-- \nKyotaro Horiguch... |
[
{
"msg_contents": "Hi,\n\nWhile working on the another patch, I came across the case where\nI need an auto generated partition for a mutil-column range partitioned\ntable having following range bound:\n\nPARTITION p1 FROM (UNBOUNDED, UNBOUNDED) TO (10, 10)\nPARTITION p2 FROM (10, 10) TO (10, UNBOUNDED)\nPART... |
[
{
"msg_contents": "While thinking about something else, it started to bother me that\ninitdb's setup_depend() function knows exactly which catalogs might\ncontain pinnable objects. It is not very hard to imagine that somebody\nmight add a DATA() line to, say, pg_transform.h and expect that the\nrepresented obj... |
[
{
"msg_contents": "Hi,\n\nAt pgcon some people were talking about the difficulty of instrumenting\nthe time actually spent waiting for lwlocks and related measurements.\nI'd mentioned that linux these days provides infrastructure to measure\nsuch things in unmodified binaries.\n\nAttached is a prototype of a sc... |
[
{
"msg_contents": "In a database with utf8 encoding, this behaves reasonably:\n\nselect count(*) from\n(select * from generate_series(1,10000000) x\n order by x::text collate \"en-x-icu\") ss;\n\nIt eats circa 25MB, not a lot worse than the libc-collation equivalent.\nBut try it in say LATIN1, and it eats multi... |
[
{
"msg_contents": "I tried to arrange $subject via\n\ncreate database icu encoding 'utf8' lc_ctype \"en-US-x-icu\" lc_collate \"en-US-x-icu\" template template0;\n\nand got only\n\nERROR: invalid locale name: \"en-US-x-icu\"\n\nwhich is unsurprising after looking into the code, because createdb()\nchecks those... |
[
{
"msg_contents": "Hi,\n\nI discovered a thinko in the new replication lag interpolation code\nthat can cause a strange number to be reported occasionally.\n\nThe interpolation code is designed to report increasing lag when\nreplay gets stuck somewhere between two LSNs for which we have\ntimestamp samples. The... |
[
{
"msg_contents": "Hi,\n\nWhen we create a range partitioned table, we cannot use\na column more than once in the partition key.\n\n postgres=# create table t (i int) partition by range(i,i);\n ERROR: column \"i\" appears more than once in partition key\n\nHowever, I can use same expression more than once in p... |
[
{
"msg_contents": "Hi,\n\nI'm trying to create something like pg_recvlogical.c in java using pgjdbc.Its working for small transactions but when i do a big transaction client throws below exception:\n\n\norg.postgresql.util.PSQLException: Database connection failed when reading from copy\nat org.postgresql.core.... |
[
{
"msg_contents": "Hi all,\n\nPer bug #14706, it has been discussed the possibility to remove the\ntransformation of opaque functions happening for example when\ndeclaring a trigger:\nhttps://www.postgresql.org/message-id/CAB7nPqTc-7u1k2vZ3qLxvSyaXbvNCrc9zMuvyF4-wUzJ8zFKVg@mail.gmail.com\n\nAs far as I can see,... |
[
{
"msg_contents": "icu_to_uchar() and icu_from_uchar(), and perhaps other places, are\ntouchingly naive about integer overflow hazards in buffer size\ncalculations. I call particular attention to this bit in\nicu_from_uchar():\n\n\tlen_result = UCNV_GET_MAX_BYTES_FOR_STRING(len_uchar, ucnv_getMaxCharSize(icu_c... |
[
{
"msg_contents": "I've got a requirement for enabling FIPS support in our environment.\nLooking at postgresql's be-secure-openssl.c and mucking with it, it seems\nfairly straight forward to just add a few ifdefs and enable fips with a new\nconfigure flag and a new postgresql.conf configuration setting.\n\nIf I... |
[
{
"msg_contents": "Hello,\n\nPQgetvalue returns a value of type char* (without const). But the\ndocumentation says:\n\"The pointer returned by PQgetvalue points to storage that is part of the\nPGresult structure. *One should not modify the data it points to*\" (my\nitalics). Could someone tell me please, what w... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.