threads
listlengths
1
2.99k
[ { "msg_contents": "I've posted this on pgsql-general and pgsql-sql, and haven't got any\nresponses. If any of you would be able to take a look at this for me and\ngive some feedback, I'd be obliged.\n\n \n\nI would like to create a rule that, by updating a view, allows me to update\none table and insert into a...
[ { "msg_contents": "I'm seeing this:\n\nListe des fonctions\n-[ RECORD 1 ]--------------------+----------------------------------------------------------------------------\nSch�ma | public\nNom | tg_backlink_a\nType de donn�es du r�sultat | trigger\n...
[ { "msg_contents": "I attached patch which implemented page layout converter (PLC) hook. It is base \nstone for in-place upgrade.\n\nHow it works:\n\nWhen PLC module is loaded, then for each page which does not have native page \nversion conversion routine is called. Buffer is mark as a dirty and upgraded \npage...
[ { "msg_contents": "\nThis patch has been lingering around since Aug 2007. It has matured a \nlot and now calls libpq home. Unfortunately, ISTM that there is limited \nsupport for our proposal. We either pitched to the wrong crowd or \npqtypes doesn't have the mass appeal we expected. With that said, we \nar...
[ { "msg_contents": "Hi!\n\nI'm trying test a version extended of Postgresql, but when I run a command\nafter 9 times, I receive this message in psql:\n***stack smashing detected***\nAnd Log said that postgres terminated with signal 6.\nI increased buffer to 120MB and the linux buffer (shmmax) to 2GB.\nWhat value...
[ { "msg_contents": "Log Message:\n-----------\nAdd pg_terminate_backend() to allow terminating only a single session.\n\nModified Files:\n--------------\n pgsql/doc/src/sgml:\n func.sgml (r1.430 -> r1.431)\n (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/doc/src/sgml/func.sgml?r1=1.430&r2=1.431...
[ { "msg_contents": "Over the last couple days I twice saw complaints like this during\nDROP DATABASE:\n\nWARNING: could not remove file or directory \"base/80750/80825\": No such file or directory\nWARNING: could not remove database directory \"base/80750\"\n\nI poked at it for awhile and was eventually able t...
[ { "msg_contents": "I've been thinking about how to improve the planner's poor handling of\nvariables in outer-join situations. Here are some past examples for\nmotivation:\n\nhttp://archives.postgresql.org/pgsql-hackers/2006-02/msg00154.php\nhttp://archives.postgresql.org/pgsql-general/2008-03/msg01440.php\n\n...
[ { "msg_contents": "Hi,\n\n\tI'm working on the bachelor thesis. The goal of the work will be to\nimplement collation at database level based on POSIX locales and make\nfoundations for further national language support development. User will\nbe able to set collation when creating database or change collation of...
[ { "msg_contents": "I have just installed the rpm found at:\n\nhttp://www.postgresql.org/ftp/binary/v8.2.7/linux/rpms/redhat/rhel-4-i386/\n\nand the status option generates an error:\n\n$ /etc/init.d/postgresql status\npidof: invalid options on command line!\n\npidof: invalid options on command line!\n\n-p is st...
[ { "msg_contents": "Hello,\n\nCould someone break out exactly what the process is \"now\" for\nsubmitting a patch? Last month I sent a patch for pg_dump which never\ngot feedback (at least on thread). I just asked and alvaro asked me to\nadd it to the commitfest page. Which I have done but I think we need to\nkn...
[ { "msg_contents": "\nI've analysed various flavours of MERGE command to understand and\npropose what we should use for PostgreSQL.\n\nThe results aren't what you'd expect from a quick flick through the\nstandard, so lets look at my main concerns:\n\n1. The simplest syntax is for SQL:2003. The syntax for DB2, SQ...
[ { "msg_contents": "Hi,\n\nI notice that while doing bulk-loads that any errors detected by the\nbackend arn't noticed by libpq until right at the end. Is this\nintentional? Looking at the code we have this comment in putCopyData:\n\n /*\n * Process any NOTICE or NOTIFY messages that might be pending in the\n...
[ { "msg_contents": "Log Message:\n-----------\nRepair two places where SIGTERM exit could leave shared memory state\ncorrupted. (Neither is very important if SIGTERM is used to shut down the\nwhole database cluster together, but there's a problem if someone tries to\nSIGTERM individual backends.) To do this, i...
[ { "msg_contents": "Around <http://archives.postgresql.org/pgsql-patches/2008-01/msg00089.php> it \nwas proposed to truncate the psql welcome screen. What do you think about \nthat?\n\nPersonally, I'd get rid of it all, because it gets boring after about three \nuses, so that we would be at\n\npeter@colt:~$ psq...
[ { "msg_contents": "I just had an idea about how to create cross-field statistics, which \ncould greatly improve the quality of estimates involving multiple \nconditions on one table. This is rather arm-wavy, but I wanted to at \nleast get the idea out...\n\nIf we built a table via\n\nCREATE TABLE moo AS SELE...
[ { "msg_contents": "Hi all,\nsince long time I have implemented a materialized view, today I had to add a\nnew field and I faced the following (I believe) bug.\n\nThe bug can be replicated on a 8.2.7\n\n\n-- SETUP\ncreate table test (a integer, b integer);\ncreate table test_trigger (a integer);\n\nCREATE OR REP...
[ { "msg_contents": "Hi hackers,\n\nIt occurred to me that psql's \\z command could benefit from the\naddition of some newlines. With any more than one grantee per object,\nthe output of \\z rapidly becomes extremely wide, and very hard to\nread.\n\nI'd like to split the output onto one line per grantee. So, in...
[ { "msg_contents": "For debugging the planner work I'm about to do, I'm expecting it will be\nuseful to be able to get EXPLAIN to print the targetlist of each plan\nnode, not just the quals (conditions) as it's historically done. My\nfirst instinct is just to stick in the code under a debugging #ifdef,\nbut I w...
[ { "msg_contents": "Log Message:\n-----------\nFix a couple of oversights associated with the \"physical tlist\" optimization:\nwe had several code paths where a physical tlist could be used for the input\nto a Sort node, which is a dumb idea because any unneeded table columns will\nincrease the volume of data t...
[ { "msg_contents": "bruce wrote:\n> Tom Lane wrote:\n> > Bruce Momjian <bruce@momjian.us> writes:\n> > > Tom Lane wrote:\n> > >> The closest thing I can think of to an automated test is to run repeated\n> > >> sets of the parallel regression tests, and each time SIGTERM a randomly\n> > >> chosen backend at a ran...
[ { "msg_contents": "Log Message:\n-----------\nRemove TODO.detail references; instead add TODO URLs pointing to the\narchives. We have been using URLs for a while for new items.\n\nModified Files:\n--------------\n pgsql/doc:\n TODO (r1.2425 -> r1.2426)\n (http://anoncvs.postgresql.org/cvsweb....
[ { "msg_contents": "I am impressed at the state of the May wiki patch queue:\n\n\thttp://wiki.postgresql.org/wiki/CommitFest:May\n\nIt is even tracking the psql wrap patch I am working on now.\n\nMagnus has started moving the Developer's FAQ to a wiki. I am thinking\nwe should move the main FAQ and the TODO lis...
[ { "msg_contents": "Hi,\n\niam developing version control system based on content because i havent \nfound anything for postgres and it sounds like great tool to have. \nPropably i will use Rules and Views with shadow tables, but iam \ninterested in alternative to examine WAL files.\n\nSo iam interested in WAL f...
[ { "msg_contents": "I'm wondering if the mechanism used for sending signals between \npostmaster processes on Win32 is much more heavyweight that is necessary.\n\nIs there a reason not to call OpenThread on the target postmaster's \nthread id, and then use QueueUserAPC to execute a 'signal handler' \nmethod on i...
[ { "msg_contents": "Hi all,\n\nWhile working on our network problems to send the full build result to\nthe buildfarm server, I just saw that a full buildfarm run with\n-DCLOBBER_CACHE_ALWAYS option takes nearly 2 hours more than before\n(from ~ 5h40 to 7h30).\n\nThis phenomenon has started with this run:\nhttp:/...
[ { "msg_contents": "This is similar to a previous question I had asked about INSERT ... \nDELETE ...\n\nTo be \"safe\", to archive an existing row, and replace with a new row, I \nbelieve on must do:\n\n begin;\n row := select ... from XXX where ... for update;\n insert into XXX_archived values (row);\n...
[ { "msg_contents": "We got the comment on the docs:\n\nlog_filename(string) is misleading, since it really doesn't use a\nstrftime pattern, but instead a reimplementation of strftime, in order\nto be cross-platform. There is no documentation on this except to look\nin src/timezone/strftime.c (the function is cal...
[ { "msg_contents": "\nOK, I have spent some time generating and filtering typdefs via objdump \non various platforms. I filtered them and Bruce's list to eliminate \nitems not actually found in the sources thus:\n\nwhile read line ; do grep -q -w -r --exclude=\"*.data\" --exclude=\"*.out\" \n--exclude=\"*.sql\" ...
[ { "msg_contents": "port/thread.c includes the pthreads header files, and contains a bunch\nof comments about pthreads - but there seems to be no code related to\npthreads at all in the file. Am I missing something completely here? ;-)\n\n//Magnus\n", "msg_date": "Mon, 21 Apr 2008 13:41:03 +0200", "msg_f...
[ { "msg_contents": "I compiled postgreSQL with 1kB block size and regresion test fails. Main problem \nis that output is correct but in different order. See attachment.\n\nI think affected test should contain order by keyword.\n\n\tAny comments?\n\n\t\tZdenek", "msg_date": "Mon, 21 Apr 2008 14:02:00 +0200", ...
[ { "msg_contents": "While looking over the statistics-for-functions patch\n(http://archives.postgresql.org/pgsql-patches/2008-03/msg00300.php), I\ncame back to a thought I've had before - why do we keep one function\nper column for pgstat functions, instead of using a set returning\nfunction? Is there some actua...
[ { "msg_contents": "On Sun, Apr 20, 2008 at 1:45 AM, Alvaro Herrera\n<alvherre@commandprompt.com> wrote:\n> Bruce Momjian wrote:\n> > I am impressed at the state of the May wiki patch queue:\n> >\n> > http://wiki.postgresql.org/wiki/CommitFest:May\n> >\n> > It is even tracking the psql wrap patch I am...
[ { "msg_contents": "The following two files specify the behaviour of the MERGE statement and\nhow it will work in the world of PostgreSQL. In places, this supercedes\nmy recent commentary on MERGE, particularly with regard to triggers.\n\nNeither of these files is intended for CVS. \n\nThe HTML file was generate...
[ { "msg_contents": "Hello,\n\nAttached is a patch for the default message from psql. Couple of things\nof note:\n\n1. I removed the force wrapping, instead allowing the terminal to do\nit. This seems to work in X and well as on the console. I am not sure\nif I like this or not and am not opposed to changing to a...
[ { "msg_contents": "(try 2)\n\nHere is an updated patch that applies to HEAD.\n\nI will update the wiki.\n\n(What is the maximum attachment size that -patches will accept?)\n\ncheers\n\nandrew\n\n\nI wrote:\n>\n> This patch by Golden Lui was his work for the last Google SoC. I was \n> his mentor for the project....
[ { "msg_contents": "Hello!I have a problem with my postgresql. I install postgresql8.1 on windows xp with sp2 and get the error\"could not connect to server: Connection refused (0x0000274D/10061)Is the server running on host \"???\" and accepting TCP/IP connections on port 5432?\".I have stopped the windows fire...
[ { "msg_contents": "\n\tIt started with this query :\n\nEXPLAIN ANALYZE SELECT * FROM relations r JOIN nodes n ON \n(n.id=r.child_id) WHERE r.parent_id=16330;\n QUERY PLAN\n---------------------------------------------------------------------------...
[ { "msg_contents": "It seems changes to the commit fest wiki pages are going to be overwritten \naccidently when editing the page concurrently. At least, this occured to me \nas i accidently removed entries done by Laurenz Albe and my changes were \noverwritten by Alvaro Herrera again.....\n\nSo developers need ...
[ { "msg_contents": "RECORD.* doesn't work in plpgsql, but NEW.* and OLD.* do in trigger\nfunctions created in plpgsql.\n\n The example function process_emp_audit() on page\nhttp://www.postgresql.org/docs/8.3/interactive/plpgsql-trigger.html , shows\nthat we can use OLD.* and NEW.* as:\n\nINSERT INTO emp_audit...
[ { "msg_contents": "Hi,\n\nwe have a customer who shot themselves in the foot by using\ntable names with german accented characters in them.\nThe client application on the popular OS is using a single-byte\nencoding (LATIN9), their dump of the original database is using\nthe same but no \"SET client_encoding = ....
[ { "msg_contents": "Can anybody recall a reason for why the do_restart() function in pg_ctl\ncopies a lot of code almost right off from do_stop(), instead of just\nhaving that code exactly the same as do_stop() and factored out? (Like\nit does for do_start() already)\n\nI see the point in dealing with the very f...
[ { "msg_contents": "Hi,\n\nI find something very interesting which I think is a bug and I want to \ndiscuss it.\n---------------------------------------------------------------------------\nHere is the example1:\n1.I create a table without PK;\n2.Insert 1 row;\n3.I ADD PK;\n4.When I select all ID's are with NULL...
[ { "msg_contents": "We are trying to clean up the object hooks patch (on the libpq side)\nin time for the May commit fest. The last version we posted is here:\nhttp://www.nabble.com/libpq-object-hooks-patch-to16707707.html\n\nEverything for the most part works ok but there is a problem with the\nfunction 'PQmak...
[ { "msg_contents": "Hi,\n\nPITR always fails in finding the archived log file with wrong size. But,\nI think that we can continue PITR if .ready file of the same name exists\nin XLOGDIR/archive_status, ie the complete file might exist in XLOGDIR.\n\nI want to modify the implementation of PITR a little as follows...
[ { "msg_contents": "Is this TODO item done?\n\n\t* Allow index scans to return matching index keys\n\t\n\t http://archives.postgresql.org/pgsql-hackers/2007-03/msg01079.php\n\n-- \n Bruce Momjian <bruce@momjian.us> http://momjian.us\n EnterpriseDB http://enterprisedb.com\n\...
[ { "msg_contents": "According to the zic database, SGT is the recognized abbreviation for\nSingapore time, and there are no other conflicting uses. I wonder why\nit isn't in either the Default or Asia lists ...\n\n\t\t\tregards, tom lane\n", "msg_date": "Thu, 24 Apr 2008 11:53:06 -0400", "msg_from": "To...
[ { "msg_contents": "I've been chatting with the Trolltech folks about the implementation \nof the Qt wrapper around libpq, and the issue of how to properly do \nmetadata queries came up. That is things like \"What are the column \nnames and types of the primary key of this table, and what index \nenforces it...
[ { "msg_contents": "bruce wrote:\n> Tom Lane wrote:\n> > Bruce Momjian <bruce@momjian.us> writes:\n> > > You are going to need to find community members who support your\n> > > analysis if you want to make any headway in changing the patch.\n> > \n> > Let's turn that around, shall we? I think at this point it's...
[ { "msg_contents": "Log Message:\n-----------\nUpdate:\n\n< * Allow adding enumerated values to an existing enumerated data\n> * Allow adding/removing enumerated values to an existing enumerated data\n\nModified Files:\n--------------\n pgsql/doc:\n TODO (r1.2437 -> r1.2438)\n (http://anoncvs.po...
[ { "msg_contents": "Hi all,\n\nQuick question: is there currently a way to see how many slot are \nused in the FSM (i.e. how many free pages are stored there), or how \nmany are free? If not, wouldn't it be a good idea to add this \nsomewhere? (Don't quite know where... is it possible to have very \ndynamic valu...
[ { "msg_contents": "Hey Postgres Hackers,\n\nthis is my first time here, so... hi!\n\nI've written a quick patch against the head branch (8.4DEV, but it also\nworks with 8.1.3 sources) to fix LDAP authentication support to\nwork with LDAPS servers that do not need start TLS. I'd be interested\nto hear your opi...
[ { "msg_contents": "Hi,\n\nOne of the few parts of the core that is not localized is the ecpg. \nAttached is a patch that builds the basic infrastructure to make it \npossible. Besides that I worked on some strings to make them conform \nwith [1] but I didn't do for all of them.\nWhen I was doing the clean up I ...
[ { "msg_contents": "would seem like a good idea, no ?\n\nhttp://www.murrayc.com/blog/permalink/2008/04/25/postgresql-has-no-bugzilla/\n", "msg_date": "Sat, 26 Apr 2008 07:13:27 +0200", "msg_from": "=?UTF-8?B?UmFwaGHDq2wgSmFjcXVvdA==?= <sxpert@sxpert.org>", "msg_from_op": true, "msg_subject": "we ...
[ { "msg_contents": "Hello All.\n\nNow I try to link dll with MinGW from Example in Postgres Help.\nLinker show me this error:\n\nD:\\users\\anthony\\kursor\\abzcrm\\c\\foo>gcc -shared foo.o -o foo.dll -L \n\"d:/files/local/PostgreSQL/8.3/lib\" -l postgres\nCannot export ⌂postgres_NULL_THUNK_DATA: symbol not foun...
[ { "msg_contents": "I am leaving tomorrow/Sunday for a one-week trip for EnterpriseDB to\nMineapolis and Los Angeles. I will be offline most of the trip so I\nwill miss the start of the May commit fest.\n\n-- \n Bruce Momjian <bruce@momjian.us> http://momjian.us\n EnterpriseDB ...
[ { "msg_contents": "The buildfarm has shown several intermittent failures recently:\n\nhttp://www.pgbuildfarm.org/cgi-bin/show_log.pl?nm=heron&dt=2008-04-20%2000:06:01\nhttp://www.pgbuildfarm.org/cgi-bin/show_log.pl?nm=cobra&dt=2008-04-26%2004:15:02\nhttp://www.pgbuildfarm.org/cgi-bin/show_log.pl?nm=heron&dt=200...
[ { "msg_contents": "greetings,\n\nI am using opensuse 10.3, and postgresql-contrib-8.2.6-0.1 which has \nthe \"ltree\" contrib bundled with it.\n\nI have found that if I do a search with a path that ends in a \".\" (dot), the \nerror message I get in my logs is something like \"unexpected end of line\" or \nsome...
[ { "msg_contents": "Hi all,\n\nI am working on implementation of custom \"C\" SRF for our team. The SRF uses\nSFRM_ValuePerCall mode. I know that sometimes even in SFRM_ValuePerCall mode\nall the rows returned from SRF are \"materialized\" (for performing JOINs, for\nexample). But it looks like even in cases whe...
[ { "msg_contents": "if you need a scrollable cursor for a prepared statement (to fetch\nsingle rows from huge result sets)\nwhile still being able to execute statements on the same connection\nyou can do it this way:\n\nPGresult* res = PQprepare( con, \"statement1\", \"declare cu1 scroll\ncursor with hold for se...
[ { "msg_contents": "Log Message:\n-----------\nAdd generate_subscripts, a series-generation function which generates an\narray's subscripts.\n\nPavel Stehule, some editorialization by me.\n\nModified Files:\n--------------\n pgsql/doc/src/sgml:\n array.sgml (r1.65 -> r1.66)\n (http://anoncvs.pos...
[ { "msg_contents": "Hi,\n\nAs you know, \"SQL injection\" is the main security problem of databases today.\n\nI think I found a solution: 'disabling literals'. Or you may call it\n'enforcing the use of parameterized statements'. This means that SQL\nstatements with embedded user input are rejected at runtime. My...
[ { "msg_contents": "Hello,\n\nI would like to write a patch that provides the command:\n\nVACUUM SUMMARY\n\nThis was discussed briefly here:\n\nhttp://archives.postgresql.org/pgsql-performance/2007-10/msg00165.php\n\nI know there are other plans for 8.4 but I was wondering if those plans\nappear to be happening ...
[ { "msg_contents": "Log Message:\n-----------\nIncrease the statement_timeout value used in the prepared_xacts regression\ntest. We have seen some buildfarm failures that seem to be due to this\nlimit being unexpectedly exceeded when the machine is under load.\n\nModified Files:\n--------------\n pgsql/src/t...
[ { "msg_contents": "\nHi,\nI'm writing a small program to recover specific tables from a severely \ncrippled database, and while I'm able to identify most fields on a hex \ndump of the table file, there are several 'gaps' (probably headers and \nfooters and/or additional info) that I can't identify. Where can I ...
[ { "msg_contents": "Log Message:\n-----------\nRemove typename from A_Const.\n\nBrendan Jurd, minor editorialization by me.\n\nModified Files:\n--------------\n pgsql/src/backend/nodes:\n copyfuncs.c (r1.392 -> r1.393)\n (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/backend/nodes/copyfuncs...
[ { "msg_contents": "My fingers sometimes run on \"autoappend semicolon\" mode and I end up \ntyping \"\\pset pager always;\" instead of \"\\pset pager always\". No error \nis returned, short (but wide) output is not routed to the pager, and I \nhave to back up and correct the \\pset pager command. After some \ne...
[ { "msg_contents": "In the plan below, we can see that the optimizer is sorting an already\nsorted result. It seems to forget the sort order across the UNIQUE node. My\nquestion is, do we make any attempts in the optimizer to remember the sort\norder of a result, to avoid any further sorting on same sort-key? If...
[ { "msg_contents": "I just saw this issue... so though of reporting it before I have to get rid\nof the environment.\n\nI `touch`d the trigger file and I saw the following message:\n\nTrigger file : /tmp/pg_standby.trigger.5444\nWaiting for WAL file : 000000010000000B000000F2\nWAL file path ...
[ { "msg_contents": "MERGE looks like it may need some new infrastructure to support it,\ndepending upon the implementation route. Guidance and discussion\nrequested from main hackers, if possible.\n\nThis is a separate post because there's no further discussion here on\nthe external behaviour of MERGE, or its co...
[ { "msg_contents": "Hi All,\n\n I noticed that the TidScan fails to identify when the requested block is\nnot in the relation. Consider this (pg_class has 6 blocks):\n\npostgres=# explain analyze select ctid, * from pg_class where ctid in (\n'(6,1)' );\nERROR: could not read block 6 of relation 1663/11511/12...
[ { "msg_contents": "Attached is an updated version of 'libpq object hooks'. The primary\npurpose for libpq object hooks is to support our libpqtypes system\n(not attached), but could possibly some nice sideband features to\nlibpq. We are hoping to sneak this into the May commit fest.\n\nregards,\nmerlin", ...
[ { "msg_contents": "I am confused about the below results. The backend is in EDT but it is \nconverting timestamps into EST ... excluding NOW(). Regardless of the \ntimezone provided, the backend is dishing out EST.\n\n[root@dev43 ~]# uname -a\n2.6.9-67.0.4.EL #1 Sun Feb 3 06:53:29 EST 2008 i686 athlon i386 GN...
[ { "msg_contents": "It's May 1st, which means it's time for our second 8.4 commit fest.\n\nI took a quick look through my inbox and added some pending patches to\nhttp://wiki.postgresql.org/wiki/CommitFest:May\nbut it's entirely likely there are still some missing from the queue.\nWould authors of submitted patc...
[ { "msg_contents": "Hi!\n\nI tried to use GDB with postgresql 8 and I didnt have success.\nCan you help me?\nI tried like as I did in postgresql 7.4\nI run configure like this: ./configure --prefix=/usr/local/pgsql8\n--enable-debug --enable-cassert --enable-depend\nAfter, I run \"make\", \"make install\", \"init...
[ { "msg_contents": "Log Message:\n-----------\nSigh ... pg_config.h.win32 needs to define BLCKSZ and RELSEG_SIZE now.\n\nModified Files:\n--------------\n pgsql/src/include:\n pg_config.h.win32 (r1.53 -> r1.54)\n (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/include/pg_config.h.win32?r1=1....
[ { "msg_contents": "This is a little complex to explain - so its probably better with an example..\n\nI don't know if theres some inbuilt function to tell you what datatype a value \nis - so 'kludged' this together : \n\n\n CREATE OR REPLACE FUNCTION rval_type(m date) RETURNS text AS $$\n BEGIN\n ...
[ { "msg_contents": "**Andrew Sullivan wrote:\n> On Thu, May 01, 2008 at 06:33:07PM +0200, PFC wrote:\n>\n> > \tBut it's true that preventing multi-statements adds a layer of \n> > idiot-proofness... a rather thin layer...\n>\n> As I already said in a previous remark in this thread, I don't really\n> like partial...
[ { "msg_contents": "While looking around vacuum.h (for my GSoC project) I found:\ntypedef struct VacAttrStats *VacAttrStatsP;\nand then throughout the code sometimes VacAttrStats *foo is used and \nsometimes VacAttrStatsP bar is used.\n\nCall this obsessive-compulsive disorder, but it kind of bothers me. Is \nth...
[ { "msg_contents": "\nI'm a bit confused about where the consensus is on this issue ( \nhttp://archives.postgresql.org/message-id/20080311110727.62605f5f@commandprompt.com \net al)\n\nDo we want the following:\n\n1. pg_dump issues \"set statement_timeout = 0;\" to the database prior to \ntaking its copy of data ...
[ { "msg_contents": "-----BEGIN PGP SIGNED MESSAGE-----\nHash: SHA1\n\nHi -hackers,\n\nIn another thread about \"GUC parameter cursors_tuple_fraction\", the \ndebate seems to drift onto query hints. About which the consensus here \nis pretty clear and strong, no query hints in PostgreSQL, thanks, or \nwe're ne...
[ { "msg_contents": "Folks,\n\nI'd like to make it possible to see qualifiers from inside functions\nin PostgreSQL. For my particular case, and for dblink, it would\nallow user-space code to some remove bottlenecks which make currently\nmake inter-DBMS communication extremely inefficient.\n\nThe current code ret...
[ { "msg_contents": "\nI have a client who is looking for a way to be able to alter objects \nwithout having to recreate (say, from a dump) all the objects in a \npossibly large dependency tree rooted at the object. Of course, if the \nalteration invalidates the dependency, than this operation should fail, \nbut ...
[ { "msg_contents": "Greetings,\n\nThis really probably should have gone to -hackers rather than just back\nto -patches, so here it is. Comments welcome.\n\n* Tom Lane (tgl@sss.pgh.pa.us) wrote:\n> I'm not sure where we go from here. Your GSOC student has disappeared,\n> right? Is anyone else willing to take u...
[ { "msg_contents": "While looking at the inherited-constraints patch I realized that the\nCONSTROID syscache definition fails to list conrelid as a relation OID\ncolumn. What this means is that a relcache flush on a given relation\nwill fail to flush CONSTROID syscache entries for constraints belonging\nto that...
[ { "msg_contents": "\nIt seems there is strange behaviour coming from trying to apply complex\nRules to the MERGE statement. \n\nMy proposal from here is to allow MERGE to work with Rules, but only\nwhen the Rules are equivalent to simply updatable views. This would\nrestrict MERGE somewhat, yet be entirely comp...
[ { "msg_contents": "Folks, can we avoid posting an email to both hackers and patches lists?\nI understand why people do it, but it is best avoided, I think. If you\nfeel the need to keep patch discussion on hackers, please post just the\npatch to patches and a summary to hackers. \n\nOr better yet, have a URL ...
[ { "msg_contents": "Log Message:\n-----------\nMake the pg_stat_activity view call a SRF (pg_stat_get_activity()) \ninstead of calling a bunch of individual functions.\n\nThis function can also be called directly, taking a PID as an argument, to\nreturn only the data for a single PID.\n\nModified Files:\n-------...
[ { "msg_contents": "In a digest for Tue, 2008-05-06 at 22:57 -0300, Tom Lane wrote:\n...[discussion of SE-PostgreSQL patch deleted]...\n> (And of course the next question after that is why we should want to\n> depend on SELinux at all, rather than implementing row filtering\n> in the framework of SQL permissions...
[ { "msg_contents": "Looks like this commit fest is going very well. The wiki is full of\nactivity, and there are lots of active committers.\n\n-- \n Bruce Momjian <bruce@momjian.us> http://momjian.us\n EnterpriseDB http://enterprisedb.com\n\n + If your life is a hard drive...
[ { "msg_contents": "and thus spake pgsql-hackers-owner@postgresql.org [2008.05.07 @ 16:23]:\n> Date: Wed, 07 May 2008 11:18:48 -0400\n> From: Andrew Dunstan <andrew@dunslane.net>\n\n> > If you want an email and web-based tracking system, RT is wonderful\n> > (http://bestpractical.com/rt/)...\n> \n> STOP!\n\nSorr...
[ { "msg_contents": "Folks,\n\nWhen I do CREATE TABLE foo(LIKE bar INCLUDING CONSTRAINTS), it doesn't\ninclude foreign key constraints (8.3.1). I believe this is surprising\nbehavior, but maybe not a bug, so I'd like to propose another bit of\nsyntactic sugar, namely\n\n LIKE [INCLUDING FOREIGN KEYS]\n\nwhich...
[ { "msg_contents": "Folks,\n\nA co-worker pointed out to me that MySQL has a feature that, properly\nimplemented and maybe extended, could be handy, namely what MySQL\ncalls a \"timestamp\" field, so here's a proposal:\n\n1. Create a generic (possibly overloaded) trigger function, bundled\nwith PostgreSQL, whic...
[ { "msg_contents": "Hi,\nwe have been running our own heavily modified/enhanced version of dbmirror, running on 7.4 for some years, \nand now it is the time to upgrade to 8.3.\nWe have called our approach \"Conditional row grained + FK dependency oriented lazy replication\", that is,\nany FK dependencies of a ro...
[ { "msg_contents": "At the backend, I'm measuring the cost of executing (via SPI_execute_plan) \nthe read-only plan of a simple query with no reference to tables. E.g. \nsimpleplan(int) AS SELECT $1 > 5\n\nExecuting this plan via SPI_execute takes around 70% more time than \ndirectly executing the relevant opera...
[ { "msg_contents": "\nThe recent xml2 build changes have broken MSVC builds.\n\nThe problem is this fragment (that appears twice) from \nsrc/tools/msvc/Mkvcbuild.pm:\n\n foreach my $o (split /\\s+/, $1)\n {\n $o =~ s/\\.o$/.c/;\n $proj->AddFile('contrib\\\\' . $n . '\\\\' . $o...
[ { "msg_contents": "Hi guys, I am new to postgres hacking, and I have the following question.\nSay that someone executes a query:\n\nSELECT * FROM user u, logins l WHERE u.id = l.id\n(assume I have tables user, and logins, with id fields).\n\nAfter this query has been parsed and created into a plan tree, how can...
[ { "msg_contents": "\nYesterday a client and I were sad to discover that the overhead of \nconstraint exclusion is apparently O(n) in the number of partitions, and \nthat where we had ~180 partitions each with a simple constraint (check \n(field = nnn)) the overhead appeared to amount to about 0.25s on some \nqu...
[ { "msg_contents": "Log Message:\n-----------\nImprove logic for finding object files on OBJS lines in contrib Makefiles. If this unbreaks buildfarm mastodon, apply everywhere.\n\nModified Files:\n--------------\n pgsql/src/tools/msvc:\n Mkvcbuild.pm (r1.27 -> r1.28)\n (http://anoncvs.postgresql...
[ { "msg_contents": "The \"TRUNCATE table while we're holding references to it\" bug (3883), is \ncausing an assertion failure on 8.2, when the TRUNCATE is called in a \ntrigger:\n\nScript:\n\nCREATE TABLE proc(n int);\nINSERT INTO proc VALUES (9);\n\nCREATE OR REPLACE FUNCTION deltrig() RETURNS trigger LANGUAGE ...