threads
listlengths
1
2.99k
[ { "msg_contents": "I'm in charge of a very large database, and we're using a highly decrepit version of Postgresql currently. After searching through the archives, Google, and trying out several replication engines, I have a question.\n\nI had originally considered Slony-I, as it doesn't seem to require versio...
[ { "msg_contents": "Hi,\n\nI'm trying to speed up a query with a lookup table. This lookup table\ngets very big and should still fit into memory. It does not change very\noften. Given these facts I decided to use an array, as follows:\n\nCREATE TABLE lookup_table (id INT PRIMARY KEY, items INT[] NOT NULL);\n\nI ...
[ { "msg_contents": "There appears to be some issues or at least a lack of clarity with the\nway we zero damaged/missing pages in various circumstances. \n\n1. If we have an invalid page header then we execute the code below\n(from bufmgr.c ReadBuffer()).. In the case that we are only reading the\npage, not writi...
[ { "msg_contents": "In an up-to-date HEAD server that was initdb'd on 12 Feb (catalog\nversion 200602112):\n\ntest=> SELECT * FROM pg_roles;\nERROR: unrecognized token: \":aliasname\"\ntest=> SELECT pg_get_viewdef('pg_roles'::regclass, true);\nERROR: unrecognized token: \":aliasname\"\n\nThis breaks several th...
[ { "msg_contents": "Where \"*\" == \n{print | save to PDF | save to <mumble> format | display on screen}\n\nAnyone know of one?\n\nTiA\nRon\n", "msg_date": "Thu, 23 Feb 2006 11:38:48 -0500 (GMT-05:00)", "msg_from": "Ron Peacetree <rjpeace@earthlink.net>", "msg_from_op": true, "msg_subject": "Look...
[ { "msg_contents": "I looked into the problem reported here:\nhttp://archives.postgresql.org/pgsql-admin/2006-02/msg00261.php\nTo wit, a pg_restore of a foreign key constraint involving user-defined\ntypes produces\n\npg_restore: WARNING: foreign key constraint \"luuid_fkey\" will require costly sequential scan...
[ { "msg_contents": "I'll second autodoc. Been using it with Docbook and Dia for over a year\nwith good results. \n\n\n> -----Original Message-----\n> From: pgsql-hackers-owner@postgresql.org \n> [mailto:pgsql-hackers-owner@postgresql.org] On Behalf Of \n> Andrew Dunstan\n> Sent: Thursday, February 23, 2006 12:00...
[ { "msg_contents": "I've been modifying tuplesort.c to keep all the sort's local data in a\nseparate memory context, to simplify and speed up cleaning up the data\nduring tuplesort_end. I thought this would be a straightforward change,\nbut was disillusioned when I got a core dump while testing :-(. On\ninvest...
[ { "msg_contents": "I hope in pg_dump there should be an option that will\ndump a schema without the indexes (except of course primary indexes)\n\nregards\n\nI hope in pg_dump there should be an option that will \ndump a schema without the indexes (except of course primary indexes)\n\nregards", "msg_date": "...
[ { "msg_contents": "As part of integrating PostgreSQL into our production environment, we're\nworking on monitoring software, to provide the same kinds of status\nreporting and alerts we have implemented for our outgoing commercial\ndatabase product. One of the things we show on our \"big board\" is\nimpending ...
[ { "msg_contents": "Hello\n\nIn version 7.4.x, the function textToQualifiedNameList was defined with\ntwo parameters. \n\nSome months ago, the second parameter was removed [1] so I had to modify\nmy program to work after this change. Now with 8.0.7, the second\nparameter is back again and I get this error when ...
[ { "msg_contents": "Hello all,\n\nWhile playing around with database users, I noticed one odd thing\nregarding user privileges.\n\nIn case I have only one user in my database who is also the DBSystem\n(who carries out initdb), user then if that user takes away his\n\"createuser\" privileges, he is unable to gran...
[ { "msg_contents": "Apparently, the development of ora2pg is going on at \n<http://www.samse.fr/GPL/ora2pg/>, and quite actively so, rather than in \ncontrib, so I see no point in keeping it at the latter location except to \nconfuse people. License uniformity is an extra argument for removal. So \nplease spea...
[ { "msg_contents": "Hello all. I've got a question with regard to the INFORMATION_SCHEMA\nof PostgreSQL, specificially related to constraints. In the SQL92\nspecification, the DEFINITION_SCHEMA.DOMAIN_CONSTRAINTS (the \"imaginary\"\nbase for INFORMATION_SCHEMA.DOMAIN_CONSTRAINTS), has a primary key:\n CONSTRA...
[ { "msg_contents": "I'm interested in poking though and taking a shot at getting my feet \nwet with pl/python. I see the file is copyright Andrew Bosma -- is he \nstill around perhance? Is anyone currently the 'owner' ?\n\n----\nJames Robinson\nSocialserve.com\n\n", "msg_date": "Fri, 24 Feb 2006 22:35:20 -...
[ { "msg_contents": "I am back from Japan, and have caught up on email in a single 18 hour\nday (100 emails/hour average). I will return to process emails needing\nspecial attention in the next few days, and start applying more patches\nsoon.\n\n-- \n Bruce Momjian http://candle.pha.pa.us\n SRA OSS, Inc. h...
[ { "msg_contents": "I have a PL/Java bug entry from Peter E. that reads \"It is customary in PostgreSQL land and \nelsewhere, that dynamically loadable modules do not have a lib prefix (compare plpgsql.so, \npltcl.so, etc.). So I suggest that the shared object installed by PL/Java also be called \nexactly pljav...
[ { "msg_contents": "toast_compress_datum() considers compression to be \"successful\" if the\ncompressed version of the datum is smaller than the uncompressed\nversion. I think this is overly generous: if compression reduces the\nsize of the datum by, say, 0.01%, it is likely a net loss to use the\ncompressed ve...
[ { "msg_contents": "> > > > > But actually I'd argue that\n> > > > > letting the client programmer supply the encoding is still a \n> > > > > pretty dangerous practice. Your example demonstrates \n> > that if the \n> > > > > encoding PQescapeString is told is different from the \n> > encoding the \n> > > > > ba...
[ { "msg_contents": "> > > > > Sound good to pass PGconn to new-PQescapeString. Here is the \n> > > > > proposed calling sequence for the new function:\n> > > > > \n> > > > > size_t PQescapeStringWithConn (const PGconn *conn, char\n> > > *to, const\n> > > > > char *from, size_t length)\n> > > > > \n> > > > > If t...
[ { "msg_contents": "Subject says it all really. I've got a new client who seems to be\nsuffering from it, and I'm not sure if any conclusion was reached.\n\n-- \n Richard Huxton\n Archonet Ltd\n\n", "msg_date": "Mon, 27 Feb 2006 16:21:08 +0000", "msg_from": "Richard Huxton <dev@archonet.com>", "m...
[ { "msg_contents": " \n\n> -----Original Message-----\n> From: pgsql-hackers-owner@postgresql.org \n> [mailto:pgsql-hackers-owner@postgresql.org] On Behalf Of Mark Woodward\n> Sent: 27 February 2006 16:49\n> To: Martijn van Oosterhout\n> Cc: pgsql-hackers@postgresql.org\n> Subject: Re: [HACKERS] pg_config, pg_se...
[ { "msg_contents": "Hi,\n\nThe idea of using a so called dead space map to speed up vacuum has come \nup multiple times in this list in the last couple of years. I wrote an \ninitial implementation of it to measure the performance impact it has on \nupdates and on vacuum.\n\nPotential uses for a dead space map a...
[ { "msg_contents": "Something came to my mind today, I'm not sure if it's feasible but I \nwould like to know opinions on it.\n\nWe've seen database applications that PostgreSQL simply could not manage \nbecause one would have to vacuum continuously. Perhaps in those \nsituations one could arrange it that an up...
[ { "msg_contents": "Hi All.\n\nI have thought this way and that since that time. Suggestion of Magnus-san \n was considered and this was made.\n\nI considered many things about the pgpass guide of libpq. In windows, even \nthe place of it was not clear. Furthermore, they are intricately concerned \nwith an envir...
[ { "msg_contents": "Greets,\n[Ugh, sent one with uncompressed patch. Seems to be swallowed(No failure msg?).\n Ignore it if it surfaces.]\n\nThe attached patch extends pg_am by adding two methods, \"scan for insert\" and\n\"insert from scan\". These methods are meant to provide an index user with the\nability to...
[ { "msg_contents": "\nJust got posted to the FreeBSD list ... has several questions that revolve \naround the BSD vs GPL licensing, and somewhere that 'omit' PostgreSQL as \nan OS option (while others include it) ...\n\nhttp://enews.sun.com/CTServlet?id=103018442-968290480:1141071714252\n\n\n----\nMarc G. Fourni...
[ { "msg_contents": "The topic of improving vacuum for use in heavy-update environments seems \nto come up frequently on the list. Has anyone weighed the costs of \nallowing VACUUM to reclaim tuples that are not older than the oldest \ntransaction but are nonetheless invisible to all running transactions? \nIt ...
[ { "msg_contents": "I could not find anything in the Frontend/Backend protocol docs about \ncharacter encoding in the StartupMessage. Assuming it is legal for a \ndatabase or user name to have unicode characters, how is this handled \nwhen nothing yet has been said about the client encoding?\n\nThanks,\n\n\nJ...
[ { "msg_contents": "we are using postgresql 7.3.2 version.\nWe are facing a problem in nextval of sequence. The problem is as follows,\nIf the server shuts down abrupotly because of power failuar or any other\ncause then the sequences tend to skip few numbers.\nAfter restarting the server the nextval of sequence...
[ { "msg_contents": "I just tried using ipcclean in 8.1.3. It doesn't work when I su to the \npgsql user. This part of the script:\n\nif [ \"$USER\" = 'root' -o \"$LOGNAME\" = 'root' ]\n\nAlways fails because even tho $USER is set to 'pgsql' when su'ed, \n$LOGNAME is still root.\n\nThis is on FreeBSD 4.9\n\nChr...
[ { "msg_contents": "I am now in the process of writing a patch against CVS HEAD that\nchanges fe-connect.c as follows:\n\n- If there is a 'service' option or PGSERVICE is set, AND the\nenvironment\n PGLDAPSERVERS is set to a comma separated list of LDAP server URIs,\n LDAP name resolution cuts in.\n- Before pg...
[ { "msg_contents": ">>I have added a configure option --with-openldap to enable the code.\n>>\n>>Does that make sense to you?\n>>\n>>Should I try to polish and test the code and submit it as a patch\n> \n> I would still much prefer to see remote config fetching done in a more\n\n> general way, using say libcurl ...
[ { "msg_contents": "Just a \"wouldn't it be nice if\" sort of feature request. I'm not sure\nhow practical it is.\n\nSomeone in our organization wrote a data fix query, which has sort of\nodd logic, but it does what they need. The problem is that it ran for\n14 hours in a test against a copy of the data. I lo...
[ { "msg_contents": "> Uh, why is it a good idea to overload the \"service\" option like that?\n> ISTM it'd be less confusing to use a separate option. Further I\nsuggest\n> that pg_service ought to be handled first, ie, it makes sense to me to\n> be able to put both the LDAP name and the LDAP server address(es)...
[ { "msg_contents": "> Martijn van Oosterhout <kleptog@svana.org> writes:\n> >>> This may be the only solution. Converting everything to UTF-8 has \n> >>> issues because some encodings are not roundtrip-safe\n> \n> >> Is this still true?\n> \n> > I beleive so. If use the ICU Converter Explorer [1] to \n> examine ...
[ { "msg_contents": ">On Tue, 28 Feb 2006 01:04:00 -0500, Tom Lane wrote \n>\"Jim C. Nasby\" <jnasby ( at ) pervasive ( dot ) com> writes:\n>> On Mon, Feb 27, 2006 at 03:05:41PM -0500, Tom Lane wrote:\n>> Moreover, you haven't pointed to any strong reason to adopt this\n>>> methodology. It'd only be a win when v...
[ { "msg_contents": "cvs tip configure is giving a warning:\n\nchecking for flags to link embedded Perl... /usr/lib64/perl5/5.8.6/x86_64-linux-thread-multi/auto/DynaLoader/DynaLoader.a -L/usr/lib64/perl5/5.8.6/x86_64-linux-thread-multi/CORE -lperl -lresolv -lnsl -ldl -lm -lcrypt -lutil -lpthread -lc\ngawk: warn...
[ { "msg_contents": "Several of the new uninstall scripts give errors, particularly those\nthat drop types and their support objects. To see an example:\n\ncreatedb foo\npsql -d foo -f ltree.sql\npsql -d foo -f uninstall_ltree.sql\n\nA lot of the errors are due to DROP OPERATOR CLASS lines missing\nthe required ...
[ { "msg_contents": "Hello all,\n\nBelow is an email thread regarding a possible bug in PostgreSQL on\nWindows 2003. Any help or advice anyone can give on this would be much\nappreciated.\n\nAll the best,\nJames Hughes\n\n--- EMAIL THREAD FOLLOWS ---\n\nJames_Hughes@McAfee.com wrote:\n> Hi Bruce,\n> \n> We are no...
[ { "msg_contents": "PostgreSQL Anniversary Summit\n=============================\n\nCall for Contributions\n----------------------\n\nThe PostgreSQL Anniversary Summit will take place on July 8 and 9, 2006, in \nToronto, Canada. We are planning for a gathering of about 50 hackers, \ncontributors, and other frie...
[ { "msg_contents": "Hi,\n\nIn my application i need to create a file dynamically and load it into DB.\n\nSo.....I have created one object at run time .....and trying to open it inorder to write the content into it.....\nBut lo_open is returning -1(-ve value).\nwhere i am doing mistake pls tell me.\n\nlobjId = lo...
[ { "msg_contents": "Hi,\n\n1. The command line passed is -D \"c:\\data\" --user=McAfeePostgresUser\n2. McAfeePostgresUser which is a local machine user with limited\nprivileges. Though this problem occurs with any user account you create\nwith non-administrator privileges.\n\nThanks\nJames \n\n-----Original Mess...
[ { "msg_contents": "I wonder if there could be a potential problem with using this approach\n-\nchecking on $USER == root.\n\nAlthough it is a common practice, I think a superuser does not have to\nbe root.\nIf I'm right here, a better technique could be executing `id`.\n\nMike\n \n\n-----Original Message-----\n...
[ { "msg_contents": "On Tue, 2006-02-21 at 11:45 +1300, Mark Kirkwood wrote:\n> Simon Riggs wrote:\n> > A new parameter that allows the administrator to place sensible limits\n> > on the size of queries executed. \n> > \n> > This is useful for ad-hoc SQL access \n> > - when a very large table cannot realistically...
[ { "msg_contents": "I'm trying to plan out a few postgresql related projects and could use some \nintuition on when folks think the feature freeze for 8.2 is going to occur. I \nthought it was going to be in Nov 06, but after talking to a couple of \npeople, I've also heard that Aug 06 and Feb 07 seem to be poss...
[ { "msg_contents": "Someone want to remove/suspend \"Antoine Bajolet\" <antoine.bajolet@tdf.fr> from the lists? He's sending these emails to the author of every list email (not sure if he's on more than just -perform).\n\n-----Original Message-----\nFrom: Postmaster@tdf.fr [mailto:Postmaster@tdf.fr]On Behalf Of ...
[ { "msg_contents": "Hey guys,\n\nWhat's the status of the current INSERT/UPDATE/DELETE RETURNING patch? Is\nit ready to go or does it need to be cleaned up?\n\n--\nJonah H. Harris, Database Internals Architect\nEnterpriseDB Corporation\n732.331.1324\n\nHey guys,\n\nWhat's the status of the current INSERT/UPDATE...
[ { "msg_contents": "This may be a newbie question, but according to the 7.4 docs, an ACCESS\nEXCLUSIVE lock is only acquired by the ALTER TABLE, DROP TABLE,\nREINDEX, CLUSTER, and VACUUM FULL commands.\n\nHowever, when viewing pg_locks during the execution of a stored\nprocedure that does not perform any of the ...
[ { "msg_contents": "Thanks for the info, I shall indeed try this. \n\nOne thing to mention is that I don't think the error occurs within\ninitdb, it seams to be postgres.exe that dbinit starts. \n\nRegards\nJames\n\n-----Original Message-----\nFrom: Andrew Dunstan [mailto:andrew@dunslane.net] \nSent: 01 March ...
[ { "msg_contents": "All\n\nI have determined what is causing the failure. It appears that the\nstdout & stderr redirection to nul produces the \"Access is Denied.\"\nmessage. This is happening even if I type \"dir >nul\" at the command\nprompt! I assume that this re-direction in PostgreSQL is done when\nstarting...
[ { "msg_contents": "Hi,\n\nI am trying to create a makefile for installing some C functions.\n\nWhen I include the following in the makefile:\n\n PGXS := $(shell pg_config --pgxs)\n include $(PGXS)\n\nI get the following error:\n\n $ make\n pg_config: invalid argument: --pgxs\n Try 'pg_config --he...
[ { "msg_contents": "All,\n\nThis is only the current patch updated to apply cleanly on cvs... it's not\nready for -patches yet as I still haven't spent much time looking through it\nand testing it. This is just for anyone to play with and find issues.\n\nMy focus for the next couple days is on getting INS/UPD/D...
[ { "msg_contents": "\n> I think you must keep the header because the tuple might be \n> part of an update chain (cf vacuuming bugs we repaired just a \n> few months ago).\n> t_ctid is potentially interesting data even in a certainly-dead tuple.\n\nyes, I'd still want to keep the full header.\n\n> Andreas' idea i...
[ { "msg_contents": "I'm creating user-defined server extensions, written in C per the manual \"31.9. C-Language Functions\". Everything works well, but only if I fully link the .so such that there are *no* unresolved external references at all. Not even the stuff in libstdc++.a can be left out. I've tried set...
[ { "msg_contents": "Hello list,\n\nI would like to be able to send the HeapTuple returned\nby ExecFetchSlotTuple() over the network (socket) to\nanother postmaster process that's waiting for it. I\ndon't need to decode it, just send bytes.\n\nMy question, and I am not a DB expert, I just deal\nwith raw data. Wha...
[ { "msg_contents": "The query optimizer currently does not consider reordering a query's\ngrouping columns. While the order in which ORDER BY columns are\nspecified affects the semantics of the query, AFAICS GROUP BY's column\norder does not. Reordering a query's grouping columns would allow the\noptimizer to av...
[ { "msg_contents": "> All\n> \n> I have determined what is causing the failure. It appears \n> that the stdout & stderr redirection to nul produces the \n> \"Access is Denied.\"\n> message. This is happening even if I type \"dir >nul\" at the \n> command prompt! I assume that this re-direction in PostgreSQL \n> ...
[ { "msg_contents": " \n\n> -----Original Message-----\n> From: pgsql-hackers-owner@postgresql.org \n> [mailto:pgsql-hackers-owner@postgresql.org] On Behalf Of \n> Thomas Hallgren\n> Sent: 03 March 2006 14:18\n> To: George Weaver\n> Cc: Michael Fuhr; pgsql-novice@postgresql.org; \n> pgsql-hackers@postgresql.org\n...
[ { "msg_contents": "I did run filemon but did not get anything from it :( Yes I disabled all\nanti-virus software, no difference made.\n\nHave raised a helpdesk ticket with Microsoft, see if they can shed any\nlight on the problem.\n\nJames \n\n-----Original Message-----\nFrom: Magnus Hagander [mailto:mha@sollen...
[ { "msg_contents": "> I did run filemon but did not get anything from it :( Yes I \n> disabled all anti-virus software, no difference made.\n\nEven more interesting. Do you have any other filter drivers that you\nknow of? SOme kind of quota stuff or so perhaps?\n\nOh, and if the bug is in the AV filter driver it...
[ { "msg_contents": " \n\n> -----Original Message-----\n> From: George Weaver [mailto:gweaver@shaw.ca] \n> Sent: 03 March 2006 14:55\n> To: Dave Page\n> Cc: Thomas Hallgren; pgsql-hackers@postgresql.org; \n> pgsql-novice@postgresql.org; Michael Fuhr\n> Subject: Re: [HACKERS] [NOVICE] pg_config --pgxs\n> \n> \n> F...
[ { "msg_contents": "I think we can safely say that it is not :-)\n\n\n-----Original Message-----\nFrom: Andrew Dunstan [mailto:andrew@dunslane.net] \nSent: 03 March 2006 15:41\nTo: Magnus Hagander\nCc: Hughes, James; pgsql-hackers@postgresql.org\nSubject: Re: [HACKERS] Initdb on Windows 2003\n\nMagnus Hagander w...
[ { "msg_contents": "\n> > But what about index clearing? When do you scan each index?\n> \n> At the end of each iteration (or earlier, depending on \n> maintenance_work_mem). So for each iteration you would need \n> to scan the indexes.\n> \n> Maybe we could make maintenance_work_mem be the deciding \n> factor...
[ { "msg_contents": "Hi,\n\nI'm trying to extend the CREATE INDEX statement with a fillfactor clause. In\nGram.y, I did this:\n\nIndexStmt: CREATE index_opt_unique INDEX index_name ON qualified_name\naccess_method_clause '(' index_params ')' fillfactor_clause where_clause\n\t\t\t\t{\n\t\t\t\t\tIndexStmt *n = make...
[ { "msg_contents": "> > In pg_config.h:405 this is defined:\n> > \n> > /* Define to 1 if you have the <strings.h> header file. */ #define \n> > HAVE_STRINGS_H 1\n> > \n> > However, Visual Studio 2005 does not include this file. For a \n> > workaround I simply added it but that's a bit of hack.\n> \n> Ah, so eve...
[ { "msg_contents": "Hi all!\n\nwhile playing on a new box i noticed that postgresql does not seem to be\nable to cope with very large settings for maintenance_work_mem.\n\nFor a test I created a single table with 5 integer columns containing\nabout 1,8B rows 8(about 300M distinct values in the column I want to i...
[ { "msg_contents": "> > Um, is WIN32_CLIENT_ONLY really defined when you're \n> building a backend \n> > extension? That seems wrong.\n> \n> Well, it is defined:\n> \n> \t#if defined(_MSC_VER) || defined(__BORLANDC__)\n> \t#define WIN32_CLIENT_ONLY\n> \t#endif\n\nOops. I obviously forgot all about that :-)\n\n\n...
[ { "msg_contents": "Has anyone else been finding the recent behavior of CVS-tip psql\nto be a disimprovement? I've gotten sufficiently annoyed with it\nthat I'm ready to propose reverting this patch:\n\n2006-02-11 16:55 momjian\n\n\t* src/bin/psql/: help.c, input.c, input.h, mainloop.c, prompt.c,\n\ttab-comple...
[ { "msg_contents": "Adding a new partition is fairly simple, particularly if you don't care\nabout writing RULEs to direct data into it and can rely on a bulk loader\nto figure that part out.\n\nRemoving a partition, on the other hand, is currently impossible to do\nwithout blocking selects against the table as ...
[ { "msg_contents": "While playing around with large work_mem(or in that case a bit insane)\nand maintenance_work_mem settings I noticed that EXPLAIN behaves quite\nweird:\n\nfoo=# set work_mem to 200000;\nSET\nTime: 0.187 ms\nfoo=# explain select count(*) from testtable2 group by a;\n ...
[ { "msg_contents": "Folks,\n\nI was just building something and noticing the peculiar structure we've \ngiven to arguments to trigger procedures. Instead of declaring them \nnormally, we pass them through the variables TG_NARGS and TG_ARGV[]. This \nis inconsistent with the entire rest of Postgres, as well as ...
[ { "msg_contents": "I have been noticing that the copyright is wrong on many files (2005)... \nDo we have a utility to update the copyright?\n\nJ\n\n", "msg_date": "Sat, 04 Mar 2006 22:09:07 -0800", "msg_from": "\"Joshua D. Drake\" <jd@commandprompt.com>", "msg_from_op": true, "msg_subject": "Cop...
[ { "msg_contents": "Sorry... deleted the post I am responding to too quickly...\n\nThe question was whether there was a program to bring the files up to date.\n\nWhy? The code was written, and copyrighted, at the time that it was\nsubmitted. Unless the code has been completely re-written, the original\ncopyright...
[ { "msg_contents": "Hi,\n\nwhat's the status of this todo item? The relevant thread from 2001 is here:\n\nhttp://archives.postgresql.org/pgsql-hackers/2001-10/thrd6.php#00011\n\n> I think we should\n> leave the code alone, and instead document in 7.2 that -o is deprecated\n> (and explain what to do instead), wit...
[ { "msg_contents": "I have updated the copyrights on all the files in CVS HEAD, and updated\nthe script that does the work. The commit message was too long to be\nautomatically accepted.\n\n-- \n Bruce Momjian http://candle.pha.pa.us\n SRA OSS, Inc. http://www.sraoss.com\n\n + If your life is a hard driv...
[ { "msg_contents": "Hi,\n\nI have develop my own data type and my own operators on this data type. I \ncould not find how to tell PostgreSQL which precedence I want to assign to \nmy operator. For example, I want my unary operator \"~\" to have a higher \nprecedence than my \"+\" operator. For now I have to use ...
[ { "msg_contents": "Hi,\n\nWhat's the status of the TODO item\n\n\"Allow commenting of variables in postgresql.conf to restore them to defaults\nCurrently, if a variable is commented out, it keeps the previous\nuncommented value until a server restarted.\"\n\nI take that to apply to the configuration re-read at ...
[ { "msg_contents": "SQL92 contains a construct \"table1 UNION JOIN table2\", which is defined\nessentially the same as \"table1 FULL JOIN table2 ON false\" --- you get\nall the rows of table1 null-extended into the table2 columns, and all\nthe rows of table2 null-extended into the table1 columns, and no actual\n...
[ { "msg_contents": "> Awhile back, \"Magnus Hagander\" <mha@sollentuna.net> wrote:\n> > This patch adds native LDAP auth, for those platforms that \n> don't have \n> > PAM (such as Win32, but also unixen without PAM). On Unix, uses \n> > OpenLDAP. On win32, uses the builin WinLDAP library.\n> \n> Is this patch s...
[ { "msg_contents": "Hi,\n\nsrc/backend/utils/misc/README says\n\n\"\nIf SIGHUP is received, the GUC code rereads the postgresql.conf\nconfiguration file (this does not happen in the signal handler, but at\nnext return to main loop; note that it can be executed while within a\ntransaction).\n\"\n\nSIGHUP_handler(...
[ { "msg_contents": "Hello PostgreSQL Developers,\n\n I'm the CTO of Coverity, Inc., a company that does static source code \nanalysis to look for defects in code. You may have heard of us or of our \ntechnology from its days at Stanford (the \"Stanford Checker\"). The \nreason I'm writing is because we have se...
[ { "msg_contents": ">> I'm almost done with implementing a patch that recognizes \n>> LDAP URLs in pg_services.conf and queries an LDAP server for \n>> a connection option string.\n>> \n>> Currently I'm coding against libldap [...]\n> \n> If you haven't already, look at the ldap auth patch in the queue for\n> so...
[ { "msg_contents": "\n> > But you could do the indexes first and remember how far you \n> can vacuum \n> > the heap later.\n> \n> But the indexes _can't_ be done first; you _first_ need to \n> know which tuples are dead, which requires looking at the \n> table itself.\n\nIf we already had the \"all tuples visibl...
[ { "msg_contents": "-----BEGIN PGP SIGNED MESSAGE-----\nHash: SHA1\n\nHey,\n\nDoes someone know of a huge load of real life \"LIKE\" data, maybe in\nCSV format that I can download somewhere, to demonstrate certain\ndesign techniques.\n\nEnough data to really see an effect of the difference in tables\nwith/withou...
[ { "msg_contents": ">> If your patch is accepted and a dependency on OpenLDAP is introduced,\n>> my patch will provide an additional gain with no additional cost.\n> \n> Out of curiosity what would an SQL database want with ldap anyways?\n> Is it just a set of bindings for ldap functions for applications?\n\nNo,...
[ { "msg_contents": "> >> If your patch is accepted and a dependency on OpenLDAP is \n> introduced, \n> >> my patch will provide an additional gain with no additional cost.\n> > \n> > Out of curiosity what would an SQL database want with ldap anyways?\n> > Is it just a set of bindings for ldap functions for appli...
[ { "msg_contents": "Hi,\n\nthis is the plan: In ParseConfigFile, record the fact that the\nvariable was set in response to SIG_HUP in the status field\n(GUC_SET_FROM_SIGHUP). After setting all variables in postgresql.conf,\nset all variables that can appear in postgresql.conf\n(GUC_DISALLOW_IN_FILE), don't have ...
[ { "msg_contents": "> >>If your patch is accepted and a dependency on OpenLDAP is \n> introduced, \n> >>my patch will provide an additional gain with no additional cost.\n> >> \n> >>\n> >\n> >Out of curiosity what would an SQL database want with ldap anyways?\n> >\n> > \n> >\n> Single Sign On is the obvious ...
[ { "msg_contents": "In CVS, I have enabled SQL string warnings for 8.2 in postgresql.conf:\n\n escape_string_warning = on\n\nstandard_conforming_strings will be off for 8.2, but perhaps default to\n'on' for 8.3, depending on user feedback.\n\n-- \n Bruce Momjian http://candle.pha.pa.us\n SRA OSS, Inc. ht...
[ { "msg_contents": ">>>I find it hard to imagine LDAP being sensibly use for any other\npostgres \n>>>purpose than authentication, despite recent flights of fancy on the\nlist \n>>>about storing large slabs of config data there.\n>>\n>>It can also make sense to get authorization information from LDAP.\n> \n> Yes...
[ { "msg_contents": " \n\n> -----Original Message-----\n> From: PG Build Farm \n> [mailto:pgbuildfarm-web@hosting-two.commandprompt.com] \n> Sent: 07 March 2006 02:18\n> To: pgbuildfarm-status-chngs@pgfoundry.org; \n> pgbuildfarm-status-green@pgfoundry.org\n> Subject: PGBuildfarm member snake Branch HEAD Status c...
[ { "msg_contents": " \n\n> -----Original Message-----\n> From: pgsql-hackers-owner@postgresql.org \n> [mailto:pgsql-hackers-owner@postgresql.org] On Behalf Of \n> Peter Eisentraut\n> Sent: 07 March 2006 08:55\n> To: Tom Lane\n> Cc: Josh Berkus; pgsql-hackers@postgresql.org; Greg Stark\n> Subject: Re: [HACKERS] P...
[ { "msg_contents": "Tom, \n\nsorry, but the address that you wrote tells that there isn�t any patch to \napply. Is this patch Itagaki's one? How could I pick it? \n\nBy the way, don�t worry about the whole idea. It's an experiment that shall \nbe improved in the future, I hope. \n\nBest regards, \n\nEduardo ...
[ { "msg_contents": "Tom Lane <tgl@sss.pgh.pa.us> wrote\n\n>Um, are you aware that a patch for that was already submitted?\n>http://momjian.postgresql.org/cgi-bin/pgpatches\n>\n>I find the whole idea pretty ugly myself.\n\nTom,\n\nsorry, but the address that you wrote tells that there isn�t any patch to\napply....
[ { "msg_contents": "Hi,\n\nI tried pg_freespacemap and found strange result:\n\ntest=# select * from pg_freespacemap where blockfreebytes = 0;\n blockid | relfilenode | reltablespace | reldatabase | relblocknumber | blockfreebytes \n---------+-------------+---------------+-------------+----------------+---------...
[ { "msg_contents": "It seems I get a segfault in backend if autovacuum is enabled. Here is\nthe backtrace when I connect to backend by using psql:\n\nProgram received signal SIGSEGV, Segmentation fault.\n0x081fe737 in AtEOXact_GUC (isCommit=1 '\\001', isSubXact=0 '\\0') at guc.c:3139\n3139\t\t\tif (stack->nest_l...
[ { "msg_contents": "BTW, I was just looking over Knuth's discussion of sorting again, and\nrealized that there is still something more that could be done within\nthe existing sort framework. We currently use standard polyphase merge\n(his Algorithm 5.4.2D), which IIRC I chose because it was simple and\nfor rela...
[ { "msg_contents": "Use a priority queue for the sorted sub-lists. When the key-object\nextracted from the head of the smallest queue exceeds the key-object\nfrom the head of the second queue, adjust the priority of the smallest\nqueue within the list of queues.\n\n \n\nIt uses a total of 2 read/write passes ov...
[ { "msg_contents": "I have applied all the patches in the patch queue, and am starting to\nlook at the patches_hold queue, which are patches submitted after the\nfeature freeze.\n\n\thttp://momjian.postgresql.org/cgi-bin/pgpatches_hold\n\n-- \n Bruce Momjian http://candle.pha.pa.us\n SRA OSS, Inc. http://w...