threads
listlengths
1
2.99k
[ { "msg_contents": "\nHi,\nI have to add a function in varlena.c named\nbtcasecmp(PG_FUNCTION_ARG) ,\nso what other information I have to add in source.\nI know little bit of it,\nI have added that function in\nsrc/backend/utils/fmgrtab.c and assign a new oid but when I installed that \nfunction definition is no...
[ { "msg_contents": "Hi,\n\nI have built the libpq from $Postgres/src/interfaces/libpq on the windows\nplateform for 8.1.0. To build i had to comment a function call\nShGetFolderPath from the fe-connect.c file, i gave its dependency\nshfolder.lib but it was not working so i commented that function call. Doing\nth...
[ { "msg_contents": "No, it's all right. In fact, I believe my boss spoke to Bruce about\nthis idea in August. But I have permission to discuss the algorithm. I\nmay even be able to get the code, but to be honest, it isn't that much;\nit would probably be just as easy for it to be re-written as it would be\nto...
[ { "msg_contents": "It's been about a month since 8.1.0 was released, and we've found about\nthe usual number of bugs for a new release, so it seems like it's time\nfor 8.1.1. The core committee has tentatively agreed to plan a release\nfor Tuesday Dec 6 (which means wrapping tarballs Monday). We will\nat the ...
[ { "msg_contents": "Someone suggested earlier that we should drop the binaries for\nnonsupported versions completely from the ftp site. Thoughts on this?\n\nIf not, they should at least go into OLD as well. But personally, I'm\nfor dropping them completely. If you're on something that old (heck, we\nhave 7.0 bin...
[ { "msg_contents": "I've been fooling around with a test case Rob Creager sent me, which is\nable to drive PG into a context-switch storm caused by contention for\nthe SubtransControlLock. Rob asked for the test case not to be posted\npublicly (it's part of some proprietary code), but I found that you can\ncaus...
[ { "msg_contents": "[Apologies for the delayed response; fighting through a backlog.]\n\nI checked with out DBAs, and they are willing to test it.\n\nBy they way, they found that they were getting this on a pg_dump,\ntoo. We will test both failure cases. If the test goes OK, we would\nbe happy to leave it in p...
[ { "msg_contents": "Due to its size, in the Windows environment we can't dump this\ndatabase in any format except plain text, so the zlib issues don't\napply here.\n\n-Kevin\n\n\n>>> Qingqing Zhou <zhouqq@cs.toronto.edu> >>>\n\n> By they way, they found that they were getting this on a pg_dump,\n> too. We will...
[ { "msg_contents": "Attached is a small test extract from the USDA nutrient database.\n\nThe problem is that the script won't load the COPY data correctly. This \nis with CVS HEAD (and 8.1).\n\nIt is the 4th column in the table that gives the problem (nutr_no \ninteger). Each of the 3 COPY rows has a different...
[ { "msg_contents": "I mentioned yesterday that I'm looking at the problem of excessive\naccesses to pg_subtrans when there is an old open transaction:\nhttp://archives.postgresql.org/pgsql-hackers/2005-11/msg01547.php\n\nI thought of a different approach to it, which is to make snapshot\nchecking take a hint fro...
[ { "msg_contents": "Hi all,\n\nI wrote a experimental patch for a vertical partitioning\nfunction.\n\nI decided to use the code of TOAST to create the function\neasily. In a word, the row that the user specified is forcedly\ndriven out with TOAST.\n\nThe performance gain of 10% was seen by driving out c_data of ...
[ { "msg_contents": "There are currently some rather crude knobs for persuading the planner\nto favour certain kinds of query plans: the enable_XXX GUC variables.\nSeveral people have asked for a more flexible way to give hints to the\nplanner. I'm not interested in implementing fully-general planner hints\nat th...
[ { "msg_contents": "36.7.3.5. FOR (integer variant)\n\nIn the 8.1 docs. \"Label\" has been spelt \"Labal\".\n\nChris\n\n", "msg_date": "Thu, 01 Dec 2005 18:33:05 +0800", "msg_from": "Christopher Kings-Lynne <chriskl@familyhealth.com.au>", "msg_from_op": true, "msg_subject": "Docs misspelling" ...
[ { "msg_contents": "\nHi everyone,\n\nin 8.1 by default tables have no OID's anymore. Since OID's are 4 byte it's \nprobably a good idea to discourage the use of them (they produced a lot of \ntrouble in the past anyways, particularly with backup/restores etc)\n\nNow there's the issue with stored procs. A usual ...
[ { "msg_contents": " \n\n> -----Original Message-----\n> From: pgsql-www-owner@postgresql.org \n> [mailto:pgsql-www-owner@postgresql.org] On Behalf Of Marc G. Fournier\n> Sent: 01 December 2005 17:01\n> To: Peter Eisentraut\n> Cc: pgsql-hackers@postgresql.org; Euler Taveira de Oliveira; \n> Richard Huxton; Rober...
[ { "msg_contents": "> > That would be fairly trivial ... let me add it to the 'todo \n> list' ... \n> > I take it that it would be safe to relegate the \n> /pub/source/OLD stuff \n> > there too?\n> \n> Not so trivial to put behind a web interface or the download \n> tracker though. Is it really necessary to have...
[ { "msg_contents": "Log Message:\n-----------\nAdd comments about why errno is set to zero.\n\nModified Files:\n--------------\n pgsql/src/backend/utils/adt:\n datetime.c (r1.162 -> r1.163)\n (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/utils/adt/datetime.c.diff?r1=1.162&r2=1.16...
[ { "msg_contents": "Greg Stark <gsstark@mit.edu> writes:\n> On the other hand the type I would prefer to see are hints that feed\ndirectly\n> into filling in information the planner lacks. This only requires that\nthe\n> user understand his own data and still lets the planner pick the best\nplan\n> based on the ...
[ { "msg_contents": "Now that I've fixed the silly mistake in the fork-based version of\npgbench,\nhttp://archives.postgresql.org/pgsql-patches/2005-12/msg00017.php\nI'm seeing it consistently outperform the CVS-tip version by about 5%.\nI get about 700 tps versus 670 tps; meanwhile \"top\" reports that idle\nCPU...
[ { "msg_contents": "In looking at the current pgbench results, I notice that one\nconsiderable contribution to LWLock contention is access to the\nheavyweight-lock manager. Almost all of that comes from taking\nrelation-level locks, so we could cut down the contention if we could\nreduce the number of distinct ...
[ { "msg_contents": "Gregory Maxwell <gmaxwell@gmail.com> wrote:\n> The flipside there is that a good set of hinting options may increase\n> the amount of detailed feedback we get from users on improvements\n> needed in the optimizer. The current knobs are pretty blunt and don't\n> do as much as I'd like when t...
[ { "msg_contents": "Hello,\n\nThe below seems incorrect. If I am in the schema the behavior seems \ncorrect. I can't see or select from the table.\nHowever if I am not in the schema I am able to see the table and its \nstructure. The user jd is not a superuser.\n\ncleancontact=# revoke usage on schema financials...
[ { "msg_contents": "Hello,\n\nCREATE TABLE foo (id bigserial primary key, fname text);\nGRANT INSERT ON foo to jd;\nINSERT INTO foo(fname) VALUES ('Joshua');\n\nThis will fail, because I don't have permissions on the sequence \nfoo_id_seq which is a dependency created\nby PostgreSQL. It seems that if bigserial i...
[ { "msg_contents": "Out of curiosity, what is this beast?\n\nhttp://pgbuildfarm.org/cgi-bin/show_log.pl?nm=bear&dt=2005-11-13% \n2012:01:08\n\nMichael Glaesemann\ngrzm myrealbox com\n\n\n\n", "msg_date": "Fri, 2 Dec 2005 16:33:01 +0900", "msg_from": "Michael Glaesemann <grzm@myrealbox.com>", "msg_fro...
[ { "msg_contents": "Hi\nWe are trying to implement a progress estiamator for long queries. We \nare trying to make the display graphical using GTK but we get an error \nsaying\nXlib : Connection to \":0.0\" refused by server\nxlib : no protocol specified\n\nGTK-warning ** : Cannot open display\n\nCan someone sug...
[ { "msg_contents": "Greg Stark gsstark@mit.edu writes:\n> You more or less missed my entire point.\n\nOnly because I am still getting used to how powerful and flexible\nPostgres is; but I am working on expanding my horizons.\n\n> In the extreme, no amount of added intelligence in the optimizer is\ngoing\n> to\n>...
[ { "msg_contents": "Good Morning,\nI'm an italian student and I'm working on a project involving postgres. I'm sorry for my very bad english. I've some questions:\n1)Does postgres upport semi-joins?\n2)What about projections or selections in query tree writing? Does Postgres support algebraic space (in other wor...
[ { "msg_contents": " Good Morning,\n I'm an italian student and I'm working on a project involving postgres. I'm sorry for my very bad english. I've some questions:\n 1)Does postgres upport semi-joins?\n 2)What about projections or selections in query tree writing? Does Postgres support algebraic space (in other...
[ { "msg_contents": "\nThe optimizer seems to want to use sequential scans on inherited tables\nwhen crossed with another table, as the following seems to demonstrate:\n\nCreate Table base(f1 bigserial);\ncreate table inh1(f2 bigint) inherits (base);\ncreate table inh2(f2 bigint) inherits (base);\ncreate table in...
[ { "msg_contents": "It appears that a bunch of spammers have invaded -hackers, claiming they\ncan avoid the heat death of the universe in exchange for 2 bytes.\nOr something like that. :-)\n\nEven my Krull-powered Spam filters can't cope.\n\nBest Regards, Simon Riggs\n\n", "msg_date": "Fri, 02 Dec 2005 22:47...
[ { "msg_contents": "We have very strange behavior from an internal production database.\n\nThere are multiple symptoms, all pointing to a problem with clusterwide \ntables. For example:\n\npostgres@csdfds1:~> psql -U postgres -p 5433 cyspec\nWelcome to psql 7.4.8, the PostgreSQL interactive terminal.\n\nType: \...
[ { "msg_contents": "Hi everyone,\n\nI've been able to successfully build server extension using Visual \nStudio 2005 for Windows Postgresql 8.1. However, it took a few tweaks \nwhich I thought I should document (maybe these issues could be fixed in \nfuture postgresql versions?):\n\n\n1. There is no lib file f...
[ { "msg_contents": "Transaction Ids are assigned consecutively. As a result, access to the\nbitmaps for CLOG and Subtrans will have a tendency to access the\njust-recently allocated end of those data structures, which are updated\non successful transaction creation/completion (high level view).\n\nEarlier we fou...
[ { "msg_contents": "Greetings,\n\nLast April we have made some changes to src/ports/snprintf.c so that it\nwould support argument reordering like %2$s, %1$d and such on\nplatforms where original snprintf() does not support it, like Windows,\nHP-UX or NetBSD.\n\nNLS messages of some languages, like Turkish, rely ...
[ { "msg_contents": "I've quite interesting results in 8.1, I'm not sure if the queries\nitself are beyond SQL specs, but the results are quite interesting:\nThis is the most simple I found for the query that still has the\nproblem, the second left join is not really necessary and can be\nreplaced\n \n \nCorrect ...
[ { "msg_contents": "Hi!\n\nI would like to add an entry to PostgreSQL 8.2 TODO:\n- Extend SERIAL to a full-featured auto-incrementer type.\n\nTo achieve this, the following three requirements should be fulfilled:\n\n1. The statement parser should be able to handle this:\n\ncreate table x (\n id serial(N),\n ...
[ { "msg_contents": "Hmm...this didn't seem to make it to the newsgroup. Apologies if its a \nrepeat.\n\nCharlie\n\n-------------\nHi everyone,\n\nI've been able to successfully build server extension using Visual\nStudio 2005 for Windows Postgresql 8.1. However, it took a few tweaks\nwhich I thought I should d...
[ { "msg_contents": "\nIs there any reports/fix of this problem?\n\nRegards,\nQingqing\n\nOn Fri, 2 Dec 2005, Josep Maria Pinyol Fontseca wrote:\n>\n> Yes, with psql, pgAdminIII and our application with ODBC I experiment\n> the same situation... the sentences that I execute are like \"select *\n> ...\" or similar...
[ { "msg_contents": "I've tried this with cvs , -r REL8_1_STABLE (hope this was the right one), and works flawless now.\n\nThanks a lot!\n\nBest regards\nMario Weilguni\n\n\n-----Ursprüngliche Nachricht-----\nVon: Tom Lane [mailto:tgl@sss.pgh.pa.us]\nGesendet: Sa 03.12.2005 17:53\nAn: Mario Weilguni\nCc: pgsql-ha...
[ { "msg_contents": "Hi,\n\nI believe I've found a performance regression between 8.0 and 8.1 for\nsome cases. For some queries it appears that the old MIN() ran much\nfaster than the new optimized MIN().\n\nThe following set of query plans illustrates the problem. (schema\nnames changed to protect the innocent...
[ { "msg_contents": "Simon Riggs wrote\n> ISTM we could do some of that with another GUC, lets call it\n> prepare_once = on. The system default is to have a prepared statement\n> bound to a plan on its first parameter bind. If we set this to \"off\",\n> then the statement will replan each time we bind. This would...
[ { "msg_contents": "I started to do some simple testing of snprintf.c after doing the\ncleanup work I had in mind, and soon found that neither my version\nnor the original actually do parameter reordering correctly:\n\n$ ./testf 'abc%2$sfoo%1$s' DEF GHI\nsys:\nabcGHIfooDEF\t\t\t<--- looks right to me\nours:\nabc...
[ { "msg_contents": "\n-----Original Message-----\nFrom: \"Andrew Dunstan\"<andrew@dunslane.net>\nSent: 05/12/05 19:03:17\nTo: \"Tom Lane\"<tgl@sss.pgh.pa.us>\nCc: \"Bruce Momjian\"<pgman@candle.pha.pa.us>, \"ntufar@gmail.com\"<ntufar@gmail.com>, \"devrim@kivi.com.tr\"<devrim@kivi.com.tr>, \"mha@sollentuna.net\"<...
[ { "msg_contents": "What about replication or data distribution inside the backend. This is a\nvalid issue?\n\nThanks,\nGustavo.\n\nWhat about replication or data distribution inside the backend. This is a valid issue?\n\nThanks,\nGustavo.", "msg_date": "Mon, 5 Dec 2005 16:38:49 -0300", "msg_from": "Gust...
[ { "msg_contents": "Tom, did you implement this functionality in *printf?\n\n\tThe size may be given as zero to find out how many characters are\n\tneeded; in this case, the str argument is ignored. Sprintf() and\n\tvsprintf() effectively assume an infinite size.\n\nLooking at the code it doesn't seem supported....
[ { "msg_contents": "\nTo reduce size of varlen2.vl_len to int16. This has been mentioned before,\nbut is there any show-stopper reasoning preventing us from doing that or\nsomebody has been working on it?\n\nSorry, just to repeat myself. Char types will benefit from that. Many\napplications are from DB2, Oracle ...
[ { "msg_contents": "Hi,\n\nPlaying around with this MySQL compatibility library, I noticed that \npg_dump -c does not emit DROP commands for casts. Seems like a bug...?\n\nChris\n\n", "msg_date": "Tue, 06 Dec 2005 11:58:39 +0800", "msg_from": "Christopher Kings-Lynne <chriskl@familyhealth.com.au>", ...
[ { "msg_contents": "OK, I give up - how do I convert an INET type to a NUMERIC \nrepresentation of its network address?\n\nIs there a quick and easy way?\n\nChris\n\n", "msg_date": "Tue, 06 Dec 2005 15:31:59 +0800", "msg_from": "Christopher Kings-Lynne <chriskl@familyhealth.com.au>", "msg_from_op": t...
[ { "msg_contents": " \n\n> -----Original Message-----\n> From: pgsql-hackers-owner@postgresql.org \n> [mailto:pgsql-hackers-owner@postgresql.org] On Behalf Of Bruce Momjian\n> Sent: 06 December 2005 04:40\n> To: Andrew Dunstan\n> Cc: Tom Lane; ntufar@gmail.com; devrim@kivi.com.tr; \n> mha@sollentuna.net; pgsql-h...
[ { "msg_contents": "Does anyone else find this odd:\n\nmysql=# select extract(microseconds from timestamp '2005-01-01\n00:00:00.123');\n date_part\n-----------\n 123000\n(1 row)\n\nmysql=# select extract(microseconds from timestamp '2005-01-01\n00:00:01.123');\n date_part\n-----------\n 1123000\n(1 row)...
[ { "msg_contents": "\nIMO this is not true. You can get affordable 10GBit network adapters, so you can have plenty of bandwith in a db server pool (if they are located in the same area). Even 1GBit Ethernet greatly helps here, and would make it possible to balance read-intensive (and not write intensive) applica...
[ { "msg_contents": "\n\nI set my locale to Turkish, then did initdb --no-locale. pg_controldata \nis set up correctly, as is postgresql.conf, but messages still come out \nin Turkish on the log file. So either we aren't doing it right or my \n(modern) libintl is hijacking some more stuff. Same result for French,...
[ { "msg_contents": "I just found an email that took 5 days to be delivered. Looking at the\nheaders below, the holdup was between m2x.hub.org and postgresql.org.\nCan someone take a look at the two boxes and see what's going on?\n\nAlso, would -www have been the better place for this? I'm not sure if\nthey handl...
[ { "msg_contents": "\nI set my locale to Turkish, then did initdb --no-locale. pg_controldata \nis set up correctly, as is postgresql.conf, but messages still come out \nin Turkish on the log file. So either we aren't doing it right or my \n(modern) libintl is hijacking some more stuff. Same result for French, \...
[ { "msg_contents": "> I set my locale to Turkish, then did initdb --no-locale. \n> pg_controldata is set up correctly, as is postgresql.conf, \n> but messages still come out in Turkish on the log file. So \n> either we aren't doing it right or my\n> (modern) libintl is hijacking some more stuff. Same result \n> ...
[ { "msg_contents": "> > I set my locale to Turkish, then did initdb --no-locale. \n> > pg_controldata is set up correctly, as is postgresql.conf, but \n> > messages still come out in Turkish on the log file. So either we \n> > aren't doing it right or my\n> > (modern) libintl is hijacking some more stuff. Same r...
[ { "msg_contents": "Hi,\n\nI'm doing some tests with a 700 columns' table. But when I try to load\nsome data with INSERT or COPY I got that message. I verified that the\nBLCKZ is limiting the tuple size but I couldn't have a clue why it's\nnot using TOAST. I'm using PostgreSQL 8.0.3 in Slackware 10.1 box.\nLet m...
[ { "msg_contents": "It would be nice if Postgresql supported multi-octet raw data. Certainly a \nlot of what you would do with it would be similar to bytea, but the basic \nstring functions would be overloaded so that the unit of work would be a \nmulti-octet word. \n\nMulti-octet instances could be cast to by...
[ { "msg_contents": "Hi,\n\nI'd like to inform the people who does not read Planet PostgreSQL\n\nCommand Prompt Inc.has just hired me for my community work I have been\ndoing so far, like PostgreSQL RPM stuff and other PostgreSQL related\nRPMs, such as Slony-I, pgpool, PostGIS, etc) and website things. That\nmean...
[ { "msg_contents": "I had an open 8.1 item that was:\n\n\to fix foreign trigger timing issue\n\nWould someone supply text for a TODO entry on this, as I don't think we\nfixed it in 8.1.\n\n-- \n Bruce Momjian | http://candle.pha.pa.us\n pgman@candle.pha.pa.us | (610) 359...
[ { "msg_contents": "Following patch implements record of whether a constraint is inherited\nor not, and prevents dropping of inherited constraints.\n\nWhat it doesn't do:\nIt doesn't yet prevent dropping the parent constraint, which is wrong,\nclearly, but what to do about it?\n1. make dropping a constraint drop...
[ { "msg_contents": "We've suspected for awhile that once we'd fixed the buffer manager's use\nof a single global BufMgrLock, the next contention hotspot would be the\nlock manager's LockMgrLock. I've now seen actual evidence of that in\nprofiling pgbench: using a modified backend that counts LWLock-related\nwai...
[ { "msg_contents": "Anyone remember this patch?\n\nhttp://gorda.di.uminho.pt/community/pgsqlhooks/\n\nThe discussion seems to be pretty minimal:\n\nhttp://archives.postgresql.org/pgsql-hackers/2005-06/msg00859.php\n\nDoes anyone see a need to investigate it further?\n\nChris\n\n", "msg_date": "Thu, 08 Dec 20...
[ { "msg_contents": "-- \nSincerely,\n\tDmitry Karasik\n\n\ndiff -rcN plperl.cvs/SPI.xs plperl.0/SPI.xs\n*** plperl.cvs/SPI.xs\tThu Oct 27 12:34:29 2005\n--- plperl.0/SPI.xs\tThu Dec 8 10:35:38 2005\n***************\n*** 146,150 ****\n--- 146,226 ----\n \tOUTPUT:\n \t\tRETVAL\n \n+ SV*\n+ spi_spi_prepare(quer...
[ { "msg_contents": "Yesterday one of our clients called up and complained about lousy\nperformance and being unable to log in to our postgresql 8.0 backed ERP\nrunning on windows 2000 server. The server has been run for several\nmonths without being restarted or rebooted.\n\nThe login was hanging in a simple pl...
[ { "msg_contents": "\nHello All,\n\nI've been pondering the discussed subject a few times, and came along a few\nthings that I think are missing from the default set of typeconversions\nwithin postgres.\n\nAfter working regularly with inet values in sql, it would be nice to be able\nto do this:\n\n\t=> select '1...
[ { "msg_contents": "> Subject: Re: [HACKERS] forced to restart postgresql service yesterday\n> \n> \"Merlin Moncure\" <merlin.moncure@rcsonline.com> writes:\n> > The login was hanging in a simple plpgsql login script which\nbasically\n> > did an insert/update on a small table. It would hang when called\nfrom\n>...
[ { "msg_contents": "I've just been bitten by the \"backslash in string literals\" issue. I\nhave reviewed the mailing lists and the TODO list. I see that the\ndirection PostgreSQL is headed is to drop the nonstandard escapes,\nunless an extended literal is explicitly used. I've attached a patch\nwhich support...
[ { "msg_contents": "I think that bug #2099\nhttp://archives.postgresql.org/pgsql-bugs/2005-12/msg00075.php\nis probably explained by the observation that the bgwriter fails to call\nAtEOXact_Files() after an error; therefore, if it gets an error while\nholding an open DIR pointer, the DIR will never get closed. ...
[ { "msg_contents": "A general purpose log miner is also useful in many other areas besides\nreplication.\n\n \n\n________________________________\n\nFrom: pgsql-hackers-owner@postgresql.org\n[mailto:pgsql-hackers-owner@postgresql.org] On Behalf Of Jonah H. Harris\nSent: Thursday, December 08, 2005 11:32 AM\nTo: ...
[ { "msg_contents": "I have stamped the 8.1.1 CVS tree and it is ready for testing/packaging.\nThe release notes are here:\n\n\thttp://candle.pha.pa.us/main/writings/pgsql/sgml/release.html#RELEASE-8-1-1\n\n-- \n Bruce Momjian | http://candle.pha.pa.us\n pgman@candle.pha.pa.us ...
[ { "msg_contents": "Hi all,\n\nHere's another interesting encoding issue. I cannot recall having seen it\non the lists.\n\n---\n[swm@laptop build7]$ bin/createdb -E LATIN1 test\nCREATE DATABASE\n[swm@laptop build7]$ cat break.sh\ndat=`echo -en \"\\245\\241\"`\n\necho \"create table test (d text);\"\necho \"inser...
[ { "msg_contents": "\nI found an interesting paper improving index speed by prefetching memory\ndata to L1/L2 cache here (there is discussion about prefetching disk\ndata to memory several days ago \"ice-breaker thread\"):\nhttp://www.cs.cmu.edu/~chensm/papers/index_pf_final.pdf\n\nAlso related technique used to...
[ { "msg_contents": "Folks,\n\nPlease find enclosed a patch that lets you use \\c to connect\n(optionally) to a new host and port without exiting psql.\n\nCheers,\nD\n-- \nDavid Fetter david@fetter.org http://fetter.org/\nphone: +1 415 235 3778\n\nRemember to vote!", "msg_date": "Fri, 9 Dec 2005 01:10:00 -080...
[ { "msg_contents": "Working on UTF support in tsearch2 I noticed different output of psql:\n\n1) initdb with SQL_ASCII:\ncontrib_regression=# select 'jisa n asd n asld kl ans d\ncontrib_regression'# asdfjkl; asdf kl;amsdf';\n ?column?\n-----------------------------------------------...
[ { "msg_contents": "Hi,\n\nI need to log any statement in my postgresql server.\nHowever, I would like that the password defined in CREATE USER statement\nwas registered in MD5 format, independent of the form as it was\nspecified in that statement.\n\nFor example, if the user submits the statement:\n CREATE USE...
[ { "msg_contents": "Anybody remembers my patch to allow tracking the minimum Xid present in\na table, allowing to update the freeze xid on a per-table basis? The\nmotivation behind it was to remove the requirement of database-wide\nvacuums.\n\nThe problem I found with it was that it required all tables to be\nv...
[ { "msg_contents": "Bruce Momjian <pgman@candle.pha.pa.us> writes:\n> Tom Lane wrote:\n>> As I said already, if the user wishes the password to be secure, he\n>> needs to encrypt it on the client side. Anything else is just the\n>> illusion of security.\n\n> Thinking some more, does encoding on the client side ...
[ { "msg_contents": "Bruce,\r\n\r\nIt (the compute intensity optimization) is what we did for copy parsing, and it sped up by a factor of 100+.\r\n\r\nThe rest of the copy path could use some work too.\r\n\r\nYge virtual tuples in 8.1 are another example of grouping operations into more compact chunks instead of ...
[ { "msg_contents": "CVS tip is giving me this warning:\n\ninitdb.c: In function `locale_date_order':\ninitdb.c:2101: warning: `%x' yields only last 2 digits of year in some locales\n\nI realize that the code does not care about that, but I care about not\nseeing warnings. Is there a way to avoid this construct?...
[ { "msg_contents": "Hi,\n\nAt my work, I have to dump a database and restore it on another database under \na specific schema. My first idea was to create the new schema on the old \ndatabase, move all the database objects on this new schema, dump the old db \nand restore on the new one. But I have to move quite...
[ { "msg_contents": "I've just uploaded pgInstaller 8.1.1 - it should be at\nhttp://ftp.postgresql.org/pub/binary/v8.1.1/binary/win32 within an hour\nor so. Please take a peek as soon as possible if you have a Windows box\nand report any problems before any announcements go out.\n\nThis include PostgreSQL 8.1.1 o...
[ { "msg_contents": "\n7.3.12, 7.4.10, 8.0.5 and 8.1.1 ... all should be available on the ftp \nmirrors by now ... please take a quick peak at them, and let us know if \nthere appear to be any problems with them ...\n\nGeneral announce of availability going out on monday ...\n\n----\nMarc G. Fournier Hu...
[ { "msg_contents": "\n\nI'm working on a project, whose implementation deals with PostgreSQL. A brief description of the project is given below.\n\n Project Description:\n --------------------\n In Main Memory DataBase(MMDB) entire database on the disk is loaded on to the main memory during initial startu...
[ { "msg_contents": "Hi,\n\nIs there any way to force COPY to accept that there will be lines of \ndifferent length in a data file?\n\nI have a rather large file I'm trying to import. It's in CSV format, \nhowever, they leave off trailing empty columns on most lines.\n\nAny way to do this? Should it be supporte...
[ { "msg_contents": "Until recently, pg_relation_size used SearchSysCache to locate the \nrelation to examine, and calculated the file location from that \ninformation. Starting with dbsize.c V1.5 (committed after Beta2), \nrelation_open(.., AccessShareLock) is used. This is very unfortunate \nbecause it will not...
[ { "msg_contents": "\nThe discussion was a bit inconclusive last time, so I would like to \nrenew my proposal for more generous default resource limits.\n\nNearly everyone seems to agree that the default for max_fsm_pages is \nwoefully low, so I would like to have the default for this set \nunconditionally to 20...
[ { "msg_contents": "Tom Lane wrote:\n> What's been suggested in the past is some sort of standalone\n> file-format-conversion utility, which could deal with this sort of\nstuff\n> without having to also deal with all the backend-internal\nconsiderations\n> that COPY must handle. So (at least in theory) it'd be ...
[ { "msg_contents": "\nSeems we don't link against the port/qsort.c - is there any reason for\nthat? My tests indicates our qsort is much much faster than the libc's.\n\nRegards,\nQingqing\n", "msg_date": "Mon, 12 Dec 2005 11:41:51 -0500", "msg_from": "Qingqing Zhou <zhouqq@cs.toronto.edu>", "msg_from...
[ { "msg_contents": "I prepared a patch for \"Have COPY return the number of rows\nloaded/unloaded?\" TODO. (Sorry for disturbing list with such a simple\ntopic, but per warning from Bruce Momjian, I send my proposal to -hackers\nfirst.)\n\nI used the \"appending related information to commandTag\" method which i...
[ { "msg_contents": "Hello\n\nI did some test and I can see so DISTINCT works well on indexed columns, but \nis slow on derived tables without indexes. If I use without distinct group \nby I get much better times.\n\nSELECT DISTINCT a, b FROM tab\nSELECT a,b FROM tab GROUP BY a, b.\n\nCan You Explain it.\n\nThank...
[ { "msg_contents": "I have a table that has a date field and a \"real\" field that represents \na number of seconds. I want select the date field + the seconds field. \nJust adding it doesn't work. Casting to interval doesn't work. \nto_date/to_timestamp don't work. How do I do this?\n", "msg_date": "Mo...
[ { "msg_contents": "> \n> On Sun, Dec 11, 2005 at 11:53:36AM +0000, Carlos Benkendorf wrote:\n> > I would like to use autovacuum but is not too much expensive\n> > collecting row level statistics?\n> \n> The cost depends on your usage patterns. I did tests with one of\n> my applications and saw no significant p...
[ { "msg_contents": "I am running XP Pro with SP2.\nPostgres 8.1 installed with MSI but later on I did upgrade the ODBC driver.\n\nShortly after selecting upgrade.bat I received an error: This error may indicate a problem with the installation package. Number 2803\n\nAfter clicking OK the installer continued anyw...
[ { "msg_contents": "-----BEGIN PGP SIGNED MESSAGE-----\nHash: SHA1\n\n\n\n\nHi all,\n\nwhile playing with Npgsql I faced an\nstrange behavior of Postgresql server.\n\n\nI have all the details of it and I thought it could be a severe security\nexploit, so I don't send it in clear to this mailing list directly as,...
[ { "msg_contents": "I have a few SPs I wrote in C language in PostgreSQL 8.1, they do mainly SPI\nfunctions as “SELECT field1, field2 from table1” and “INSERT INTO table2\nVALUES (val1, val2)” and to minimize the execution time I do something like\nthat:\n\nstatic void *splan_insertstuff = NULL;\n\nPG_FUNCTION_I...
[ { "msg_contents": "It seems that gcc is up to some creative reinterpretation of basic C\nsemantics again; specifically, you can no longer trust that traditional\nC semantics of integer overflow hold:\nhttps://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=175462\n\nWhile I don't think we are anywhere using exactl...
[ { "msg_contents": "\ndue to a piece of monumental carelessness by me, buildfarm web app is \noff the air. I will advise when I have managed to recover. It's a good \nthing we are not coming up to release :-)\n\ncheers\n\nandrew\n", "msg_date": "Mon, 12 Dec 2005 16:53:08 -0500", "msg_from": "Andrew Dunst...
[ { "msg_contents": "Hi,\n\nThis might be a newbie question but I'm wondering how, most of you guys, are \ndebugging PostgreSQL on Windows (XP) ? Are you all using gdb? I want to \ndevelop a new data type and I'd like to trace code in a graphical interface. \nI have been trying very hard with Eclipse without succ...
[ { "msg_contents": "Platypus (http://lnk.nu/pgbuildfarm.org/6yt.pl) started failing about 12\ndays ago with the following:\nccache gcc -O3 -pipe -pipe -fno-strict-aliasing -g -Wall -Wmissing-prototypes -Wmissing-declarations -fpic -DPIC -I. -I../../../src/include -I/usr/local/include -DFRONTEND -DSYSCONFDIR='\"/...