threads
listlengths
1
2.99k
[ { "msg_contents": "Hi,\n\nI'm trying to add fields to pg_database in the system catalog. As long\nas I add fixed-size fields before the VAR LENGTH ones, that's all fine.\n\nBut adding a VAR LENGTH (text) field initdb fails at: copying template1\nto template0. The child process 'postgres' fails with signal 11. S...
[ { "msg_contents": "Anybody on this list hear/opine anything pf the GPUSort project for postgresql? \nI'm working on a radix-sort subcase for tuplesort, and there are similarities.\n\nhttp://www.andrew.cmu.edu/user/ngm/15-823/project/\n\n-- \nEngineers think that equations approximate reality.\nPhysicists think ...
[ { "msg_contents": "\n> >> The attached patch allows SET CONSTRAINTS to take a schema\nqualified\n> >> constraint name (myschema.t1_fk_t2) and when given a bare\nconstraint name\n> >> it uses the search_path to determine the matching constraint\ninstead of\n> >> the previous behavior of disabling all identically...
[ { "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: 12 April 2006 11:33\n> To: pgsql-hackers@postgresql.org\n> Cc: Tom Lane; David Fetter; Jim C. Nasby; Joshua D. Drake; \n> an...
[ { "msg_contents": "> \n> I wonder if Oracle ever recommended disabling PL/SQL (not to \n> mention MS Transact-SQL)...\n> \n\nDon't know abiout Oracle, but you can't disable Transact-SQL in SQL\nServer 7.0 or 2000 (don't know about 2003^h5) because Enterprise Manager\nand sp_help* require it.\n\nAnd +1 for not i...
[ { "msg_contents": "Just quickly going through what might be needed to support multiple SSL\nlibraries revealed one big problem in libpq-fe.h.\n\n#ifdef USE_SSL\n/* Get the SSL structure associated with a connection */\nextern SSL *PQgetssl(PGconn *conn);\n#else\nextern void *PQgetssl(PGconn *conn);\n#endif\n\nT...
[ { "msg_contents": " \n\n> -----Original Message-----\n> From: pgsql-hackers-owner@postgresql.org \n> [mailto:pgsql-hackers-owner@postgresql.org] On Behalf Of \n> Martijn van Oosterhout\n> Sent: 12 April 2006 16:48\n> To: pgsql-hackers@postgresql.org\n> Subject: [HACKERS] Practical impediment to supporting \n> m...
[ { "msg_contents": " \n\n> -----Original Message-----\n> From: Martijn van Oosterhout [mailto:kleptog@svana.org] \n> Sent: 12 April 2006 17:15\n> To: Dave Page\n> Cc: pgsql-hackers@postgresql.org\n> Subject: Re: [HACKERS] Practical impediment to supporting \n> multiple SSL libraries\n> \n> On Wed, Apr 12, 2006 a...
[ { "msg_contents": "> -----Original Message-----\n> From: pgsql-hackers-owner@postgresql.org \n> [mailto:pgsql-hackers-owner@postgresql.org] On Behalf Of \n> Merlin Moncure\n> Sent: 12 avril 2006 12:22\n> To: Neil Conway\n> Cc: Tom Lane; David Fetter; Jim C. Nasby; Joshua D. Drake; \n> andrew@supernews.com; pgsq...
[ { "msg_contents": "> > There is a more serious issue here though: if we allow more \n> than one \n> > SSL library, what exactly can an application safely do with the \n> > returned pointer? It strikes me as very dangerous for the app to \n> > assume it knows which SSL library is underneath libpq. It's not at ...
[ { "msg_contents": "\n\n-----Original Message-----\nFrom: \"Tom Lane\"<tgl@sss.pgh.pa.us>\nSent: 12/04/06 23:03:08\nTo: \"Alvaro Herrera\"<alvherre@commandprompt.com>\nCc: \"Germán Poó Caamaño\"<gpoo@ubiobio.cl>, \"Jim C. Nasby\"<jnasby@pervasive.com>, \"mischa@ActiveState.com\"<mischa@ActiveState.com>, \"pgsql-...
[ { "msg_contents": " \n\n> -----Original Message-----\n> From: Alvaro Herrera [mailto:alvherre@commandprompt.com] \n> Sent: 13 April 2006 00:28\n> To: Dave Page\n> Cc: tgl@sss.pgh.pa.us; gpoo@ubiobio.cl; jnasby@pervasive.com; \n> mischa@ActiveState.com; pgsql-hackers@postgresql.org\n> Subject: Re: [HACKERS] Get ...
[ { "msg_contents": " \n\n> -----Original Message-----\n> From: Jim C. Nasby [mailto:jnasby@pervasive.com] \n> Sent: 13 April 2006 01:07\n> To: Dave Page; tgl@sss.pgh.pa.us; gpoo@ubiobio.cl; \n> mischa@ActiveState.com; pgsql-hackers@postgresql.org\n> Subject: Re: [HACKERS] Get explain output of postgresql in Tabl...
[ { "msg_contents": " \n\n> -----Original Message-----\n> From: Martijn van Oosterhout [mailto:kleptog@svana.org] \n> Sent: 13 April 2006 07:58\n> To: Dave Page\n> Cc: pgsql-hackers@postgresql.org; Hiroshi Inoue\n> Subject: Re: [HACKERS] Practical impediment to supporting \n> multiple SSL libraries\n> \n> On Wed,...
[ { "msg_contents": "We have a wait-pin-to-1 mechanism in LockBufferForCleanup() like this:\n\n 1: bufHdr->wait_backend_pid = MyProcPid;\n 2: bufHdr->flags |= BM_PIN_COUNT_WAITER;\n 3: PinCountWaitBuf = bufHdr;\n 4: UnlockBufHdr_NoHoldoff(bufHdr);\n 5: LockBuffer(buffer, BUFFER_LOCK_UNLOCK);\n...
[ { "msg_contents": " \n\n> -----Original Message-----\n> From: Martijn van Oosterhout [mailto:kleptog@svana.org] \n> Sent: 13 April 2006 09:15\n> To: Dave Page\n> Cc: pgsql-hackers@postgresql.org; Hiroshi Inoue\n> Subject: Re: [HACKERS] Practical impediment to supporting \n> multiple SSL libraries\n> \n> On Thu,...
[ { "msg_contents": " \n\n> -----Original Message-----\n> From: Stephen Frost [mailto:sfrost@snowman.net] \n> Sent: 13 April 2006 11:44\n> To: Martijn van Oosterhout\n> Cc: Dave Page; pgsql-hackers@postgresql.org; Hiroshi Inoue\n> Subject: Re: [HACKERS] Practical impediment to supporting \n> multiple SSL librarie...
[ { "msg_contents": " \n\n> -----Original Message-----\n> From: Martijn van Oosterhout [mailto:kleptog@svana.org] \n> Sent: 13 April 2006 11:54\n> To: Dave Page; pgsql-hackers@postgresql.org; Hiroshi Inoue\n> Subject: Re: [HACKERS] Practical impediment to supporting \n> multiple SSL libraries\n> \n> On Thu, Apr 1...
[ { "msg_contents": " \n\n> -----Original Message-----\n> From: Martijn van Oosterhout [mailto:kleptog@svana.org] \n> Sent: 13 April 2006 12:34\n> To: Dave Page\n> Cc: pgsql-hackers@postgresql.org; Hiroshi Inoue\n> Subject: Re: [HACKERS] Practical impediment to supporting \n> multiple SSL libraries\n> \n> However...
[ { "msg_contents": " \n\n> -----Original Message-----\n> From: Stephen Frost [mailto:sfrost@snowman.net] \n> Sent: 13 April 2006 12:56\n> To: Dave Page\n> Cc: Martijn van Oosterhout; pgsql-hackers@postgresql.org; \n> Hiroshi Inoue\n> Subject: Re: [HACKERS] Practical impediment to supporting \n> multiple SSL libr...
[ { "msg_contents": " \n\n> -----Original Message-----\n> From: Stephen Frost [mailto:sfrost@snowman.net] \n> Sent: 13 April 2006 14:03\n> To: Martijn van Oosterhout\n> Cc: Dave Page; pgsql-hackers@postgresql.org; Hiroshi Inoue\n> Subject: Re: [HACKERS] Practical impediment to supporting \n> multiple SSL librarie...
[ { "msg_contents": "Hello All,\n\nI just thought about implementing some two-argument aggregate functions from\nSQL 2003 (like CORR(x,y), REGR_SLOPE(x,y) etc...)\n( http://www.wiscorp.com/SQL2003Features.pdf , page 10)\n\n1) I looked into the architecture of how the aggregate functions are created\nand used, an...
[ { "msg_contents": "\n> Well, the psqlODBC driver apparently ran into a number of problems\nwith\n> libpq that resulted in them not using it for their purpose. \n> Given libpq primary purpose is to connect to PostgreSQL, it failing at\nthat is\n> something that should be fixed.\n\nI think you are forgetting, tha...
[ { "msg_contents": "\n-----Original Message-----\nFrom: \"Tom Lane\"<tgl@sss.pgh.pa.us>\nSent: 14/04/06 16:22:45\nTo: \"Martijn van Oosterhout\"<kleptog@svana.org>\nCc: \"Greg Stark\"<gsstark@mit.edu>, \"Zeugswetter Andreas DCP SD\"<ZeugswetterA@spardat.at>, \"Dave Page\"<dpage@vale-housing.co.uk>, \"pgsql-hacke...
[ { "msg_contents": "\n\n-----Original Message-----\nFrom: \"Bruce Momjian\"<pgman@candle.pha.pa.us>\nSent: 14/04/06 16:42:08\nTo: \"Dave Page\"<dpage@vale-housing.co.uk>\nCc: \"tgl@sss.pgh.pa.us\"<tgl@sss.pgh.pa.us>, \"kleptog@svana.org\"<kleptog@svana.org>, \"gsstark@mit.edu\"<gsstark@mit.edu>, \"ZeugswetterA@s...
[ { "msg_contents": "\n-----Original Message-----\nFrom: \"Bruce Momjian\"<pgman@candle.pha.pa.us>\nSent: 14/04/06 16:57:58\nTo: \"Dave Page\"<dpage@vale-housing.co.uk>\nCc: \"tgl@sss.pgh.pa.us\"<tgl@sss.pgh.pa.us>, \"kleptog@svana.org\"<kleptog@svana.org>, \"gsstark@mit.edu\"<gsstark@mit.edu>, \"ZeugswetterA@spa...
[ { "msg_contents": "I get the following error:\n \n gcc -O2 -Wall -Wmissing-prototypes -Wpointer-arith -Winline -fno-strict-aliasing -I. -I../../../src/include -I./src/include/port/win32 -DEXEC_BACKEND \"-I../../../src/include/port/win32\" -DBUILDING_DLL -c -o bootparse.o bootparse.c\nbootparse.y:101:10: \"...
[ { "msg_contents": "While thinking about the patch I just made to allow full_page_writes to\nbe turned off again, it struck me that this patch only fixes the problem\nfor post-crash XLOG replay. There is still a hazard if the variable is\nturned off in a PITR master system. The reason is that while a base\nbac...
[ { "msg_contents": "Where do we stand on this?\n\n--\nJonah H. Harris, Database Internals Architect\nEnterpriseDB Corporation\n732.331.1324\n", "msg_date": "Fri, 14 Apr 2006 17:54:40 -0400", "msg_from": "\"Jonah H. Harris\" <jonah.harris@gmail.com>", "msg_from_op": true, "msg_subject": "Summer of...
[ { "msg_contents": "\nHi,\n\nIt's been quite a long time since the latest dot releases. Do you think\nit is time for the new releases? There are several bugfixes since then.\n\nRegards,\n-- \nThe PostgreSQL Company - Command Prompt, Inc. 1.503.667.4564\nPostgreSQL Replication, Consulting, Custom Development, 24x...
[ { "msg_contents": "Hey everyone,\n\nI know we started a discussion a month or so ago regarding ideas for\nSoC projects. However, after reading through the thread, I didn't see\nus nail down any actual items.\n\nAs such, we need to quickly put together a list of oh, 15-20 midlevel\nproject ideas. I'm sure we c...
[ { "msg_contents": "\n\n-----Original Message-----\nFrom: \"Jonah H. Harris\"<jonah.harris@gmail.com>\nSent: 15/04/06 20:06:27\nTo: \"Pgsql Hackers\"<pgsql-hackers@postgresql.org>\nSubject: [HACKERS] Google SoC--Idea Request\n\n\n> As such, we need to quickly put together a list of oh, 15-20 midlevel\n> project ...
[ { "msg_contents": "Hi,\n \nA good project for the Google summer of code would be to solve the aggregate\nproblems in PostgreSQL. In addition, add some of the more complex operators\nsuch as rollup and etc. These features can help close the gap between\nPostgreSQL and popular commercial offerings such as Oracl...
[ { "msg_contents": "Hi,\n\nI was trying to modify the physical page layout in PostgreSQL. I understand\nthe source code for physical page organization is located at bufpage.c but I\nwonder what is the external interface for this physical page organization.\nInterface like InsertRecToPage, DeleteRecFromPage, GetA...
[ { "msg_contents": "\n\n-----Original Message-----\nFrom: \"Jonah H. Harris\"<jonah.harris@gmail.com>\nSent: 15/04/06 20:06:27\nTo: \"Pgsql Hackers\"<pgsql-hackers@postgresql.org>\nSubject: [HACKERS] Google SoC--Idea Request\n\n> As such, we need to quickly put together a list of oh, 15-20 midlevel\n> project id...
[ { "msg_contents": "IIRC, \"Update pg_dump and psql to use the new COPY libpq API\" TODO\nitem's goal is already achieved in the cvs tip.\n\n\nRegards.\n", "msg_date": "Sun, 16 Apr 2006 11:57:29 +0300", "msg_from": "Volkan YAZICI <yazicivo@ttnet.net.tr>", "msg_from_op": true, "msg_subject": "TODO...
[ { "msg_contents": "Folks,\n\nI would like to start a discussion regarding the TODO item \"%Allow\npg_hba.conf settings to be controlled via SQL\"\n\nIn the past threads we have been talking about some of the options of\nhow this could be done. I would like to discuss the following items to\nget more clarity.\n\...
[ { "msg_contents": "There was some discussion about the issues relating to using other SSL\nlibraries. In a nutshell, it came down to that we couldn't return\nanything other than an OpenSSL pointer from PQgetssl because existing\nprograms simply wouldn't know what to do with it.\n\nSo, I was pondering what we mi...
[ { "msg_contents": "\nApologies if my previous attempts to post this to the mailing list\nhave actually succeeded, but I've seen no evidence of that...\n\n\nWhile doing some bugzilla testing, I ran into a data page corruption\nissue.\n\nThe symptom was the usual \"could not access status of transaction\n<bignum>...
[ { "msg_contents": "Hi\n\nAnyone interested in plpython, please check out/review\nhttp://archives.postgresql.org/pgsql-patches/2006-04/msg00087.php\n\nIt fixes the most obvious shortcomings of plpython by making it possible\nto return both sets and records (and setof records) and to use named\ninput parameters i...
[ { "msg_contents": "Hi\nI was workin on the parser version 8.1.2 but wheneva simply update the\ndate the compilation fails not even ne changes. but the same thing when\ndone in 8.0.3 it works nicely.\nPls help.\n\n", "msg_date": "17 Apr 2006 08:07:23 -0700", "msg_from": "jengono1@gmail.com", "msg_fro...
[ { "msg_contents": "I finally got around to looking at adding $PostgreSQL$ tags to all files\nin the repository. To see what I was looking at, I ran the following on\na clean checkout:\n\nfind . -type f ! -path \\*/CVS\\* ! -exec grep -q '$PostgreSQL: pgsql' {} \\; -print\n\nThe results are at http://jim.nasby.n...
[ { "msg_contents": "Hello all,\n\nCould someone explain the numbering logic in naming the relations? Why\n#define DatabaseRelationId 1262.\n\nI guess not being involved from the beginning has its disadvantages. but\nit is very exiting and fun trying to learn the internals by gdb and\nasking lots of questions :)\...
[ { "msg_contents": "Hello:\nI find that the real timestamp format(got from the file which is produced by copying binary to ) is different from what i find in timestamp_send func.\n\ni do think that the binary format of a timestamp \"2006-04-18 11:20:20\" should be \"44 2B B0 6A 00 00 00 00\" standing for \"sec...
[ { "msg_contents": "> > As I reviewed the win32/sema.c, there is some code that I am not \n> > clear,\n> can\n> > anybody explain please?\n> >\n> \n> There is another problem related to concurrent operations on \n> win32 sema. Say two processes are doing semop(+1) \n> concurrently. Look at this code:\n> \n> /*...
[ { "msg_contents": "> > Looking at the code, it looks fairly complex to me. I don't really \n> > know how sysv semaphores are supposed to work, or how we \n> use them, but \n> > perhaps the whole piece of code can be simplified?\n> \n> I'm not sure why the win32 port chose to emulate the SysV \n> semaphore inter...
[ { "msg_contents": "Hello,Tom!\r\n Thanks for your answer.\r\n To invoid missing something of the timestamp, i just copy the tm2timestamp func into my program.(Of course, some other related functions are copied, too), result is still refusing me.\r\n\r\nWhat i need is: 41A7 7DBA D400 0000 stands for \"2006-0...
[ { "msg_contents": "> > (2) the killer function is PGSemaphoreReset(). There is no direct \n> > function for this in Win32 either.\n> \n> If you can do PGSemaphoreTryLock, then Reset need only be a \n> loop around it (cf. posix_sema.c). In current usage Reset \n> doesn't have to be very efficient at all, becaus...
[ { "msg_contents": "Hello hackers,\n\nI have included below a fragment of a discussion from the freepascal mailing\nlist. Apparently, some folks expect to be able to start multiple transactions\ninside the *same* database connection. Since this is not possible in postgres,\nthey would be forced to start more co...
[ { "msg_contents": "> I have included below a fragment of a discussion from the freepascal\nmailing\n> list. Apparently, some folks expect to be able to start multiple\ntransactions\n[...]\n> inside the *same* database connection.\n> \n> My feeling is that this is a false problem, caused by some\ninterbase/fire...
[ { "msg_contents": "Hi,\nIm getting this error when I try to connect to a postgresql database \nfrom a web application running on tomcat....\n\nthe error is from the postgersql logs\n\nERROR: No parser with id 17555\n\nThe error below is from tomcat logs:\n-------\n(executing StatementCallback): encountered\n S...
[ { "msg_contents": "I'm wondering who is responsible for ECPG since there appear to be a\nnumber questionable statements which may or may not be bugs. Do we have\na resident expert?\n\nExamples:\n\nsrc/interfaces/ecpg/ecpglib/execute.c line 871\n\nTo my untrained eye it looks like after the first time through th...
[ { "msg_contents": "I spent some time today going through the stuff on the Coverity\nwebsite. I basically looked at every report outside of src/backend (due\nto the ereport false-positives (elog is fixed)) and src/interfaces/ecpg\n(due to the shear volume of probably bugs).\n\nI've sorted them into:\n\nFALSE - N...
[ { "msg_contents": "Hi,\n\nThe phpPgAdmin project has been pretty quiet for some time now. We have \ndecided to try to build up our developer base again by recruiting some \nnew, interested, PHP developers.\n\nThe core team is still around to offer guidance, suggestions, releases, \netc. however no-one seems to...
[ { "msg_contents": "Hi,\n\nI got the following message when I ran pg_dump with -Ft option on\nWindows XP.\n\n> pg_dump -V\npg_dump (PostgreSQL) 8.1.2\n\n> pg_dump -Ft test > C:\\backup\\xxx.out\npg_dump: [tar archiver] could not generate temporary file name: Permission denied\n\n\npg_dump calls tmpfile() in pg_b...
[ { "msg_contents": "Hello\n\nyesterday I did one news notice on my orafunc page. But it isn't on main \npage yet. Why? Can someboody explain mechanism of publishing messages on \npgfoundry?\n\nRegards\nPavel Stehule\n\n_________________________________________________________________\nCitite se osamele? Poznejte...
[ { "msg_contents": "Hello,\n\nplease change url on http://www.postgresql.org/community/international from \npostgresql.ok.cz to http://postgresql.interweb.cz I actualized content for \n8.1 and migrated to wiki and new site. Older site exists still, but isn't \nactualized.\n\nThank you\nPavel Stehule\n\n_________...
[ { "msg_contents": "> I got the following message when I ran pg_dump with -Ft \n> option on Windows XP.\n> \n> > pg_dump -V\n> pg_dump (PostgreSQL) 8.1.2\n> \n> > pg_dump -Ft test > C:\\backup\\xxx.out\n> pg_dump: [tar archiver] could not generate temporary file \n> name: Permission denied\n> \n> \n> pg_dump cal...
[ { "msg_contents": "Folks, my mailbox is filling with unresolved Win32 bug reports,\nspecifically:\n\n\tinteger division\n\tshared memory\n\tstatistics collector\n\trename\n\tfsync\n\nI have put the emails at the bottom of the patches_hold queue:\n\n\thttp://momjian.postgresql.org/cgi-bin/pgpatches_hold\n\n-- \n...
[ { "msg_contents": "> > Indeed, that's definitly a bug. Quick patch attached. It \n> does appear \n> > to work, but there may be a better way?\n> \n> This patch introduces a security hole because an attacker \n> could create, say, a suitable symlink between the time the \n> name is generated and the file is open...
[ { "msg_contents": "I havn't been able to find any more serious issues in the Coverity\nreport, now that they've fixed the ereport() issue. A number of the\nissues it complains about are things we already Assert() for. For the\nrest, as long as the following assumptions are true we're done (well,\nexcept for ECP...
[ { "msg_contents": "> > > Indeed, that's definitly a bug. Quick patch attached. It\n> > does appear\n> > > to work, but there may be a better way?\n> > \n> > This patch introduces a security hole because an attacker could \n> > create, say, a suitable symlink between the time the name \n> is generated \n> > and ...
[ { "msg_contents": "> > Question: Is the use of O_TEMPORARY to open() portable? (my \n> win32 docs \n> > say it will make the file automatically deleted when the last \n> > descriptor is closed, which I didn't know before. That \n> would make the \n> > patch much simpler, but might require #ifdefs?)\n> \n> I thi...
[ { "msg_contents": "> > It's not buggy. It's well documented behaviour,and per my linux \n> > manpage for the file it's also OK per spec:\n> >\n> > The standard does not specify the directory that tmpfile()\n> > will use. Glibc will try the path prefix P_tmpdir defined\n> > in <stdio.h>, an...
[ { "msg_contents": "> >> Win32's tmpfile() creates the file into root folder. But \n> >> non-administrator users can't create files into root folder.\n> \n> In other words, tmpfile() doesn't work at all on Win32? \n> Seems like the appropriate place to be filing a bug report is \n> at microsoft.com.\n\nIf works...
[ { "msg_contents": "> > If the implementation is such that it tries to create the file in a \n> > directory that the user does not have write permission to, \n> it's a bug.\n> \n> Well, I think it would be a valid implementation on Unix to \n> always try to create the file in /tmp, which'd likely fail if \n> som...
[ { "msg_contents": "I'm new to PG and I'm testing default PG settings \nfor now.\n\nI have PG 8.1.3. installed with autovacuum=on.\n\nMy test table has 15830 records with 190 fields.\nI have different fields types (date, numeric, varchar,\ninteger, smallint,...).\n\nI decided to evaluate PG because I need to use...
[ { "msg_contents": "Hi,\n\nI read the discussion thread once again and unless I am absolutely\nand totally on the wrong track this is what I understood from the\ngeneral plan to be. The current pg_hba.conf provides the famous\nthe host based mechanism to connect to a database.\nIn order to add the discussed func...
[ { "msg_contents": "> > I have repeated the problem with CVS head on XP SP2. It \n> *does* create \n> > it there (or rather, it tries to).\n> \n> > tmpnam() returns a file in the current dir per documentation, but I \n> > see it generating one in the root instead.\n> > tempnam() uses TMP environment variable.\n>...
[ { "msg_contents": "> > Ok. Should be easy enough once the code is fine - can you \n> comment on \n> > the patch as sent, if the code itself looks right provided \n> i wrap it \n> > up in a function in port/?\n> \n> Not sure if the error handling is adequate --- are there any \n> cases besides EEXIST that should...
[ { "msg_contents": "> > > pgbench) just stops doing work (CPU usage drops to \n> nothing, as does \n> > > disk activity). I've been able to repro this on 2 Intel \n> boxes (one a \n> > > 2 way, one a 4 way), and a dual Opteron, all running the \n> latest windows binary.\n> > > A 50 connection test running 1000 t...
[ { "msg_contents": "Jim C. Nasby wrote:\n> On Thu, Apr 20, 2006 at 08:06:30PM +0200, Magnus Hagander wrote:\n>> It reuqires a multi-CPU box, right? I don't hav eone with pgwin32 on\n>> ATM. Do you know if it's enough with hyperthreading?\n> \n> Hrm... not sure. Let me see if I can find a box with HT here and tes...
[ { "msg_contents": "Larry Rosenman wrote:\n> Jim C. Nasby wrote:\n>> On Thu, Apr 20, 2006 at 08:06:30PM +0200, Magnus Hagander wrote:\n>>> It reuqires a multi-CPU box, right? I don't hav eone with pgwin32 on\n>>> ATM. Do you know if it's enough with hyperthreading?\n>> \n>> Hrm... not sure. Let me see if I can f...
[ { "msg_contents": "Some of the SysInternals tools might be a start.\n\nProcessExplorer provides information about processes:\nhttp://www.sysinternals.com/Utilities/ProcessExplorer.html \n\nDebugView shows Debugging output (not sure if PG uses this):\nhttp://www.sysinternals.com/Utilities/DebugView.html\n\nAlso,...
[ { "msg_contents": "> >> Apparently it won't work at all if TMP isn't set?\n> \n> > I'm not *too* concerned about that, since TMP is normally set by the\nOS\n> > itself. There's one set in the \"system environment\" (to\nc:\\windows\\temp\n> > or whatrever) and then it's overridden by one set by the OS when it\n...
[ { "msg_contents": "Hi,\n\nAs advised, I spend a moment reading the code regarding the GRANT and REVOKE\nIn order to add a new privilege to the ACL, I have created a mini patch.\nCould this be checked to see if I am on the right track?\n\nhttp://www.xs4all.nl/~gevik/patch/alpha.patch\n\n\nThank you.\n\n\n\n\n\n"...
[ { "msg_contents": "I've been looking into Gavin Hamill's recent report of poor performance\nwith PG 8.1 on an 8-way IBM PPC64 box. strace'ing backends shows a lot\nof semop() calls, indicating blocking at the LWLock or lmgr-lock levels,\nbut not a lot of select() delays, suggesting we don't have too much of a\...
[ { "msg_contents": "I posted this in other lists with no response... Can anyone help?\n\nI'm having trouble getting plperl to work on AIX 5.3.2. \nPostgresql Version: 8.1.1 \nPerl Version: 5.8.7 \n\nI've rebuilt perl as a shared library version and built that into postgre \nusing --with-perl. The postgre build...
[ { "msg_contents": "Another thing I noticed while looking at Gavin Hamill's test case is\nthat according to gprof, it's spending a remarkably large fraction of\nits time in lookupParam():\n\nEach sample counts as 0.01 seconds.\n % cumulative self self total \n time seconds sec...
[ { "msg_contents": "I saw the following in the TODO list. I am currently trying to work on them.\nI could not understand clearly what needs to be done. Can anybody give me\nthe details for the following so that I can work on?\n\nclients-psql\n=========\n1. Have psql show current values for a sequence\n2. Fix psq...
[ { "msg_contents": "Could someone please explain the MemoryContext switching. For example\nMemoryContextSwitchTo function. How does this work?\n\n\n\n", "msg_date": "Sat, 22 Apr 2006 23:14:17 +0200", "msg_from": "Gevik Babakhani <pgdev@xs4all.nl>", "msg_from_op": true, "msg_subject": "Question ab...
[ { "msg_contents": "Hi,\n\nI was wondering whether there is a backend function to help finding the\ndependencies on a relation.column inside pg_depend. Something like\ndependency.c:0255:findAutoDeletableObjects also taking the \"refobjsubid\"\nwith the search. This I ask in order to avoid reinventing the wheel :...
[ { "msg_contents": "Postgres: 8.1.3\nOS: Mac OS X 10.4.6\n\nI've run into another concurrency issue - parallel building of indexes.\nWhen I try to build multiple indexes at a time, I randomly get:\n\n ERROR: tuple concurrently updated\n\nThe following thread talks about this, but there is no answer.\n\n <http...
[ { "msg_contents": "Hi, I'm trying to implement my own access method, which uses c++\nframework for saving tuples. The framework consists of set of\nfunctions, which are implemented in win32 dll.\nAll the functions which are desired by PG (ambuild, aminsert, ...) are\nimplemented and functional. But when I want ...
[ { "msg_contents": "> 5. Copy the dll to the bin directory (when I let it in the \n> contrib directory, where also the libatomrtree.dll file with \n> the AM functions is, so it writes out, that the modul can't \n> be found, when loading it).\n> \n> 6. When there is \"void *header = f_header()\" anywhere in the \...
[ { "msg_contents": "I'm getting the following regression errors with a backend built using\nVisual C++:\n\n\n*** ./expected/float8-exp-three-digits-win32.out Wed Jun 8\n23:15:29 2005\n--- ./results/float8.out Sun Apr 23 20:44:44 2006\n***************\n*** 324,331 ****\n | ...
[ { "msg_contents": "Gevik Babakhani wrote:\n\nHi,\n\n> 2) The file parsenodes.h is updated to support\n> #define ACL_DATABASE_CONNECT\n\nI wouldn't call it ACL_DATABASE_CONNECT, just ACL_CONNECT. Currently we\ndon't have any objects other than databases that need connecting to, but\nyou never know.\n\n(It shoul...
[ { "msg_contents": "I have created a directed graph using graphviz that shows the message \nflow/event stream. Perhaps this will be helpful to someone. Of course, \ncorrections are also welcome.\n\nhttp://www.themactionfaction.com/pg/PGXProtocol.dot\nhttp://www.themactionfaction.org/pg/PGXProtocol.svg\nhttp://ww...
[ { "msg_contents": "Hi,\n\nI just tried to commit a patch to CVS and got this error:\n\ncvs commit: cannot exec /usr/local/bin/activitymail: No such file or directory\n\nI went and checked /usr/local/bin/activitymail, and it's there, but the\n#! header points to /usr/local/bin/perl5.8.7 while on postgresql.org I...
[ { "msg_contents": "Is it expected that the planner in 8.1.3 (CVS) and HEAD doesn't use\nan index scan for the second query below when bitmap scans are\ndisabled? Disabling sequential scans as well results in the planner\nusing a bitmap scan.\n\ntest=> CREATE TABLE foo (id integer PRIMARY KEY);\nNOTICE: CREATE...
[ { "msg_contents": "\nBug- raised:\n=========\nBUG #2073: Can't drop sequence when created via SERIAL column\n\nAnswered:\n========\n\nRight. We have this TODO item:\n\n\t* %Disallow changing default expression of a SERIAL column?\n\nwhich would prevent you from changing the default expression for a\nSERIAL col...
[ { "msg_contents": "Martijn, thanks for finfing those leaks. I haven't been around last\nweek, so it took until today to commit the fixes. But they are in now.\n\nMichael\n-- \nMichael Meskes\nEmail: Michael at Fam-Meskes dot De, Michael at Meskes dot (De|Com|Net|Org)\nICQ: 179140304, AIM/Yahoo: michaelmeskes, J...
[ { "msg_contents": "I noticed the following compile warnings. Perhaps someone is interested\nto know about them.\n\n/usr/bin/flex -o'pgc.c' pgc.l\ngcc -O2 -Wall -Wmissing-prototypes -Wpointer-arith -Winline\n-Wdeclaration-after-statement -Wendif-labels -fno-strict-aliasing -g\n-Wno-error -I./../include -I. -I....
[ { "msg_contents": "> > I'm getting the following regression errors with a backend \n> built using \n> > Visual C++:\n> \n> Is HAVE_CBRT getting defined? Either their cbrt() routine or \n> our default one seems to be generating slightly-off answers. \n> The default one (at the bottom of float.c) certainly look...
[ { "msg_contents": "> > What do you think is best - try to adapt that version, or \n> update our \n> > regression tests outputs to accept the output from our current code?\n> \n> Given that our output gets very very close, perhaps we should \n> take a hint from the end of the MinGW version, do a single \n> Newto...
[ { "msg_contents": "> > That totally didn't work on visual c++ at least. It fixes those two \n> > ones, but it breaks the other lines in the same test:\n> \n> It's a couple bricks shy of a load (doesn't handle zero or \n> negative input correctly) but easily fixed. I'm just about \n> to commit it.\n\nGreat. I'l...
[ { "msg_contents": "Confirmed to work on Win32 Visual C++. \n\nWith this patch, Win32 VisualC++ now passes all regression tests.\nThanks, Tom!\n\n//Magnus \n\n> -----Original Message-----\n> From: pgsql-committers-owner@postgresql.org \n> [mailto:pgsql-committers-owner@postgresql.org] On Behalf Of Tom Lane\n> Se...
[ { "msg_contents": "\n> > [ shrug... ] Worksforme.\n> > \n> > There is a short interval at the end of the first CREATE INDEX on\nthe\n> > table where the problem would happen if another CREATE INDEX tries\nto\n> > modify the pg_class row before the first one's committed.\n\n> I did a pg_dumpall and removed the ...
[ { "msg_contents": "I managed to export some data out into a sort of useful format,\nprimarily the memory leaks. It not as nice as having it with the\nsource, but it should allow people to find the problems (or confirm\nthat they're not problems at all). The line references are all to HEAD.\nI wanted to make a l...
[ { "msg_contents": "> > Personally I would much rather see a tuning advisor tool in \n> more general\n> > use than just provide small/medium/large config setting files.\n> \n> True dat.\n\nMaybe the SoC project here is just such a tuning advisor tool? Something\nthat can run pgbench repeatedly, try different set...