threads
listlengths
1
2.99k
[ { "msg_contents": "\nI am currently looking at some performance issues. Our product uses the postgres as the backend\nand it uses a huge storage space.\n\nIs there a script available, which does the following:\n\n\n1. When you point it to a postgres installation, -> 1.the script first \n identifies what plat...
[ { "msg_contents": "\nThe following bug has been logged online:\n\nBug reference: 2429\nLogged by: Cristiano da Cunha Duarte\nEmail address: cunha17@gmail.com\nPostgreSQL version: 8.1\nOperating system: Debian GNU Linux\nDescription: Explain does not report object's schema\nDetails: \...
[ { "msg_contents": "I see that in CVS head, if you turn on standard_conforming_strings,\nit still whines about backslashes:\n\nregression=# set standard_conforming_strings to 1;\nSET\nregression=# select '1234\\5678';\nWARNING: nonstandard use of escape in a string literal\nLINE 1: select '1234\\5678';\n ...
[ { "msg_contents": "Does anyone know how to discover the tables (with schemas or oid) involved\non a select statement?\nI tried EXPLAIN but it only reports the table names, not schemas or oid.\n\nI am developing a SNAPSHOT project for PostgreSQL called Pg::snapshots. It \ncan be found here:\nhttp://cunha17.theic...
[ { "msg_contents": "Hi\n\nYesterday I helped a guy on irc with a locking problem, he thought\nthat locking in postgresql was broken. It turned out that he had a PHP\nfunction that he called inside his transaction and the function did BEGIN\nand COMMIT. Since BEGIN inside a transaction is just a warning what\nhap...
[ { "msg_contents": "Tom Lane wrote:\n> Dennis Bjorklund <db@zigo.dhs.org> writes:\n>> Could we make BEGIN fail when we already are in a transaction?\n> \n> We could, but it'd probably break about as many apps as it fixed.\n\nI'd say that a program that issues BEGIN inside a transaction is\nalready broken, if onl...
[ { "msg_contents": "I could see the following in TODO list\nbut I am not clear what is expected out of this.\nCan anyone explain this?\n\n1. *Allow VIEW/RULE recompilation when the underlying tables change *\n\n* Another issue is whether underlying table changes should be \nreflected in the view,\n e.g. sh...
[ { "msg_contents": "\nI would like to implement following item from TODO list:\n\n* Allow commenting of variables in postgresql.conf to restore them to\ndefaults. Currently, if a variable is commented out, it keeps the\nprevious uncommented value until a server restarted.\n\nDoes anybody work on it?\n\nI perform...
[ { "msg_contents": "The documentation for the .pgpass file seems to be incorrect with respect to\nunix domain sockets.\n\nThere's also a user comment saying that:\n\nhttp://www.postgresql.org/docs/8.1/interactive/libpq-pgpass.html\n\nThe documentation suggests that the hostname part of .pgpass can be set to\n\"l...
[ { "msg_contents": "Log Message:\n-----------\nClean up code associated with updating pg_class statistics columns\n(relpages/reltuples). To do this, create formal support in heapam.c for\n\"overwrite\" tuple updates (including xlog replay capability) and use that\ninstead of the ad-hoc overwrites we'd been usin...
[ { "msg_contents": "Folks,\n\nWe are approaching our ceiling of 75 attendees for the PostgreSQL Anniversary. \nIf you are planning to come, and have not registered, you should do so ASAP.\n\nconference.postgresql.org\n\n-- \nJosh Berkus\nAglio Database Solutions\nSan Francisco\n", "msg_date": "Wed, 10 May 2...
[ { "msg_contents": "\n> Something else worth considering is not using the normal \n> catalog methods\n> for storing information about temp tables, but hacking that together\n> would probably be a rather large task.\n\nBut the timings suggest, that it cannot be the catalogs in the worst\ncase\nhe showed.\n\n> 0.1...
[ { "msg_contents": "Hi\n\nI have searched the archives, and a lot of people seem to have hassles \nwith this, but I cannot seem to find anything related to my problems.\n\nOS - Sco Openserver 5.05\n\nSoftware installed from Caldera Skunkware ftp site:\nFlex - Fast Lexical Analyzer (ver 2.5.4)\nGCC - GNU Compiler...
[ { "msg_contents": "Per discussion among pgsql-packagers, we'll release 8.1.4 and updates in\nthe back branches next week; tentative plan is tarballs wrapped Monday,\npublic release Wednesday. Get those last-minute fixes in now ...\n\n\t\t\tregards, tom lane\n", "msg_date": "Thu, 11 May 2006 11:00:01 -0400"...
[ { "msg_contents": "Hi!\n\non irc somebody complained yesterday that a simple group by on a 25M\ninteger row caused his backend to exhaust the 3GB process limit on his\n32bit built(one a box with 16GB Ram).\nSome testing showed that the planner was seriously underestimating the\nnumber of distinct rows in the ta...
[ { "msg_contents": "My apologies if this subject has already been hashed to death, or if \nthis is the wrong list, but I was wondering if people had seen this paper:\nhttp://www.cwi.nl/htbin/ins1/publications?request=intabstract&key=ZuHeNeBo:ICDE:06\n\nBasically it describes a compression algorithm for tables of...
[ { "msg_contents": "Hi all\n\nI am writing an app that uses libpq, but because it is threaded I want to make sure that the dynamic library being used has been compiled with the right option.\nHow do I do this?\n\nIs there a call such as \"bool PQisThreadSafe()\" that I can call?\n\nThanks\n\nNicolas\n\n\nHi allI...
[ { "msg_contents": "The reliability of that recent pgstat patch is clearly completely\nunacceptable. Please revert it until it's fixed. I'm tired of\nlooking at intermittent buildfarm failures.\n\n\t\t\tregards, tom lane\n", "msg_date": "Thu, 11 May 2006 23:58:04 -0400", "msg_from": "Tom Lane <tgl@sss....
[ { "msg_contents": "I have some questions regarding any, anyelement, and anyarray.\n\n- Why does PostgreSQL declare three different generic types? Isn't one \nenough? ISTM it would be far simpler to use constructs like 'any' and \n'any[]' but neither of them are permitted.\n\n- Why isn't the 'anyarray' declared ...
[ { "msg_contents": "I could not understand the following TODO item.\nCan anyone explain this.\n\nMonitoring:\n=========\n\nAllow server logs to be remotely read and removed using SQL commands\n\n\nDoes it mean that the server log file should be read by the client? What \nkind of removal (using SQL)?\nAlso I like...
[ { "msg_contents": " \n\n> -----Original Message-----\n> From: pgsql-hackers-owner@postgresql.org \n> [mailto:pgsql-hackers-owner@postgresql.org] On Behalf Of Dhanaraj M\n> Sent: 12 May 2006 12:31\n> To: pgsql-hackers@postgresql.org\n> Subject: [HACKERS] Clarification required\n> \n> I could not understand the f...
[ { "msg_contents": "I am trying desperately to find a way to create an audit table to\nlog...who SELECTED what... as I am dealing with HR data and Health Care\nPatient Data\n\nAny help would be greatly appreciated and put to good use in the Austin\nTexas Hospitals.\n\nThanks\n\nJim\n\n\n\n-----Original Message--...
[ { "msg_contents": "load_dh_file() in src/backend/libpq/be-secure.c does the following:\n\n if (DH_check(dh, &codes))\n {\n elog(LOG, \"DH_check error (%s): %s\", fnbuf, SSLerrmessage());\n return NULL;\n }\n\nIsn't that the wrong test for DH_check's return value? According\nto the OpenSSL document...
[ { "msg_contents": "Of course, that's an option for my case. Just wanted to know if this solution\ncould be useful for PostgreSQL in general. Mainly because I'll add some\ntriggers to check what maybe PostgreSQL should do itself but it's\nunimplemented.\n\nIf that's not interesting or a proper solution for Postg...
[ { "msg_contents": "I have applied this patch that mentions pg_dump portability to 8.1.X and\nCVS HEAD.\n\n-- \n Bruce Momjian http://candle.pha.pa.us\n EnterpriseDB http://www.enterprisedb.com\n\n + If your life is a hard drive, Christ can be your backup. +", "msg_date": "Sat, 13 May 2006 12:21:06 -...
[ { "msg_contents": "pg_dump is designed to produce dumps that can be loaded into newer\nPostgreSQL versions, and it can read from older database versions.\n\nThe new backslash escape warning and sql standard strings might cause\nproblems for people moving from older versions of PostgreSQL, because\npg_dump assum...
[ { "msg_contents": "I just discovered that it is now possible to create a SHELL type using \nthe 'CREATE TYPE <type name>' syntax using cvs head. Will this come in \n8.2 only or will it also be included in 8.1.4?\n\nKind Regards,\nThomas Hallgren\n\n", "msg_date": "Sun, 14 May 2006 09:14:38 +0200", "msg_...
[ { "msg_contents": "You could do this using Veil, http://pgfoundry.org/projects/veil/, or\nsomething like it. A Veil access function,\nhttp://veil.projects.postgresql.org/curdocs/overview-page.html, could be\nused to record every row returned within a query to the user that\nrequested it. Note that this operat...
[ { "msg_contents": "Thank you all for the effort you put into response.\n\nThe biggest thing I want to avoid isn't so much having to parse through\nthe log files but to avoid turning on such extensive logging altogether.\n\nI am not sure what kind of additional load logging to this extent may\nadd.\n\nLooks like...
[ { "msg_contents": "Hey everyone,\n\nI'm reworking hierarchical queries and am adding a LEVEL pseudocolumn.\n As it's a totally calculated attribute, what's the best way to handle\nit keeping in mind that LEVEL is only used in a hierarchical query?\n\nLooking at Evgen's patches, if he recognizes a hierarchical q...
[ { "msg_contents": "Only specific tables.\n\nOf the 150 plus existing there are only 8 or 10 that hold sensitive\ndata.\n\nThis will grow over time but will always be in the minority.\n\n\n\n\n\n-----Original Message-----\nFrom: Jim C. Nasby [mailto:jnasby@pervasive.com] \nSent: Monday, May 15, 2006 10:42 AM\nTo...
[ { "msg_contents": "I've run into a problem with a PITR setup at a client. The problem is that \nwhenever the CIFS NAS device that we're mounting at /mnt/pgbackup has \nproblems, it seems that the current client connection gets blocked and this \neventually builds up to a \"sorry, too many clients already\" err...
[ { "msg_contents": "A recent post Tom made in -bugs about how bad performance would be if we\nspilled after-commit triggers to disk got me thinking... There are\nseveral operations the database performs that potentially spill to disk.\nGiven that any time that happens we end up caring much less about CPU\nusage ...
[ { "msg_contents": "Sorry for cross-posting, but this IS a cross-platform issue.\n\nChristian Tismer tismer at stackless.com wrote:\n> Sven Suursoho wrote:\n> \n> >>> Is there any way to rewrite following program to handle returned \n> >>> generator without hitting this bug?\n> \n> The only way I can think of...
[ { "msg_contents": "Hi,\r\n \r\n in postgresql-8.1.3/src/backend/storage/lmgr/proc.c\r\n there are 2 function InitProcess and InitDummyProcess, both use \r\n\" if (MyProc != NULL)\r\n elog(ERROR, \"you already exist\"); \" (line 215 and 315)\r\n\r\n why use \" != \" ?\r\n\r\nBest regards.\r\n\r\n\n\...
[ { "msg_contents": "Hello,\n\nI was dinking around wand came across something that may (or may not be \nuseful).\n\nWhat if single line statements that were seperated by ; within psql were \nimplicitly within a transaction?\n\nE.g;\n\npostgres=# select * from foo; update foo set bar = 'baz'; delete from bing;\n\...
[ { "msg_contents": "\n> > Given that any time that happens we end up caring much less about\nCPU\n> > usage and much more about disk IO, for any of these cases that use\n> > non-random access, compressing the data before sending it to disk\nwould\n> > potentially be a sizeable win.\n> \n> Note however that what ...
[ { "msg_contents": "\n> > Personally, I believe it would be worth it - but only to a few. And\n> > these most of these few are likely using Oracle. So, no gain unless\n> > you can convince them to switch back... :-)\n> \n> We do know that the benefit for commercial databases that use raw and\n> file system stora...
[ { "msg_contents": "Hi to all!\nI am a student in Computer Science, and in Databases' Technology\ncourse I must to write\na report on physical structures of DBMS's. I choosed PostgreSQL; I\nlooked the sources, and\nI have understood the block structure. And relations? And databases?\nHow are structured?\n\nThan...
[ { "msg_contents": "Hello\n\nI test using index on foreign key. I found situation, when planner choose \nworse plan.\n\ncreate table f1(pk serial primary key);\ncreate table f2(fk integer references f1(pk));\n\ninsert into f1 select a from generate_series(1,10000) a;\ninsert into f2 select (random()*9999)::int+1...
[ { "msg_contents": ">\n>These are all minor abberations though, on the whole the estimates are\n>pretty good. Perhaps you need to tweak the values of random_page_cost\n>and similar variables.\n>\n\nThank You, It's general problem or only mine? I have \"100%\" standard current \nPC.\n\nPavel\n\n__________________...
[ { "msg_contents": "\n> >These are all minor abberations though, on the whole the estimates\nare\n> >pretty good. Perhaps you need to tweak the values of random_page_cost\n> >and similar variables.\n> \n> Thank You, It's general problem or only mine? I have \"100%\" \n> standard current PC.\n\nThe default random...
[ { "msg_contents": "> \n> Compressed-filesystem extension (like e2compr, and I think either\n> Fat or NTFS) can do that.\n> \n\nWindows (NT/2000/XP) can compress individual directories and files under\nNTFS; new files in a compressed directory are compressed by default.\n\nSo if the 'spill-to-disk' all happened ...
[ { "msg_contents": "Hello\n\nToday, one user complained that one of the tickets in our system had\ndisappeared some places but could be accessed other places. I thought\nthis was weird and startet debugging.\n\nI have found out the sql statement with 'problems'. Can anybody explain\nme why A) returns 12 rows and...
[ { "msg_contents": "\nhackers - any opinions?\n\nThe biggest downside would be that a pgpass file would be version \nspecific for this feature. The badness of this is somewhat mitigated by \nthe ability we now have to specify an alternative pgpassfile location.\n\ncheers\n\nandrew\n\n-------- Original Message --...
[ { "msg_contents": "Hellow PostgreSQL hackers,\n\nQuick question. Why does the 'i = i + 1' syntax work in this PL/pgSQL \nfunction?\n\ntry=# CREATE OR REPLACE FUNCTION inc_by_two(\ntry(# upfrom int,\ntry(# upto int\ntry(# ) RETURNS SETOF INT AS $$\ntry$# BEGIN\ntry$# FOR i IN upfrom..upto LOOP\ntry$...
[ { "msg_contents": "Tom Lane wrote:\n>> It ought to be illegal to modify the loop control variable anyway, \n>> IMNSHO - it certainly is in Ada, the distant antecedent of pl/pgsql.\n> \n> If modifying the loop variable is disallowed in PL/SQL, I'm all for\n> disallowing it in plpgsql, otherwise not. Anyone have...
[ { "msg_contents": "Andrew Piskorski wrote:\n>>> Rod Taylor wrote:\n>>>>Disk storage is cheap. Disk bandwidth or throughput is very\nexpensive.\n> \n> Oracle has included \"table compression\" since 9iR2. They report table\n> size reductions of 2x to 4x as typical, with proportional reductions\n> in I/O, and su...
[ { "msg_contents": "\n> Certainly, if you can't prototype a convincing performance win using\n> that algorithm, it's unlikely to be worth anyone's time to \n> look harder.\n\nThat should be easily possible with LZO. It would need to be the lib\nthat\nwe can optionally link to (--with-lzo), since the lib is GPL.\...
[ { "msg_contents": "\n> Unfortunatly, the interface provided by pg_lzcompress.c is probably\n> insufficient for this purpose. You want to be able to compress tuples\n> as they get inserted and start a new block once the output reaches a\n\nI don't think anything that compresses single tuples without context is\n...
[ { "msg_contents": "\n-----BEGIN PGP SIGNED MESSAGE-----\nHash: SHA1\n\n\nSomeone posted something on the DBD::Pg mailing list recently that\nmade me wonder if the user's problem is more of a \"don't do that\"\nor something that may be solvable with a libpq or protocol change.\n\nBasically, the user has a rule w...
[ { "msg_contents": "I'm interesting in problem \"Allow commenting of variables in \npostgresql.conf to restore them to defaults\". And I need some clarify \nof SET command behavior.\n\nRes_value is defined in the source code as highest overriding setting \nduring startup (or reconfiguration) and it is used for...
[ { "msg_contents": "\nNow that I've got a little time again...\n\nPer the report from Clark C Evans a while back and associated discussion,\nit seems like recent versions of the SQL spec changed the rules for\nforeign key column references such that the columns of the referenced\nunique constraint must be named ...
[ { "msg_contents": "\n> Very clear. The issue is that I can't find any of these emitted by a\n> pg_dump version who's native backend doesn't understand them.\n> \n> I assume that it is expected that a cross-db dump/reload will generate\n> errors, and it is done rarely for upgrades, but I assume same-version\n> ...
[ { "msg_contents": "\n> > I thought the suggested procedure (see migration doc) was to use the\n\n> > new pg_dump to dump the older db version, so why backpatch ?\n> \n> Uh, you can suggest it, but I would guess < 50% do it, and once the\nold\n> database is gone, there is no way to re-do the dump.\n\nBut you can...
[ { "msg_contents": "For all those people not subscribed to -patches (should appear in\narchive soon), I just posted a patch there implemented zlib compression\nfor logtape.c. If people have test machines for speed-testing this sort\nof stuff, please have at it.\n\nYou can also download it here:\nhttp://svana.org...
[ { "msg_contents": "Tom Lane wrote:\n> Bruce Momjian <pgman@candle.pha.pa.us> writes:\n>> I thought about this. Attached is a patch you can use to\n>> popen(\"pg_config\") and then look for the thread flag to configure. \n>> One idea would be to add this sample to our libpq documentation. The\n>> problem with ...
[ { "msg_contents": "Bruce Momjian wrote:\n> Larry Rosenman wrote:\n>> Tom Lane wrote:\n>>> Bruce Momjian <pgman@candle.pha.pa.us> writes:\n>>>> I thought about this. Attached is a patch you can use to\n>>>> popen(\"pg_config\") and then look for the thread flag to configure.\n>>>> One idea would be to add this ...
[ { "msg_contents": "Bruce Momjian wrote:\n> Larry Rosenman wrote:\n>> Bruce Momjian wrote:\n>>> Larry Rosenman wrote:\n>>>> Tom Lane wrote:\n>>>>> Bruce Momjian <pgman@candle.pha.pa.us> writes:\n>>>>>> I thought about this. Attached is a patch you can use to\n>>>>>> popen(\"pg_config\") and then look for the th...
[ { "msg_contents": "Bruce Momjian wrote:\n> Larry Rosenman wrote:\n>> Bruce Momjian wrote:\n>>> Larry Rosenman wrote:\n>>>> Bruce Momjian wrote:\n>>>>> Larry Rosenman wrote:\n>>>>>> Tom Lane wrote:\n>>>>>>> Bruce Momjian <pgman@candle.pha.pa.us> writes:\n>>>>>>>> I thought about this. Attached is a patch you ca...
[ { "msg_contents": "Tom Lane wrote:\n> \"Larry Rosenman\" <lrosenman@pervasive.com> writes:\n>>> Uh, it is an _admin_ function, not an application programmer\n>>> function.\n> \n>> but libpq is the only thing that knows where it is, and I had\n>> proposed a way for psql to use the function to get it.\n> \n> It'd...
[ { "msg_contents": "Log Message:\n-----------\nAdd simplified sparc8 ASM for solaris_sparc.s, from Alan Stange.\n\nModified Files:\n--------------\n pgsql/src/backend/port/tas:\n solaris_sparc.s (r1.7 -> r1.8)\n (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/port/tas/solaris_sparc...
[ { "msg_contents": "Sorry to interrupt, but I have had the \"opportinuty\" to have to work with\nMySQL. This nice little gem is packed away in the reference for\nmysql_use_result().\n\n\"On the other hand, you shouldn't use mysql_use_result() if you are doing\na lot of processing for each row on the client side,...
[ { "msg_contents": "Hackers,\n\nWe could really use a couple more Mentors for Google Summer of Code Projects. \nParticularly, we've had some good proposals in these areas:\n\nECPG Cleanup\nXML Support\nApplication development (mod_pyton)\nAggregation Improvements (multi-column, or non-sorting, or hash-based)\n\...
[ { "msg_contents": "Quite a few buildfarm members are failing with variants of \"Undefined\nsymbol: _canonicalize_path\" in libpq. I think your recent patch that\ncalls canonicalize_path from fe-connect.c is misguided in the first\nplace; you certainly didn't ask for any discussion before applying it.\n\n\t\t\t...
[ { "msg_contents": "Josh Berkus wrote:\n>> If you only care about Oracle to PostgreSQL (and who wouldn't?), then  \n>> it in fact seems desirable for PL/pgSQL to be a superset of PL/SQL.\n> \n> I agree with David here. We care about the ability to migrate PL/SQL --> \n> PL/pgSQL. We do *not* care about the a...
[ { "msg_contents": "\n> 1) Use n sort areas for n tapes making everything purely sequential\naccess.\n\nSome time ago testing I did has shown, that iff the IO block size is\nlarge enough\n(256k) it does not really matter that much if the blocks are at random\nlocations.\nI think that is still true for current mo...
[ { "msg_contents": " \n\n> -----Original Message-----\n> From: Dhanaraj.M@Sun.COM [mailto:Dhanaraj.M@Sun.COM] \n> Sent: 18 May 2006 10:30\n> To: Dave Page\n> Cc: pgsql-hackers@postgresql.org\n> Subject: Re: [HACKERS] Clarification required\n> \n> The server log file means the files that are in pg_xlog. or \n> so...
[ { "msg_contents": "\nI've just noticed that Google's Summer of Code projects are due to\nfinish on August 21, 2006 at 08:00 Pacific Daylight Time.\n\nWhich is three weeks past the beta freeze date of Aug 1st.\n\nAnyone see any problems there?\n\n-- \n Simon Riggs \n EnterpriseDB http://www.enter...
[ { "msg_contents": "Just out of curiosity (and most likely, ignorance). Why can't I cast an \narray of strings into a string? I.e.\n\n thhal=# select ('{\"a\",\"b\"}'::varchar[])::varchar;\n ERROR: cannot cast type character varying[] to character varying\n\nor a cstring into a varchar, i.e.\n\n thhal=# sele...
[ { "msg_contents": "Bruce Momjian wrote:\n> Tom Lane wrote:\n>> Casey Duncan <casey@pandora.com> writes:\n>>> however, when I did \"select * from pg_stat_activity\" on the pg\n>>> server, it showed no connection to that db. Then I looked at the\n>>> processes: tmp0% ps ax | grep test_seg1\n>>> 10317 ? D ...
[ { "msg_contents": "Greetings Guys\n\nAs a newbie person moving away from my technical background to \nmarketing, I think a refreshed course for pg is needed! So far I have \nread all 5000 or so of this month's emails and want to make a few \nremarks IMHO:\n\n1. We should treat all marketing efforts by hackers...
[ { "msg_contents": "The function\n\n static int32 text_position(text *t1, text *t2, int matchnum)\n\ndefined in src/backend/utils/adt/varlena.c uses repeated calls to strncmp (or\npg_wchar_strncmp) to find the location of the pattern in the text. The worst\ncase runtime for such an approach is O(n*m) where n a...
[ { "msg_contents": "Veil http://pgfoundry.org/projects/veil is currently not a very good\nPostgres citizen. It steals what little shared memory it needs from\npostgres' shared memory using ShmemAlloc().\n\nFor Postgres 8.2 I would like Veil to be a better citizen and use only\nwhat shared memory has been reserv...
[ { "msg_contents": "Those of you with long memories may recall a discussion back in January\nabout reference-counting TupleDescs retrieved by lookup_rowtype_tupdesc().\nI didn't like the patch Neil Conway developed for this, so I'm on the\nhook to find a better answer before 8.2 comes out. I haven't forgotten\n...
[ { "msg_contents": "Hi,\n\nI've project where I need to log information about database user, based\non hardware security tokens. These tokens are supported by OpenSSL.\n\nSo, I need two modification in the PostgreSQL core\n\n1. Access to SSL certificate information on SQL level.\n It seems that this can be done...
[ { "msg_contents": "\nHello\n\nDoes anybody knows the Postgres v8.0.3 data directory hierarchy ? What is \nthe purpose of the multiply files such as:\n\n50000\n50000.1\n50000.2\n50000.3\n\neach of the same size ?\n\nSincerely\n\nDragan Zubac\n", "msg_date": "Fri, 19 May 2006 09:10:53 +0200 (CEST)", "msg_...
[ { "msg_contents": "Jim, \n\n> http://jim.nasby.net/misc/compress_sort.txt is preliminary results.\n> I've run into a slight problem in that even at a compression \n> level of -3, zlib is cutting the on-disk size of sorts by \n> 25x. So my pgbench sort test with scale=150 that was \n> producing a 2G on-disk sort...
[ { "msg_contents": "Dragan Zubac wrote:\n> Hello\n> \n> Does anybody knows the Postgres v8.0.3 data directory hierarchy ?\n> What is the purpose of the multiply files such as:\n> \n> 50000\n> 50000.1\n> 50000.2\n> 50000.3\n> \n> each of the same size ?\n> \nthose are the 1 gigabyte segments of your table/index/r...
[ { "msg_contents": "On Fri, 2006-05-19 at 13:41 -0300, pgsql-hackers-owner@postgresql.org\nwrote:\n> On Thu, 2006-05-18 at 17:39 -0700, Marc Munro wrote:\n> \n> > For Postgres 8.2 I would like Veil to be a better citizen and use\n> only\n> > what shared memory has been reserved for postgres add-ins.\n> \n> How w...
[ { "msg_contents": "I attempt to execute a \"COPY test FROM STDIN\" using PQsendQuery.\nSubsequently, after the appropriate poll()/PQconsumeInput/PQisBusy\ncalls, PQgetResult returns tens of millions of (invalid?) non-null\nPGresults. This behavior seems incorrect, and sometimes causes my\napplication to exhaus...
[ { "msg_contents": "On Fri, May 19, 2006 at 04:00:48PM -0400, Mark Woodward wrote:\n> (3) Is there also a desire for a Levenshtein distence function for text\n> and varchars? I experimented with it, and was forced to write the function\n> in item #1.\n\nPostgres already has a Levenshtein distence function, see f...
[ { "msg_contents": "Hi,\n\nsuppose we have something like this:\n\nupd_views=# create table tabla1 (col1 point);\nCREATE TABLE\nupd_views=# insert into tabla1 values ('3,2');\nINSERT 0 1\nupd_views=# insert into tabla1 values ('2,2');\nINSERT 0 1\nupd_views=# insert into tabla1 values ('3,2');\nINSERT 0 1\n\nthe...
[ { "msg_contents": "Hi All,\n\n While trying to implement a recent TODO item, I noticed this behaviour:\n\ntest=# drop table t2; drop table t1;\nDROP TABLE\nDROP TABLE\ntest=# create table t1(a int primary key );\nNOTICE: CREATE TABLE / PRIMARY KEY will create implicit index\n\"t1_pkey\" for table \"t1\"\nCR...
[ { "msg_contents": "For those that haven't already seen it, this might give some extra\nexposure to PostgreSQL wrt vulnerability research. Though I think nobody\nwill have a chance to find one (I just don't see how you could possibly\nget root through postgresql, since we refuse to run as root), other\nthings mi...
[ { "msg_contents": "Jaime Casanova wrote:\n> suppose we have something like this:\n> \n> upd_views=# create table tabla1 (col1 point);\n\n[...]\n\n> then, this select will give an error:\n> \n> upd_views=# select col1, count(*) from tabla1 group by col1;\n> ERROR: could not identify an ordering operator for typ...
[ { "msg_contents": "LOCALEDIR is defined in\n\nsrc/port/pg_config_paths.h\nsrc/include/pg_config.h\n\nbut one of them should be enough. (May be dependent on --enable-nls.) Which \none should be removed?\n\n-- \nPeter Eisentraut\nhttp://developer.postgresql.org/~petere/\n", "msg_date": "Mon, 22 May 2006 12:...
[ { "msg_contents": "It comes up repeatedly that I need to load fresh data into a new\ntable, build indexes and vacuum - then drop the old table and\nsubstitute the new.\n\nDeleting old and inserting new records is too slow - not to mention\nthe vaccuming. Loading with COPY, then building indexes, then\nvacuuming...
[ { "msg_contents": "While setting up for the compressed sort testing...\n\nNOTICE: ALTER TABLE / ADD PRIMARY KEY will create implicit index \"accounts_pkey\" for table \"accounts\"\nLOG: begin index sort: unique = t, workMem = 16384, randomAccess = f\nLOG: begin index sort: unique = t, workMem = 16384, random...
[ { "msg_contents": "I'm going to be offline for a few days but there are some things I've\ntested in the meantime.\n\nOnce the compression level drops below 4-to-1 the overhead of zlib\nbecomes overwhelming compared to the savings. I'm not sure how common\nthat is, I basically filled a table for random data to g...
[ { "msg_contents": "The world is not perfect and I know that you are normally very \nrestrictive in what is back-patched from head into bug-fix branches. The \n8.1.4 release however, did introduce a problem. You changed the API \nfunction inv_open() with the comment \"Revise large-object access \nroutines to avo...
[ { "msg_contents": "\n> > table of another table. I propose a TODO item to allow this:\n> >\n> > \tALTER TABLE childN INHERITS ( parent1, ... );\n\n> > We don't need a disinherit do we?\n\nI propose: ALTER TABLE childN INHERITS ();\nThus I also think, that the list should be complete, and is not an\naddition \nt...
[ { "msg_contents": "I have the following doubts.\n\n1. Does postgres create an index on every primary key? Usually, queries \nare performed against a table on the primary key, so, an index on it \nwill be very useful.\n\n2. If 'm executing a complex query and it takes 10 seconds to return the \nresults -- it ta...
[ { "msg_contents": "\nThe last few days the CVS server seems to be much slower than it used to\nbe. No network changes here. Anything changed server side, or should I\nask elsewhere?\n\n-- \n Simon Riggs \n EnterpriseDB http://www.enterprisedb.com\n\n", "msg_date": "Tue, 23 May 2006 16:21:00 ...
[ { "msg_contents": "Hi all.\n\nI've experienced several times that PG has died somehow and the postmaster.pid \nfile still exists 'cause PG hasn't had the ability to delete it upon proper \nshutdown. Upon start-up, after such an incidence, PG tells me another PG is \nrunning and that I either have to shut down t...
[ { "msg_contents": "> > This change will force me to a) introduce patch level sensitive \n> > conditionals in the code, and b) have two PostgreSQL 8.1.n \n> compatible \n> > releases of PL/Java. One where n < 4 and another where n >= \n> 4. I would \n> > like to avoid this in the future if possible. API's should...
[ { "msg_contents": "Hi all,\n\nI've been looking at the postgres interval implementation lately, and\nI'm interested in putting together an improved implementation that\naccords more closely with the SQL specification, in particular with:\n\n---\n4.6.2 Intervals\n\nThere are two classes of intervals. One class, ...
[ { "msg_contents": "PG-Hackers,\n\nI got the following picture:\n\ndetran=# \\d sa_dut.tb_usuario\n Table \"sa_dut.tb_usuario\"\n Column | Type | Modifiers\n-------------------------+-----------------------------+-----------\n numprocesso | b...
[ { "msg_contents": "I've been working on a function which returns a setof a composite type.\nEverytime I've changed the structure of the returning setof, I've had to\nchange the type accordingly, which current means doing a drop type ...\ncascade down to the function. We should allow one of the following:\n\n1) ...
[ { "msg_contents": "\n> Added to TODO:\n> \n> o Add ALTER TABLE tab ADD/DROP INHERITS parent\n\nSounds good, more inline with add/drop constraint.\n\n> pg_attribute.attislocal has to be set to 'false' for ADD,\nand\n>> attislocal: If you set this to False, you wouldn't be able to set it\n>> bac...