threads
listlengths
1
2.99k
[ { "msg_contents": "Tom Lane < tgl@sss.pgh.pa.us > wrote:\n> Hmm. This patch disallows the case of creating a read-only\n> subtransaction of a read-write parent. That's a step backwards.\n> I'm not sure how we could enforce that the property not change\n> after the first query of a subxact, but maybe we don'...
[ { "msg_contents": "We've recently fixed the Linux O_DIRECT mess, as well as several nasty\ncrash and potential-data-loss issues. The core committee has agreed\nthat it would be a good idea to get these fixes into the field before\npeople disappear for the holiday season. Since time for that grows\nshort, we w...
[ { "msg_contents": "I think that the BufFreelistLock can be a contention bottleneck on a\nsystem with a lot of CPUs that do a lot of shared-buffer allocations\nwhich can fulfilled by the OS buffer cache. That is, read-mostly\nqueries where the working data set fits in RAM, but not in\nshared_buffers. (You can ...
[ { "msg_contents": "Hi all,\n\nI'm new to window functions. Recently I run some simple queries but\nsurprised to find percent_rank is so slower than rank, could anybody tell me\nwhy?\n\nThe table schema:\ntest=# \\d inventory1\n Table \"public.inventory1\"\n Column | Type | Modifiers\n--...
[ { "msg_contents": "Hi,\n\nWhen I created the conflict between recovery and many read-only\ntransactions in the standby server for test purpose, I found that the\nkeyword \"waiting\" disappeared from PS display for just a moment\neven though the conflict had not been resolved yet. This seems\nstrange to me.\n\nT...
[ { "msg_contents": "On Wednesday 08 December 2010 21:58:46 you wrote:\n> On Thu, Dec 9, 2010 at 1:37 AM, Gabi Julien <gabi.julien@broadsign.com> wrote:\n> > slave# /etc/init.d/postgresql start\n> > slave# psql -hlocalhost my_db -c \"select pg_last_xact_replay_timestamp(), now() as not_modified_since;\"\n> >  pg_...
[ { "msg_contents": "Initdb fails for me when host machine has no access to the Postgres build location.\n\nLOG: could not open directory .../install/share/timezone\": No such file or directory\nLOG: could not open directory .../install/share/timezone\": No such file or directory\nWARNING: could not open direc...
[ { "msg_contents": "Hey general@,\n\nTo be assured and just for calmness.\n\nProblem:\n\n1. CREATE TABLE test_tab (id integer, dat varchar(64));\n\n2. INSERT INTO test_tab VALUES($1, $2) via PQexecParams,\n where paramTypes[0] == OID of bigint,\n paramTypes[1] == OID of text.\n\nQuestions:\n\nWhether t...
[ { "msg_contents": "Hi,\n\nPlease find attached revision 16 of the extension patch, with the\nfollowing additions over the previous one:\n\n - added documentation as proposed by David Wheeler, you can browse it\n online if reading SGML ain't your thing\n\n http://pgsql.tapoueh.org/extensions/doc/html/extend-...
[ { "msg_contents": "Heya,how are you doing recently ? I would like to introduce you a very good company which i knew.Their website is {www.high-purchasing.com} .They can offer you all kinds of electronical products which you need like 【Laptops ,GPS ,TV LED,Cell phones,ps3,MP3/4/5,motorcycles etc........】Please...
[ { "msg_contents": "Hi,\n\nIn previous discussion, some people wanted the \"wait-forever\" option which\nblocks all the transactions on the master until sync'd standby has appeared,\nin order to reduce the risk of data loss in synchronous replication.\n\nWhat I'm not clear is; How does smart or fast shudown adva...
[ { "msg_contents": "Hi all,\n\nMost of you already know I am new to this list and newer to any OSS\ndevelopment. However, while browsing the source code (of 9.0.1) I find\nthat there is only one way to store relations on disk - the magnetic\ndisk.\n\nThis came suddenly in my mind so I am asking the experts here....
[ { "msg_contents": "Reduce spurious Hot Standby conflicts from never-visible records.\nHot Standby conflicts only with tuples that were visible at\nsome point. So ignore tuples from aborted transactions or for\ntuples updated/deleted during the inserting transaction when\ngenerating the conflict transaction ids....
[ { "msg_contents": "Dan Ports wrote:\n> On Tue, Dec 07, 2010 at 10:14:24AM -0600, Kevin Grittner wrote:\n \n> The only thing I'm worried about here is how much risk of\n> starvation remains. You'd need to wait until there are no running\n> r/w transactions accessing overlapping data sets; for some\n> applicatio...
[ { "msg_contents": "Dmitriy Igrishin wrote:\n \n> Where is it written ?\n \nhttp://wiki.postgresql.org/wiki/Guide_to_reporting_problems#Things_Not_To_Do\n \n-Kevin\n\n", "msg_date": "Fri, 10 Dec 2010 10:55:51 -0600", "msg_from": "\"Kevin Grittner\" <Kevin.Grittner@wicourts.gov>", "msg_from_op": true...
[ { "msg_contents": ">> Most of you already know I am new to this list and newer to any OSS\n>> development. However, while browsing the source code (of 9.0.1) I find\n>> that there is only one way to store relations on disk - the magnetic\n>> disk.\n\n>The fact that it's called md.c is a hangover from the '80s. ...
[ { "msg_contents": "Use symbolic names not octal constants for file permission flags.\n\nPurely cosmetic patch to make our coding standards more consistent ---\nwe were doing symbolic some places and octal other places. This patch\nfixes all C-coded uses of mkdir, chmod, and umask. There might be some\nother c...
[ { "msg_contents": "\nHello hackers,\n\nI think i'm at the right place to ask this question.\n\nBased on your experience and the fact that you have written the Postgres code, \ncan you tell what a rough break-down - in your opinion - is for the time the \ndatabase spends time just \"fetching and writing \" stuff...
[ { "msg_contents": "Hello\n\nI wrote a few functions for record type - record_expand,\nrecord_get_fields, record_get_field, record_set_fields.\n\nA usage of this functions is described in my blog\nhttp://okbob.blogspot.com/2010/12/iteration-over-record-in-plpgsql.html\n\nDo you think, so these functions can be i...
[ { "msg_contents": "Hi everyone,\n\nI just wrote my first patch, and I need to know whether I missed something\nor not. I haven't used C for a really long time, so sickbags on standby,\nand if you notice something really stupid don't hesitate to call me an\nasshole (according to Simon Phipps that proves we are a...
[ { "msg_contents": "Hackers,\n\nHere is first version of patch, which enable index support of wildcard\nsearch in pg_trgm contrib module. The idea of the patch is to extract from\nwildcard trigrams which should occurs in wildcard matching string. For\nexample, for '%sector%' wildcard such trigrams would be: 'sec...
[ { "msg_contents": "Hi,\n\nThe other infrastructure patch that has been mark ready for commit then\ncommented further upon by Tom is $subject, even if the function provided\nas been renamed to pg_execute_sql_file().\n\nPlease find attached the newer version that fixes Tom concerns, removing\nthe VARIADIC forms o...
[ { "msg_contents": "Yesterday I did a bit of work on allowing bytea values to be passed into \nand out of plperl in binary format, effectively removing the need to \nescape and de-escape them. (The work can be seen on he plperlargs branch \nof my development repo at \n<https://github.com/adunstan/postgresql-dev/...
[ { "msg_contents": "Hi\n\nI've just ran into a problem while upgrading from 8.4 to 9.0.\n\npg_upgrade aborted during the step \"Adding support functions to new cluster\" with \"ERROR: permission denied for language c\" error. Unfortunately, the log didn't include the name of the database where the error occurre...
[ { "msg_contents": "Hi everyone,\n\none of the ssesion I've attended on PgDay last week was Heikki's session\nabout statistics in PostgreSQL. One of the issues he mentioned (and one\nI regularly run into) is the absence of cross-column stats. When the\ncolumns are not independent, this usually result in poor est...
[ { "msg_contents": "Make S_IRGRP etc available in mingw builds as well as MSVC.\n\n(Hm, I wonder whether BCC defines them either...)\n\nAlso label dangling endifs a bit better in this area.\n\nBranch\n------\nmaster\n\nDetails\n-------\nhttp://git.postgresql.org/gitweb?p=postgresql.git;a=commitdiff;h=5132ad8bdf8...
[ { "msg_contents": "Hi,\n\nHere's the latest extension's patch.\n\nThe only item with still some work to be done on it is the regression\ntests support: we're not aiming to full coverage is my understanding,\nand installing contribs goes a long way towards testing extensions. Do\nwe want more? If so, please deta...
[ { "msg_contents": "The new SQL Standard (SQL:2011) contains this:\n\"Table constraints are either enforced or not enforced. Domain\nconstraints and assertions are always enforced.\", 4.17.2\n\nThe SQL Standard allows you to turn the checking on and off for CHECK\nconstraints, UNIQUE constraints and FOREIGN KEYS...
[ { "msg_contents": "Peter Geoghegan wrote:\n \n> If we followed this behaviour, we wouldn't \"let people just\n> arbitrarily claim\" that a referential condition exists - rather,\n> we'd let them assert that it /ought/ to exist, and that it will be\n> maintained going forward, and give them the option of verify...
[ { "msg_contents": "I'd like to see opinions what facilities should be developed\nto the current v9.1 development cycle.\n\nWe have integrated some of facilities to support a starter-\nversion of SE-PostgreSQL. It allows to hook controls on DML\npermission checks and assign security labels of client and\ndatabas...
[ { "msg_contents": "Hi All,\n\nWhen pg_is_in_recovery in the table changes to zero(status change)??\n\nAt the time when recovery stops?\nIf switch over has to be done then, after receivibg the signal and telling\nthe postgres to run the startup process (got_SIGHUP = true),\nshall we have to stop replication or w...
[ { "msg_contents": "Hi,\n\npg_archivecleanup removes unnecessary WAL files from the archive, but not\nfrom pg_xlog directory. So, after failover, those WAL files might\nexist in pg_xlog\nand be archived again later. Re-archiving of unnecessary WAL files seems odd\nto me. To avoid this problem, how about changing...
[ { "msg_contents": "It would be cool to be able to transparently use hstores as Python\ndictionaries and vice versa. It would be easy enough with hstore as a\ncore type, but with hstore as an addon it's not that easy.\n\nThere was talk about including hstore in core, is there still chance for\nthat to happen in ...
[ { "msg_contents": "Hi All,\n\ndrainSelfPipe() function will read the data and remove it from the\ndescriptor?\n\nCoz the signal (SIGUSR1) is writing sata to selfPipe descriptor but unable\nto wake up latch on select system call.\nData is not avaialable at select in WaitLatch fun. Coz it is read by\ndrailSelfPip...
[ { "msg_contents": "We're now just a day or two from the end of this CommitFest and there\nare still a LOT of open patches - to be specific, 23.Here's a brief\nsynopsis of where we are with the others, all IMO of course.\n\n- fix for seg picksplit function - I don't have confidence this change\nis for the best a...
[ { "msg_contents": "Hi,\n\nI often find myself wanting advisory locks that are automatically \nreleased when the transaction ends, so here's a small patch trying to do \njust that. I don't know much about the lock system so the patch is in \nthe state \"it looks like this would work\". Any comments on the \nte...
[ { "msg_contents": "On Wed, Sep 15, 2010 at 8:39 AM, Fujii Masao <masao.fujii@gmail.com> wrote:\n> I rebased the patch against current HEAD because it conflicted with\n> recent commits about a latch.\n\nCan you please rebase this again? It no longer applies.\n\n-- \nRobert Haas\nEnterpriseDB: http://www.enterpr...
[ { "msg_contents": "\nThere are various applications where we want to completely replace the\ncontents of a table with new/re-calculated data.\n\nIt seems fairly obvious to be able to do this like...\n1. Prepare new data into \"new_table\" and build indexes\n2. Swap old for new\nBEGIN;\nDROP TABLE \"old_table\";...
[ { "msg_contents": "Hi\n\nIn the process of re-verifying my serializable lock consistency patch, I ran\nthe fk_concurrency testsuite against *unpatched* HEAD for comparison.\n\nMy build of HEAD had asserts enabled, and I promptly triggered\n Assert(!(tp.t_data->t_infomask & HEAP_XMAX_INVALID))\nin heap_delete...
[ { "msg_contents": "On Sat, Nov 13, 2010 at 9:09 PM, Robert Haas <robertmhaas@gmail.com> wrote:\n>> The fact that it's easy doesn't make it workable.  I would point out for\n>> starters that AMs might (do) put WAL locations and/or XIDs into indexes.\n>> Occasionally copying very old LSNs or XIDs back into active...
[ { "msg_contents": "Here's the output I see when $SUBJECT occurs, on a pg freshly built\nfrom git master with --enable-debug and --enable-cassert:\n\n[postgres@peter bin]$ uname -a\nLinux peter.laptop 2.6.35.9-64.fc14.x86_64 #1 SMP Fri Dec 3 12:19:41\nUTC 2010 x86_64 x86_64 x86_64 GNU/Linux\n[postgres@peter bin]...
[ { "msg_contents": "Hi\n\nWhen I run my FK concurrency test suite on an unpatched HEAD, I'm getting quite a lot of \"no unpinned buffers available\" errors.\n\nIncreasing shared_buffers from 32MB (the default) to 64MB makes the errors go away, as does setting fsync=off.\n\nI'm not sure how many buffers a particu...
[ { "msg_contents": "Hi,\n\nI found a bug which always prevents SignalSomeChildren with\nBACKEND_TYPE_WALSND from sending a signal to walsender.\n\nThough currently SignalSomeChildren with BACKEND_TYPE_WALSND\nhas not been called anywhere, it's not hard to believe that will\nbe called in the future. So we should ...
[ { "msg_contents": "I'm sure this has been up before, but hey, let's take it another round.\n\nWhy don't we change the default shutdown mode for pg_ctl from \"smart\"\nto \"fast\"? I've never come across a single usecase where \"smart\" is\nwhat people *want*... Not sure if others have?\n\nYes, I realize it's so...
[ { "msg_contents": "Heikki Linnakangas wrote:\n> On 14.12.2010 20:27, Simon Riggs wrote:\n \n>> 1. Prepare new data into \"new_table\" and build indexes\n>> 2. Swap old for new\n>> BEGIN;\n>> DROP TABLE \"old_table\";\n>> ALTER TABLE \"new_table\" RENAME to \"old_table\";\n>> COMMIT;\n>>\n>> Step (2) works, but...
[ { "msg_contents": "\nHello, all!\n\nI first posted this to pgsql-general, but didn't get a definitive\nanswer to my question concerning if a window function feature is\nscheduled or being worked on for 9.x.\n\n----------\n\nI need to do moving averages over time series data and was hoping\nwindow functions coul...
[ { "msg_contents": "Hello,\n\nwhen a query returns a composite type, the libpq PQftype() function\nreports the oid of the \"record\" type. In psycopg:\n\n >>> cur.execute(\"select (1,2)\")\n >>> cur.description\n (('row', 2249, None, -1, None, None, None),)\n\n test=# select typname from pg_type wher...
[ { "msg_contents": "Hi,\n I have an idea about mvcc and different DML of the same row in the\nsame transaction.\nNormally when a backend do an unpdate on a row ( call it X ) , we done\nan insert and logical delete on this row (0,1,2..N are the \"version\nof the row) :\n\n X0 (delete \"old\" row)\n X1 (...
[ { "msg_contents": "Hi,\n\nIt seems psql(or libpq) connects to PostgreSQL twice when md5 auth is\nrequired. Here is a strace log on my Linux machine. Is there any\nreason for this? IMO frontend/backend protocol allows to send salt\nafter receiving AuthenticationMD5Password using the same socket. So\nthere's no ...
[ { "msg_contents": "Hello\n\nI released 3.0.3 version of PostgreSQL.\n\nPlease, can somebody to create package for 64 bit windows and test it?\n\nRegards\n\nPavel Stehule\n", "msg_date": "Thu, 16 Dec 2010 07:20:13 +0100", "msg_from": "Pavel Stehule <pavel.stehule@gmail.com>", "msg_from_op": true, ...
[ { "msg_contents": "Hi,\n\nWell $subject says about it all really. The bitrot of course comes from\nthe fact that the last in-commitfest-dependency has been commited in,\nand I kept a version of pg_execute_sql_file() in the extension's patch.\n\nFollowing the discussions, and as exposing this function is not\nne...
[ { "msg_contents": "I get a crash on win32 when connecting to a server that's not started.\nIn fe-connect.c, we have:\n\n\t\tdisplay_host_addr = (conn->pghostaddr == NULL) &&\n\t\t\t(strcmp(conn->pghost, host_addr) != 0);\n\nIn my case, conn->pghost is NULL at this point, as is\nconn->pghostaddr. Thus, it crashe...
[ { "msg_contents": "Oddly, this doesn't work:\n\ncreate table test (x timestamp default localtimestamp at time zone 'UTC');\nERROR: 42601: syntax error at or near \"at\"\n\n(Parentheses help.)\n\nThe attached patch fixes it. Is there any reason for this omission?\n\n(The patch also works in past releases, so i...
[ { "msg_contents": "Hi,\n \nI work on binary support for JDBC. I saw disadventage of TIMESTAMPS WITH / \nWITHOUT TZ. Currently (in text mode) driver always sends date time string with \nappended time offset, as UNSPECIFIED so backend can choose to use offset or \nnot. In binary mode I can only send 8 bytes times...
[ { "msg_contents": "December 16th, 2010: Celebrating 15 years of PostgreSQL, early.\n\nFollowing on the smashing success of PostgreSQL Conference West,\nPostgreSQL Conference West, The PostgreSQL Conference for Developers,\nEnd Users and Decision Makers, is being held at the Hotel Pennsylvania,\nin New York City...
[ { "msg_contents": "Hello\n\nI am resending a redesigned proposal about special plpgsql statement\nthat support iteration over an array.\n\nThe most conflict issue of last proposal was a syntax. It enhanced\nrelative complex FOR statement. So now, it's based on new statement\nwith simple syntax. We can use a key...
[ { "msg_contents": "Hi,\n\nI was wondering if there has been anyone experimenting to compile PG\nusing LLVM/clang compiler tools.\n\nRegards,\nGevik.\n\n", "msg_date": "Thu, 16 Dec 2010 22:31:58 +0100", "msg_from": "Gevik Babakhani <pgdev@xs4all.nl>", "msg_from_op": true, "msg_subject": "clang an...
[ { "msg_contents": "Hi!\nI was looking into the postgres error handling mechanism, and the\ndocumentation states that the present mechanism is primitive.\n\nI quote \"whenever the parser, planner/optimizer or executor decide that a\nstatement cannot be processed any longer,\nthe whole transaction gets aborted an...
[ { "msg_contents": "Hello\n\nThis patch remove redundant rows from PL/pgSQL executor (-89 lines).\nDoesn't change a functionality.\n\nRegards\n\nPavel Stehule", "msg_date": "Fri, 17 Dec 2010 11:02:00 +0100", "msg_from": "Pavel Stehule <pavel.stehule@gmail.com>", "msg_from_op": true, "msg_subject"...
[ { "msg_contents": "The limit on max_standby_streaming_delay is currently 35 minutes\n(around) - or you have to set it to unlimited. This is because the GUC\nis limited to MAX_INT/1000, unit milliseconds.\n\nIs there a reason for the /1000, or is it just an oversight thinking\nthe unit was in seconds?\n\nIf we c...
[ { "msg_contents": "Reset 'ps' display just once when resolving VXID conflicts.\n\nThis prevents the word \"waiting\" from briefly disappearing from the ps\nstatus line when ResolveRecoveryConflictWithVirtualXIDs begins a new\niteration of the outer loop.\n\nAlong the way, remove some useless pgstat_report_waiti...
[ { "msg_contents": "I noticed that the fastpath code doesn't update ps_status, which would\nbe harmless except that it leads to \"idle in transaction\" being logged\nin log_line_prefix for the command tag.\n\nAre there objections to applying this?\n\n-- \nÁlvaro Herrera <alvherre@alvh.no-ip.org>", "msg_date"...
[ { "msg_contents": "On Wed, Dec 15, 2010 at 2:20 AM, Heikki Linnakangas\n<heikki.linnakangas@enterprisedb.com> wrote:\n> Looks ok. I'd suggest rewording this comment though:\n>\n> [ the comment in question ]\n>\n> It's a bit hard to follow, as it first lists exceptions on when we must\n> flush XLOG immediately, ...
[ { "msg_contents": "Folks,\n\nIs there any good reason that this works:\n\npostgres=# select ('1e+01'::numeric)::integer\npostgres-# ;\n int4\n------\n 10\n\nBut this doesn't?\n\npostgres=# select '1e+01'::Integer\npostgres-# ;\nERROR: invalid input syntax for integer: \"1e+01\"\nLINE 1: select '1e+01'::Integ...
[ { "msg_contents": "Here is a small patch that allows casting a table's row type to the\ntable's supertype if it's a typed table. This is analogous to the\nexisting facility that allows casting a row type to a supertable's row\ntype.", "msg_date": "Fri, 17 Dec 2010 23:01:06 +0200", "msg_from": "Peter Ei...
[ { "msg_contents": "I have often found myself wanting that psql automatically switch between\nnormal and \\x mode depending on the width of the output. Would others\nfind this useful?\n\nAttached is a crude demo patch. Enable with \\pset expanded auto.", "msg_date": "Sat, 18 Dec 2010 00:12:50 +0200", "...
[ { "msg_contents": "On my new Mingw setup, the following makefile fails:\n\n foo := $(shell pwd -W)\n all:\n @echo foo: $(foo)\n\nwith output looking like:\n\n pwd: invalid option -- W\n Try `pwd --help' for more information.\n foo:\n\nwhile the following works:\n\n foo := $(shell...
[ { "msg_contents": "Hi,\n\nIt has annoys me every time I want to move a table to another schema\nthat it completes to SET SCHEMA TO DEFAULT after a couple of presses of\nthe tab key. So today I decided to get off my lazy ass to write a tiny\npatch to fix this behaviour. :)\n\nMy first patch for PostgreSQL so a q...
[ { "msg_contents": "bruce wrote:\n> Magnus Hagander wrote:\n> > I get a crash on win32 when connecting to a server that's not started.\n> > In fe-connect.c, we have:\n> > \n> > \t\tdisplay_host_addr = (conn->pghostaddr == NULL) &&\n> > \t\t\t(strcmp(conn->pghost, host_addr) != 0);\n> > \n> > In my case, conn->pg...
[ { "msg_contents": "Robert Haas wrote:\n \n> If there's any third-party code out there that is checking\n> rd_istemp, it likely also needs to be revised to check whether\n> WAL-logging is needed, not whether the relation is temp. The way\n> I've coded it, such code will fail to compile, and can be very\n> easil...
[ { "msg_contents": "Hi,\n\nthere seems to be a problem in the way we add exceptions to the plpy\nmodule in PL/Python compiled with Python 3k.\n\nTry this: DO $$ plpy.SPIError $$ language plpython3u;\n\nI'm not a Python 3 expert, but I nicked some code from the Internet and\ncame up with this patch (passes regres...
[ { "msg_contents": "pg_ctl.c::test_postmaster_connection() has some fragile code that tries\nto detect the server port number by looking in the pg_ctl -o string,\npostgresql.conf, the PGPORT environment variable, and finally using the\ndefault port number.\n\nI think a simpler solution would be to look in postma...
[ { "msg_contents": "On Wed, Dec 15, 2010 at 9:20 AM, Florian Pflug <fgp@phlo.org> wrote:\n> On Dec14, 2010, at 15:01 , Robert Haas wrote:\n>> On Tue, Dec 14, 2010 at 7:51 AM, Florian Pflug <fgp@phlo.org> wrote:\n>>>> - serializable lock consistency - I am fairly certain this needs\n>>>> rebasing.  I don't have t...
[ { "msg_contents": "hi, folks!\n\nI see that shared cache is implemented by system v shared memory. I wonder\nwhether data in this area can be swapped out to disk.\nIsn't it bad that we read data from disk, put data in shared cache, and\nfinally data in shared cache is swapped to disk again!\n\nWhy not use shmct...
[ { "msg_contents": "folks,\n\nDoes postgres make an effort to create a file with physically continuous\nblocks?\n\nThanks!\n\nfolks,Does postgres make an effort to create a file with physically continuous blocks? Thanks!", "msg_date": "Sun, 19 Dec 2010 01:10:56 -0600", "msg_from": "flyusa2010 fly <flyusa...
[ { "msg_contents": "Seems at least one mingw machine is missing the definitions for\nminidumps. It does seem to have the header (dbghelp.h) that's\nrequired, but with incomplete contents?\n\nCan someone who has a working mingw environment look for the\ndefinitions? See\nhttp://buildfarm.postgresql.org/cgi-bin/sh...
[ { "msg_contents": "The simple change below allows a vpath build to be used on Mingw. Is \nthere any objection?\n\ncheers\n\nandrew\n\n\n\ndiff --git a/src/bin/pgevent/Makefile b/src/bin/pgevent/Makefile\nindex 013b801..39cb7dc 100644\n--- a/src/bin/pgevent/Makefile\n+++ b/src/bin/pgevent/Makefile\n@@ -27,7 +27,...
[ { "msg_contents": "When the caller knows the smaller string length, memcmp and strncmp are\nfunctionally equivalent. Since memcmp need not watch each byte for a NULL\nterminator, it often compares a CPU word at a time for better performance. The\nattached patch changes use of strncmp to memcmp where we have t...
[ { "msg_contents": "texteq, textne, byteaeq and byteane detoast their arguments, then check for\nequality of length. Unequal lengths imply the answer trivially; given equal\nlengths, the functions proceed to compare the actual bytes. We can skip\ndetoasting entirely when the lengths are unequal. The attached ...
[ { "msg_contents": "Hi There !\n\nSorry for offtopic, but I'll have no chance to say all of you \"Happy New Year !\"\nat right time, since I'm about to fly to Himalaya for winter trek in the \nEverest area.\n\n \tRegards,\n \t\tOleg\n\nPS. \nMy pictures from Everest 2009 trek:\nhttp://www.flickr.com/photos/obart...
[ { "msg_contents": "Hi,\n\n From last round of review from Robert and Álvaro, here's the patch\nversion 22. Changes:\n\n - cleanup contrib/ and 'Adjust search_path' comments\n - remove contrib/*/uninstall* scripts\n - add some documentation to the NO USER DATA option\n - remove objects locking in the pg_extensio...
[ { "msg_contents": "\nHi!\nIs there possibility of having internal base converting function in PgSQL?\nThere are already functions for converting between decimal and hexadecimal\nnotations i think pgsql can be able to convert between number with radixes\nfrom 1 to 36 (actually fast (de)encoding base36 is what i ...
[ { "msg_contents": "Would be great if owner can be inherited from parent object (owner table ==>\nschema owner ==> database owner).\nCREATE statement could add OWNER TO PARENT to cover this feature.\n\nMichel\n\nWould be great if owner can be inherited from parent object (owner table ==> schema owner ==> databas...
[ { "msg_contents": "There is a bug in ts_rank_cd. It does not correctly give rank when the\nquery lexeme is the first one in the tsvector.\n\nExample:\n\nselect ts_rank_cd(to_tsvector('english', 'abc sdd'),\nplainto_tsquery('english', 'abc')); \n ts_rank_cd \n------------\n 0\n\nselect ts_rank_cd(to_t...
[ { "msg_contents": "MY PREV EMAIL HAD A PROBLEM. Please reply to this one\n======================================================\n\nThere is a bug in ts_rank_cd. It does not correctly give rank when the\nquery lexeme is the first one in the tsvector.\n\nExample:\n\nselect ts_rank_cd(to_tsvector('english', 'abc ...
[ { "msg_contents": "HI,\n\nfor the histograms for cost based optimization, is there a rule of thumb on how often to rebuild them? They are obviously not being continuously updated...what is the state of the art in this area, do all the other databases also end up with stale statistics every now and then and have...
[ { "msg_contents": "Hi Hackers.\n\nI have a feeling that GIN is \"cheating\" on the visibillity checks:\n\ntest=# set enable_seqscan = off;\nSET\nTime: 0.129 ms\ntest=# select count(id) from fts_test where fts @@ to_tsquery('core');\n count\n--------\n 158827\n(1 row)\n\nTime: 95.530 ms\ntest=# explain select ...
[ { "msg_contents": "Hi,\n\nFound a couple of small typos in the comments of nodeWindowAgg.c when\nthey refer to functions in nodeAgg.c. The pluralities of the function\nnames (initialize_aggregates and advance_aggregates) are wrong. The\nreference to \"finalize_aggregate\" is correct though.\n\n\ndiff --git a/sr...
[ { "msg_contents": "I've been playing around with postgresql hint bits in order to teach\nmyself more about the internals of the MVCC system.  I noticed that\nthe hint bit system has been around forever (Vadim era) and predates\nseveral backend improvements that might affect their usefulness.  So I\nstarted play...
[ { "msg_contents": "As a side note, I think the term \"writable CTE\" is a misnomer. The CTE\nis not writable. The CTE is the result of a write operation.\n\nA writable CTE would look like this:\n\nWITH foo AS (SELECT ...) UPDATE foo SET ...\n\na bit like an updatable view.\n\nAFAICT, the current patch doesn't...
[ { "msg_contents": "Hello,\n\n[Tried the general forum, didn't hear from anyone so far, trying this forum now, \nplease review, thanks]\n\n\nWe are looking to distribute postgres databases to our customers along with our \napplication. We are currently evaluating postgres version 8.4.4. The database \ncan be of ...
[ { "msg_contents": "Hi,\n\nHere is the test table,\n\npostgres=# \\d big_wf\n Table \"public.big_wf\"\n Column | Type | Modifiers\n--------+---------+-----------\n age | integer |\n id | integer |\n\npostgres=# \\dt+ big_wf\n List of relations\n Schema | Name | Type | Owner ...
[ { "msg_contents": "Hello\n\nI reread a discus to this topic. It's look like we can to find a\nagreement on following syntax:\n\nFOREACH var [,var [..]] [SLICE number] IN expr\nLOOP\nEND LOOP;\n\nIn default mode, without keyword SLICE, it will iterate over every\nfield like \"unnest\" does. With SLICE keyword, i...
[ { "msg_contents": "Here's a patch that changes walsender to require a special privilege\nfor replication instead of relying on superuser permissions. We\ndiscussed this back before 9.0 was finalized, but IIRC we ran out of\ntime. The motivation being that you really want to use superuser as\nlittle as possible ...
[ { "msg_contents": "This patch adds counters and views to monitor hot standby generated\nrecovery conflicts. It extends the pg_stat_database view with one\ncolumn with the total number of conflicts, and also creates a new view\npg_stat_database_conflicts that contains a breakdown of exactly what\ncaused the conf...
[ { "msg_contents": "Hello, Pgsql-bugs.\n\nTried to use MinGw under windows to build client libraries at least.\nHowever failed on \"./configure --withou-zlib\" stage.\n\nPlease find attached log file, stdout and stderr outputs.\n\nThe main problem here I suppose is\n\"configure: WARNING: <someheader>.h: present ...
[ { "msg_contents": "Here's the base refactoring patch mentioned in\nhttp://archives.postgresql.org/pgsql-hackers/2010-12/msg01991.php\n\nGit branch for this patch: https://github.com/wulczer/postgres/tree/refactor\n\nIt does some architectural changes to PL/Python that make it easier to\nimplement other features...
[ { "msg_contents": "Here's a patch implementing a validator functoin mentioned in\nhttp://archives.postgresql.org/pgsql-hackers/2010-12/msg01991.php. It's\nan incremental patch on top of the plpython-refactor patch sent eariler.\n\nGit branch for this patch:\nhttps://github.com/wulczer/postgres/tree/validator.\n...
[ { "msg_contents": "Here's a patch implementing a executing SPI in an subtransaction\nmentioned in\nhttp://archives.postgresql.org/pgsql-hackers/2010-12/msg01991.php. It's\nan incremental patch on top of the plpython-refactor patch sent eariler.\n\nGit branch for this patch:\nhttps://github.com/wulczer/postgres/...
[ { "msg_contents": "Here's a patch implementing properly invalidating functions that have\ncomposite type arguments after the type changes, as mentioned in\nhttp://archives.postgresql.org/pgsql-hackers/2010-12/msg01991.php. It's\nan incremental patch on top of the plpython-refactor patch sent eariler.\n\nGit bra...