threads
listlengths
1
2.99k
[ { "msg_contents": "Hi\n\nI'm currently working on correctly flushing the\ncatalog/relation/sgmr caches on a readonly PITR\nslave during recovery. These are the things that\ncurrently cause me headache.\n\n1) It seems that the btree code sends out relcache\n invalidation msgs during normal operation\n (No ...
[ { "msg_contents": "\nSomewhere along the way we seem to have made the syslogger's shutdown \nmessage go to stderr, even if we have redirected it:\n\n[andrew@constanza inst.test.5703]$ bin/pg_ctl -D data/ -w stop\nwaiting for server to shut down....LOG: logger shutting down\n done\nserver stopped\n\nNot sure if...
[ { "msg_contents": "Here is my latest version of this patch. The good news is that it now \nseems to work on Windows. Please review carefully (esp Magnus, Dave, Tom).\n\n\ncheers\n\nandrew", "msg_date": "Sun, 22 Jul 2007 19:23:25 -0400", "msg_from": "Andrew Dunstan <andrew@dunslane.net>", "msg_from_o...
[ { "msg_contents": "I just came across yet another place where MingW isn't compatible with the\nwindows api. Specifically, their libsecur32.a file lacks at least one\nfunction that is needed to implement SSPI authentication. The way I can see\nit, there are three ways to solve it:\n\n1) Simply state that SSPI au...
[ { "msg_contents": "I've been debugging some really weird crashes in libpq on win32, and I\nthink I've finally found the reason for the heap corruption that shows up\nin msvc debug mode.\n\nWhen run in debug mode, the runtime for msvc will *zero-pad the entire\nbuffer* in a strncpy() call. This in itself is not ...
[ { "msg_contents": "Looking around the lc_messages stuff a bit, I notice it's set to\nsuperuser-only. \n\nI do use\nALTER USER joe SET lc_messages='sv_SE'\n\nnow and then to change the language for a user. And I see it's also\npossible to use it on a database level by doing\nALTER DATABASE postgres SET lc_messag...
[ { "msg_contents": "Hi,\n\n \n\nI have a problem when trying to debug a shared library developed in C. I’m\nfollowing the steps included in the docs, in chapter 33 (extending SQL),\nsection 33.9 (C-Language functions)\nhttp://www.postgresql.org/docs/8.2/interactive/xfunc-c.html\n\n \n\nI’ve successfully compiled...
[ { "msg_contents": "In reference to\nhttp://archives.postgresql.org/pgsql-jdbc/2007-02/msg00116.php\n\nWhich \"backend developers\" can assist to modify the\nserver to allow a modified UTF8?\n\nThanks\ncody\n\n\n \n____________________________________________________________________________________\nGot a ...
[ { "msg_contents": "Hi,\n\nI noticed in 8.3 there are chances where we can avoid WAL logging. For\nexample, 8.3's pgbench was modified to use TRUNCATE right before\nCOPY. Is there any documentation which describes that kind of\ntechniques? If there's none, I would volunteer the work to create such\na documentati...
[ { "msg_contents": "The GucContext of log_autovacuum is PGC_BACKEND in the CVS HEAD,\nbut should it be PGC_SIGHUP? We cannot modify the variable on-the-fly\nbecause the parameter is used only by autovacuum worker processes.\nThe similar variables, like autovacuum_vacuum_scale_factor, are\ndefined as PGC_SIGHUP.\...
[ { "msg_contents": "Hi all,\n\nI am using version 8.2.4 of the source and compiled it with\nboth OPTIMIZER_DEBUG and EXEC_EVALDEBUG enabled to take a look\nat how quals are evaluated by the executor.\n\nHowever, when I issue a query like\n\nSELECT name FROM city WHERE population < 100000 LIMIT 10;\n\nI get the f...
[ { "msg_contents": "When building with Kerberos support (or GSSAPI, but not SSPI) on Win32, a\nwhole bunch of warnings come out due to redefinitions of macros in the\nkerberos headers. The reason for this is that Kerberos leaks the\nHAVE_<something> macros from autoconf into the header files that are\nincluded b...
[ { "msg_contents": "The DLLIMPORT definition used on Win32 conflicts with the headers in TCL,\nat least, and possibly others.\n\nOne way to fix it is similar to the HAVE_xyz ones that I talk about in my\nother email. Another way to do it would be for us to use PGDLLIMPORT\ninstead of DLLIMPORT. That way we'd be ...
[ { "msg_contents": "Stefan reported me that prcrypto regression test fails on solaris 10 \nwith openssl support. I investigated this problem and the result is that \nSolaris 10 delivers only support for short keys up to 128. Strong crypto \n(SUNWcry and SUNWcryr packages) is available on web download pages. (It ...
[ { "msg_contents": "http://buildfarm.postgresql.org/cgi-bin/show_log.pl?nm=lionfish&dt=2007-07-24%2005:30:13\n\n\nany ideas ?\n\n\nStefan\n", "msg_date": "Tue, 24 Jul 2007 16:51:11 +0200", "msg_from": "Stefan Kaltenbrunner <stefan@kaltenbrunner.cc>", "msg_from_op": true, "msg_subject": "strange b...
[ { "msg_contents": "Hi all,\n\nI want to pass additional weight info from the WHERE clause to the executor and I hope someone can help me with this.\n\nI accept clauses like the following\n\nWHERE (foo='a'){1}\nWHERE (foo='a'){1} OR (bar='b'){2}\nWHERE ((foo='a'){1} OR (bar='b'){2})){42} OR (baz='c'){3}\n\nwhere...
[ { "msg_contents": "Hi,\n I am looking to embed postgres into an application on windows. I am fine \nwith it being a separate service. Here is what I am looking to do. Any help \nwould be greatly appreciated.\n\n1) Install postgres silently. Libs (dll) and data files.\n a) What are the minimum files dll.\n ...
[ { "msg_contents": "Recently I've been involved in or overheard discussions about SMP\nscalability at both the PA PgSQL get together and in some list\ntraffic.\n\nmyYearbook.com would ike to make one of our previous production\nmachines available to established PgSQL Hackers who don't have access\nto this level ...
[ { "msg_contents": "Currently, a toast table attached to a temporary table is treated much\nas though it were a regular permanent table: accesses to it go through\nshared buffers and are WAL-logged. Aside from the obvious performance\npenalties, this means that backends may sometimes acquire open file\npointers...
[ { "msg_contents": "\n\n> ------- Original Message -------\n> From: Tom Lane <tgl@sss.pgh.pa.us>\n> To: Greg Smith <gsmith@gregsmith.com>\n> Sent: 25/07/07, 18:54:50\n> Subject: Re: [HACKERS] Machine available for community use\n> \n> Another fairly big issue is that we need to know whether measurements we\n> ta...
[ { "msg_contents": "\nI'm not sure if this is the right venue for this- if it isn't, I apologize.\n\nBut a feature that I'd like to see is the ability to put an 'as' alias \non the target of an update statement.\n\nI find myself often writing statements like:\n UPDATE\n some_really_long_table_name\n ...
[ { "msg_contents": "I just noticed that storage/file/fd.c's FileUnlink() is not referenced\nanywhere, and apparently hasn't been since 7.4. This is a good thing\nbecause it doesn't work very well anymore: it's implemented by setting\nthe FD_TEMPORARY flag and then calling FileClose(), and the recent patch\nto l...
[ { "msg_contents": "I've been thinking some more about scalability and what we need to\nmeasure in order to locate and remove the next set of bottlenecks.\n\nEXCLUSIVE LOCKS\n\nThe lock wait time distribution and the sum of lock held time is of\ninterest in understanding contention.\n\nSHARED LOCKS\n\nShared loc...
[ { "msg_contents": "Just wanted to record a quick idea in case its useful in the future.\n\nVACUUM reads all blocks in sequence and waits on each one to acquire a\ncleanup lock.\n\nIf VACUUM is running with vacuum_delay enabled then we might take a\nslightly different approach:\n\nRead the heap blocks in sequenc...
[ { "msg_contents": "Why is stats_block_level = off by default?\n\nIs there a measurable cost to enabling this? We already have\nstats_row_level = on, so presumably the overhead of setting\nstats_block_level to on cannot be any worse than that.\n\nAnybody got any objection to setting it on by default?\n\n-- \n S...
[ { "msg_contents": "I've been looking at the way that the async-commit patch conserves\nshared memory space by remembering async commit LSNs for groups of\ntransactions on a clog page, rather than having an LSN for each\nindividual transaction slot. This seems like a good plan to me,\nbut I'm confused about one...
[ { "msg_contents": "Greetings,\n\n Please find attached a minor patch to remove the constraints that a\n user can't include the delimiter or quote characters in a 'NULL AS'\n string when importing CSV files.\n\n This allows a user to explicitly request that NULL conversion happen\n on fields which are quote...
[ { "msg_contents": "Greetings,\n\n In working on the minor patch to COPY CSV mode tonight, I ran into a\n problem with the utf8 conversion build process in CSV and was just\n wondering if there's something wacky on my system or if other people\n have seen this:\n\n sfrost@snowman:.../pgsql.build> ../pgsql/c...
[ { "msg_contents": "\nTesters here were having a hard time constructing test cases to reach some\nlines touched by the varvarlena patch. Upon further investigation I'm\nconvinced they're unreachable.\n\nSome were added when I did packed varlena -- I've removed those. These lines\nwere actually necessary earlier ...
[ { "msg_contents": "\nDoes Postgresql have a function like ascii() that will\nreturn the unicode codepoint value for a utf8 character?\n(And symmetrically same for question chr() of course).\n\nI didn't find anything in the docs so I think the answer \nis no which leads me to ask... Why not? (Hard to believe \...
[ { "msg_contents": "Hello,\n\nI am trying to create a new index for high multi-dimensional indexing.\nThe index I'm trying to use in PR-Tree ( www.cs.duke.edu/~yike/prtree/\n).\n\nI have created a new source file in \"src/backend/access/\" and for now\nI have created the empty functions: build, insert, vacuum, e...
[ { "msg_contents": "\nI have just discovered that the recently implemented pipe chunking \nprotocol is broken on Windows. This is because the pipes are operating \nin text mode and doing LF->CR-LF translation, so the number of bytes \nreceived is not the number transmitted and set in the protocol header.\n\nI ha...
[ { "msg_contents": "\nOne of the ideas for pgadmin for the future will be a statistics table\nvisualizer which amongst other things could chart the histograms so people can\nsee if they represent the distribution of data they expect.\n\nTo do this pgadmin would need access to convert_to_scalar so it understands\...
[ { "msg_contents": "Jignesh Shah's scalability testing on Solaris has revealed further\ntuning opportunities surrounding the start and end of a transaction.\nTuning that should be especially important since async commit is likely\nto allow much higher transaction rates than were previously possible.\n\nThere is ...
[ { "msg_contents": "Hi,\n\nWe are trying to sort the index tuples before inserting them into hash buckets, to improve build speed. \n\nHere is our plan:\n\n1. Build a spool that contains all the index tuples to be inserted into the buckets. - this is done.\n\n2. sort the index tuples in the spool according to t...
[ { "msg_contents": "People,\n\nI'd like to suggest you guys to implement a new feature.\nActually is an alias for a existent feature.\n\nUnstead of having to type all the insert syntax, using (\"column\") names, you\ncould do the same as MySQL does.\nfor example:\n\nINSERT INTO Table SET\n\"Field1\" = 'text',\n\...
[ { "msg_contents": "Hi,\n\nI've started reading the GIT patch to see if I can help with the review.\nFirst thing I notice is that there are several things that seems left\nover; for example the comments in pg_proc for the new functions are\nincomplete.\n\nMore subtle: in _bt_findinsertloc, the test for\nmodified...
[ { "msg_contents": "Hi All,\n\nPlease see the version 11 of HOT patch posted on -patches.\n\nThe concept of marking the pruned tuples with LP_DELETE and\nreusing such tuples for subsequent UPDATEs has been removed\nand replaced with a simpler mechanism of repairing the page\nfragmentation as and when possible.\n...
[ { "msg_contents": "Hi All,\n\nPlease see the attached version 11 of HOT patch\n\nThe concept of marking the pruned tuples with LP_DELETE and\nreusing such tuples for subsequent UPDATEs has been removed\nand replaced with a simpler mechanism of repairing the page\nfragmentation as and when possible.\n\nThe logic...
[ { "msg_contents": "\n\n\nI have question on Locks and waiting. In the readme pgsql/src/backend/storage/lmgr/README\nEach waiter is awoken if (a) its requestdoes not conflict with already-granted locks, and (b) its request doesnot conflict with the requests of prior un-wakable waiters.\n \nLet us imagine if ther...
[ { "msg_contents": "Hi,\n\nHow do I connect postgres table structures and view structures to an\nexisting svn repository?\n\nThanks,\n\n-- \nJohn J. Mitchell\n\nHi,How do I connect postgres table structures and view structures to an existing svn repository?Thanks,-- John J. Mitchell", "msg_date": "Wed, 1 Aug...
[ { "msg_contents": "I used NPGSQL .NET driver to connect PGSQL 8.2.4 database to VB.NET. As\nstated on NPGSQL page, it doesn't seem to provide seamless integration and\nperformance with .NET. Instead when I used ODBC, the performance was\ncomparatively better. What's the reason? When can we expect .NET driver th...
[ { "msg_contents": "All,\n\nThrough the User Concurrency Thread on -performance [1], Tom and Jignesh found \nthat our proximate bottleneck on SMP multi-user scaling is clog_buffers. \nIncreasing clog_buffers to 64 improved this scaling by 30% per Jignesh:\n\n===================\n\n8.3+ HOT = did not defer more ...
[ { "msg_contents": "Hi\n\nSince my attempts to find a simple solution for the read-only query\nlocking problems (Once that doesn't need full wal logging of lock\nrequests) haven't been successfully yet, I've decided to turn to the\nproblems of tracking a snapshot on the slaves for now. (Because first\nsuch a sna...
[ { "msg_contents": "\n\nHi all!\n\nI know this is OT, sorry for that.\n\nI just wanted you to know that I've read this thread and welcome any and all help in order to get Npgsql in best shape as possible.\n\nAs pointed out by Robert, join us on Npgsql Forums so we can discuss. This would be very nice! \n\nI also...
[ { "msg_contents": "\nCould I suggest renaming log_autovacuum to log_autovacuum_min_duration?\n\nI found it confusing to when setting it to 0 *enabled* logging so I imagine\nothers will be as well. Also it seems we may want to have other messages\nlogged from autovacuum so it would be better to leave room for ot...
[ { "msg_contents": "\"pg_ctl stop\" seems to be causing a fast stop today. Anybody remember\ntouching logic that might affect that?\n\n\t\t\tregards, tom lane\n", "msg_date": "Fri, 03 Aug 2007 14:13:08 -0400", "msg_from": "Tom Lane <tgl@sss.pgh.pa.us>", "msg_from_op": true, "msg_subject": "\"sma...
[ { "msg_contents": "I once discussed with you all regarding Oracle's FlashBack Query feature to\nrecover a database to a certain point of time. That time you all suggested\nsome indepth cons of this and how it is resource hungry.\n\nOne more feature that I am not sure PostgreSQL has is, row-level,\ncolumn-level ...
[ { "msg_contents": "\n\n> ------- Original Message -------\n> From: \"Rohit Khare\" <rpk.general@gmail.com>\n> To: \"Dave Page\" <dpage@postgresql.org>\n> Sent: 04/08/07, 12:58:25\n> Subject: Re: [HACKERS] .NET driver\n> \n> Seeing the history of PostgreSQL development, following features are\n> expected in pgAd...
[ { "msg_contents": "I came across a problem with the log_timezone patch. Given these\nconditions:\n* log_min_messages is at least debug3\n* log_line_prefix includes %t or %m\n* log_timezone is not explicitly set in postgresql.conf\nthe postmaster will dump core during startup, because it tries to format\nan elo...
[ { "msg_contents": "Greg complained here\nhttp://archives.postgresql.org/pgsql-patches/2007-07/msg00342.php\nthat the default strategy parameters used by the TOAST compressor\nmight need some adjustment. After thinking about it a little I wonder\nwhether they're not even more broken than that. The present beha...
[ { "msg_contents": "I've been looking at the new trigger features planned for Firebird 2.1 \nand I'm a bit jealous.\n\nI'm interested in 'stateful' proc packages that can benefit from \naccumulating data from updates\nduring a transaction and then performing an action at the end - perhaps \ndoing a bulk insert\n...
[ { "msg_contents": "Can someone explain what this file is? Did we accidentally import\nsomething from a different project? Seems to me this file is a part of\nFreeBSD and not us?\n\nhttp://developer.postgresql.org/cvsweb.cgi/CVSROOT/avail\nhttp://developer.postgresql.org/cvsweb.cgi/CVSROOT/avail?rev=1.34;content...
[ { "msg_contents": "Does pgCluster have a own CVS repository?\n\nGustavo.", "msg_date": "Sun, 5 Aug 2007 18:54:58 -0300", "msg_from": "Gustavo Tonini <gustavotonini@gmail.com>", "msg_from_op": true, "msg_subject": "pgCluster CVS repository" }, { "msg_contents": "-----BEGIN PGP SIGNED MESS...
[ { "msg_contents": "\nWhen autovacuum vacuums a table it always vacuums the toast table as well. Is\nthere any particular reason to consider the two together? I think this may\njust be a holdover from the interactive command which considers them together\nbecause the toast table is supposed to be invisible to us...
[ { "msg_contents": "\nWe're seeing a problem where occasionally a process appears to be granted a\nlock but miss its semaphore signal. It eventually gets the 60s deadlock signal\nand notices that it has been granted the lock and gets back to work.\n\nI haven't gotten any further than this in the forensic analysi...
[ { "msg_contents": "When fixing the fact that the new cvs docs (how to pull with rsync) in HEAD\nrefer to the wrong hostname for rsync, I (or rather, Dave, during our\ndiscussions) noticed two external references:\n\nhttp://developer.postgresql.org/pgdocs/postgres/cvs.html refers with a link\nto the developer wi...
[ { "msg_contents": "I ran some CPU intensive pgbench tests on HOT. Results are not\nsurprising, HOT makes practically no difference on the total transaction\nrate, but reduces the need to vacuum:\n\n\t\tunpatched\tHOT\t\ntps\t\t3680\t\t3790\nWAL written(MB)\t5386\t\t4804\ncheckpoints\t10\t\t9\nautovacuums\t116\t...
[ { "msg_contents": "I am posting the version 13 of HOT patch on pgsql-patches. It\nincludes the changes based on feedback received on version 11.\n\nThere is also a bug fix in crash recovery of hard chain\npruning during VACUUM FULL.\n\nThanks,\nPavan\n\n\n-- \nPavan Deolasee\nEnterpriseDB http://www.enterpr...
[ { "msg_contents": "\nI'm having trouble following what's going on with autovacuum and I'm finding\nthe existing logging insufficient. In particular that it's only logging vacuum\nruns *after* the vacuum finishes makes it hard to see what vacuums are running\nat any given time. Also, I want to see what is making...
[ { "msg_contents": "There's three things clearly missing in the patch:\n\n1. HOT updates on tables with expression or partial indexes. Hasn't been\ndone yet because it should be pretty straightforward and we've had more\nimportant things to do. Though not critical, should be finished before\nrelease in my opinio...
[ { "msg_contents": "[ redirected to -hackers for discussion of bug fix ]\n\n\"Keaton Adams\" <kadams@mxlogic.com> writes:\n> Some additional information I just received from one of the operations\n> personnel:\n\n> 1. I set pg_database.datallowconn to true on template0 in an attempt to\n> log into the database w...
[ { "msg_contents": "\n I want to learn how a real database works. And I am about to\nstart reading the Postgre source code.\n\n Are there any online documents that may document the code? Even\nif it was a general guideline.\n\n Any information will be greatly appreciated.\n\n\n\n Arturo Herna...
[ { "msg_contents": "accept 76AC-752C-3D91\n", "msg_date": "Wed, 8 Aug 2007 00:17:41 +0200", "msg_from": "Bertram Scharpf <lists@bertram-scharpf.de>", "msg_from_op": true, "msg_subject": "Re: 76AC-752C-3D91 : CONFIRM from pgsql-hackers (subscribe)" }, { "msg_contents": "On 8/7/07, Bertram ...
[ { "msg_contents": "ISTM that having a built-in array_to_set function would be awfully\nuseful... Is the aggregate method below an acceptable way to do it?\n\n----- Forwarded message from Merlin Moncure <mmoncure@gmail.com> -----\nOn 8/3/07, Guy Fraser <guy@incentre.net> wrote:\n> On Wed, 2007-08-01 at 07:14 +05...
[ { "msg_contents": "Hi,\n\n\nI happened to feel need for something like Oracle's\nconnect-by mechanism. In the contribs I found Joe Conways\n`tablefunc' but I missed some features there. So I had a\nlook at the source code.\n\nFirst of all thanks a lot to Joe, I learned much of your\ncode. Anyway, when I added t...
[ { "msg_contents": "Hi hackers,\n\nI'm currently poking around in backend/utils/adt/formatting.c with a\nview to improving to_date() parsing (see thread at\nhttp://archives.postgresql.org/pgsql-hackers/2007-07/msg00513.php),\nand I've noticed that the way the functions are organised is pretty\nweird.\n\nThe ori...
[ { "msg_contents": "If HOT gets into 8.3, we might need a GUC to set database wide heap\nfillfactor to an appropriate value. The only way to so today is compile\ntime value of DEFAULT_HEAP_FILLFACTOR. HOT works much\nbetter if there is atleast one tuple worth of free space in each block.\nOtherwise atleast the f...
[ { "msg_contents": "Hi,\n\nI have an issue regarding the PostgreSQL service account on my machine. I \nwork for IBM and I have to fulfil security checks for my machine to make \nsure its safe. Anyway, it is flagging up the problem that my account for \npostgres doesnt have a screensaver set with a password?? Any...
[ { "msg_contents": "Completely off-topic I know, but I felt I had to mention this one...\n\nThe buildfarm machine known as Baiji runs on a PC sat next to my desk.\nAbout 30 minutes ago, a breaker tripped, leaving the office without it's\nring main, consequently shutting down Baiji rather ungracefully.\n\nWe get ...
[ { "msg_contents": "Hello!!!\n\nthis is a test!\n\n\n\n\n\n\nHello!!!\n \nthis is a test!", "msg_date": "Wed, 8 Aug 2007 16:22:58 +0200", "msg_from": "\"Omar Bettin\" <o.bettin@tiscali.it>", "msg_from_op": true, "msg_subject": "Hello" } ]
[ { "msg_contents": "Hi,\nI have installed postgresql to my client as a server for a progam (libpq.dll/VCL based) that I wrote for them.\n\nEvery is working fine, but I noted some general slowness, compared with an older database system (iAnywhere ADS)\ndue (I think) to the text based communication protocol.\n...
[ { "msg_contents": "This is a bit disturbing:\n\n*** ./expected/vacuum.out\tSat Jul 20 00:58:14 2002\n--- ./results/vacuum.out\tWed Aug 8 20:16:45 2007\n***************\n*** 50,55 ****\n--- 50,56 ----\n \n DELETE FROM vactst WHERE i != 0;\n VACUUM FULL vactst;\n+ ERROR: HEAP_MOVED_OFF was expected\n DELETE...
[ { "msg_contents": "Hello,\n\nI have just tried to compile postgresql 7.4.17 on a HP-UX 11.11 box\n(PA-RISC) and the compliation fails in gist.\n\nmake[4]: Entering directory\n`/home/adrian/postgresql-7.4.17/src/backend/access/gist'\ngcc -O2 -fno-strict-aliasing -Wall -Wmissing-prototypes\n-Wmissing-declarati...
[ { "msg_contents": "hello everybody,\n\none of our customers wants to store the code of interpreted \nprocedures (PL/pgSQL, PL/Perl) and so in an encrypted way.\nso the idea we had to add one more column to pg_proc telling us \nwhether prosrc is encrypted or not. people could chose then whether \nto crypt cod...
[ { "msg_contents": "\nBefore I wrap up the CSVlog stuff, we need to decide whether or not to \nchange the name of the redirect_stderr setting, and if so to what. The \nreason is that with CSVlogs it will no longer apply just to stderr (we \nwill require it to be on for CSVlogs, in fact).\n\nI suggest \"redirect_...
[ { "msg_contents": "Hi,\n\nThe header in the list of already installed languages shown by\ncreatelang/droplang with the -l option is not printed from 8.2.\n\nPostgreSQL 8.2:\n $ createlang -l\n plpgsql | yes\n\nPostgreSQL 8.1:\n $ createlang -l\n Procedural Languages\n Name | Trusted? \n ---------+---...
[ { "msg_contents": "I am building up a schema for storing a bunch of data about proteins, which\non a certain level can be modelled with quite simple tables. The problem is\nthat the database I am building needs to house lots of it >10TB and growing,\nwith one table in particular threatening to top 1TB. In the c...
[ { "msg_contents": "Hi,\n\nI am working on a data integrity check tool (pgcheck).\nI would like to discuss the following issues:\n\nRight now I am working on a function, which should check the validity of\npages in relation. The relation is passed to the function as its\nargument (its oid). For the integrity che...
[ { "msg_contents": "Hello,\n\nI found small bug\n\nregexp_split_to_array('123456','1');\nregexp_split_to_array('123456','6');\nregexp_split_to_array('123456','.');\n\nthese parameters hangs backend.\n\nfollowing patch correct it\n\nRegards\nPavel Stehule\n\n./regexp.c\n*** ./regexp.c.orig 2007-08-10 14:17:15...
[ { "msg_contents": "Hello\n\nI try casting function for domains. I can do it, but it doesn't work.\n\nbetal=# create domain mydomain text;\nCREATE DOMAIN\nbetal=#\nbetal=# create or replace function mydomain_todate(mydomain)\nbetal-# returns date as $$\nbetal$# select to_date($1, 'YYYYMMDD');\nbetal$# $$ langu...
[ { "msg_contents": "I noticed the following behavior in CVS HEAD, using a pattern that is\ncapable of matching no characters:\n\nregression=# SELECT foo FROM regexp_matches('ab cde', $re$\\s*$re$, 'g') AS foo;\n foo \n-------\n {\"\"}\n {\"\"}\n {\" \"}\n {\"\"}\n {\"\"}\n {\"\"}\n {\"\"}\n(7 rows)\n\nregressi...
[ { "msg_contents": "I was just tracing through a memory leak occurring when regexp_matches()\nis executed a lot of times within one query, for instance this rather\nstupid test case:\n\nselect count(*) from\n (select regexp_matches(repeat('xyxxy',100), '[xy]', 'g')\n from generate_series(1,100000)) ss;\n\nI t...
[ { "msg_contents": "Tom Lane commits\n(http://www.postgresql.org/community/weeklynews/pwn20070121.html)\n\n- Fix incorrect permissions check in\ninformation_schema.key_column_usage view: it was checking a\npg_constraint OID instead of pg_class OID, resulting in \"relation with\nOID nnnnn does not exist\" failure...
[ { "msg_contents": "Hi,\n\nWhat is the maximum row size for PostgreSQL? \n\nhttp://www.postgresql.org/about/ says 1.6 TB\n\nhttp://www.postgresql.org/docs/faqs.FAQ.html says 400 GB.\n\nBoth may be true in fact, depending on block size. But which one is the\naccurate answer? I'm confused.\n\nRegards,\n-- \nDevrim...
[ { "msg_contents": "Hello\n\nI am testing:\n\npostgres=# create domain nb int check(value > 10);\nCREATE DOMAIN\npostgres=# select 11::nb;\n nb\n----\n 11\n(1 row) -- ok\n\npostgres=# select -11::nb;\n ?column?\n----------\n -11\n(1 row) -- ughh\n\npostgres=# select (-11)::nb; -- I understand\nERROR: value...
[ { "msg_contents": "Hi,\n\nit seems a lot of work is still being done on 8.3. But we are in feature\nfreeze, aren't we? I'm wondering because I'm sitting on some major\nchanges to ecpg (real prepare amongst them) but haven't committed these\nbecause of the freeze. However, it looks as if new patches are still\nc...
[ { "msg_contents": "accept 92DE-7B78-4153\n", "msg_date": "Mon, 13 Aug 2007 16:29:34 +0200", "msg_from": "Bertram Scharpf <lists@bertram-scharpf.de>", "msg_from_op": true, "msg_subject": "Re: 92DE-7B78-4153 : CONFIRM from pgsql-hackers (subscribe)" } ]
[ { "msg_contents": "So I was testing my fix for the problem noted here:\nhttp://archives.postgresql.org/pgsql-hackers/2007-08/msg00196.php\nand promptly found *another* bug. To wit, that repair_frag calls\nHeapTupleSatisfiesVacuum without bothering to acquire any buffer\ncontent lock. This results in an Assert...
[ { "msg_contents": "Hi All,\n\nTomas Kovarik and I have presented at PGCon 2007 in Ottawa\nthe ideas about other possible optimizer algorithms to be used\nin PostgreSQL.\n\nWe are quite new to PostgreSQL project so it took us some\ntime to go through the sources end explore the possibilities\nhow things could be...
[ { "msg_contents": "I'm comparing now different version of page layer, and I have two questions:\n\n1) We now store only low 16bits TLI, but name in structure stays same. \nMaybe pg_tli_lo could be better.\n\n2) HASOID has been moved in infomask and original place is unused. Is \nthere some reason for that? This...
[ { "msg_contents": "A lot of work has been done to try to get /contrib/tsearch2 into the\ncore backend for 8.3, but we have hit a roadblock in how to handle\nmultiple text search configurations. (FYI, the documentation is at\nhttp://momjian.us/expire/textsearch/HTML/textsearch.html.)\n\nThere are three options ...
[ { "msg_contents": "\nLooking into recent buildfarm failures on the 7.4 branch:\n\nhttp://www.pgbuildfarm.org/cgi-bin/show_status.pl\n\nIt looks like parts of the CVS repository have been mistagged as belonging \nto REL7_4_STABLE or have been corrupted somehow:\n\nhttp://developer.postgresql.org/cvsweb.cgi/pgsql...
[ { "msg_contents": "Hello\n\nI write sample about triggers and i have question. is my solution\ncorrect and exists better solution?\n\nRegards\nPavel Stehule\n\nDROP SCHEMA safecache CASCADE;\n\nCREATE SCHEMA safecache;\n\nCREATE TABLE safecache.source_tbl(category int, int_value int);\n\nCREATE TABLE safecache....
[ { "msg_contents": "I have added another idea for index-only scans to the TODO list:\n\n> A third idea would be for a heap scan to check if all rows are visible\n> and if so set a per-table flag which can be checked by index scans.\n> Any change to the table would have to clear the flag. To detect\n> ch...
[ { "msg_contents": "I was talking to someone at LinuxWorld and they mentioned they often\nhave activity of 6k SELECTs per second, and that they were needing to\nautovacuum every few days because of xid wraparound.\n\nI did some calculations and found that:\n\n\t> 6000 * 60 * 60 * 24\n \t518400000\n\nor 50...
[ { "msg_contents": "A hybrid scan approach combined with this idea would fit nicely - provide results for tids that are directly visible and set a bit in a bitmap for those that need recheck and extend recheck to take a bitmap (wait - it already does :-)\n\n- Luke\n\nMsg is shrt cuz m on ma treo\n\n -----Origina...
[ { "msg_contents": "Log Message:\n-----------\nRepair problems occurring when multiple RI updates have to be done to the same\nrow within one query: we were firing check triggers before all the updates\nwere done, leading to bogus failures. Fix by making the triggers queued by\nan RI update go at the end of the...
[ { "msg_contents": "Hi,\n\nwe have two build farm members failing to make since I committed teh\necpg changes: echidna and herring.\n\nIt looks like they are still using an old preproc.c although they\nchecked out the new preproc.y. I have no idea how this is supposed to\nwork so could someone please enlighten m...
[ { "msg_contents": "Dear Hackers,\n\nCould you point me the first version PostgreSQL started to support\nDeferred Constraints (ie: DEFERRABLE keyword on foreign keys\ncreation)? I guess it is earlier than 7.0, right?\n\n-- \nRegards,\n\nRodrigo Hjort\nhttp://icewall.org/~hjort\n", "msg_date": "Thu, 16 Aug 20...