threads listlengths 1 2.99k |
|---|
[
{
"msg_contents": "Recently I have to estimate performance of performing select with \nmultiple search conditions with bad selectivity.\nDefinitely it is some kind of OLAP query and it will be interesting for \nme to understand the role of different PostgreSQL optimization options.\n\nSo the table is the follow... |
[
{
"msg_contents": "The last test case in select_parallel.sql, added in commit dc1057fc,\ncurrently generates a plan like this:\n\nCREATE VIEW tenk1_vw_sec WITH (security_barrier) AS SELECT * FROM tenk1;\nEXPLAIN (COSTS OFF)\nSELECT 1 FROM tenk1_vw_sec WHERE EXISTS (SELECT 1 WHERE unique1 = 0);\n ... |
[
{
"msg_contents": "Hi,\n\nThis is more a note for the future, than something I'm planning to\npursue right now. Turns out our x86 full memory barrier could be sped\nup noticably on larger systems with a trivial change.\n\nJust changing\n__asm__ __volatile__ (\"lock; addl $0,0(%%rsp)\" : : : \"memory\", \"cc\")... |
[
{
"msg_contents": "Add TAP tests for pg_verify_checksums\n\nAll options available in the utility get coverage:\n- Tests with disabled page checksums.\n- Tests with enabled test checksums.\n- Emulation of corruption and broken checksums with a full scan and\nsingle relfilenode scan.\n\nThis patch has been contri... |
[
{
"msg_contents": "Hi, let me clarify my understanding about the $title.\n\nIt seems that the number of hash partitions is fixed at 128 in dshash and\nright now we cannot change it unless dshash.c code itself is changed, right?\n\nAccording to the comment of dshash.c, DSHASH_NUM_PARTITIONS could be runtime para... |
[
{
"msg_contents": "Hi, Hackers\nStudying another question I noticed a small point for optimization.\nIn the src/backend/access/heap/heapam.c we have the function:\n- * simple_heap_insert - insert a tuple\n- *\n- * Currently, this routine differs from heap_insert only in supplying\n- * a default command ID and n... |
[
{
"msg_contents": "Hi All,\n\nThe copy command on partitioned table causes server crash when before\ninsert row trigger is created on one of its partition. Please find the\nfollowing test-case to reproduce the crash.\n\n-- create a partitioned table\ncreate table part_copy_test (a int, b int, c text) partitio... |
[
{
"msg_contents": "Hello\n\nI just realized that the current code to assign constraint names to\npartitions is going against the SQL standard's idea that constraint\nnames must be unique within a schema. When a partition is created, the\nforeign key gets exactly the same name as the constraint in the parent\nt... |
[
{
"msg_contents": "Hi,\n\nChristoph Berg, on IRC, raised the issue that at least one extension\nfailed compiling in v11. The extension currently does:\nhttps://github.com/pgq/pgq/blob/master/triggers/common.c#L225\n\ttbl_cache_ctx = AllocSetContextCreate(TopMemoryContext,\n\t\t\t\t\t \"pgq_triggers table i... |
[
{
"msg_contents": "Hi,\n\nI've had to whack CopyFrom() around a couple times due to the pluggable\nstorage patch, and I found that after\ncommit 0d5f05cde011512e605bb2688d9b1fbb5b3ae152\nAuthor: Peter Eisentraut <peter_e@gmx.net>\nDate: 2018-08-01 10:23:09 +0200\n\n Allow multi-inserts during COPY into a p... |
[
{
"msg_contents": "Hello,\r\n\r\nI recently noticed a few restrictions on exceptionally long passwords\r\nthat don't seem to be documented. While scram-sha-256 has a limit of\r\n1,024 characters [0], other password-based authentication mechanisms\r\ndo not seem to have a well-defined limit. Furthermore, there... |
[
{
"msg_contents": "Consider this simple query:\n\nregression=# explain select * from\n int8_tbl as a1 full join (select 1 as id) as a2 on (a1.q1 = a2.id);\n QUERY PLAN \n------------------------------------------------------------------\n Hash Full Join ... |
[
{
"msg_contents": "Hello, I am Jinho Jung, Phd Student from GeorgiaTech, and try to find any SQL queries that cause performance regression. While conducting evaluation, I found an interesting query which makes x80 times slower execution in version 10.5 than version 9.4. Please see the attached files, if you are... |
[
{
"msg_contents": "I suggest this should be backpatched ?\n\ncommit 36e9d413a1d6928cd809d302d495fd6880a44b1e\nAuthor: Greg Stark <stark@mit.edu>\nDate: Sat Oct 6 13:03:43 2018 -0400\n\n Add \"B\" suffix for bytes to docs\n \n 6e7baa3227 and b06d8e58b5 added \"B\" as a valid suffix for\n GUC_UNIT_B... |
[
{
"msg_contents": "Hello hackers,\n\nI have a list of micro-optimisations and things to look into for hash\njoins, which I've updated on the wiki[1]. Here's one that I was\ninspired to poke at with a stick in a spare hour today.\n\nCache-oblivious hash joins cause a lot of TLB and cache misses.\nResearchers te... |
[
{
"msg_contents": "Avoid duplicate XIDs at recovery when building initial snapshot\n\nOn a primary, sets of XLOG_RUNNING_XACTS records are generated on a\nperiodic basis to allow recovery to build the initial state of\ntransactions for a hot standby. The set of transaction IDs is created\nby scanning all the e... |
[
{
"msg_contents": "I was crosseyed yesterday due to merge conflicts, but this still seems odd.\n\nI thought that final row counts would not vary with the details of the chosen\nplan. Which seems to hold true when I disable parallel join or hash join, but\nnot for PWJ.\n\nI noticed this behavior while joining o... |
[
{
"msg_contents": "Hello hackers,\n\nCurrently, md5.c and checkpointer.c interact in a way that breaks\nsmgr.c's modularity. That doesn't matter much if md.c is the only\nstorage manager implementation, but currently there are two proposals\nto provide new kinds of block storage accessed via the buffer manager... |
[
{
"msg_contents": "I'm working on adding a tuple_data_record function to pageinspect to\nparallel tuple_data_split (returning the record type of the relation being\nexamined rather than an array of attributes as on-disk byte data).\n\nThis my first real foray into the Postgres codebase, so an beginner\nquestion... |
[
{
"msg_contents": "ts=# CREATE INDEX ON t(i) ;\nCREATE INDEX\nts=# DROP INDEX t_i_idx ;\nNOTICE: 00000: drop_trigger\nLOCATION: exec_stmt_raise, pl_exec.c:3748\nDROP INDEX\nts=# \n\nts=# \\d t\n Table \"public.t\"\n Column | Type | Collation | Nullable | Default \n--------+---------+-----... |
[
{
"msg_contents": " From psql/help.c\n\n /*\n * Keep this line count in sync with the number of lines printed below!\n * Use \"psql --help=variables | wc\" to count correctly; but notice that\n * Windows builds currently print one more line than non-Windows builds.\n * Using the larger number is ... |
[
{
"msg_contents": "Hi,\n\nwhile briefly thinking about the per-process overhead of postgres, I\nlooked at the section sizes of a modern postgres. In particular which\nmemory areas are *not* shared between processes.\n\nIf you look at the section sizes that are mapped read-write:\n\n$ size --format=sysv src/back... |
[
{
"msg_contents": "I just spent some time puzzling over why we've seen so many recoveryCheck\nfailures in the buildfarm recently --- excluding failures with known\ncauses, such as the pg_verify_checksums business, that's basically all\nwe've seen for the last week. I am suspicious that there's some\ntiming-dep... |
[
{
"msg_contents": "Hello, hackers\nI suggest the small attached patch that gives a bit of heap_insert() and heap_update() optimization\nby reducing calls of BufferGetPage(buffer) into them.\nI measured call time of these:\nheap_insert(): avg origin 13394 ns, avg patched 12685 ns; perf increases +5.59%\nheap_upd... |
[
{
"msg_contents": "Hello,\n\nAccording to the documentation –inserts option is mainly useful for making\ndumps that can be loaded into non-PostgreSQL databases and to reduce the\namount of rows that might lost during error in reloading but multi values\ninsert command are equally portable and compact and also f... |
[
{
"msg_contents": "Background:\nIn my usage of pageinspect for debugging or other purposes I often find it\nfrustrating that I don't have a way to easily view a heap page's tuple data\nas actual records rather than binary data. After encountering this again\nlast week while doing some data recovery after an acc... |
[
{
"msg_contents": "\n\n\n\n\n\n\n\n\n\n\n\nHello,\n We know that in the absence of backups recovery can be cumbersome if the data is erroneously deleted or modified and the transaction is committed. For this reason, we realize the flashback query function based on PostgreSQL10.5, query the misoperated da... |
[
{
"msg_contents": "Hello Everyone,\nI had some questions about the query optimization engine and will be\ngrateful if someone can answer them\n\n---------- Forwarded message ---------\nFrom: Sumit Chaturvedi <sumit.chaturvedi@gmail.com>\nDate: Sun, Oct 14, 2018 at 8:50 PM\nSubject: Query Optimizer Postgresql\nT... |
[
{
"msg_contents": "Colleagues,\n\nI've encountered some problems trying to enable gss support in MSVC\nbuild of Postgres (I've experemented with REL_10_STABLE branch, but\ncode in question seems to be same in all supported releases, including\nmaster).\n\nAs it is recommended in the documentation, I've download... |
[
{
"msg_contents": "Hi hackers,\n\nCurrently for quals in the form of \"NOT NOT (SubLink)\", this SubLink would\nnot\nbe considered when pulling up sublinks. For instance:\n\ngpadmin=# explain select * from a where NOT NOT (a.i in (select b.i from\nb));\n QUERY PLAN\n---------------------... |
[
{
"msg_contents": "Colleagues,\n\nSince Active State stopped to distribute perl 5.22, we decided to\nupgrade installer builds to most use recent version available\n(5.26.1.2601 now).\n\nBut upstream perl changes policy around this version and no longer\nadds current directory to the module search path.\n\nThis ... |
[
{
"msg_contents": "Hi all,\n\nI want to init SHM in a background worker, which is supported in PG9.4.\nAlso I need to use lwlock to protect the share memory inside the worker\ncode.\n\nRequestNamedLWLockTranche is the way to handle it, but it's not supported\nin PG 9.4, is there any way I could request an uniqu... |
[
{
"msg_contents": "It looks like my upgrade to the current head of FreeBSD 12-to-be, which includes OpenSSL 1.1.1 broke a bunch of our stuff.\n\n \n\nIn at least the 9.x branches. Just a heads up.\n\n \n\n-- \n\nLarry Rosenman http://www.lerctr.org/~ler\n\nPhone: +1 214-642-9640 ... |
[
{
"msg_contents": "\nThe MSVC compilers are whingeing about recent changes in snprintf.c:\n\n\n src\\port\\snprintf.c(1051): warning C4146: unary minus operator\n applied to unsigned type, result still unsigned\n\n\nThe line in question reads:\n\n uvalue = -(unsigned long long) value;\n\ncheers\n\nandr... |
[
{
"msg_contents": "During discussions of alternative SSL implementations, contrib/sslinfo\nis usually mentioned as something that something needs to be done about.\n I've looked into adapting some functionality from sslinfo into the\npg_stat_ssl view. These two facilities have a lot of overlap but seem\nmostly... |
[
{
"msg_contents": "The LogCheckpointStart() call inside CreateCheckPoint() is done while\ninside a critical section. The elog call could trigger errors due to\nmemory allocations or from a logging hook, resulting in a panic. It\nseems better to postpone the logging until after the critical section\nis done. It'... |
[
{
"msg_contents": "From the \"scratch a long running itch\" department.\n\n\nThe attached ridiculously tiny patch solves the problem whereby while we \ncan run Postgres on Windows safely from an Administrator account, we \ncan't run run the regression tests from the same account, since it fails \non the tablesp... |
[
{
"msg_contents": "Hi hackers,\n\nISTM that context switch in `create_cursor()`:\n\nif (numParams > 0)\n{\nMemoryContext oldcontext;\noldcontext = MemoryContextSwitchTo(econtext->ecxt_per_tuple_memory);\nprocess_query_params(econtext,\nfsstate->param_flinfo,\nfsstate->param_exprs,\nvalues);\nMemoryContextSwitch... |
[
{
"msg_contents": "I noticed that get_attidentity() isn't really necessary because the\ninformation can be obtained from an existing tuple descriptor in each case.\n\nAlso, get_atttypmod() hasn't been used since 2004.\n\nI propose the attached patches to remove these two functions.\n\n-- \nPeter Eisentraut ... |
[
{
"msg_contents": "Hi,\n\n$subject came up in [1].\n\nShould relhassubclass be set/reset for partitioned indexes?\n\nThe only use case being sought here is to use find_inheritance_children()\nfor getting an index's partitions, but it uses relhassublcass test to\nshort-circuit scanning pg_inherits. That means ... |
[
{
"msg_contents": "Hi everyone,\n\nI have a problem with partitioned table in PostgreSql.\nActually I use the version 10. I created the partitioned table in test\nenvironment but face some problems with partitioned table constraint.\nI google all about it last week and from the official site I get that\nversion... |
[
{
"msg_contents": "Attached is a patch to speed up text_position_setup/next(), in some \ncommon cases with multibyte encodings.\n\ntext_position_next() uses the Boyer-Moore-Horspool search algorithm, \nwith a skip table. Currently, with a multi-byte encoding, we first \nconvert both input strings to arrays of w... |
[
{
"msg_contents": "Hi all,\n\nI ran into a surprising behavior while hacking on the FSM delay patch.\n\nI changed the signature of a freespace.c function that the BRIN code\ncalls, and this change by itself doesn't cause a crash. With the full\nFSM patch, causing BRIN errors in manual queries in psql doesn't ca... |
[
{
"msg_contents": "Hi,\n\nWhat is the advantage to use archive_mode = always in a slave server\ncompared to archive_mode = on (shared WAL archive) ?\nI only see duplication of Wal files, what is the purpose of this feature ?\n\nMany thanks in advance,\nAdelino.\n\nHi,What is the advantage to use archive_mode = ... |
[
{
"msg_contents": "Hi hackers,\n\nCurrently Postgres has options for continuous WAL files archiving, which \nis quite often used along with master-replica setup. OK, then the worst \nis happened and it's time to get your old master back and synchronize it \nwith new master (ex-replica) with pg_rewind. However, ... |
[
{
"msg_contents": "Hello Sir/ Madam,\n\nI participated last year in the Google Code-in Competition and I kept track\nof the participating organizations. I feel that your organization fits my\ninterests and skill sets perfectly and is the best addition to the\nparticipating organizations. I wish to mentor in the... |
[
{
"msg_contents": "Hi,\n\nI am using postgresql at work, and I would like to contribute.\n\n From the todo list, I chose:\n\nAllow log_min_messages to be specified on a per-module basis\n\nIs this feature always wanted ? That would be my first contribution to\npostgresql, is it an easy one ?\n\n\nThanks,\nSaïd\... |
[
{
"msg_contents": "The following bug has been logged on the website:\n\nBug reference: 15446\nLogged by: Dmitry Molotkov\nEmail address: aldarund@gmail.com\nPostgreSQL version: 11.0\nOperating system: docker\nDescription: \n\npostgres via docker.\r\nlatest tag dont work. \r\n\r\n2018... |
[
{
"msg_contents": "Hi,\n\nbuildfarm member lorikeet had an interesting buildfarm failure in the\nlogical decoding test. The failure looks unrelated to logical decoding,\nbut might be more widely relevant:\n\nhttps://buildfarm.postgresql.org/cgi-bin/show_log.pl?nm=lorikeet&dt=2018-10-19%2011%3A22%3A34\n VACUUM ... |
[
{
"msg_contents": "Hi all!\n\nAs mentioned in:\n\nhttps://www.postgresql.org/message-id/c29f7334-6695-512f-905a-919c1be676fd%40kaltenbrunner.cc\n\nwe are will migrate gemulon (aka gitmaster) to a different datacenter\ntoday (20.10.2018) at ~16:00 UTC.\n\nactualy downtime is expected to only last for ~15 minutes... |
[
{
"msg_contents": "Hi,\n\nafter upgrading to version 11, I see the error pattern \"found xmin x\nfrom before relfrozenxid y\" in different databases on different hosts.\n\nFrom https://www.postgresql.org/docs/10/static/release-10-3.html, I\nlearned that this was an error caused by pg_upgrade, which apparently\n... |
[
{
"msg_contents": "Hi all,\n\nThis is a follow-up of the following thread:\nhttps://www.postgresql.org/message-id/20181012010411.re53cwcistcpip5j@alap3.anarazel.de\n\nIn a nutshell, b34e84f1 has added TAP tests for pg_verify_checksums, and\nthe buildfarm has immediately complained about files generated by\nEXEC... |
[
{
"msg_contents": "Hello,\n\nI'm interested in contributing some temporal database functionality to\nPostgres, starting with temporal primary and foreign keys. I know some\nother folks nearby interested in helping out, too. But before we begin\nI'd like to ask the community about complying with the SQL:2011\nst... |
[
{
"msg_contents": "Hello,\n\nThe commit 9b5c8d45f62bd3d243a40cc84deb93893f2f5122 is now 10+ years\nold, may be we could remove deprecated @@@ operator ?\n\n\nAuthor: Tom Lane <tgl@sss.pgh.pa.us>\nDate: Mon Apr 14 17:05:34 2008 +0000\n\n Push index operator lossiness determination down to GIST/GIN opclass\... |
[
{
"msg_contents": "As part of the security fix\n(e2d4ef8de869c57e3bf270a30c12d48c2ce4e00c), we have restricted the\nusers from accessing the statistics of the table if the user doesn't\nhave privileges on the table and the function is not leakproof. Now,\nas a side effect of this, if the user has the privilege... |
[
{
"msg_contents": "Hi all,\n\nLooking at the buildfarm, serinus and moonjelly have just complained\nabout the failure of $subject:\nhttps://buildfarm.postgresql.org/cgi-bin/show_log.pl?nm=serinus&dt=2018-10-22%2006%3A34%3A02\nhttps://buildfarm.postgresql.org/cgi-bin/show_log.pl?nm=moonjelly&dt=2018-10-20%2015%3... |
[
{
"msg_contents": "The following bug has been logged on the website:\n\nBug reference: 15448\nLogged by: Tillmann Schulz\nEmail address: tillmann73@yahoo.de\nPostgreSQL version: 11.0\nOperating system: Windows\nDescription: \n\nI have a reproducable error when running two junit test ... |
[
{
"msg_contents": "The following bug has been logged on the website:\n\nBug reference: 15449\nLogged by: Eric Cyr\nEmail address: eric.cyr@gmail.com\nPostgreSQL version: 10.5\nOperating system: Ubuntu 16.04.2 LTS (Xenial Xerus)\nDescription: \n\nCREATE FOREIGN TABLE test_file_fdw_pro... |
[
{
"msg_contents": "Hello -\n\nI have an extension that uses background workers. I pass a database oid as\nan argument in order to launch the worker using function\nBackgroundWorkerInitializeConnectionByOid. In one of my regression tests\nthat was written, I intentionally launch the worker with an invalid oid.... |
[
{
"msg_contents": "Hello,\nI'm playing with adding into my pg_stat_statements extension a wait event\nfor pgss time duration (pgss_store)\n Adding pgstat_report_wait_start(PG_WAIT_EXTENSION) \n gives wait type = \"Extension\" / event name \"Extension\"\nand that's perfect.\n\nNow I would like to add a second wa... |
[
{
"msg_contents": "Hi, all.\n\nI'd like to suggest introducing two parameters to handle client-server communication timeouts.\nThat is \"tcp_user_timeout\" and \"socket_timeout\" parameter.\n\nI implemented \"tcp_user_timeout\" parameter \nin both backend and frontend side.\nThis parameter enables us to \nuse T... |
[
{
"msg_contents": "Hi,\n\nI found that in the PG source code function BackendInitialize(), handler for\nSIGTERM was set to be startup_die(). And in startup_die(), we simply call\nproc_exit to exit the process. \n\nWhat's more, early in BackendInitialize() function, we called pq_init to\nsetup socket_close() as... |
[
{
"msg_contents": "Hi hackers,\n\nThe last-minute change for CREATE (EVENT) TRIGGER to accept EXECUTE\nFUNCTION as well as EXECUTE PROCEDURE did not update the tab completion\nin psql to match. Please find attached two patches that do this for\nCREATE TRIGGER and CREATE EVENT TRIGGER, respectively.\n\nTo keep ... |
[
{
"msg_contents": "I propose the attached patch to remove the long-unused catalog column\npg_attrdef.adsrc.\n\n-- \nPeter Eisentraut http://www.2ndQuadrant.com/\nPostgreSQL Development, 24x7 Support, Remote DBA, Training & Services",
"msg_date": "Tue, 23 Oct 2018 15:17:58 +0200",
"msg_from"... |
[
{
"msg_contents": "Good Morning,\n\nWe have older version of postgres 8.3.7, I am trying to install postgres on ubuntu 14.04 LTS under GCP instance, Im having difficulty in installating the postgres 8.3.7 .\n\nWe are not able proceed with the installation manually. I am wondering whether ubuntu 14 is compatibl... |
[
{
"msg_contents": "Hello,\nI am extremely excited to be part of PostgreSQL...\nEvery task seems to be exciting!\nI have basic knowledge of SQL and am thinking of being part of your\norganization's tasks.\n Thankyou.\n Yours faithfully,\n ... |
[
{
"msg_contents": "Folks,\n\nPer gripes I've been hearing with increasing frequency, please find\nattached a patch that implements $Subject. It's microsecond resolution\nbecause at least at the moment, nanosecond resolution doesn't appear\nto be helpful in this context.\n\nBest,\nDavid.\n-- \nDavid Fetter <davi... |
[
{
"msg_contents": "Hi all,\n\nbaaf272 has added support for group updates in clog, however it has\nadded the wait event WAIT_EVENT_CLOG_GROUP_UPDATE in a non-alphabetical\norder. There are many events, so keeping things in order helps users in\nfinding them.\n\nAre there any objections to the attached, which r... |
[
{
"msg_contents": "While reloading a database cluster to move from 10.5 to 11, I'm getting \nout of memory crashes that I did see when doing reloads on pg 10.\nThe statement flagged in the log is this:\n2018-10-23 16:44:34.815 CDT [126839] STATEMENT: ALTER TABLE ONLY public.iplocation\n\t ADD CONSTRAINT ove... |
[
{
"msg_contents": "Hello,\r\n\r\nthere are some problems with the 11.0 EDB installers and binary archives \r\nfor Windows x64:\r\n\r\n- bin/libwinpthread-1.dll is only in the installer\r\n\r\n This is a dependency of libintl-9.dll, so without it, nearly\r\n everything in the Zip archive does not work.\r\n\r... |
[
{
"msg_contents": "Hello hackers,\n\nI will be pleased if somebody (first of all Robert) can comment me \n\"strange\" results of distinct values estimation.\n\nThere is the following code in analyze.c:\n\n /*----------\n * Estimate the number of distinct values using the estimator\n ... |
[
{
"msg_contents": "Hi\n\nWe have some json regression tests in src/test/regress/expected/json_encoding_1.out with \\u0000 symbol\n\nselect json '{ \"a\": \"null \\u0000 escape\" }' as not_unescaped;\n not_unescaped \n--------------------------------\n { \"a\": \"null \\u0000 escape\" }\n(1 ro... |
[
{
"msg_contents": "Hi ,\n\nPlease refer this small testcase -\n\nOpen postgresql.conf file and set -\n\nlog_destination = 'stderr'\nlogging_collector = on\nlog_directory = 'pg_log1'\nlog_filename = 'abcd-%Y-%m-%d_%H%M%S.log'\n\nrestart the server , connect to psql terminal and create adminpack \nextension an... |
[
{
"msg_contents": "Recently while testing a patch I found it immensely useful to\ndistinguish which session each WARNING message came from, when bespoke\ntests were run under isolationtester. Current code does not show that,\nso I developed this patch adding notice processors, and then it does.\n\n-- \n�lvar... |
[
{
"msg_contents": "Inspired by the wiki page on PostgreSQL vs SQL Standard in general,\nI have made another wiki page specifically about $subject. I hope\nthis was not presumptuous, and invite review / comment. I have not\nlinked to it from any other page yet.\n\nhttps://wiki.postgresql.org/wiki/PostgreSQL_vs_S... |
[
{
"msg_contents": "While doing a bit of work on a partitioning patch I noticed that it's\nnot really that obvious that there's meant to be exactly 1 item in the\npartexprs List for each zero-valued partattrs element. Some incorrect\ncode using these fields was the cause of CVE-2018-1052, so I think\nit's worthw... |
[
{
"msg_contents": "Hello hackers,\n\nStill need to solve this topic?\n\nhttps://www.postgresql.org/message-id/flat/CABUevEwA%3DAFWXr-7cCpZ9MDdxHL2wFGsxFiB6uyFDTOhRudGrA%40mail.gmail.com\n\nI saw this topic in todo list, \nso I implemented simple patch.\n\nhttps://www.postgresql.org/message-id/flat/1657809367.40... |
[
{
"msg_contents": "Currently, the documentation explicitly states, that after failover, the\nold master must be recreated from scratch, or pg_rewind should be used\n(requiring wal_log_hints to be on, which is off by default):\n\n> The former standby is now the primary, but the former primary is down and\nmight ... |
[
{
"msg_contents": "Hi hackers.\n\nThe documentation for DISCARD ALL[1] state that it is equivalent to a\nseries of commands which includes UNLISTEN *. On the other hand, the docs\nfor hot standby mode[1], state that UNLISTEN * is unsupported while DISCARD\nis (although the docs don't specify whether this includ... |
[
{
"msg_contents": "Good morning,\n\nFirst of all thanks for helping me ,\n\nWe have postgres running in 8.4.22, We have back up from 8.3.7\nWhen I try to restore, All the tables are not restored, almost 60% of the tables not exist, Failed with the following errors.\n\nAny help on this much appreciated.\n\nI am ... |
[
{
"msg_contents": "For a long time, we documented our table size, max columns, max column\nwidth limits, etc. in https://www.postgresql.org/about/ , but that\ninformation seems to have now been removed. The last version I can\nfind with the information present is back in April this year. Here's a\nlink to what ... |
[
{
"msg_contents": "RANGE partitioning of time-series data is quite a common range to use\npartitioning, and such tables tend to grow fairly large. I thought\nsince we always store RANGE partitioned tables in the PartitionDesc in\nascending range order that it might be useful to make use of this and\nwhen the r... |
[
{
"msg_contents": "hello ,\n\nThe WITH TIES keyword is sql standard that specifies any peers of retained\nrows\n\nto retained in the result set too .which means according to ordering key\nthe result set can includes additional rows which have ties on the last\nposition, if there are any and It work with ORDER B... |
[
{
"msg_contents": "1. The return type of resize() function is void, so I propose part of the\nheader comment to be removed:\n\ndiff --git a/src/backend/lib/dshash.c b/src/backend/lib/dshash.c\nindex b46f7c4cfd..b2b8fe60e1 100644\n--- a/src/backend/lib/dshash.c\n+++ b/src/backend/lib/dshash.c\n@@ -672,9 +672,7 @... |
[
{
"msg_contents": "Dear hackers,\n\nThis is my first try to post on that list to propose a workaround on an\nissue I noticed while using pg_waldump. Each time an object is referenced\nby \"oids\" following output template :\ntablespace oid/database oid/relfilenodeid\n\nThat template seems to be used for each ... |
[
{
"msg_contents": "Hello,\n\nThis is a follow-up to another patch I posted about libpq confusing \ndocumentation & psql resulting behavior under host/hostaddr settings.\n\nAlthough the first mostly documentation patch did not gather much \nenthousiasm, I still think both issues deserve a fix.\n\nAbout updating ... |
[
{
"msg_contents": "Hi,\n\nI just noticed, while working on a patch adding things to PGPROC, that\nthe group clearning patches for the proc array and clog reset atomics in\nInitProcess().\n\nI'm not a big fan of that, because it means that it's not safe to look\nat the atomics of backends that aren't currently i... |
[
{
"msg_contents": "Dear friends,\n\nI would like to use ltree for search paths in a warehouse application,\nsomething like \"Material-Entry-01.Main-Aisle.Shelf-Aisle-R07/R08.R07-12-03\"\nUnfortunately I can not use common separators like dash (-) or slash(/)\n\nDocumentation states only thes characters [A-Za-z0... |
[
{
"msg_contents": "Checking for conflicting options in pg_restore was mostly done in main() with\none check deferred until RestoreArchive(). Reading the git history makes it\nseem like it simply happened, without the disjoint checking being intentional.\nAm I reading it right that we can consolidate all the op... |
[
{
"msg_contents": "Hello,\n\nwhile working with Google Code-In students, there is one task: \"clone\nPostgreSQL from git repository, and build from source\".\n\nThis brought up an interesting problem: the README refers to an \"INSTALL\"\nfile, which is present in packages, but not in the source repo. This is\nv... |
[
{
"msg_contents": "Hi\n\nI try to create operator + for varchar and integer with Oracle behave.\n\ncreate or replace function sum(varchar, int)\nreturns int as $$ select $1::int + $2 $$ language sql;\n\ncreate operator + (function = sum, leftarg = varchar, rightarg = int,\ncommutator = +);\n\ncreate table foo2(... |
[
{
"msg_contents": "Hi all,\n\nIt looks that I forgot to mark pg_promote as parallel-restricted in\n1007465 in pg_proc.dat. It seems to me that this is not a huge issue as\nsystem_views.sql redefines the function for its default values and\nenforces parallel-restricted, but let's be right from the start.\n\nAtt... |
[
{
"msg_contents": "I am using pgadmin4 version 3.4 with PG 11.0 and I get this error when I \ntry to connect with scram authorization:\n\nUser \"myuser\" does not have a valid SCRAM verifier.\n\nHow do I get around this?\n\nRegards,\nMichael Vitale\n\n",
"msg_date": "Mon, 29 Oct 2018 09:54:56 -0400",
"m... |
[
{
"msg_contents": "Hi,\n\n We have migrated from Oracle to Postgres, there because of the replication\nrequirements we used UUID columns.\nI did a POC(in postgres) with sequential UUID against Non sequential which\nhas shown lot of different in space utilization and index size. Sql server\nhas \"newsequentialid... |
[
{
"msg_contents": "A use case that I see quite a lot of is needing to do reports and other\ncalculations on data per day/hour/etc but in the user's time zone. The\nway to do that is fairly trivial, but it's not obvious what it does so\nreading queries becomes just a little bit more difficult.\n\nAttached is a ... |
[
{
"msg_contents": "-Hackers,\n\n\nWorking on 9.6 today (unsure if fixed in newer versions). Had an issue \nwhere the wal was 280G despite max_wal_size being 8G. Found out there \nwere stale replication slots from a recent base backup. I went to drop \nthe replication slots and found that since the wal_level was... |
[
{
"msg_contents": "Hi,all\n\n\nIn our PostgreSQL 10.2 database, two sessions of insert and autovacuum of gin index blocked in LWLock:buffer_content.\nThis blocked checkpoint and dead tuple recycle,and we had to restart the datebase.\nAccording to the information collected from gcore, a deadlock occurred when ac... |
[
{
"msg_contents": "Hi all,\n\nhere is an example:\n\nSELECT\tsequence_name AS relname, sequence_schema AS schemaname\n\tFROM information_schema.sequences\n\tWHERE sequence_schema NOT LIKE 'pg\\_%' AND sequence_schema != ‚information_schema'': SQLSTATE[42809]: Wrong object type: 7 ERROR: \"pg_statistic\" is not ... |
[
{
"msg_contents": "Hello,\n\n\nThe installation instructions (short version) are not consistent with \nthe \"initdb\" output. The first one still uses \"postgres -D\", even \nmentions \"check initdb output\", but \"initdb\" emits \"pg_ctl\" commands.\n\nThe attached patch updates the short install instructions ... |
[
{
"msg_contents": "Hello All,\n\nWe are using the foreign data wrapper API to integrate YugaByte DB (\nhttps://github.com/yugabyte/yugabyte-db) with PostgreSQL, so scanning\ntables stored in YugaByte DB is being done through Foreign Scan callbacks.\nThese callbacks in turn read data from the underlying YugaByte... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.