threads
listlengths
1
2.99k
[ { "msg_contents": "Hi hackers,\n\nHot experts help is highly needed:)\nOne of our customers is faced with the following problem:\n\nSession 1:\ncreate table x (i int);\nbegin;\ninsert into x values(1);\n...\n\n\nSession 2:\nselect i as id, 0 as v into t from generate_series(1, 100000) i;\ncreate unique index id...
[ { "msg_contents": "Hi,\n\nAs I've previously mentioned I had planned to spend some time to polish\nHaribabu's version of the pluggable storage patch and rebase it on the\nvtable based slot approach from [1]. While doing so I found more and\nmore things that I previously hadn't noticed. I started rewriting thing...
[ { "msg_contents": "Hi\n I Would like to know how to encrypt data with physical public key files. I can't find any documentation about this subject.\n Thanks in advance\n\nBest Regards\n[cid:image002.png@01D14E0E.8515EB90]\n\n\nDidier ROS\nExpertise SGBD\nDS IT/IT DMA/Solutions Group...
[ { "msg_contents": "Hello hackers,\n\nI'd like to do this to postinit.c:\n\n PerformAuthentication(MyProcPort);\n+ AcceptInvalidationMessages();\n InitializeSessionUserId(username, useroid);\n\nAny objections? Motivation:\n\nMany people use custom scripts, ldap2pg or ...
[ { "msg_contents": "Hello,\n\nAs I asked at the PGCon developer meeting this year, we'd like to offer our company's patents and patent \tapplications license to the PostgreSQL community free of charge. If I heard correctly at that time, we could continue this discussion during the unconference, but I missed tha...
[ { "msg_contents": "Hi.\n\nI think we may have simply forgotten to do $subject in the following commit.\n\ncommit da6f3e45ddb68ab3161076e120e7c32cfd46d1db\nAuthor: Alvaro Herrera <alvherre@alvh.no-ip.org>\nDate: Sat Apr 14 21:12:14 2018 -0300\n\n Reorganize partitioning code\n\nAttached a patch.\n\nThanks,\...
[ { "msg_contents": "Hi, hackers!\n\nThere is bunch of code in current GiST implementation checking for GistTupleIsInvalid(). PostgreSQL since 9.1 do not create invalid tuples. Should we support this tuples forever?\n\nInvalid tuples were created in case of crash during GiST page split. They were used as a recove...
[ { "msg_contents": "Hi, hackers!\n\nWhen execute sql with prepared protocol, read committed transaction will hold backend_xmin until the end of the transaction.\n\nIs this behavior normal?\n\nShould read committed transaction release backend_xmin immediately after SQL executing is completed? Just like\nwhen exec...
[ { "msg_contents": "Hi.\n\nI wonder why we mention on the following page that CREATE COLLATION\nrequires SHARE ROW EXCLUSIVE lock\n\nhttps://www.postgresql.org/docs/devel/static/explicit-locking.html\n\nI know that's the lock taken on the pg_collation catalog, but do we need\nto mention locks taken by a DDL comm...
[ { "msg_contents": "Hi hackers,\n\nwhile I tried to debug 'gcc -fstack-protector -O3' problems in [1], I noticed\nthat gbt_var_union() mistreats the first vector element. Patch is attached.\n\n[1] https://bugzilla.redhat.com/show_bug.cgi?id=1544349\nPavel", "msg_date": "Wed, 04 Jul 2018 11:54:22 +0200", ...
[ { "msg_contents": "The documentation [1] claims that REINDEX does not block readers on the\ntable.\n\n\"REINDEX is similar to a drop and recreate of the index in that the index\ncontents are rebuilt from scratch. However, the locking considerations are\nrather different. REINDEX locks out writes but not reads o...
[ { "msg_contents": "Hi,\n\nI got an assertion failure when I use GROUPS mode and specifies offset\nwithout ORDER BY clause. The reproduction steps and the backtrace I\ngot are following.\n\n=# create table test as select 1 as c;\n=# select sum(c) over (partition by c groups between 1 preceding and\ncurrent row) ...
[ { "msg_contents": "I've been working on B-Tree suffix truncation, as part of a larger\neffort to make all index tuples have unique keys by treating their\nheap TID as a first class part of the key space, as part of an even\nlarger (and still ill-defined) effort to improve index vacuuming\n(a.k.a. \"retail index...
[ { "msg_contents": "Hello hackers,\n\nFreeBSD's setproctitle() is a bit slow because it contains a syscall\nor two, so people often run PostgreSQL with update_process_title set\nto off on that OS. That makes the user experience not quite as nice\nas Linux. As a weekend learn-me-some-kernel-hacking project I fi...
[ { "msg_contents": "I noticed my buildfarm member peripatus hadn't been building due to me\nmissing a perl library. After I fixed that I get failures on:\n\nBuildfarm member peripatus failed on REL9_3_STABLE stage Make\nBuildfarm member peripatus failed on REL9_4_STABLE stage Make\nBuildfarm member peripatus fa...
[ { "msg_contents": "hello everyone,\n We are building in-memory index extension for postgres. It makes use\nof another third-party embedded key-value store (*BadgerDB* - implemented\nin golang) to store secondary indexes.\n\nThe problem is\n\nhello everyone,     We are building in-memory index extension for ...
[ { "msg_contents": "hello everyone,\n We wanted to make use of embedded key-value store(BadgerDB -\nimplemented in golang) to save the data related to our extension.\n\n\nThe problem is,\n when we load our extension using shared_preload_libraries, we could\nable to open badgerdb and use it in postmaster p...
[ { "msg_contents": "Hi ,\n\nI tried to use array_remove to remove elements from an array but it's\nsaying function doesn't exist . I'm able to use other array functions.\n\n1) Capture the results with multiple columns into array .\n2) if ay results exist then loop through an array to find out the record\nwith c...
[ { "msg_contents": "Hi\n\nPLpgSQL FETCH documentation is has ref on SQL FETCH command. SQL FETCH\nallows only int constants as count. PLpgSQL allows any expressions. In this\ncase documentation is not clear, and people can be messy - and apply SQL\nFETCH limits on PLpgSQL FETCH.\n\nhttps://stackoverflow.com/ques...
[ { "msg_contents": "Hi all,\r\n\r\nI found typo in Japanese translation of psql.\r\n\r\nPlease find attached.\r\n\r\n\r\nSincerely,\r\n\r\n--\r\nTaiki Kondo\r\nNEC Solution Innovators, Ltd.", "msg_date": "Fri, 6 Jul 2018 08:33:56 +0000", "msg_from": "Taiki Kondo <tai-kondo@yk.jp.nec.com>", "msg_from_...
[ { "msg_contents": "Hi,\n\nI am a developer from China, when i using pgbench -l to output log file, the pgbench seems dont work, my pgbench version is 9.2.13.\ncan anyone help me?\n\nps: when i using 9.2.23 pgbench, the -l is work.\n\n\nthanks in advance\n\nBest Regards\nSichen Zhao\n\n", "msg_date": "Fri, 6...
[ { "msg_contents": "There is some undocumented (nothing in the docs) code that allows for\nclosing reopening the output file for pg_recvlogical.\n\nSince this doesn't change the name of the file in the process I'm wondering\nhow one might actually use this \"feature\" ?\n\nI could see it being useful if we were ...
[ { "msg_contents": "I have the following:\n----\n\\set DB `echo $DB`\nCREATE SCHEMA IF NOT EXISTS postgis;\nCREATE SCHEMA IF NOT EXISTS topology;\nCREATE SCHEMA IF NOT EXISTS tiger;\nSET search_path=public,postgis,tiger,topology;\nALTER DATABASE :DB SET search_path=public,postgis,tiger,topology;\n\\c wm_test\nCR...
[ { "msg_contents": "In a situation where we're using transition relations to capture changes\nafter UPDATE statements, i.e., using a trigger of the form\n\nCREATE TRIGGER trigger_name AFTER UPDATE ON table_name\nREFERENCING OLD TABLE AS old_table NEW TABLE AS new_table\nFOR EACH STATEMENT EXECUTE PROCEDURE proce...
[ { "msg_contents": "Previously, pglife (http://pglife.momjian.us/) showed all commits for\nthe \"devel\" branch back back to the start of the git tree. It now shows\nonly commits since the last major branch. For example, \"12 devel\" now\nshows only commits since we branched the git tree for PG 11.\n\nThis sho...
[ { "msg_contents": "Pursuant to closing comment in \nhttps://postgr.es/m/20180306214239.ospkf6ie7aa5gm4j@alvherre.pgsql\nhere's a quick patch to change the order of arguments in\nXLogSegNoOffsetToRecPtr. Commit fc49e24fa69a (\"Make WAL segment size\nconfigurable at initdb time.\") put the walsegsz as last argum...
[ { "msg_contents": "On Wed, Jul 4, 2018 at 9:43 AM, Peter Geoghegan <pg@bowt.ie> wrote:\n> I'm starting this new thread to discuss the benefits of B-Tree suffix\n> truncation, and to demonstrate how effective it can be at increasing\n> fan-out and space utilization with a real-world example. I haven't\n> explain...
[ { "msg_contents": "Hi mentors and hackers,\n\n The second review is coming. Here is my working status so far. 1.\nComplete the thrift compact protocol implementation using bytea interface.\n2. Thrift type (binary protocol) is almost done, the only remaining part is\nstruct encoding and decoding. With the thri...
[ { "msg_contents": "Hi all,\n\nThis is a follow-up of the following thread where I have touched the\ntopic of corrupted 2PC files being completely ignored by recovery:\nhttps://www.postgresql.org/message-id/20180709012955.GD1467%40paquier.xyz\nI have posted a patch on this thread, but after more reviews I have\n...
[ { "msg_contents": "I'm trying to reset array element to null. but 3rd line of below snippet is\ngiving the compilation error.\n\n\nFOR indx_1 IN array_lower(X, 1)..array_upper(X, 1) LOOP\nIF X[indx_1].REFERENCE_VALUE = 'ABC' THEN\nX[indx_1].REFERENCE_VALUE:='';\nEND IF;\nEND LOOP;\n\n-- \nThanks & Regards,\nBra...
[ { "msg_contents": "We use the word CONCURRENTLY to describe DDL that executes without\npreventing select, insert, update or delete against a table. That is\nnot the topic discussed here.\n\nI've been asked if we could consider allowing more types of DDL to run\nat the same time as each other. Specifically, that...
[ { "msg_contents": "Hi,\n\nThis is a really simple test case, I think it's an unintended\nconsequence of CVE-2018-1058:\n\ndemo=# create extension hstore;\nCREATE EXTENSION\ndemo=# create table test (a hstore);\nCREATE TABLE\ndemo=# create index idx_test_not_distinct on test(a) where a is not\ndistinct from '';\...
[ { "msg_contents": "Hi,\n\nI've found out an interesting problem that you can reproduce by running\ninstallcheck against a database with enabled llvm jit (with and without the\npatch I've sent in [1]):\n\n# postgresql.conf\njit = on\njit_above_cost = 0\njit_optimize_above_cost = 0\njit_inline_above_cost = 0\n\n#...
[ { "msg_contents": "Hi,\n\nFWIW, I've lately noticed that I spend a fair time waiting for the\nlinker during edit-compile-test cycles. Due to an independent issue I\njust used the gold linker, and the speedup is quite noticable.\n\nJust relinking the backend, without rebuilding anything else, goes from\n0m3.975...
[ { "msg_contents": "There is a costing bug in hash join logic seems to have been introduced by\nthe patch related to inner_unique enhancements(commit:\n9c7f5229ad68d7e0e4dd149e3f80257893e404d4). Specifically, \"hashjointuples\"\nwhich tracks the number of matches for hash clauses is computed wrong for\ninner uni...
[ { "msg_contents": "Hi,\nI prepared a patch which adds a timestamp into a XLOG_BACKUP_END \nWAL-record. This functionality is needed in practice when we have to \ndetermine a recovery time of specific backup.\nThis code developed in compatibility with WAL segments, which do not \nhave a timestamp in a XLOG_BACKU...
[ { "msg_contents": "Hello hackers,\n\nRecently, the problem on improving performance of multiple drop/truncate tables in a single transaction with large shared_buffers (as shown below) was solved by commit b416691.\n BEGIN;\n truncate tbl001;\n ...\n truncate t...
[ { "msg_contents": "Hi,\n\n\nWhy does the heap_page_item () of the pageinspect extension not consider providing better user-friendliness?\n\n\nMy test table has the following data, and when I look at the t_data I see data of type bytea instead of a more intuitive type, even the same type as the original table.\n...
[ { "msg_contents": "First of all, thank you for listening to this mail.\n\nAs I mentioned in the title, I got a undefined reference in compiling time.\nThe reason that I wonder is that I surely add header file for the function.\n\nIn more detail,\n\nI want to use TransactionIdEquals() function in freelist.c file...
[ { "msg_contents": "The following documentation comment has been logged on the website:\n\nPage: https://www.postgresql.org/docs/10/static/sql-createtable.html\nDescription:\n\nHi.\r\n\r\nhttps://www.postgresql.org/docs/current/static/sql-createtable.html#sql-createtable-exclude\r\nIf all of the specified operat...
[ { "msg_contents": "Hi Dave,\n\nI am working on a feature to support INCLUDE clause of index in PG-11. As\nper the documentation https://www.postgresql.org/docs/11/static/\nsql-createindex.html, columns listed in INCLUDE clause cannot also be\npresent as index key columns. But I find different behaviour for belo...
[ { "msg_contents": "isnan() function is evidently not present on <math.h> on Windows\nbefore Visual Studio 2013. We define it on win32_port.h using\n_isnan(). However _isnan() is also not present. It is on <float.h>.\nThe patch is attached to include this from win32_port.h.\n\nThanks to Thomas Munro for point...
[ { "msg_contents": "I'm looking for a way of gathering performance stats in a more usable\nway than turning on `log_statement_stats` (or other related modules).\nThe problem I have with the log_*_stats family of modules is that they\nlog every single query, which makes them unusable in production. Aside\nfrom co...
[ { "msg_contents": "Hi,\n\nI've found out that currently in some situations jsonb_to_recordset can lead to\na crash. Minimal example that I've managed to create looks like this:\n\n CREATE OR REPLACE FUNCTION test(data JSONB)\n RETURNS INTEGER AS $$\n DECLARE\n test_var int;\n BEGIN\n WIT...
[ { "msg_contents": "Hello, Hackers!\n\n\n\nI am working on my project in Google Summer of Code 2018\n<https://wiki.postgresql.org/wiki/GSoC_2018#Sorting_algorithms_benchmark_and_implementation_.282018.29>.\nIn this project, I am trying to improve the in-memory sorting routine in\nPostgreSQL. Now I am very excite...
[ { "msg_contents": "I poked into the odd behavior reported in bug #15251:\n\nhttps://www.postgresql.org/message-id/152967245839.1266.6939666809369185595@wrigleys.postgresql.org\n\nThe reason for the poor plan chosen when the caller hasn't got select\nprivilege on the child table is that statistic_proc_security_c...
[ { "msg_contents": "Hello,\n\nIn Postgres 8.3, it was decided that an array type would be automatically\ncreated for every heap relation's composite type.\n\nReference thread:\nhttps://www.postgresql.org/message-id/flat/20070302234016.GF3665%40fetter.org\n\nThe possible issue I would like to note is related to h...
[ { "msg_contents": "$subject is broken:\n\ncreate table prim (a int primary key);\ncreate table partfk (a int references prim) partition by range (a);\ncreate table partfk1 partition of partfk for values from (0) to (100);\ncreate table partfk2 partition of partfk for values from (100) to (200);\n\nYou can't tru...
[ { "msg_contents": "Hi,\n\nIn order to make changes to a shared buffer, one must hold a pin on it\nand the content lock in exclusive mode. This rule seems to be\nfollowed in most of the places but there are a few exceptions.\n\nOne can find several PageInit() calls with no content lock held. See,\nfor example:...
[ { "msg_contents": "Hi,\n\nI found that there is a situation that even when index only scan can be effective, \nthe planner doesn't select this. The planner makes indexe paths in descending\norder of indexrelid, and the new path is discarded if its cost is not less than\nthe existing paths' cost. As a result, I...
[ { "msg_contents": "Hello all,\n\nIn pageinspect/sql/gin.sql, we don't drop the table test1 at the end\nof the test. IMHO, we should clean-up at the end of a test. I've\nattached the patch to perform the same.\n\n-- \nThanks & Regards,\nKuntal Ghosh\nEnterpriseDB: http://www.enterprisedb.com", "msg_date": "W...
[ { "msg_contents": "Hi,\n\nWhen we specify column names for ANALYZE, only the statistics for those columns\nare collected. Similarly, is it useful if we have a option to specify an index\nfor ANALYZE to collect only the statistics for expression in the specified index?\n\nA usecase I suppose is that when a new e...
[ { "msg_contents": "Currently, there is no negotiation of the channel binding type between \nclient and server. The server advertises that it supports channel \nbinding, or not, and the client decides what channel binding to use. If \nthe server doesn't support the binding type that the client chose, \nauthentic...
[ { "msg_contents": "Hi,\nConsider following test case.\ncreate table prt (a int, b int, c int) partition by range(a, b);\ncreate table prt_p1 partition of prt for values (0, 0) to (100, 100);\ncreate table prt_p1 partition of prt for values from (0, 0) to (100, 100);\ncreate table prt_p2 partition of prt for val...
[ { "msg_contents": "Hi,\n\nOn the master head, getConstraints() function skips FK constraints for\na partitioned table because of tbinfo->hastriggers is false.\n\nWhile creating FK constraints on the partitioned table, the FK triggers are only\ncreated on leaf partitions and skipped for the partitioned tables.\n...
[ { "msg_contents": "There is a costing bug in hash join logic seems to have been introduced by\nthe patch related to inner_unique enhancements(commit:\n9c7f5229ad68d7e0e4dd149e3f80257893e404d4). Specifically, \"hashjointuples\"\nwhich tracks the number of matches for hash clauses is computed wrong for\ninner uni...
[ { "msg_contents": "Hi,\n\nwhile looking at the pluggable storage patch I noticed that\nvalidateForeignKeyConstraint() calls RI_FKey_check() for each row\nwithout resetting a memory / expression context. There's not too much\nleakage in the called code, but there's some I think.\n\nGreetings,\n\nAndres Freund\n...
[ { "msg_contents": "We discovered our pg_wal partition was full few days after setting our first logical publication on a PG 10.4 instance.\nThen, we can not synchronise our slave to the master, it triggers a segfault on the slave. We had to drop manually the subscription on slave and the slot on master.\nThen, ...
[ { "msg_contents": "Hi,\n\nWhile reading the replication slot codes, I found a wrong assignment\nin pg_logical_slot_get_changes_guts() function as follows.\n\n if (PG_ARGISNULL(2))\n upto_nchanges = InvalidXLogRecPtr;\n else\n upto_nchanges = PG_GETARG_INT32(2);\n\nSinc...
[ { "msg_contents": "Hello hackers,\n\nA couple of years ago, Oskari Saarenmaa proposed a patch[1] to adopt\n$SUBJECT. Last year, Tobias Oberstein argued again that we should do\nthat[2]. At the end of that thread there was a +1 from multiple\ncommitters in support of getting it done for PostgreSQL 12. Since\n...
[ { "msg_contents": "Hi folks\n\nAs I work on background workers almost exclusively at the moment, I keep on\nrunning into things that are just not initialized, or not supported, in\nbgworkers. Many are quite surprising.\n\nI think bgworkers should just share more of the main Pg startup path.\n\nMy latest surpris...
[ { "msg_contents": "Allow using the updated tuple while moving it to a different partition.\n\nAn update that causes the tuple to be moved to a different partition was\nmissing out on re-constructing the to-be-updated tuple, based on the latest\ntuple in the update chain. Instead, it's simply deleting the lates...
[ { "msg_contents": "Hi,\n\nDuring looking into other thread[1], I found a problem on pg_dump of range\npartition table using expressions. When we create a range partitioned table, \nwe cannot use a column more than once in the partition key.\n \n postgres=# create table t (i int) partition by range(i,i);\n ERROR...
[ { "msg_contents": "Hi,\n\nIn the PG source code function \"write_relcache_init_file()\", I found that\nthe whole 'Relation' structs were directly written into the file\n'pg_internal.init'. This brings some binary differences of that file, if we\nrun pg_initdb multiple times, because the struct 'Relation' conta...
[ { "msg_contents": "Hi,\n\nThe documentation[1] says that both pg_create_logical_replication_slot\nand pg_create_physical_replication_slot returns slot_name as a name\ntype. But only pg_create_logical_replication_slot returns it as text\ntype. I think these should be united as the name type. Attached small\npatc...
[ { "msg_contents": "PostgreSQL 9.6.9, Windows Server 2012 Datacenter (64-bit).\n\nWe're trying to diagnose the error:\n\n\trequested timeline 105 does not contain minimum recovery point A58/6B109F28 on timeline 103\n\nThe error occurs when a WAL-shipping (not streaming) secondary starts up.\n\nThese two machines...
[ { "msg_contents": "Hi,\n\nI benchmarked on a RANGE partitioned table with 1.1k leaf partitions and no sub-partitioned tables.\nBut, statement latencies on a partitioned table is much slower than on a non-partitioned table.\n\nUPDATE latency is 210 times slower than a non-partitioned table.\nSELECT latency is 36...
[ { "msg_contents": "Hi\n\nAs reported in the «effect of JIT tuple deform?» thread, there are for some \ncases slowdowns when using JIT tuple deforming.\nI've played with the generated code and with the LLVM optimizer trying to fix \nthat issue, here are the results of my experiments, with the corresponding \npat...
[ { "msg_contents": "HI,Oleg && pgsql-hackers\r\n\r\nPlese help me to check this is a bug of ltree?\r\n\r\n\r\nthxs!\r\n\r\n\r\n\r\n\r\nlhl@localhost:~$ cat /etc/issue\r\nUbuntu 14.04.5 LTS \\n \\l\r\n\r\nlhl@localhost:~$ uname -av\r\nLinux localhost 3.13.0-107-generic #154-Ubuntu SMP Tue Dec 20 09:57:27 UTC 2016...
[ { "msg_contents": "Adds the options RESPECT/IGNORE NULLS (null treatment clause) and FROM\nFIRST/LAST to the non-aggregate window functions.\n\nA previous patch\n(https://www.postgresql.org/message-id/CA+=vxNa5_N1q5q5OkxC0aQnNdbo2Ru6GVw+86wk+oNsUNJDLig@mail.gmail.com)\npartially implemented this feature. Howeve...
[ { "msg_contents": "I received a private pg_upgrade feature request to report the database\nname for missing loadable libraries. Currently we report \"could not\nload library\" and the library file name, e.g. $libdir/pgpool-regclass.\n\nThe request is that we report the _database_ name that contained the\nloada...
[ { "msg_contents": "Hello -\n\nWe are working on several DR scenarios with logical decoding. Although we\nare using pglogical the question we have I think is generally applicable to\nlogical replication.\n\nSay we have need to drop a logical replication slot for some emergency\nreason on the master, but we don'...
[ { "msg_contents": "Folks,\n\nPer a discussion with Andrew Gierth and Vik Fearing, both of whom\nhelped make this happen, please find attached a patch which makes it\npossible to get SQL standard behavior for \"= NULL\", which is an error.\nIt's been upgraded to a warning, and can still be downgraded to\nsilence...
[ { "msg_contents": "Hello,\n\n I am working with data warehouse based on postgresql and would like to\npropose a feature. The idea is to give control and ability for developer to\nexecute queries in parallel within single transaction. Usual flow is next:\nSTART_TRANSACTION -> QUERY1 -> QUERY2 -> QUERY3 -> END_...
[ { "msg_contents": "Since \"make check-world\" is rather chatty, if you get a failure while\nrunning it under high parallelism, the location of the failure has often\nscrolled off the terminal window by the time all the other subjobs exit.\nThis is not a huge problem for tests using our traditional infrastructur...
[ { "msg_contents": "Dear hackers!\nI have an idea to facilitate work with index rebuilding.\nUsually if we want to rebuild an index without table locks we should do the queries below:\n1. create index concurrently... (with different name on the same columns)\n2. drop index concurrently <old index>\n3. alter inde...
[ { "msg_contents": "Hi all\n\nA user has raised the point that our refusal to GRANT rights to untrusted\nPLs is counterproductive and inconsistent with how we behave elsewhere.\n\nYes, untrusted PLs can be escaped to gain superuser rights, often trivially.\n\nBut we allow this:\n\nCREATE ROLE superme SUPERUSER N...
[ { "msg_contents": "Hi,\n\nI have a foreign table created with postgres_fdw and with that, I tried to\ncreate a local table to reference the foreign table in order to set a\nforeign key constraint in my local table but I get an error message saying\nthat the referenced table is not a table. Is there a way I can ...
[ { "msg_contents": "Hi all,\n Today i got one problem what i have saved more that one procedures in\na folder. After i have concatenate those files into single file through\nshell script. After am trying to run that single file in my server, it was\nshowing syntax error. If i remove first character it's run...
[ { "msg_contents": "Last week I upgraded 15 servers from various pre-10 versions to 10.4.\nAt first everything looked OK, but then (around 4 days later) one of\nthem failed with this in the logs:\n\n2018-07-14 01:53:35.840 BST LOG: could not generate random cancel key\n2018-07-14 01:53:37.233 BST LOG: could ...
[ { "msg_contents": "Hello, hackers!\n\nRecently I was investigating the case of 'stuck in wraparaound' problem.\nPostgreSQL instance(9.6.9) in question reached \n'million-before-wraparound' threshold and switched to read-only mode.\nRunning vacuum in single-mode gives not results, datfrozenxid was not \nadvancin...
[ { "msg_contents": "Hi,\nWe came across an issue during replay of a gin insert record on a pre-9.4 uncompressed data leaf page that does not have any items in it. The engine version where the replay is done is 9.6.3. The redo logic attempts to compress the existing page items before trying to insert new items f...
[ { "msg_contents": "Hi all,\n\nWhile looking at the source code for more consistency work with error\nmessages, I have bumped into a couple of messages which could be\nsimplified, as those include in the name of the file manipulated\nbasically the same information as the context added.\n\nI have finished with th...
[ { "msg_contents": "Hi,\n\nWhile debugging planner I realized that print_path() function is not\naware of both GatherMerge path and CustomScan path. Attached small\npatch fixes it.\n\nRegards,\n\n--\nMasahiko Sawada\nNIPPON TELEGRAPH AND TELEPHONE CORPORATION\nNTT Open Source Software Center", "msg_date": "W...
[ { "msg_contents": "Hi,\n\nI'm trying to add a foreign constraint in my local table to reference a\ncolumn in a materialized view, is it possible to alter this materialized\nview by adding a primary key constraint?\n\nThank you.\n\n-- \nKaye Ann Ignacio, Programmer\nproceedit \"the BPaaS company\"\nkaye.ignacio@...
[ { "msg_contents": "Hi,\n\nCan multiple processes participate in a single transaction's execution?\nI need to do the following actions sequence:\n1. Calling service begins transaction. At this step transaction\nmanager generate new XID.\n2. Calling service updates some data.\n3. Need to detach a transaction from...
[ { "msg_contents": "Hi,\n\nSince .pgpass files contain plain-text passwords, I searched for an\nalternative.\nIn the attached patch I've added the possibility to run a command to\nproduce the content of the pgpass file, in exactly the same format. In this\nway I could use gpg or any other command to decrypt a pg...
[ { "msg_contents": "I have a background worker running SQL functions, and I believe I have\nnoticed that when I do things like change function definitions, or even add\ntables, the background worker does not pick up the schema changes until I\nrestart the worker.\n\nIs this expected behavior? If I use backgroun...
[ { "msg_contents": "I noticed that psql's \\d command doesn't do very well with included\nindex columns. Given the regression db's test case,\n\nCREATE INDEX tbl_include_reg_idx ON tbl_include_reg (c1, c2) INCLUDE (c3, c4);\n\nwe get\n\nregression=# \\d tbl_include_reg_idx\nIndex \"public.tbl_include_reg_idx\"\...
[ { "msg_contents": "Hi mentors and hackers,\n\n Here is my current working status.\n1. Complete the thrift_binary_in and thrift_binary_out functions, so that\nusers can express their thrift struct using json. These two functions\nsupport both simple data struct and complex data structure like struct and\nmap....
[ { "msg_contents": "Hello, hackers.\n\nIt might be a good idea to give users an opportunity to test their\napplications with pgbench under different real-life-like load. So that\nthey will be able to see what's going to happen on production.\n\nYCSB (Yahoo! Cloud Serving Benchmark) was taken as a concept. YCSB t...
[ { "msg_contents": "Hello PostgreSQL Community!\n\nNot long ago I faced the situation concerning ODBC/libpq client hanging in \ncase of some network problems.\nI had a discussion regarding this issue within pgsql-odbc@postgresql.org \nand got some suggestions.\nHere is this discussion:\nhttps://www.postgresql.o...
[ { "msg_contents": "Hi,\n\nRecently, one of our clients reported a problem that Windows 10 sometime \n(approximately once in 300 tries) hung up at OS starting up while PostgreSQL\n9.3.x service is starting up. My co-worker analyzed this and found that\nPostgreSQL's auxiliary process and Windows' logon processes ...
[ { "msg_contents": "Collegues,\n\nI've discovered that in the branch REL_11_STABLE there is shell script\nsrc/bin/pg_upgrade/test.sh which doesn't work under Solaris 10.\n(it uses $(command) syntax with is not compatible with original\nSolaris /bin/sh)\n\nI was quite surprised that this problem goes unnoticed on...
[ { "msg_contents": "We've seen several occurrences of $subject in the buildfarm in the past\nmonth or so. Scraping the logs, I find\n\n coypu | 2018-06-14 21:17:49 | HEAD | Check | 2018-06-14 23:31:44.505 CEST [5b22deb8.30e1:124] ERROR: could not read block 3 in file \"base/16384/2662\": read only ...
[ { "msg_contents": "Hello\nCurrently log_autovacuum_min_duration log message has no difference between regular autovacuum and to prevent wraparound autovacuum. There are important differences, for example, backend can automatically cancel regular autovacuum, but not anti-wraparound. I think it is useful indicate...
[ { "msg_contents": "The sentences in question currently read ...\n\nFinally, SELECT FOR KEY SHARE obtains a shared lock which only\nprevents tuple removal and modifications of key fields. This last mode\nimplements a mode just strong enough to implement RI checks, i.e. it ensures\nthat tuples do not go away from...
[ { "msg_contents": "Hi,\n\nToday I spent some time closing PostGIS tickets in preparation to Monday's\nrelease.\n\nOne of the blockers, https://trac.osgeo.org/postgis/ticket/4125, was filed\nby Postgres APT repository maintainer Christoph Berg who noticed a test\nsuite failure on Debian Stretch with Postgres 11....
[ { "msg_contents": "Folks,\n\nI'd like to $Subject for 12.\n\nThere are scripts it could break, but not ones that weren't already\nbroken in ways important to access control.\n\nWhat say?\n\nBest,\nDavid.\n-- \nDavid Fetter <david(at)fetter(dot)org> http://fetter.org/\nPhone: +1 415 235 3778\n\nRemember to vote!...
[ { "msg_contents": "Hi,\n\nThere is a small catch in the parsing of --help and --version args by pgbench:\nthey are processed correctly only as the first argument. If it's not the case,\nstrange error message occurs:\n\n$ pgbench -q --help\npgbench: unrecognized option '--help'\nTry \"pgbench --help\" for more i...