threads
listlengths
1
2.99k
[ { "msg_contents": "Hi there,\n\nI'm pleased to present pilot version of http://www.pgsql.ru - search system on\npostgresql related resources. Currently, we have crawled 27 sites,\nnew resources are welcome. It has multi-languages interface (russian, english)\nbut more languages could be added. We plan to add se...
[ { "msg_contents": ">>Is it possible to make a composite GiST index? I want to create an \n>>index on a txtidx and a timestamp column - is that at all possible?\n> \n> OK, this is what I'm trying (7.3.4):\n> \n> create index blah on forums_posts using gist(ftiidx, datetime);\n> \n> ERROR: data type timestamp w...
[ { "msg_contents": "I have been working with Postgres for just a short while, however, we are\nlooking to use Postgres for our next project and I was hoping someone could\nanswer a question for me regarding the planner to save me some research\ntime.\n \nHow integrated is the planner into the database? Put anoth...
[ { "msg_contents": "\n2 things.\n\nI submitted a patch for this 5 months ago, which is still waiting to be \nmerged (hope it hasn't bitrotted in the meantime):\n\n. Allow log lines to include session-level information, like database \nand user\n\nIf nobody is working on this I am prepared to look at it:\n\n. All...
[ { "msg_contents": "This patch removes the remaining code for processing the '-C'\ncommand-line option in the standalone backend. It no longer actually\nfunctions (i.e. specifying the option does nothing), and I didn't\nthink it was interesting enough to be worth reviving, so I removed it.\n\nUnless anyone objec...
[ { "msg_contents": "Hi,\nI need to retrieve the name of the function and the index column names\nof the functional index. The system information about the\nindex(function and its args) is stored in the system catalog column\npg_index.indexprs. Do I have to parse pg_index.indexprs text or\npg_get_indexdef(pg_inde...
[ { "msg_contents": "Bruce Momjian said:\n> Andrew Dunstan wrote:\n>>\n>> 2 things.\n>>\n>> I submitted a patch for this 5 months ago, which is still waiting to\nbe merged (hope it hasn't bitrotted in the meantime):\n>>\n>> . Allow log lines to include session-level information, like database\nand user\n>>\n>> I...
[ { "msg_contents": "I've been reviewing Dennis Bjorklund's patch to support named\nfunction parameters:\nhttp://archives.postgresql.org/pgsql-patches/2003-12/msg00176.php\n\nOne thing I didn't like about it was that the grammar declared\nparam_name as plain IDENT, meaning that you could not use even\n\"unreserve...
[ { "msg_contents": "How does the unknown data type get processed, there doesn't seem to be\nany casts for it?\n\nI have a function expecting a timestamp, cstring, cstring\n\nif I pass it a timestamp, unknown, unkown it works?\nif I pass it an unknown, unknown, unkown, it can't be found?\n\nDave\n-- \nDave Cramer...
[ { "msg_contents": "CVSROOT:\t/cvsroot\nModule name:\tpgsql-server\nChanges by:\ttgl@svr1.postgresql.org\t04/01/06 19:55:19\n\nModified files:\n\tdoc/src/sgml : catalogs.sgml \n\tsrc/backend/bootstrap: bootstrap.c \n\tsrc/backend/catalog: pg_aggregate.c pg_proc.c \n\tsrc/backend/commands: functioncmds.c \n\tsr...
[ { "msg_contents": "So one of the client machines for one of my databases at work resides\non 10.128.0.45. I had to enter something in pg_hba.conf for it today,\nas we're bringing this database up. We have a lot of 10/8 subnets, and\nI use it at home, so I'm accustomed to just using 10.128.45 for the IP.\nStrang...
[ { "msg_contents": "I just posted my initial release of the Pl/Java stuff on Gborg. The pljava\nproject is under Postgres tools -> Drivers/Interfaces. Read the\norg.postgresql.pljava/readme.htm (you find it using the CVS view) for more\ninfo.\n\n\n", "msg_date": "Wed, 7 Jan 2004 12:44:58 +0100", "msg_fro...
[ { "msg_contents": "What API call can I make to find out if a column is nullable or not?\n \n\nMessage\n\n\n\nWhat API call can I \nmake to find out if a column is nullable or not?", "msg_date": "Wed, 7 Jan 2004 11:01:06 -0800", "msg_from": "\"Dann Corbit\" <DCorbit@connx.com>", "msg_from_op": true, ...
[ { "msg_contents": "I've attached a (gzip'ed) patch that makes the following changes to\nthe buffer manager:\n\n (1) Overhaul locking; whenever the code needs to modify the state\n of an individual buffer, do synchronization via a per-buffer\n \"meta data lock\" rather than the global BufMgrLock...
[ { "msg_contents": "> -----Original Message-----\n> From: Andreas Pflug [mailto:pgadmin@pse-consulting.de] \n> Sent: Wednesday, January 07, 2004 11:17 AM\n> To: Dann Corbit\n> Cc: pgsql-hackers@postgresql.org\n> Subject: Re: [HACKERS] Dumb question: How do I determine \n> programmatically if a column is nullable...
[ { "msg_contents": "Greeting,\n\n This is mainly just a heads up, I'm going to be recompiling with\n symbols and rerunning the test after I get to work, but I'm getting a\n segfault consistantly when doing a vacuum analyze. The trace is from\n 7.4.1 but I upgraded to 7.4.1 because the same was happening und...
[ { "msg_contents": "Howdy,\n\nCan anyone explain to me when psql tries to convert between encodings?\nIt seems to disregard encodings set with SET CLIENT_ENCODING.\n\nThe following reproduces the behaviour I'm seeing:\n\n1. create an UNICODE database\n\n2. run the following:\n set client_encoding to latin1;\...
[ { "msg_contents": "Hi all,\n\nAfter unsuccessfully trying to join the current OLE DB project on gborg, \nI'm writing my own. So far I don't have anything too fancy (just trying \nto get over the initial shock of what OLE DB actually is). It currently \ndoes the basic infrastructure, but does not yet actually co...
[ { "msg_contents": "The default installation in fedora does not work very well for non \nenglish people. For example. if I run psql and type COMMIT i get:\n\ndennis=# commit;\nWARNING: COMMIT: ingen transaktion p g\n\nwhile it should say\n\ndennis=# commit;\nWARNING: COMMIT: ingen transaktion p�g�r\n\nAnd ...
[ { "msg_contents": "I've made some tests to see what works and what does not. I downloaded pg\n7.3.4 (which is more or less what is used in fedora) and current cvs. Both\ncompiled with the same flags and run in the same way.\n\npg 7.3.4\n--------\n\nRunning LC_ALL=sv_SE postmaster\n and LC_ALL=sv_SE.UTF-8 pos...
[ { "msg_contents": "Hi every one and Happy new year (this is my first post since 2004)\n\nI wanted to upgrade my system from 7.3.4 to 7.4. and fell on this:\n\nOne of the databases I host doesn't load correctly. Let me explain:\n\nI first pg_dumpall (with the 7.4.1 version) using the 7.3.4 port; that\nworks fine...
[ { "msg_contents": "Hi all, \n\nWe are building security system for a project where the security is modeled\nbased on the sql-92 GRANT/REVOKE statements.\n\nI was going through the documentation of postgresql related to GRANT/REVOKE\nstatements.\n\n \n\nFollowing statement says that \"with grant option\" is not ...
[ { "msg_contents": "Hi all, \n\nWe are building security system for a project where the security is modeled\nbased on the sql-92 GRANT/REVOKE statements.\n\nI was going through the documentation of postgresql related to GRANT/REVOKE\nstatements.\n\n \n\nFollowing statement says that \"with grant option\" is not ...
[ { "msg_contents": "Theoretically same kind of problem should arise even if the privilege is\ngranted to a user also.\nTo be specific I would like know the answers for the following Q's\n\nScenario 1:\n===========\nUser A grants privilege to group B with grant option.\nUser C who is in group B grants privilege t...
[ { "msg_contents": "Theoretically same kind of problem should arise even if the privilege is\ngranted to a user also.\nTo be specific I would like know the answers for the following Q's\n\nScenario 1:\n===========\nUser A grants privilege to group B with grant option.\nUser C who is in group B grants privilege t...
[ { "msg_contents": "This is not directly related to current development, but it is something \nthat might need a low-level solution. I've been thinking for some time \nabout how to enchance the current \"XML support\" (e.g., contrib/xml).\n\nThe central problem I have is this: How do we deal with the fact that...
[ { "msg_contents": "Peter Eisentraut wrote:\n> The central problem I have is this: How do we deal with the fact that\n> an XML datum carries its own encoding information?\n\nMaybe I am misunderstanding your question, but IMO postgres should be\ntreating xml documents as if they were binary data, unless the serv...
[ { "msg_contents": "Andrew Dunstan wrote:\n> I think I agree with Rod's opinion elsewhere in this thread. I guess\nthe\n> \"philosophical\" question is this: If 2 XML documents with different\n> encodings have the same canonical form, or perhaps produce the same\nDOM,\n> are they equivalent? Merlin appears to wa...
[ { "msg_contents": "This patch against 7.4.1's psql and the documentation adds the option\nof reading rows from the \"current\" input stream (standard input, -f\nxxx, \\i xxx) during a \"\\copy ... from\" operation in psql. The details\nwere proposed and discussed (somewhat) here:\n\n http://archives.postgresq...
[ { "msg_contents": "libpq needs additional changes for complete thread safety:\n- openssl needs different initialization.\n- kerberos is not thread safe.\n- functions such as gethostbyname are not thread safe, and could be used \nby kerberos. Right now protected with a libpq specific mutex.\n- dito for getpwuid...
[ { "msg_contents": " From fe-secure.c:\n\n> /*\n> * Indicates whether the current thread is in send()\n> * For use by SIGPIPE signal handlers; they should\n> * ignore SIGPIPE when libpq is in send(). This means\n> * that the backend has died unexpectedly.\n> */\n> pqbool\n> PQinSend(vo...
[ { "msg_contents": "Hi everyone,\n\nIn response to an email last year (see\nhttp://archives.postgresql.org/pgsql-hackers/2003-10/msg00113.php for\nmore information), I'm beginning to write a patch for PostgreSQL to\nenable people to write their own ANALYZE routines for user-defined\ntypes. In terms of the Postgr...
[ { "msg_contents": "How come --enable-nls in configure is not turned on as default? I don't\nthink I can name any other program where it's not.\n\n-- \n/Dennis Bj�rklund\n\n", "msg_date": "Sun, 11 Jan 2004 20:23:30 +0100 (CET)", "msg_from": "Dennis Bjorklund <db@zigo.dhs.org>", "msg_from_op": true,...
[ { "msg_contents": "I am going to Oregon tomorrow for 3 days, and will spend the rest of the\nweek in New York City. Most following week I will be in New York City,\nand the following week I might be in Europe, and the week after I will\ndefinately be in Europe.\n\nI will have Internet access in all these place...
[ { "msg_contents": " \n\n> -----Original Message-----\n> From: Shachar Shemesh [mailto:psql@shemesh.biz] \n> Sent: 11 January 2004 20:21\n> To: William ZHANG\n> Cc: pgsql-hackers@postgresql.org\n> Subject: Re: [HACKERS] OLE DB driver\n> \n> >AFAIK, rely on libpq is a fast way but not always convenient.\n> > \n>...
[ { "msg_contents": "\nIn CreateSharedMemoryAndSemaphores, there is the following comment, just\nbefore CreateLWLocks():\n\n\t/*\n\t * Now initialize LWLocks, which do shared memory allocation and are\n\t * needed for InitShmemIndex.\n\t */\n\nAlso, in InitShmemAllocation, there is:\n\n\t/* ShmemIndex can't be se...
[ { "msg_contents": "Short story:\nI need two new functions in the Server Programming Interface (SPI) when\nmapping an ExecutionPlan to a Java prepared statement (pljava project).\n\nLong story:\nMy problem is that once a plan is prepared and I want to execute it, I send\nan array of java objects for the argument...
[ { "msg_contents": "Hannu Krosing wrote:\n> IIRC, the charset transformations are done as a separate step in the\n> wire protocol _before_ any parser has chance transform or not.\n\nYep. My point is that this is wrong. I think of XML the same way I\nthink of a zip file contains a text document. Postgres does ...
[ { "msg_contents": "Hi,\n\nIs this all that's planned for 7.5? (based on current TODO list)\n\n-Change factorial to return a numeric (Gavin)\n-COMMENT ON [ CAST | CONVERSION | OPERATOR CLASS | LARGE OBJECT | LANGUAGE ]\n(Christopher)\n-Have psql \\dn show only visible temp schemas using current_schemas()\n-Have ...
[ { "msg_contents": "\n\n> You have broken stuff before by rearranging the sequence of\noperations... \n\nAh, yeah, well, FWIW, if that is the only thing that gets broken in the\nprocess of making this port, I'll be more than satisfied. Will that be held\nagainst me forever?\n\n\n> what exactly have you got in mi...
[ { "msg_contents": "\n\nTom Lane writes:\n> > Just working with what we've already got. There seems to be very \n> > usable code in src/backend/port/win32/sema.c, which gets invoked \n> > as Win32 does not have spin-locks, but unfortunately relies on \n> > ShmemInitStruct.\n>\n> Win32 certainly has spinlocks; it...
[ { "msg_contents": "\n\nTom Lane writes:\n> [cvs is your friend...] It appears to have been added as part of the\n> MinGW porting work last May. I don't have much faith in it; as far as\n> I heard the MinGW port never got further than making the client-side\n> code work, and so this file has no real-world test...
[ { "msg_contents": "\n> Ok, I think having a native win32 spin-lock implementation \n> (say, based on InterlockedCompareExchange?) is the minimal \n> impact answer. I'll work on producing that.\n\nOr, maybe we'll just use the tas() implementation that already exists for\n__i386__/__x86_64__ in s_lock.h. How did ...
[ { "msg_contents": "Claudio Natoli wrote:\n> FWIW, in a multithreaded version of postgres I'm fooling around with,\nI\n> replaced the recv call (where backends spend most of their time\nwaiting)\n> which a select(small timeout)/SleepEx(0) \"busy\" loop, which calls to\nrecv\n> when ready. Works just fine.\n\nOk,...
[ { "msg_contents": "\nhello, i am in the middle of translating this ru.po file into hebrew\nmessages.i simply change the garbage with hebrew equivalent.\n\nwhere shall i send the result to ?\n\nCheers.\n\nM.\n\n\n", "msg_date": "Tue, 13 Jan 2004 18:57:41 +0200 (IST)", "msg_from": "Maxim Kovgan <maxk@cs.T...
[ { "msg_contents": "Hi Tom,\n\nThanks for your criticism on this.\n\n> -----Original Message-----\n> From: Tom Lane [mailto:tgl@sss.pgh.pa.us] \n> Sent: 11 January 2004 17:04\n> To: Mark Cave-Ayland\n> Cc: pgsql-hackers@postgresql.org\n> Subject: Re: [HACKERS] Suggestions for analyze patch required... \n> \n> \n...
[ { "msg_contents": "I have hacked analyze.c to automatically create a unique index on the\noid when a table is created and I am getting the failed to re-find\nparent key in pg_attribute_relid_attnam_index every 8 attempts to do the\nfollowing\n\nselect * from foo into temp a;\ndrop table a;\n\nCurrently analyze ...
[ { "msg_contents": " \n> Tom Lane said:\n> >\n> > Actually, I was expecting you to complain that the s_lock.h coding is\n> > gcc-specific. Which compilers do we need to support on Windows?\n> >\n> \n> AFAIK the only target build environment for Windows right now is\n> MinGW/gcc\n\nYes, I'm working with MingW.\n...
[ { "msg_contents": "\n\n> IMO, it's time for a second run of the code, and a functional test which\n> simulates the command processing loop which should include:\n> \n> 1. setjmp/longjmp stack manipulation (i.e. ELOG)\n> 2. in process/out of process generates signals\n> 3. all thread mechanisms.\n\nDefinitely. M...
[ { "msg_contents": "What is the correct outline of the procedure for adding a data type to\nPostgreSQL?\n \n\nMessage\n\n\n\nWhat is the correct \noutline of the procedure for adding a data type to \nPostgreSQL?", "msg_date": "Tue, 13 Jan 2004 17:22:25 -0800", "msg_from": "\"Dann Corbit\" <DCorbit@connx....
[ { "msg_contents": "(I hope this is -hackers appropriate - feel free to point me elsewhere)\n\nI'm using 7.4.1 as the backend to several applications. Until recently,\nI've been developing solely single-threaded applications.\n\nI just rebuilt postgresql with --enable-thread-safety, to work with\nsome multi-thre...
[ { "msg_contents": "Hi Tom,\n\n> -----Original Message-----\n> From: Tom Lane [mailto:tgl@sss.pgh.pa.us] \n> Sent: 13 January 2004 18:08\n> To: Mark Cave-Ayland\n> Cc: pgsql-hackers@postgresql.org\n> Subject: Re: [HACKERS] Suggestions for analyze patch required... \n> \n> \n> \"Mark Cave-Ayland\" <m.cave-ayland@...
[ { "msg_contents": "Hannu Krosing wrote:\n> I hope that real as-needed-column-by-column translation will be used\n> with bound argument queries.\n> \n> It also seems possible to delegate the encoding changes to after the\n> query is parsed, but this will never work for EBCDIC and other funny\n> encodings (like r...
[ { "msg_contents": "I've added a new test parameter so that the test on STP can pull from\nCVS. When requesting a test, use the flag '-x 1' in the \"Optimal Script\nParameters\" box and the test will pull from CVS.\n\nA test I ran the other day failed because the database ran out of shared\nmemory. I was going...
[ { "msg_contents": "Hi all,\n\nI resend this mail because I didn't have any answer; I still did'nt find\nany solution, the same line is ALWAYS failing although I see no error.\n\nOf course, I can't post the dump 'cause it's over 200 Megs but if some\none wants to make test (need to be postgres), I can arrange t...
[ { "msg_contents": " \n> Microsoft just decided to make Services for Unix a free download.\n\nAnyway, I'm coming in to this discussion late, but my 2c.\n\nI see marginal benefit in using SFU, for considerable disadvantage.\n\n* Users already have a postgres solution for Win32. It is called Cygwin w/\ncygipc. Sur...
[ { "msg_contents": " \n\n> 1. setjmp/longjmp stack manipulation (i.e. ELOG)\n\nWrote a small program to check this out. As we hoped/assumed/expected, it\nlooks just fine.\n\nMagnus, are you working on a second run at this stuff?\n\nCheers,\nClaudio\n\n--- \nCertain disclaimers and policies apply to all email sen...
[ { "msg_contents": "Hi,\nI have a new server and some time to do an interesting simple benchmark.\nCompile PostgreSQL 7.4.1R by gcc3.2 and Intel CC 8.0 , and use pgbench \nto evaluate any difference..\n\nHere is the result.\n\n----------------------\n\nCPU: Intel(R) Xeon(TM) CPU 3.06GHz (3052.79-MHz 686-class CP...
[ { "msg_contents": "Hello\n\nI send my first patch for PostgreSQL - maybe ugly patch. This patch \ngenerate on top of dump file line with setting of current encoding. Its \nuseful for languages like czech with more than one wide used encoding.\nWe need informations about used encoding. \n\nRegards\nPavel Stehule...
[ { "msg_contents": "> > 1. setjmp/longjmp stack manipulation (i.e. ELOG)\n> \n> Wrote a small program to check this out. As we \n> hoped/assumed/expected, it looks just fine.\nGreat!\nJust checking - we're talking doing this from inside a user APC, right?\n\n> Magnus, are you working on a second run at this stuf...
[ { "msg_contents": "Hi all,\n\nStill trying to upgrade from 7.3.4 to 7.4.1 with pg_dumpall.\n2 problemes:\n\nWhen a serch_path has been set, pg_dumpall correctly output a alter\ndatabase xxx set search_path to 'xxx' but *BEFORE* the schema is created\nso it doesn't work.\n\nAnd about my previous mails, if I pg_d...
[ { "msg_contents": "\n> Note that the migration guide says that threads are not \n> supported. So if \n> we ever went to a threaded implementation we could not go \n> down this path.\n\nPOSIX threads are supported on the upcoming version 3.5... The migration\nguide is apparantly not updated.\n\n//Magnus\n", ...
[ { "msg_contents": "A simple documentation enhancement request: please provide \"Fast \nBackward\"/\"Forward\" links at the bottom of the page as well.\n\n", "msg_date": "Thu, 15 Jan 2004 17:10:25 +0100", "msg_from": "\"A.M.\" <agentm@themactionfaction.com>", "msg_from_op": true, "msg_subject": "...
[ { "msg_contents": "Hannu Krosing wrote:\n\n> > In that case, treat the XML document like a binary stream, using\n> > PQescapeBytea, etc. to encode if necessary pre-query. Also, the XML\n> > domain should inherit from bytea, not varchar.\n> \n> why ?\n> \n> the allowed characters repertoire in XML is even less ...
[ { "msg_contents": "I need to provide recommendations for optimal value for the\nshared_buffers. This has to do with some optional feature\nwe have in our application. If turned on - a number of extra\ntables involved in the operations.\nI don't have an experience with PG perf. testing and I guess that \nI may n...
[ { "msg_contents": "\n\n> > > 1. setjmp/longjmp stack manipulation (i.e. ELOG)\n> > \n> > Wrote a small program to check this out. As we \n> > hoped/assumed/expected, it looks just fine.\n> Great!\n> Just checking - we're talking doing this from inside a user APC, right?\n\nYes, of course! :-)\n\n[From a user AP...
[ { "msg_contents": "Hi guys,\n\nQuick question about how column storage works. If you set a TEXT field \nto be storage MAIN, does this place a limit on the amount of data that \ncan be stored in the row (eg. 8k?)\n\nChris\n\n", "msg_date": "Fri, 16 Jan 2004 10:12:20 +0800", "msg_from": "Christopher King...
[ { "msg_contents": "Is this a neat idea?\n\nSELECT * FROM (SHOW ALL);\n\neg.\n\nSELECT * FROM tab WHERE character_length(f) > (SHOW block_size);\n\netc.\n\nChris\n\n", "msg_date": "Fri, 16 Jan 2004 10:13:54 +0800", "msg_from": "Christopher Kings-Lynne <chriskl@familyhealth.com.au>", "msg_from_op": tr...
[ { "msg_contents": "Hi,\n\nI'm not sure if this is the correct place to make a feature request. If \nnot hopefully I can be kindly pointed in that direction.\n\nI have several project that use MySQL and I would like to port them to \nPostgreSQL unfortunately they use a naming convention which uses upper \ncase a...
[ { "msg_contents": "Hi,\n\nWhat's the best way to do log rolling with pg_autovacuum? It doesn't \nseem to have any syslog options, etc. Using 'tee' maybe?\n\nChris\n\n", "msg_date": "Fri, 16 Jan 2004 12:17:33 +0800", "msg_from": "Christopher Kings-Lynne <chriskl@familyhealth.com.au>", "msg_from_op"...
[ { "msg_contents": "Is it safe to call pfree() from multiple threads?\n\nMy Java backend will need to utilize finalizers. Objects like a saved\nexecution plan that has been \"forgotten\" must be released when the wrapping\nJava object is finalized to avoid memory leaks. The finalizer is called from\nthe garbage ...
[ { "msg_contents": "Just overheard one of my colleagues on the phone to one of our users\ntaking them through the process of moving their PGDATA to a partition\nwith space...\n\nWith the various paths, service names, config files and environment\nvariables PostgreSQL appears to have a multiple-personality\ndisor...
[ { "msg_contents": "Tom Lane wrote:\n> Wouldn't it be a win for heap_tuple_toast_attrs() to fall out quickly\n> if the tuple contains no varlena attributes? I'm thinking of adding\n> a test like\n> \n> \t/* Nothing to do if tuple contains no varlena fields */\n> \tif ((newtup && !HeapTupleAllFixed(newtup)) ||\n...
[ { "msg_contents": "\n From the Firebird FAQ:\n\n\"The first beta was released on January 29, 2003. We are hoping to be\nclose to a full release some time around Easter 2003.\"\n\nThey are at RC8 right now ... running a *wee* bit behind scheduale :)\n\n----\nMarc G. Fournier Hub.Org Networking Services...
[ { "msg_contents": "Hello,\n\nAre update statements like: \n\nupdate t1 set (f1, f2, f3) = (select t1, t2, t3 from tab1 where id=5) where id=3\n\nstandard. Any hope of supporting this in Postgres?\n\n-Edwin S. Ramirez-\n", "msg_date": "16 Jan 2004 12:06:09 -0800", "msg_from": "ramirez@idconcepts.org (Ed...
[ { "msg_contents": "Would it be doable, and would it be useful, to try to alternate the\ndirections of table and index scans every time each table/index was\nfully scanned?\n\nI was thinking that it could help cache performance at various levels\nin cases where data at the end of a large table, say, that remaine...
[ { "msg_contents": "When replication is implemented, what is going to happen with database\nsystems that rely heavily on sequences for primary keys?\n\nFor example, consider this simple table:\n\n\nCREATE SEQUENCE \"IntervalType_IntervalTypeID_seq\" start 1 increment 1\nmaxvalue 2147483647 minvalue 1 cache 1 ;\...
[ { "msg_contents": "\nThe following bug has been logged online:\n\nBug reference: 1053\nLogged by: Jari \n\nEmail address: jari.aalto@poboxes.com\n\nPostgreSQL version: 7.4\n\nOperating system: W2k/Cygwin\n\nDescription: Configuration should be in /etc/postgres\n\nDetails: \n\nIt woul...
[ { "msg_contents": "I'm having a problem with pg_autovacuum against both 7.3.2 and 7.4.1 on\nRedhat 9 and Fedora Core 1. I'm using pg_autovacuum from 7.4.1,\neverything comes from the postgresql.org RPMs.\n\nIf the number of tuples is sufficiently high, pg reports 'reltuples'\nback in TABLE_STATS_QUERY in scient...
[ { "msg_contents": "I've created a stub AM that literally does nothing. It indexes \nnothing. It scans for nothing. Nadda. It does just enough work to \nspecify return values that prevent PG from dumping core.\n\nWhat I've found is that this stub AM, compiled with the same options as \npostgres itself (-O2 -...
[ { "msg_contents": "When ./configure is run outside the source directory\n(to keep the build files separate from the source files),\nmake fails for the jdbc target because ant is not informed\nof the configure/build directory location.\n\nThis patch fixes this, but could you please review it\nfor portability, et...
[ { "msg_contents": "Hi all,\n\n From the OLE DB manual:\n\n> The consumer can also get information about the columns of the rowset \n> by calling IColumnsInfo::GetColumnInfo, which all providers must \n> support, or IColumnsRowset::GetColumnsRowset, which providers may \n> support, on the command.\n>\n> Before c...
[ { "msg_contents": "\nFellow hackers,\n\nBack in August I submitted a patch that essentially did 2 things:\n\n. explicitly logged the end of a client connection, including the \nconnection's elapsed time, enabled by a config variable called \n\"log_session_end\", and\n. provided for tagging all of a sessions log...
[ { "msg_contents": "I am looking at the possibility of cleaning up the binary tree on the ftp \nsite, and was wondering what the group thought about purging old binaries. \nWhat I was thinking would be to remove all but the last minor release of each \nmajor version. Thus, I would remove 7.4, but leave 7.4.1. ...
[ { "msg_contents": "\nJust had a client point this out to me, and am wondering if its supposed\nto happen:\n\n420_test=> select\ndropgeometrycolumn('420_test','lroadline61','roads61_geom');\nERROR: permission denied for relation pg_attribute\nCONTEXT: PL/pgSQL function \"dropgeometrycolumn\" line 19 at execute...
[ { "msg_contents": "I'm using SPI_prepare to do some dynamic SQL stuff in the backend. Some\nerrors result in a call to the elog routines with ERROR level, which in turn\ncauses log printout and a longjmp. Since I want to trap those errors and try\nan alternative I tried the following:\n\n sigjmp_buf saveRest...
[ { "msg_contents": "People,\n\n> I don't have the time to make enough different attempts to find the one \n> that pleases all. My argument still is that all this IO throttling and \n> IO optimizing is mainly needed for dedicated servers, because I think \n> that if you still run multiple services on one box you'...
[ { "msg_contents": "Hi guys,\n\nWhen writing a PL/pgSQL trigger function how do you handle the case :\n\nEXECUTE ''UPDATE test_table SET test_col '' || \nquote_literal(NEW.test_col2) || '';'';\n\nwhere test_col and test_col2 are boolean fields?\n\nThe case above gives :\nERROR: function quote_literal(boolean) d...
[ { "msg_contents": "hello,\n\ni would like to begin work on the TODO item\n Allow backend to output result sets in XML\n\ni would like to know if anyone has already\nbegun work on this item. if someone has\nalready started work, i would love to help! \n\nthanks much in advance,\n\nb\n\n\n_______________________...
[ { "msg_contents": " \n\n> -----Original Message-----\n> From: Peter Eisentraut [mailto:peter_e@gmx.net] \n> Sent: 20 January 2004 00:21\n> To: Lamar Owen; pgsql-hackers@postgresql.org\n> Subject: Re: [HACKERS] Old binary packages.\n> \n> Lamar Owen wrote:\n> > I am looking at the possibility of cleaning up the ...
[ { "msg_contents": "Hi\n\nAs far as I can tell, the pull_up_IN_clauses does not optimize \nrecursively. Am I totally misguided here?\n\nIndex: plan/subselect.c\n===================================================================\nRCS file: \n/projects/cvsroot/pgsql-server/src/backend/optimizer/plan/subselect.c,v...
[ { "msg_contents": "Hey all,\n\nI hope this isn't off-topic or inapropriate to this list ...\n\nI'm not familiar with the PostgreSQL patch-submittal/development cycle.\nI recently submitted a patch regarding \\copy syntax in psql, and I'd\nlike to keep an eye on it to see that it gets comitted, or respond if\nth...
[ { "msg_contents": "I'm running Postgres v.7.3.4 on Solaris.\n\nHere's a bare-bone version of the query that runs unreasonably slow:\nSELECT count (*) from note_links_aux WHERE nt_note_name='KnowledgeBase';\n\nQuery Plan shows that db runs through the entire table:\n Aggregate (cost=1983.58..1983.58 rows=1 widt...
[ { "msg_contents": "This is what we did:\n\n0. BEGIN;\n\n1. ALTER TABLE ... SET WITHOUT OIDS\n\n2. A bunch of things are selected out of this table and inserted into \nanother (using INSERT ... SELECT)\n\n3. An index is created on a timestamp field on this table\n\n4. Then there's an update on a related table, t...
[ { "msg_contents": "Greg Stark wrote:\n> Personally I don't see any point in xml, but if there was a standard\nquery\n> protocol then a client could send queries to any database that\nsupported\n> it\n> without using any libraries. That might be useful. Of course you could\ndo\n> that\n> without xml, but people ...
[ { "msg_contents": "Please forgive me if this is silly, but if you wanted XML from the server,\ncouldn't you just write a PL/Perl untrusted function that takes a SELECT\nstatement as its parameter, and returns a single scalar containing the XML?\n- The XML:: modules in Perl help with the XML formatting\n- DBD::P...
[ { "msg_contents": "\nwe lost a mail relay, so teseting to make sure configuration is still\nworking after replacing it with other local machines we have more contrl\nover ...\n\n ----\nMarc G. Fournier Hub.Org Networking Services (http://www.hub.org)\nEmail: scrappy@hub.org Yahoo!: yscrappy ...
[ { "msg_contents": "Peter Eisentraut wrote:\n> I think \"output XML\" is just buzz. Give us a real use scenario and an\n> indication that a majority also has that use scenario (vs. the other\n> ones listed above), then we can talk.\n\nConsider:\n\ncreate table person (name varchar primary key, age int);\ncreate...
[ { "msg_contents": "Tom Lane wrote:\n\n>>In a nutshell:\n>>\n>>CREATE TEMPORARY TABLE foo AS\n>>SELECT DISTINCT ON (x, y, z) *\n>>FROM bar;\n>>\n>>crashes the backend and screws up data pages associated with the catalog under\n>>7.4.1.\n>> \n>>\n>\n>Works for me ...\n> \n>\n...\n\n>Perhaps providing a specif...
[ { "msg_contents": "The GEQO planner module contains six different recombination algorithms,\nonly one of which is actually used --- the others are ifdef'd out, and\nhave been ever since we got the code. Does anyone see a reason not to\nprune the deadwood?\n\n\t\t\tregards, tom lane\n", "msg_date": "Wed, 21...