threads
listlengths
1
2.99k
[ { "msg_contents": "Commit 7e2a18a9 must have caused this compiler warning which I now see\non the master branch with my standard release build settings:\n\ngcc -Wall -Wmissing-prototypes -Wpointer-arith\n-Wdeclaration-after-statement -Wendif-labels\n-Wmissing-format-attribute -Wformat-security -fno-strict-alias...
[ { "msg_contents": "I’ve started PostgreSQL server on Windows and then I kill client\nbackend’s process by taskkill the service was stopped: \n\npostgres=# select pg_backend_pid();\n pg_backend_pid\n----------------\n           1976\n\npostgres=# \\! taskkill /pid 1976 /f\nSUCCESS: The process with PID 1976 has ...
[ { "msg_contents": "We were some of the issues associated with the behavior of arrays.\n1. We would like to implement arrays negative indices (from the end) like in \nPython or Ruby: arr[-2] or arr[1: -1] \nbut as an array can be indexed in the negative area so it probably can not be \ndone.\n2. We would like t...
[ { "msg_contents": "I fat-fingered a view create and ended up with this:\n\n...\n , schemaname, relname -- other\n now\n , d_now, ...\n\nI was about to report this as a bug until Marko Tiikkaja pointed out on \nIRC that now was being treated as an alias for relname.\n\nI'm not sure if this is r...
[ { "msg_contents": "I observed one strange behavior today that if postmaster process gets crashed/killed, then it kill all background processes but not the client backend process.\nMoreover it is also allowed to execute query on the connected client session without any other background process.\nBut If I try to ...
[ { "msg_contents": "Now vacuum full table takes an AccessExclusiveLock on relation at start and select statement takes an AccessShareLock on relation. So 'vacuum full table' blocks select statement on the same table until it is committed and select statement block 'vacuum full table' until it is finished. The co...
[ { "msg_contents": "The release notes for the new version reference some CVEs that \nhave not been publically released yet. Are they slow, or is \nthis something that needs to be added to the release \nprocess checklist? \n\nFor example, see the CVE hyperlink for json parsing at:\n\nhttps://bucardo.org/postgres_...
[ { "msg_contents": "Attached documentation patch is intended to close-out the INSERT ...\nON CONFLICT documentation items from the 9.5 open item list. I also\nattach a patch that makes a minor adjustment to an error message\nconcerning deferred constraints; the problem came to my attention as I\nworked on the do...
[ { "msg_contents": "Parallel aggregate is the feature doing the aggregation job parallel\nwith the help of Gather and\npartial seq scan nodes. The following is the basic overview of the\nparallel aggregate changes.\n\nDecision phase:\n\nBased on the following conditions, the parallel aggregate plan is generated....
[ { "msg_contents": "Wheter it would be a problem to set additional item (rhost) before\npam_authentication function in backend/libpq/auth.c?\nIt is very useful because you can restrict access to given ip address like\nin mysql.\nAnd this actually utilized in pam-pgsql, wich cannot be used because rhost\nitem is ...
[ { "msg_contents": "My recent commit of the Gather executor node has made it relatively\nsimple to write code that does an end-to-end test of all of the\nparallelism-relate commits which have thus far gone into the tree.\nSpecifically, what I've done is hacked the planner to push a\nsingle-copy Gather node on to...
[ { "msg_contents": "Cause TestLib.pm to define $windows_os in all branches.\n\nBack-port of a part of commit 690ed2b76ab91eb79ea04ee2bfbdc8a2693f2a37 that\nI'd depended on without realizing that it was only added recently. Since\nit seems entirely likely that other such tests will need to be back-patched\nin fu...
[ { "msg_contents": "Hi Team,\n\nWould like to propose a new DIAGNOSTICS attribute, which returns the no.of\nrows got skipped during the FOR UPDATE SKIP LOCKED;\n\nUsing this attribute, we can have more control on parallel operations like,\n\nIF SKIPPED_ROW_COUNT =0 THEN\n<<Treat me as, a complete transaction, an...
[ { "msg_contents": "Hi All,\n\nI was able to follow the debugging of the child process using this link,\nhttps://wiki.postgresql.org/wiki/Working_with_Eclipse\n\nAs per the notes , I was able to set breakpoints and everything seem to be\nworking (hopefully). However I am not able to see the debug messages in the...
[ { "msg_contents": "Hi guys,\n\nI would like to ask you whether is there any tool to be able to compare\ndatabase schemas ideally no matter what the column order is or to dump\ndatabase table with ascending order of all database columns.\n\nFor example, if I have table (called table) in schema A and in schema B\...
[ { "msg_contents": "Have dtrace depend on object files directly, not objfiles.txt\n\nPer Mark Johnston, this resolves a build error on FreeBSD related\nto the fact that dtrace is modifying the generated object files\nunder the hood. Consequently, without this, dtrace gets reinvoked\nat install time because the ...
[ { "msg_contents": "We've got a few open items remaining at\nhttps://wiki.postgresql.org/wiki/PostgreSQL_9.5_Open_Items - we should\ntry to get rid of them. Of the 8 items there, 3 are documentation\nissues. It looks to me like one of those is for Stephen to deal with,\none for Andres, and one for Alvaro. Is ...
[ { "msg_contents": "Hi all\n\nBefore 9.5 goes final, lets change replorigin_sesssion_origin and\nreplorigin_sesssion_origin_lsn to remove the extra 's'.\n\nYes, it's trivial.\n\n-- \n Craig Ringer http://www.2ndQuadrant.com/\n PostgreSQL Development, 24x7 Support, Training & Services\n\n\n\n-- ...
[ { "msg_contents": "The new OS X release 10.11 \"El Capitan\" has a \"security\" feature that\nprevents passing DYLD_LIBRARY_PATH to child processes. Somehow, that\nvariable is stripped from the environment.\n\nConsequently, the current in-tree \"make check\" test setup will no longer\nwork, because programs su...
[ { "msg_contents": "Hi hackers.\n\nI noticed ssl_renegotiation_limit has been removed in PostgreSQL 9.5, good\nriddance...\n\nHowever, the new situation where some versions of PG allow this parameter\nwhile others bomb when seeing it. Specifically, Npgsql sends\nssl_renegotiation_limit=0 in the startup packet to...
[ { "msg_contents": "I've added the TODO item:\n\nWhen pg_upgrade -j ... is interrupted (for example, ctrl-C from the\nkeyboard) make it cancel the children processes.\n\nThe context where this arises is that I want to populate data into a new\ninstallation compiled with a patch under review, but immediately get ...
[ { "msg_contents": "Some of you probably wondered where the heck the recent flurry of activity\naround regular expressions (eg, commits 9fe8fe9c9e, b63fc2877) came from.\nThe answer is that it was mostly driven by some fuzz testing that Greg\nStark reported to the PG security list: he found various random regexp...
[ { "msg_contents": "Came across a couple of unclear comments about functions returning\nObjectAddress. Attached fixes them.\n\nThanks,\nAmit\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_contents": "Hi,\n\nIf we have two queries, Query A and Query B that both return same columns.\n\nIf we do Union All View will postgresql execute Query A and then Query B\nsequentially?\n\nDoes the work being discussed around parallel query have the potential to\nparallely execute both parts of a Union Al...
[ { "msg_contents": "Hi all\n\nThere's an oversight in replication origins support in logical\ndecoding, where the origin node ID isn't passed correctly to callbacks\nexcept for the origin filter callback. All other callbacks see it as\nInvalidRepOriginId.\n\nIt's a one-line fix, but I've added support in test_de...
[ { "msg_contents": "Hi guys,\n\nI'm running some test.\n\n\nHowever, I'm stuck in restoring a PostgreSQL 9.2.4 dump to PostgreSQL\n9.4.5 database.\nI'm doing the backup using pg_dump version PostgreSQL 9.2.4 in text\nfile (SQL dump).\nI'm trying to restore it to PostgreSQL 9.4.5 usng psql.\n\n\nThe restoration e...
[ { "msg_contents": " I’ve created 2 unprivileged users: user1 and user2; and registered 2\nservices thorough pg_ctl register respectively under these 2 users. If\nfirst service is running second could not start and vice versa.\n\n\n----\nDmitry Vasilyev\nPostgres Professional: http://www.postgrespro.com\nRussian...
[ { "msg_contents": "I looked into bug #13683,\nhttp://www.postgresql.org/message-id/20151015135804.3019.31908@wrigleys.postgresql.org\n\nIt looks to me like plpython basically doesn't work at all for re-entrant\ncalls to plpython functions, because all executions of a given function\nshare the same \"globals\" d...
[ { "msg_contents": "I have spend the past few days updating our TODO list, removing\ncompleted and now-unnecessary items:\n\n\thttps://wiki.postgresql.org/wiki/Todo\n\nI encourage others to also update the list to make it more accurate. \nThanks.\n\n-- \n Bruce Momjian <bruce@momjian.us> http://momjian....
[ { "msg_contents": "DROP DATABASE mydb CONCURRENTLY;\n\nThat would perform forced shutdown\n\n1) reject any new backends to mydb\n2) terminate old backends\n3) drop db\n\n40 upvotes here http://dba.stackexchange.com/a/11895/3710 inspired me\nto propose this improvement.\n\nIf you think it's a good idea please in...
[ { "msg_contents": "We are getting an error on the following statement:\n\nCREATE INDEX CONCURRENTLY customer_jsonb_fields_idx ON customer USING gin\n(jsonb_fields jsonb_path_ops);\n\nERROR: invalid memory alloc request size 2013265920\n\nAnyone know what is causing it? It does not seem to be data corruption a...
[ { "msg_contents": "Andrew,\n\nThe FileTextArrayFDW-build failure on crake, and the RedisFDW-build\nfailure on sittella, are expected results of my commit\n5043193b78919a1bd144563aadc2f7f726549913. If those FDWs do not push\nquals down, they just need to be updated to pass an additional NIL\nargument to make_fo...
[ { "msg_contents": "In many environments there is a policy requiring users to login using\nunprivileged accounts, and then escalate their privileges if and when\nthey require it. In PostgreSQL this could be done by granting the\nsuperuser role to an unprivileged user with noinherit, and then making\nthe superuse...
[ { "msg_contents": "The release notes say that checkpoint_segments has been replaced by\nmax_wal_size and min_wal_size, but there is no indication on how to\nconvert between the old and new settings. I think a lot of people will\nhave checkpoint_segments delicately tuned, so we should at least give\nthem a hint...
[ { "msg_contents": "The following bug has been logged on the website:\n\nBug reference: 13685\nLogged by: Laurence Rwoe\nEmail address: l@lrowe.co.uk\nPostgreSQL version: 9.4.5\nOperating system: Mac OS X 10.10\nDescription: \n\nI'm seeing Postgres 9.4.5 archive while idle every archi...
[ { "msg_contents": "The shm_mq code handles blocking mode and non-blocking mode\nasymmetrically in a couple of places, with the unfortunate result that\nif you are using non-blocking mode, and your counterparty dies before\nattaching the queue, operations on the queue continue to return\nSHM_MQ_WOULD_BLOCK inste...
[ { "msg_contents": "I've occasionally heard complaints that our regex engine only has\nlookahead constraints not lookbehind constraints, while Perl's for example\ndoes have those. While I was fooling around with the other issues in that\ncode, I learned enough to realize that it would not be that hard to\nimple...
[ { "msg_contents": "Hi there,\n\nI've been doing a lot of filesystem testing / benchmarking recently, and \ntoday I've ran into a really strange issue with ext4 on two SSD devices \nin a RAID-0 configuration (Linux software raid).\n\nI'm currently trying rerunning the test to see if it's reproducible, but \nmayb...
[ { "msg_contents": "I'm planning on adding a todo item to have COPY FREEZE set PD_ALL_VISIBLE.\nOr is there some reason this can't be done?\n\nSince the whole point of COPY FREEZE is to avoid needing to rewrite the\nentire table, it seems rather perverse that the first time the table is\nvacuumed, it needs to re...
[ { "msg_contents": "This patch adds \"VERSION\" to the list of words completed after \"create\nextension foo\", and adds the list of available versions of foo after\n\"create extension foo version\".\n\nThere is no point in filtering out the already installed version, as the\nentire statement is doomed already i...
[ { "msg_contents": "Is there a particular reason why row and record variables can't be \nCONSTANT in plpgsql?\n-- \nJim Nasby, Data Architect, Blue Treble Consulting, Austin TX\nExperts in Analytics, Data Architecture and PostgreSQL\nData in Trouble? Get it in Treble! http://BlueTreble.com\n\n\n-- \nSent via pgs...
[ { "msg_contents": "> On Fri, Oct 16, 2015 at 6:12 PM, Kouhei Kaigai <kaigai@ak.jp.nec.com> wrote:\r\n> > I think, it is right approach to pretend EPQ doesn't exist if scanrelid==0,\r\n> > because what replaced by these ForeignScan/CustomScan node are local join\r\n> > node like NestLoop. They don't have its own...
[ { "msg_contents": "Attached fixes the following in comment above ExecCheckIndexConstraints:\n\ns/no no conflict/no conflict/g\n\nThanks,\nAmit\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_contents": "> On Fri, Oct 16, 2015 at 9:51 PM, Tom Lane <tgl@sss.pgh.pa.us> wrote:\r\n> > Robert Haas <robertmhaas@gmail.com> writes:\r\n> >> Both you and Etsuro Fujita are proposing to fix this problem by\r\n> >> somehow making it the FDW's problem to reconstruct the tuple\r\n> >> previously produced by...
[ { "msg_contents": "Hi,\n\nWe cannot to declare variable with referenced type on other composite\nvariable. This limit is probably artificial, because any composite type is\nany type too in PostgreSQL.\n\nThe issue:\n\nreferencing on composite variables doesn't work\n\ndo $$ declare x int; y x%type; begin end; $...
[ { "msg_contents": "Hi,\n\nworking on the checkpoint sorting/flushing patch I noticed a number of\npreexisting issues:\n\n1) The progress passed to CheckpointWriteDelay() will often be wrong -\n it's calculated as num_written / num_to_write, but num_written is only\n incremented if the buffer hasn't since in...
[ { "msg_contents": "Hello,\n\nWhen monitoring using pg_stat_satements I see that postgres by default\nconceals queries executed by other users from the user who is selecting the\npg_stat_statements view.\n\nI have edited the pg_stat_statements.c by disabling the superuser check\nfunction so that all queries will...
[ { "msg_contents": "Folks,\n\nAs I was learning how best to add native weighted statistics, coming\nsoon, I noticed that our ROWS FROM() constructor takes only\nset-returning functions, gluing the outputs together side by side\nwithout a join condition of any kind. This is a handy capability,\nwhich I don't fin...
[ { "msg_contents": "> On Mon, Oct 19, 2015 at 12:17 AM, Kouhei Kaigai <kaigai@ak.jp.nec.com> wrote:\r\n> > 1. Fetch every EPQ slot of base relations involved in this join.\r\n> > In case of ForeignScan, all the required tuples of base relations\r\n> > should be filled because it is preliminary fetched by w...
[ { "msg_contents": "walsender.c, CreateReplicationSlot() currently has this:\n\n slot_name = NameStr(MyReplicationSlot->data.name);\n\n if (cmd->kind == REPLICATION_KIND_LOGICAL)\n {\n\t[...]\n }\n else if (cmd->kind == REPLICATION_KIND_PHYSICAL && cmd->reserve_wal)\n {\...
[ { "msg_contents": "Hi,\n\nI found typos in plannodes.h: s/scan.plan.quals/scan.plan.qual/g Please\nfind attached a patch.\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/pgs...
[ { "msg_contents": "Hi.\n\nIntroduction\n============\n\nPostgreSQL full-text search extension uses dictionaries from the various \nopen source spell checker software to perform word normalization.\n\nCurrently, Ispell, MySpell and Hunspell dictionaries are supported.\n\nDictionaries requires two files: a dictio...
[ { "msg_contents": "Wouldn't it be better to have these two parameters documented next to each other,\r\nas in the attached patch?\r\n\r\nYours,\r\nLaurenz Albe\r\n\n\n\n-- \nSent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)\nTo make changes to your subscription:\nhttp://www.postgresql.org/mailp...
[ { "msg_contents": "Tab complete CREATE EXTENSION .. VERSION.\n\nJeff Janes\n\nBranch\n------\nmaster\n\nDetails\n-------\nhttp://git.postgresql.org/pg/commitdiff/7c0b49cd03fdb6bbedada6c5e6439cb4cd6872c3\n\nModified Files\n--------------\nsrc/bin/psql/tab-complete.c | 17 ++++++++++++++++-\n1 file changed, 16 i...
[ { "msg_contents": "I fixed some typos in posgres.\nThey are all in comments. :)\n\nThanks\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": "Wed, 21 Oct 2015 01:08:19 +0900", ...
[ { "msg_contents": "Hi,\n\nThis may just be nitpicking but I noticed that ATWrongRelkindError() could\nemit a better message in case of such errors during ALTER COLUMN DEFAULT\nand ALTER COLUMN SET STORAGE than \"%s is of the wrong type\" which is what\nit would emit now. Just need to add a couple of cases to t...
[ { "msg_contents": "Hi,\n\nWhile testing wal2json, I faced some problems with pg_recvlogical. \nAttached is a serie of patches that can improve pg_recvlogical. Patches \n#2 and #3 are bugfixes (and should be applied to 9.5 too). Patch #1 is \nnot mandatory to 9.5.\n\nShort description:\n\n#1: add a bunch of chec...
[ { "msg_contents": "I am trying to patch postgres to accept this query. A recursive query\nreferencing the recursive table twice. By removing some checks it accepts\nthe query and generates a plan.\n\n### Query\n\ncreate table base(k1,k2,k3) as (values\n(1,null,null),(2,null,null),(3,1,2));\n\nwith recursive x(...
[ { "msg_contents": "The following bug has been logged on the website:\n\nBug reference: 13694\nLogged by: Justin Catterson\nEmail address: justin.catterson@sofiebio.com\nPostgreSQL version: 9.5beta1\nOperating system: Ubuntu 14.10 x64\nDescription: \n\nUsers with the CREATEUSER permis...
[ { "msg_contents": "Currently, xid_age() returns INT_MAX for a permanent xid. The comment in \nthe function that 'Permanent XIDs are always infinitely old' may be \ntechnically correct, but returning INT_MAX is a useless behavior because \nit actually makes it look like that XID is in immediate wraparound \ndang...
[ { "msg_contents": "While warning a client that just did a Slony-based version upgrade to \nmake sure to freeze the new database, it occurred to me that it should \nbe safe to freeze without the cleanup lock. This is interesting because \nit would allow a scan_all vacuum to do it's job without blocking on the \n...
[ { "msg_contents": "The Gather node, as currently committed, is neither projection-capable\nnor listed as an exception in is_projection_capable_plan. Amit\ndiscovered this in testing, and I hit it in my testing as well. We\ncould just mark it as being not projection-capable, but I think it\nmight be better to ...
[ { "msg_contents": "ISTM it should be possible to avoid sending full page writes to a \nstreaming replica once the replica has reached a consistent state. I \nassume that the replica would still need to write full pages to it's \ndisk in case of a crash, but the sender could insert special WAL records \nto tell ...
[ { "msg_contents": "One problem we have with PostGIS is you cannot test an extension\nunless you have access to the system extension dir.\n\nThe following patch tries to address that by allowing to specify\na per-cluster extension path via an \"extensions_path\" GUC.\n\nIt is more a request-for-comments rather t...
[ { "msg_contents": "When I use psql with wrapped format with expanded output, I get the\nperiod that is supposed to be at the end of the line being at the\nbeginning of the next line.\n\nCan anyone else verify this? I want to verify it is not some local\nissue before looking into it too far.\n\nI've made the sc...
[ { "msg_contents": "It seems\norg.postgresql.Driver.setLogLevel(org.postgresql.Driver.DEBUG) does\nnot work anymore in the newer JDBC driver.\n\nAs far as I know, postgresql-9.2-1003.jdbc4.jar or\npostgresql-9.3-1104.jdbc41.jar work fine and produce following output\nfor example:\n\n16:36:36.459 (1) PostgreSQL 9...
[ { "msg_contents": "Is PostgreSQL support UNICODE UTF-32 characters ?\n\nIf not, I think it's a must to be internationnal.\n\nTo help you in this task, you could use this UTF-32 editor:\n\nhttps://wxmedit.github.io/downloads.html\n\nthanks.\n\nIs PostgreSQL support UNICODE  UTF-32 characters ?If not, I think it'...
[ { "msg_contents": "Currently PostgreSQL only has trigonometric functions that work in\nradians. I think it would be quite useful to have an equivalent set of\nfunctions that worked in degrees. In other environments these are\ncommonly spelled sind(), cosd(), etc.\n\nPartly, this would be a matter of convenience...
[ { "msg_contents": "Hi,\n\nI've been looking at the checkpoint patches (sorting, flush and FPW \ncompensation) and realized we got gaussian/exponential distributions in \npgbench which is useful for simulating simple non-uniform workloads.\n\nBut I think the current docs is a bit too difficult to understand for ...
[ { "msg_contents": "Parallel workers were failing to connect to the database when running\npg_dump with a connection string. The first of the following two commands\nruns without errors, while the second one fails:\npg_dump \"postgres://my-user:my-password@my.hostname.com:5432/my-db\" -Fd -f\nmy-dump\npg_dump \"...
[ { "msg_contents": "Hi all,\n\nPerhaps some of you guys knew about that, but I just found about this\nstuff this morning:\nhttps://boringssl.googlesource.com/boringssl/+/HEAD/PORTING.md\nLooking at the porting section many routines have changed compared to\nOpenSSL. I can't imagine this fork to become a complete...
[ { "msg_contents": "> On Sat, Jul 25, 2015 at 11:13 PM, Kouhei Kaigai <kaigai@ak.jp.nec.com> wrote:\r\n> > I'm recently working/investigating on ParallelAppend feature\r\n> > towards the next commit fest. Below is my design proposal.\r\n> >\r\n> > 1. Concept\r\n> > ----------\r\n> > Its concept is quite simple a...
[ { "msg_contents": "Dear,\n\nI have a question about update performance of PG.\n\nBecause of the internal implementation of MVCC in PG\nthe update of a row is actually a insertion of a new version row.\nSo if the size of a row is huge, then it incurs some overhead compare to\nin-place update strategy.\n\nLet's a...
[ { "msg_contents": "Hello,\n\nThe fact that pg_basebackup doesn't use replicaiton slots, is that a \ntechnical limitation or just a, \"we need a patch\"?\n\nJD\n-- \nCommand Prompt, Inc. - http://www.commandprompt.com/ 503-667-4564\nPostgreSQL Centered full stack support, consulting and development.\nAnnouncing...
[ { "msg_contents": "Hi,\n\nI have created a readonly user by executing the following statements,\nCREATE USER backupadm SUPERUSER password 'mypass';\nALTER USER backupadm set default_transaction_read_only = on;\n\nBut the backupadm user is able to create/update table when using START\nTRANSACTION READ WRITE and...
[ { "msg_contents": "Hi all.\n\nI’m wondering why do I get conflicts with recovery on hot standby using replication slots and read commited isolation level? And if I start repeatable read transaction I don’t get any errors. Below is some diagnostics.\n\nI’m using 9.4.4 (upgrade is planned) from yum.postgresql.org...
[ { "msg_contents": "Cleanup commit timestamp module activaction, again\n\nFurther tweak commit_ts.c so that on a standby the state is completely\nconsistent with what that in the master, rather than behaving\ndifferently in the cases that the settings differ. Now in standby and\nmaster the module should always ...
[ { "msg_contents": "The following bug has been logged on the website:\n\nBug reference: 13741\nLogged by: Eric Brown\nEmail address: brown@fastmail.com\nPostgreSQL version: 9.5beta1\nOperating system: CentOS 6.6\nDescription: \n\nI am trying to vacuum a database from a remote computer...
[ { "msg_contents": "It's been my observation that setting client_min_messages or\nlog_min_messages to DEBUG3 is almost invariably impractical, because\nevery SQL statement spews about SIX messages about the transaction\nstate:\n\nrhaas=# select 1;\nDEBUG: StartTransactionCommand\nDEBUG: StartTransaction\nDEBUG...
[ { "msg_contents": "Hi, Hackers\n\nRecursive queries are typically used to deal with hierarchical or\ntree-structured data.\nIn some conditions when data contain relationships with cycles recursive query will loop\nunlimited and significantly slows the client's session.\nTo prevent \"infinite\" loop I suggest t...
[ { "msg_contents": "Hello, guys.\n\nI have a database testdb with commet 'test comment' and security label 'classified'. I create dump by pg_dump:\n\npg_dump -h 127.0.0.1 -d testdb -U postgres --format c dump\n\nSo, I want to restore a dump with comment and security label to testdb_restore. I run:\n\npg_restore ...
[ { "msg_contents": "Hello hello,\n\nSince the default t/f output for booleans is not very user friendly, \nattached is a patch which enables you to do for example the following:\n\n=# \\pset true TRUE\nBoolean TRUE display is \"TRUE\".\n=# \\pset false FALSE\nBoolean FALSE display is \"FALSE\".\n=# select true, ...
[ { "msg_contents": "Hi,\n\nI rather regularly want to pass extra flags to configure without\noverwriting CFLAGS. There's two basic reasons:\n\n1) ./configure CFLAGS=... essentially breaks --enable-debug and related\n options, overwrites -O2 as the default and such. That's imo pretty\n confusing.\n2) I like t...
[ { "msg_contents": "\nSee subject. Aside from them being divvied up by datatype, they seem\nto be ordered randomly. Since I'm putting together a patch that will\nadd some GUCs, do I just add them to the end of the list?\n\n-- \nBill Moran\n\n\n-- \nSent via pgsql-hackers mailing list (pgsql-hackers@postgresql.or...
[ { "msg_contents": "Hi,\n\nHere's a patch for the aggregate function outlined by Corey Huinker in \nCADkLM=foA_oC_Ri23F9PbfLnfwXFbC3Lt8bBzRu3=CB77G9_qw@mail.gmail.com . I \ncalled it \"onlyvalue\", which is a horrible name, but I have nothing \nbetter to offer. (Corey called it \"only\", but that doesn't reall...
[ { "msg_contents": "Hi friends,\n\n\nI'm Fabio Mendonça (Brazil) and I initiated a work with PostgreSQL, I work with Oracle , DB2 , Sybase and Informix , but PostgreSQL is a sweet experience.\n\n\nIn this moment I'm looking any help, because the articles that I've found not solve the problem.\n\nThe Cenario:\n\...
[ { "msg_contents": "I'm trying to install pgTAP on a FreeBSD machine and running into an odd \nproblem:\n\n> sed -e 's,MODULE_PATHNAME,$libdir/pgtap,g' -e 's,__OS__,freebsd,g' -e 's,__VERSION__,0.95,g' sql/pgtap-core.sql > sql/pgtap-core.tmp\n> /bin/sh /usr/local/lib/postgresql/pgxs/src/makefiles/../../config/mi...
[ { "msg_contents": "Can anyone identify a likely cause of the stack traces reported here:\n\nhttps://retrace.fedoraproject.org/faf/reports/853674/\n\nApparently, what's happening is that PGSemaphoreUnlock is hitting\n\n\telog(FATAL, \"semop(id=%d) failed: %m\", sema->semId);\n\nand then that's being promoted to ...
[ { "msg_contents": "As of the end of this month, I will be departing Salesforce.com and\njoining Crunchy Data Solutions (http://crunchydatasolutions.com),\nwhom you might recognize as being already the employers of Stephen\nFrost, Joe Conway, and Greg Smith, as well as a few other folk who\nhang out on pghackers...
[ { "msg_contents": "Hi,\n\nWas reviewing recent commits, and it seems the following commit adds an\nextra line to some comments. Just wanted to cross-check if that was\nintentional.\n\nCommit: http://goo.gl/zxA00l\nPre-Commit: http://goo.gl/2DpLxi\nPost-Commit: http://goo.gl/eKcNm3\n\nApologies for the noise, if...
[ { "msg_contents": "I just found myself in execScan.c. I noticed that tlist_matches_tupdesc()\nis a bit wasteful in some cases as it goes to the trouble of matching the\ntlist to the TupleDesc item by item until it runs out of tlist items\nor finds a non-match. Once the loop completes it ensures that all tlist\n...
[ { "msg_contents": "The security_barrier view option is classified as string in the create\nview documentation.\nBut it is actually a boolean. The type is mentioned correctly in alter\nview. Here I attached\nthe patch with the correction.\n\n- <term><literal>security_barrier</literal> (<type>string</type>...
[ { "msg_contents": "> On Tue, Oct 20, 2015 at 12:39 PM, Etsuro Fujita\r\n> <fujita.etsuro@lab.ntt.co.jp> wrote:\r\n> > Sorry, my explanation was not correct. (Needed to take in caffeine.) What\r\n> > I'm concerned about is the following:\r\n> >\r\n> > SELECT * FROM localtab JOIN (ft1 LEFT JOIN ft2 ON ft1.x = ft...
[ { "msg_contents": "Hi,\n\nI've been reading\nwiki.postgresql.org/images/2/25/Full-text_search_in_PostgreSQL_in_milliseconds-extended-version.pdf\nwith interest and am wondering if these patches ever made it in to the\n\"official\" version of Postgresql?\n\nI've tried doing some of the queries as described in th...
[ { "msg_contents": "Hi\r\n\r\nThere is interesting query on stackoverflow\r\nhttp://stackoverflow.com/questions/33418157/query-too-slow-in-postgresql-in-table-with-12m-rows\r\n- and it looks like planner issue.\r\n\r\nI have empty tables test1 and test2\r\n\r\nset enable_seqscan to off;\r\ncreate table test1(a i...
[ { "msg_contents": "Folks,\n\nI've run into a problem recently, and I can't be the first to have\ndone so, and it's this.\n\nWe have a pretty sophisticated capability via ALTER DEFAULT\nPRIVILEGES. When the creating role creates something in a schema so\naltered, all kinds of nice recursive granting happens. T...
[ { "msg_contents": "I think that within the CF app, we should either rename the patch\ntopic \"Bug Fixes\" to \"Bug Fixes/Refactoring\", or introduce a new\n\"Refactoring\" topic. I prefer the first approach.\n\n-- \nPeter Geoghegan\n\n\n-- \nSent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)\nTo...
[ { "msg_contents": "Some of you might have seen that the Greenplum database source code has\nbeen published:\n\n\thttps://adtmag.com/articles/2015/10/28/greenplum-open-sourced.aspx\n\nunder the Apache 2.0 license:\n\n\thttp://www.apache.org/licenses/LICENSE-2.0\n\nThe source code has known patents owned by Pivot...
[ { "msg_contents": "While testing last night, I discovered a serious case of brain fade in\nparallel.c; the same conceptual mistake has also spread to\nnodeGather.c. parallel.c creates an array of ParallelWorkerInfo\nstructures, which are defined like this:\n\ntypedef struct ParallelWorkerInfo\n{\n Backg...
[ { "msg_contents": "\n> [2015082503-pgconfig_controldata.diff]\n\nI tried to build this, and the patch applies cleanly but then a ld error \nemerges:\n\n(The first four lines (about gram.y) are standard warnings; the error \nstarts from the ld line)\n\n\nIn file included from gram.y:14908:0:\nscan.c: In function...