threads
listlengths
1
2.99k
[ { "msg_contents": "When we did the migration to git, we decided to leave the old\npostgresql git repository around \"for a while\", for people who had\nclones around it. This is the repository that was live updated from\ncvs while we were using cvs, and does *not* correspond to the current\ngit repository when ...
[ { "msg_contents": "Hi .\n\n Apology for the bandwith. Did not know who to ask the question . I\nwas interested in a brief detail on how postgress does expression\npruning between nodes . The basic question is as follows\n\nScenerio\n\n In a plan where Node 1 is parent {say join) and Node 2 is child\n(say sca...
[ { "msg_contents": "Hackers,\n\nCommitfest 2 continues to progress ... slowly. At this point, we have\nno hope of wrapping it up early; my best hope is to at least finish on time.\n\nStatistics:\n* 1/2 of patches are still pending development: 12 waiting on author,\nand 18 waiting for review. In addition, 7 pat...
[ { "msg_contents": "pg_upgrade's pg_scandir_internal() makes use of the non-standard %m\nformat:\n\n pg_log(PG_FATAL, \"could not open directory \\\"%s\\\": %m\\n\", dirname);\n\nIs this an oversight, or is there an undocumented assumption that this\ncode will only be used on platforms where %m works?\n\n(Whi...
[ { "msg_contents": "Hi,\nI noticed that the test alter_table.sql is creating two tables tab1 and tab2\nand it's not dropping it. Any test which follows this test and tries to\ncreate tables with names tab1 and tab2 will fail (unless it drops those\ntables first, but that may not work, since tab2.y depends upon t...
[ { "msg_contents": "I have a function that creates a temp table, populate it with results \nduring intermediate processing, and reads from it at the end. When the \ntransaction is marked as read only, it does not allow creation of temp \ntable, even though there are no permanent writes to the db. Are there \na...
[ { "msg_contents": "Adjust OLDSERXID_MAX_PAGE based on BLCKSZ.\n\nThe value when BLCKSZ = 8192 is unchanged, but with larger-than-normal\nblock sizes we might need to crank things back a bit, as we'll have\nmore entries per page than normal in that case.\n\nKevin Grittner\n\nBranch\n------\nmaster\n\nDetails\n--...
[ { "msg_contents": "I noticed that the 8.4 branch has a file contrib/pg_upgrade/.gitignore\neven though that version does not ship pg_upgrade. Apparently, a\nfew .gitignore files have been backpatched without checking whether they\napply. pg_archivecleanup and unaccent are also affected, and there\nmight be ot...
[ { "msg_contents": "I was adding gcc printf attributes to more functions in obscure places,\nand now I'm seeing this in pg_upgrade:\n\nrelfilenode.c:72:2: warning: zero-length gnu_printf format string [-Wformat-zero-length]\n\nSo the options I can see are either adding the compiler option\n-Wno-format-zero-lengt...
[ { "msg_contents": "Hi,\n\nThe attached patch introduces pg_constraint rows for NOT NULL\ncolumn constraints.\n\nThis patch is a heavily reworked version of Bernd Helmle's patch here:\nhttp://archives.postgresql.org/message-id/E57A252DFD60C1FCA91731BD@amenophis\n\nI fixed a bunch of issues with that patch. I th...
[ { "msg_contents": "Hello all,\n\na lazy deep SQL validation inside plpgsq functions is interesting\nattribute. It allows to work with temporary tables and it make testing\nand debugging harder, because lot of errors in embedded queries are\ndetected too late. I wrote a simple module that can to help little\nbit...
[ { "msg_contents": "Hello, Could you let me go on with this topic?\n\nIt is hard to ignore this glitch for us using CJK - Chinese,\nJapanese, and Korean - characters on databse.. Maybe..\n\nSaying on Japanese under the standard usage, about a hundred\ncharacters out of seven thousand make make_greater_string() f...
[ { "msg_contents": "Heikki Linnakangas wrote:\n \n> I'm getting a bunch of warnings on Windows related to this:\n \n>> .\\src\\backend\\storage\\lmgr\\predicate.c(768): warning C4307: '+' :\n>> integral constant overflow\n \nThe part of the expression which is probably causing this:\n \n (MaxTransactionId +...
[ { "msg_contents": "In bug #6097,\nhttp://archives.postgresql.org/pgsql-bugs/2011-07/msg00063.php\nMaxim Boguk points out that the postmaster goes south when presented\nwith a new addition to the postgresql.conf file. The reason is this\ncode in ProcessConfigFile:\n\n /* In SIGHUP cases in the postmaster...
[ { "msg_contents": "Hi,\n\nSomeone seems to have noticed the commits by Julian Assange and the\ndiscussion about him on pgsql-hackers when we switched from CVS to Git:\n\nhttp://herraiz.org/blog/2011/07/07/software-projects-alzheimer-julian-assanges-lost-contributions/\n\nAnyone feels in mood for a comment?\n\n-...
[ { "msg_contents": "hi,\nwould it be possible to incorporate\nhttp://www.postgres.cz/index.php/Enhanced-psql in core PostgreSQL/psql?\n\nThis patch adds lots of nice functionalities, which we could definitely\nuse.\n\nBest regards,\n\ndepesz\n\n-- \nThe best thing about modern society is how easy it is to avoid ...
[ { "msg_contents": "Hi all,\n\nI would like to fix psql's incomplete and inconsistent handling of\nobject comments. I think this subject can be handled separately from\nthe pg_comments discussion, and we can focus on the\nappearance/behavior of psql commands here.\n\nFirst, As brought up recently [1], comments f...
[ { "msg_contents": "It bit rotted a bit find a new version attached that includes the\nfollowing fixes:\n\n- show_session_authorization() no longer exists, instead access the\nsession_authorization_guc directly (like we do for show_role in\ncommands/variable.c). I find it quite ugly tho...\n- it changed %u to %U...
[ { "msg_contents": "Can someone help me understand pg_locks? There are three fields related\nto virtual and real xids:\n\n virtualtransaction | text |\n transactionid | xid |\n virtualxid | text |\n\nOur docs say 'virtualtransaction' is:\n\n Virtual ID of the transaction that is...
[ { "msg_contents": "Simon, Greg,\n\nThis patch[1] is for some reason marked \"waiting on Author\". But I\ncan't find that there's been any review of it searching the list.\nWhat's going on with it? Has it been reviewed?\n\n-- \nJosh Berkus\nPostgreSQL Experts Inc.\nhttp://pgexperts.com\n", "msg_date": "Sun...
[ { "msg_contents": "All,\n\nKaigai still has some patches pending review or revision in this\nCommitfest. We need to wrap these up.\n\nJoe: will you be able to be able to do more review on security labels?\n\nNoah: do either of the leaky views patches look like they're almost\nready to commit?\n\nEveryone: can ...
[ { "msg_contents": "Hi,\n\n I have problems in my database. I think it is corrupted. Folow my log\nwhen I tried to start it standalone.\n\nI have some questions:\n\n1. I saw that the error is in base/30518/449778670_vm file. Can I rebuild\nthis file or somethink like this?\n\n2. In the last line of log, we can...
[ { "msg_contents": "Right now, calling txid_current() causes a session to create a\nnon-virtual xid if not already assigned, so observing the xid creates\nit, which seems kind of odd. Is that intended? Here is the C code:\n\n\tTransactionId\n\tGetTopTransactionId(void)\n\t{\n\t if (!TransactionIdIsValid(Top...
[ { "msg_contents": "These files are last updated 2001 or 2002 and I'm pretty sure they are\noutdated. It looks like no one is maintaining them, so we should remove\nthem.\n\n\n", "msg_date": "Mon, 11 Jul 2011 18:58:20 +0300", "msg_from": "Peter Eisentraut <peter_e@gmx.net>", "msg_from_op": true, ...
[ { "msg_contents": "Hi,\n\n The attached patch registers a signal handler for SIGSEGV and launches\nGDB in batch mode on its own pid so that the stack leading to the SEGV can\nbe dumped in the server logs. Also attached is an example of the stack\ndumped by gdb in server log file (caused by a `kill -segv nnn`...
[ { "msg_contents": "I have updated the TODO wiki to remove the 9.1-completed items:\n\n\thttp://wiki.postgresql.org/wiki/Todo\n\nThis will allow us to now mark 9.2-completed items.\n\n-- \n Bruce Momjian <bruce@momjian.us> http://momjian.us\n EnterpriseDB http://enterprisedb...
[ { "msg_contents": "Hello,\n\n=# select extract(epoch from 'infinity'::timestamp);\n date_part\n-----------\n 0\n\nA better value would be 'infinity'::float8. Ditto for -infinity.\n\nI'm trying to use a box-based index to represent the intervals in a\ntable containing a pair of fields date_from, date_to ...
[ { "msg_contents": "Hi,\n\nI guess $subject wasn't implemented because plain unique indexes aren't \nrepresented in pg_constraint and thus do not have a place to store information \nabout being deferred?\nOther than that I do not see any special complications in implementing it?\n\nIs there any reasons not to st...
[ { "msg_contents": "Hackers,\n\nGiven this script:\n\n BEGIN;\n\n CREATE TYPE foo AS ( this int, that int );\n\n CREATE OR REPLACE FUNCTION dump(foo[]) returns text language plperlu AS $$\n use Data::Dumper; Dumper shift;\n $$;\n\n CREATE OR REPLACE FUNCTION dump(foo) returns text language ...
[ { "msg_contents": "Hi All,\n\nAs per discussion here\nhttp://archives.postgresql.org/pgsql-hackers/2011-05/msg01119.php\n\nPFA a patch which implements the idea with some variation.\n\nAt the start of the first pass, we remember the current LSN. Every page that\nneeds some work is HOT-pruned so that dead tuples...
[ { "msg_contents": "Hi everybody: \n\n \n\nDoes anybody has an example to send an email in html format using pgmail. \n\n \n\nBest Regards,\n\n \n\nFernando Acosta \n\n\nHi everybody:  Does anybody has an example to send an email in html format using pgmail.  Best Regards, Fernando Acosta", "msg_date": "Tue,...
[ { "msg_contents": "Hi,\n\nI think we're not running the isolation test suite. I noticed that the\nstage seemed to take too little time (zero seconds in fact), and looking\ninto the stage logs only says\n\t'make check' is not supported.\n\tInstall PostgreSQL, then 'make installcheck' instead.\n\nhttp://buildfar...
[ { "msg_contents": "When you create a column with a plain \"interval\" column, the typmod is\nset to -1 and the information schema reports this as 6, because that's\nwhat the internal default value is (see _pg_datetime_precision\nfunction). But when you create a column such as \"interval year to\nmonth\"), the ...
[ { "msg_contents": "There's a thread over in pgsql-performance\nhttp://archives.postgresql.org/pgsql-performance/2011-07/msg00046.php\nin which the main conclusion was that we need to take a fresh look at the\nheuristics the planner uses when dealing with small or empty relations.\nThe code in question is in est...
[ { "msg_contents": "Blind attempt at fixing isolation_tester on Win32\n\nBranch\n------\nmaster\n\nDetails\n-------\nhttp://git.postgresql.org/pg/commitdiff/0d29c375cc33a7b5a51ef1cb66ff9d7af1f7dfff\n\nModified Files\n--------------\nsrc/tools/msvc/Mkvcbuild.pm | 1 +\n1 files changed, 1 insertions(+), 0 deleti...
[ { "msg_contents": "Hackers,\n\nWith regard to this change:\n\n http://git.postgresql.org/gitweb/?p=postgresql.git;a=commitdiff;h=5f7b58fad8f45c69bb67944779dce67e2f481995\n\nI'm wondering if it would be possible to restore the relistemp column to pg_class, at least for backwards compatibility, so that apps that...
[ { "msg_contents": "Hi everybody: \n\n \n\nI am using pgmail to send email in an application, but I would like to use\nhtml format \n\n \n\nDoes anybody has an example how to do this?, or what do you recommend me to\nuse por doing this?\n\n \n\nThanks in advance for your attention. \n\n \n\nBest Regards,\n\n \n\...
[ { "msg_contents": "Attached is patch for the WAL writer that removes its tight polling\nloop (which probably doesn't get hit often in practice, as we just\nsleep if wal_writer_delay is under a second), and, at least\npotentially, reduces power consumption when idle by using a latch.\n\nI will break all remainin...
[ { "msg_contents": "All,\n\nWe're almost at the end of the CommitFest, and three patches have not\nyet been reviewed:\n\nlazy vxid locks\nhttps://commitfest.postgresql.org/action/patch_view?id=585\n\nsepgsql - userspace access vector cache\nhttps://commitfest.postgresql.org/action/patch_view?id=578\n\nAllow mult...
[ { "msg_contents": "I have a couple of questions on GIN:\n\nThe code seems to assume that it's possible for the same TID to appear \ntwice for a single key (see addItemPointersToTuple()). I understand that \nit's possible for a single heap tuple to contain the same key twice. For \nexample if you index an array ...
[ { "msg_contents": "pg_dump seems to not dump the owner of extensions. Is that intentional?\n\n-- \n Heikki Linnakangas\n EnterpriseDB http://www.enterprisedb.com\n", "msg_date": "Thu, 14 Jul 2011 18:51:14 +0300", "msg_from": "Heikki Linnakangas <heikki.linnakangas@enterprisedb.com>", "msg_from...
[ { "msg_contents": "All,\n\nCurrently we have 8 patches \"Ready for Committer\" in the current CF.\nSome of them have been that status for some time.\n\n From traffic on this list, I'm getting the impression that nobody other\nthan Robert, Heikki and Tom are committing other people's patches. I\nknow we have mo...
[ { "msg_contents": "Review of patch: https://commitfest.postgresql.org/action/patch_view?id=539\n\nI glanced through the code and played around with the feature and,\nin general, it looks pretty good. But I have a some comments/questions.\n\nDesign:\n\nFirst, it makes me uncomfortable that you are using the MCV ...
[ { "msg_contents": "(Going through some loose ends in the information schema ...)\n\nIs my understanding right that the ON COMMIT action of temporary tables\nis not recorded in the system catalogs anywhere? Would make sense,\nwouldn't be a big problem, just want to make sure I didn't miss\nanything.\n\n\n", ...
[ { "msg_contents": "Some of these new error messages from the SSI code are a mouthful:\n\n not enough elements in RWConflictPool to record a rw-conflict\n not enough elements in RWConflictPool to record a potential rw-conflict\n\nThese are basically \"out of shared memory\" conditions that could be\nmoved ...
[ { "msg_contents": "All,\n\nAs you can probably tell, we are not ready to end the commitfest. (I\nthink Robert gave me this CF to show why even talking about a one-week\nmini-fest is a fantasy. If so, successful.).\n\nI've booted the patches which obviously aren't going to be immediately\nready. Nine patches ...
[ { "msg_contents": "Hello!\n\nRecently we have upgraded our debian system (sid),\nwhich has since started crashing mysteriously.\nWe are still looking into that. It runs on 3ware RAID.\nPostgres package is 8.4.8-2.\n\nThe database came back up apparently ok, except\nfor indexes. Running reindex produces this err...
[ { "msg_contents": "It's been a few days since I've run through my usual builds and\ntests, and I just discovered that part of my routine was broken by\nthis commit:\n \nhttp://git.postgresql.org/gitweb/?p=postgresql.git;a=commitdiff;h=846af54dd5a77dc02feeb5e34283608012cfb217\n \nThe isolation tests are broken w...
[ { "msg_contents": "On Fri, Jul 15, 2011 at 4:48 PM, Josh Berkus <josh@agliodbs.com> wrote:\n> I am unable to figure out the status of the pg_comments patch from this\n> thread.  What's going on with it?\n\nI don't blame you :-)\n\nI think this thread got so confusing because two separate topics were\nintertwine...
[ { "msg_contents": "Hello,\n\nThe attached file is a revised patch which reflects all review comments by \nMagnus in:\n\nhttp://archives.postgresql.org/pgsql-hackers/2011-07/msg00839.php\n\nI made sure the previous tests (both custom and default \"PostgreSQL\" event \nsource) succeeded.\n\nI'm submitting this to...
[ { "msg_contents": "Hello,\n\nI re-submitted a patch and added a comment on the page below. I chose \n\"patch\" from the comment type drop-down box, but the patch status does not \nchange from \"waiting on author\". I expected the patch status would become \n\"needs review\".\n\nPatch: Allow multiple Postgres cl...
[ { "msg_contents": "Hi,\n\nIsolation tests seem to deadlock on buildfarm member coypu (NetBSD/powerpc 5.1).\n\nHere are the process for one deadlock (several days) :\n\npgbuildfarm 2405 0.0 1.2 26948 7916 ? Is Wed02AM 0:00.25 postgres: pgbuildfarm isolationtest [local] INSERT waiting \npgbuildfarm ...
[ { "msg_contents": "Hi all,\n\nThe psql output for \\d+ on indexes, sequences, and views is rather\nbogus. Examples below from the SQL at bottom.\n\nSo, if you look at \\d+ newtbl, the right-most column named Description\nshould display any comments attached to newtbl's columns. You should\nsee \"bcol column com...
[ { "msg_contents": "R�mi Zara wrote:\n \n> Isolation tests seem to deadlock on buildfarm member coypu\n> (NetBSD/powerpc 5.1).\n \nIt looks to me like both the extreme logging of \"waiting\" messages\nand the days-long unrecognized deadlocks are coming from the new \"fk\"\ntests added to the isolation testing ...
[ { "msg_contents": "Noah Misch wrote:\n \n> With this patch in its final form, I have completed 180+ suite runs\n> without a failure.\n \nThe attached patch allows the tests to pass when\ndefault_transaction_isolation is stricter than 'read committed'. \nThis is a slight change from the previously posted vers...
[ { "msg_contents": "Tom Lane wrote:\n> \"Kevin Grittner\" writes:\n>> OK, after getting distracted by test failures caused by an\n>> unrelated commit, I've confirmed that this passes my usual tests.\n>> I don't know anything about the tools used for extracting the text\n>> for the translators, so if that needs...
[ { "msg_contents": "Add temp_file_limit GUC parameter to constrain temporary file space usage.\n\nThe limit is enforced against the total amount of temp file space used by\neach session.\n\nMark Kirkwood, reviewed by Cédric Villemain and Tatsuo Ishii\n\nBranch\n------\nmaster\n\nDetails\n-------\nhttp://git.post...
[ { "msg_contents": "\nI have just released version 4.6 of the PostgreSQL Buildfarm client. It \ncan be downloaded from: \n<https://github.com/downloads/PGBuildFarm/client-code/build-farm-4_6.tgz> Note \nthat this is NOT on PgFoundry, as it seems to have a rather uncertain \nfuture.\n\nChanges:\n\n * Ability t...
[ { "msg_contents": "On 18 July 2011 01:48, Robert Haas <robertmhaas@gmail.com> wrote:\n> Might be good to start a new thread for each auxilliary process, or we\n> may get confused.\n\nRight - I've done so in this reply. There isn't a problem as such with\nthe AV Launcher patch - there's a problem with most or al...
[ { "msg_contents": "Made ecpglib write double with a precision of 15 digits.\n\nPatch originally by Akira Kurosawa <kurosawa-akira@mxc.nes.nec.co.jp>.\n\nBranch\n------\nmaster\n\nDetails\n-------\nhttp://git.postgresql.org/pg/commitdiff/8f8a273c4d2433de57f6f0356f44ab47b7387641\n\nModified Files\n--------------\...
[ { "msg_contents": "Cascading replication feature for streaming log-based replication.\nStandby servers can now have WALSender processes, which can work with\neither WALReceiver or archive_commands to pass data. Fully updated\ndocs, including new conceptual terms of sending server, upstream and\ndownstream serve...
[ { "msg_contents": "Has anyone successfully used pg_upgrade 9.0 with -l (log) on Windows?\n\nI received a private email bug report that pg_upgrade 9.0 does not work\nwith the -l/log option on Windows. The error is:\n\n\tAnalyzing all rows in the new cluster\n\t\"\"c:/MinGW/msys/1.0/home/edb/inst/bin/vacuumdb\" ...
[ { "msg_contents": "Since we are accepting host names in pg_hba.conf now, I figured it could\nbe useful to also show the host names in error message, e.g.,\n\n no pg_hba.conf entry for host \"localhost\" (127.0.0.1), user \"x\", database \"y\"\n\nAttached is an example patch. The question might be what crite...
[ { "msg_contents": "Just wondering, will the planned range type functionality also be able\nto absorb the functionality of the ip4r type as a range of the ip4 type\n(http://pgfoundry.org/projects/ip4r)? Maybe it's trivial, but since the\nip types also have a kind of hierarchical structure, I figured I'd point\n...
[ { "msg_contents": "Hi.\n\nI am learn the git. For test my skills, here is patch to exclude core\ndumps from git tree.\n\n\n\nAuthor: pasman <pasman.p@gmail.com> 2011-07-19 10:27:50\nCommitter: pasman <pasman.p@gmail.com> 2011-07-19 10:27:50\nParent: 6307fff3586294214e3f256035b82bbba9a9054a (Fix typo)\nBranch:...
[ { "msg_contents": "Hi hackers,\n\nI'm curios why argument names (argname) are not used in the DDL for\nfunctions in pg_catalog, while they are are used throughout the\ndocumentation. For example, the documentation for pg_read_file in\nTable 9-60[1] has an \"SQL prototype\":\npg_read_file(filename text, offset b...
[ { "msg_contents": "Remove O(N^2) performance issue with multiple SAVEPOINTs.\nSubtransaction locks now released en masse at main commit, rather than\nrepeatedly re-scanning for locks as we ascend the nested transaction tree.\nSplit transaction state TBLOCK_SUBEND into two states, TBLOCK_SUBCOMMIT\nand TBLOCK_SU...
[ { "msg_contents": "Hi,\n\n Here are a few questions that were asked by a customer, who are trying\nto assess the pros and cons of using Postgres and its SR feature. I would\nlike to get an opinion of someone more involved with the community than me.\n\n.) Will Postgres support Streaming Replication from 9.0....
[ { "msg_contents": "Hey folks,\n\nAs a reminder, PgWest is in a few months and the CFP closes in two \nweeks. Get those talks in!\n\nhttps://www.postgresqlconference.org/talk_types\n\nSincerely,\n\nJoshua D. Drake\n-- \nCommand Prompt, Inc. - http://www.commandprompt.com/\nPostgreSQL Support, Training, Professio...
[ { "msg_contents": "On Tue, Jul 19, 2011 at 6:10 AM, Kohei Kaigai <Kohei.Kaigai@emea.nec.com> wrote:\n>> >> /etc/selinux/targeted/contexts/sepgsql_contexts:  line 33 has invalid object\n>> >> type db_blobs\n>> > It is not an error, but just a notification to inform users that\n>> > sepgsql_contexts\n>> > file co...
[ { "msg_contents": "I wrote a FDW for Oracle to a) learn some server coding\nand b) see how well the FDW API works for me.\n\nI came up with three questions/experiences:\n\n1) GetUserMapping throws an error if there is no\n user mapping for the user (or PUBLIC).\n I think that it would be much more useful if...
[ { "msg_contents": "I took another look at v2 of my lazy vxid locks patch and realized\nthat it was pretty flaky in a couple of different ways. Here's a\nversion that I think is a bit more robust, but considering the extent\nof the revisions, it probably needs another round of review from\nsomeone before I comm...
[ { "msg_contents": "We're nearing completion of testing the migration of a lot of code\nwhich used our custom Java framework into PostgreSQL functions and\ntriggers. Yesterday our testers ran into surprising behavior\nrelated to delete triggers. A test case is presented on the -bugs\nlist, but basically it amo...
[ { "msg_contents": "For the last week or so, in between various other tasks, I've been\ntrying to understand why performance drops off when you run pgbench -n\n-S -c $CLIENTS -j $CLIENTS -T $A_FEW_MINUTES at very high client\ncounts. The answer, in a word, is SIGetDataEntries(). I believe we\nneed to bite the ...
[ { "msg_contents": "Hello\n\nthe basic issue is deployment of plpgsql plugins - they needs to\ninclude \"plpgsql.h\", but this include file is not public. Next\nsignificant issue is impossibility to serialize plpgsql plugins. Only\none should be supported. A limit is a access to persistent data via\nestate->plug...
[ { "msg_contents": "How about an idea that allows to launch environment checker (typically shell scripts) prior\nto regression tests?\n\nThe following stuffs should be preconfigured to run sepgsql's regression test.\n- SELinux must be run and configured to enforcing mode.\n- The sepgsql-regtest policy module mus...
[ { "msg_contents": "All,\n\n9.1beta3 was tagged on July 7th and announced July 12th. In the\ninterest of avoiding institutional inertia, should we try to set a\ntentative date for a next beta or, if we don't end up fixing too many\nbugs in the meanwhile, perhaps a release candidate?\n\nObviously we want to give...
[ { "msg_contents": "I am using plpythonu on postgres 9.0.2. One of my python functions was\nthrowing a TypeError exception. However, I only see the exception in the\ndatabase and not the stack trace. It becomes difficult to debug if the\nstack trace is absent in Python.\n\nlogdb=# select get_words(forminput) fro...
[ { "msg_contents": "Robert Haas wrote:\n \n> SIGetDataEntries(). I believe we need to bite the bullet and\n> rewrite this using a lock-free algorithm, using memory barriers on\n> processors with weak memory ordering.\n \n> [32 processors; 80 clients]\n \n> On unpatched master\n \n> tps = 132518.586371 (includin...
[ { "msg_contents": "Hey,\n\nSo I am looking intently on what it is going to take to get the URI \npatch done for psql [1] and was digging around the web and have a URI \nparser library. It is under the New BSD license and is strictly RFC RFC \n3986 [2] compliant .\n\nNow I have not dug into the code but the par...
[ { "msg_contents": "\nI started thinking more about this --- we already allow multiple\nprocesses to write to a single file when running Postgres as a backend\non Windows. I think it is these open() flags that make it possible:\n\n (FILE_SHARE_READ | FILE_SHARE_WRITE | FILE_SHARE_DELETE),\n\nHowe...
[ { "msg_contents": "We've had several complaints about that tab-completion bug in the\nApple-supplied version of libedit, most recently here:\nhttp://archives.postgresql.org/pgsql-bugs/2011-06/msg00119.php\n\nI had a bug filed with Apple about that, and today I got some auto-mail\nindicating they'd fixed that bu...
[ { "msg_contents": "Hi,\n\nI am trying to integrate a tracing framework in the Postgres code.\nI need to know if elog.c under backend/utils/error is the place where the\nchanges can be made.\n\nThe tracing framework that I want to integrate has some additional\ncapability. I want to replace the tracing and loggi...
[ { "msg_contents": "I know I'm not the only one to hack up pgbench to create unlogged\ntables, so I thought maybe it would be useful to have an option to do\nthat.\n\nI wasn't excited about picking a single letter option name, so I\nmodified pgbench to use getopt_long. Patch attached.\n\n-- \nRobert Haas\nEnter...
[ { "msg_contents": "In postgres 9.1 I have created 2 extensions, veil and veil_demo. When I\ninstall veil, it creates a default (not very useful) version of a\nfunction: veil_init().\n\nWhen I create veil_demo, it replaces this version of the function with\nit's own (useful) version.\n\nIf I drop the extension ...
[ { "msg_contents": "Pg_upgrade writes temporary files (e.g. _dumpall output) into the\ncurrent directory, rather than a temporary directory or the user's home\ndirectory. (This was decided by community discussion.)\n\nI have a check in pg_upgrade 9.1 to make sure pg_upgrade has write\npermission in the current ...
[ { "msg_contents": "Hi\n\nThe current thread about JSON and the ensuing discussion about the\nXML types' behaviour in non-UTF8 databases made me try out how well\nXPATH() copes with that situation. The code, at least, looks\nsuspicious - XPATH neither verifies that the server encoding is UTF-8,\nnot does it pass...
[ { "msg_contents": "Please consider adding this minor patch, or offering improvements.\n\n*Problem*: vacuumlo required PostgreSQL to use more locks per transaction\nthan possible resulting in an error and a log file full of \"ignored until\nend of transaction\" warnings.\n(max_locks_per_transaction is limited by...
[ { "msg_contents": "In testing the fix for the SSL problem that Martin Pihlak reported, I\nrealized that libpq doesn't really cope very well with errors reported\nby OpenSSL. In the case at hand, SSL_write returns an SSL_ERROR_SSL\ncode, which pqsecure_write quite reasonably handles by putting\n\"SSL error: bad...
[ { "msg_contents": "Hi.\n\nWhen i try to compile postgresql-beta3 on mingw32 ./configure pass ok,\nbut there is error when i do \"make\":\n\n\ngcc -O2 -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement\n -Wendif-labels -Wformat-security -fno-strict-aliasing -fwrapv -I../../src/port\n-DFRONT...
[ { "msg_contents": "Hi,\n\nI have read http://www.postgresql.org/docs/9.1/static/xfunc-c.html and my idea is, to write a C function which returns a set of rows. To generate the result set, I would like to access indexes directly using the information I found at http://www.postgresql.org/docs/9.1/static/indexam.h...
[ { "msg_contents": "I've long harbored a suspicion, based on some testing I did on my home\nmachine, that WALInsertLock is a big performance bottleneck. But I\njust did some benchmarking that doesn't entirely support that\ncontention. This is on Nate Boley's 32-core machine, with the\nfollowing settings:\n\nma...
[ { "msg_contents": "Hi! I'm working on an implementation for a new data type (PostgreSQL \nversion 9.1 beta 3 on Windows 7 32 bits), according to the following rules:\n- 1. NULL values are stored as is;\n- 2. character strings (up to 16 bytes) are stored without leading or \ntrailing spaces;\n- 3. empty characte...
[ { "msg_contents": "Hackers;\n\nI just noticed that somewhere between 8.2 and 8.4, an exception is\nraised trying to alter table ONLY some_partition_parent ADD CHECK\n(foo).\n\nI can understand why it makes sense to handle this as an error.\n\nHoweverin practice on a few systems that I used to manage this would\...
[ { "msg_contents": "Hello Guys,\r\n\r\n\r\n Lately, I saw this syntax in ./src/backend/parser/Gray.y as following!\r\n \r\n CreateFunctionStmt:\r\n\t\t\tCREATE opt_or_replace FUNCTION func_name func_args_with_defaults\r\n\t\t\tRETURNS func_return createfunc_opt_list opt_definition\r\n\t\t\t\t{\r\n\t...
[ { "msg_contents": "Hello Guys,\r\n\r\n\r\n Lately, I saw this syntax in ./src/backend/parser/Gray.y as following!\r\n \r\n CreateFunctionStmt:\r\n\t\t\tCREATE opt_or_replace FUNCTION func_name func_args_with_defaults\r\n\t\t\tRETURNS func_return createfunc_opt_list opt_definition\r\n\t\t\t\t{\r\n\t...
[ { "msg_contents": "thank you!\r\n \r\n \r\n------------------ 原始邮件 ------------------\r\n发件人: \"Heikki Linnakangas\"; \r\n发送时间: 2011年7月26日(星期二) 下午3:58\r\n收件人: \"_??\"; \r\n抄送: \"pgsql-hackers\"; \r\n主题: Re: [HACKERS] How to use CreateFunctionStmt's RETURN TABLE?\r\n\r\n \r\nOn 26.07.2011 10:22, _?? wrote:\r\n> ...
[ { "msg_contents": "\nWhy do we get this warning on Mingw?:\n\n x86_64-w64-mingw32-gcc -O2 -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -Wformat-security -fno-strict-aliasing -fwrapv -g -I../../../../src/include -I/home/pgrunner/bf/root/HEAD/pgsql.3896/../pgsql/src/i...
[ { "msg_contents": "Add missing newlines at end of error messages\n\nBranch\n------\nmaster\n\nDetails\n-------\nhttp://git.postgresql.org/pg/commitdiff/e67efb01e886d69d40d1cd87fba4507e8bb1035e\n\nModified Files\n--------------\nsrc/bin/psql/command.c | 2 +-\nsrc/bin/psql/common.c | 2 +-\n2 files changed,...
[ { "msg_contents": "Hi\n\nWhile reviewing the (now applied) XPATH escaping patches, Radoslaw found one\ncase where the previous failure of XPATH to escape its return value was offset\nby XMLATTRIBUTES insistence to escape all input values, even if they're\nalready of type XML.\n\nTo wit, if you do\n\n SELECT XM...