threads
listlengths
1
2.99k
[ { "msg_contents": "Trying to compile current sources using:\n\n./configure --prefix=/home/ler/pg-test --enable-syslog \\\n\t--with-CXX --with-perl --enable-multibyte --enable-cassert \\\n\t--with-openssl --with-tcl \\\n\t--with-tclconfig=/usr/local/lib/tcl8.3 \\\n\t--with-tkconfig=/usr/local/lib/tk8.3\n\t\nI g...
[ { "msg_contents": "I looked over the last discussion of selecting IPC keys for shared memory\nand semaphores (pghackers thread \"shmem_seq may be a bad idea\" starting\n4/30/00). There were some good ideas there, but the discussion still\nassumed that there would be only one postmaster running on a given port\...
[ { "msg_contents": "When locale is enabled, we have always had a problem using an index\nwith:\n\n\tcol LIKE 'abc%'\n\nWe need to make this:\n\n\tcol LIKE 'abc%' AND\n\tcol >= \"abc\" AND\n\tcol < \"abd\"\n\nbut when locale is enabled, we can't be sure what letter is greater than\n'c' in this case.\n\nWhy don't...
[ { "msg_contents": "following is only program fragment, original program structure is from sample\nnamed Duwamish in ms vs.net 2002.\n\n/////////////////////////////////\nprivate const String ID_PARM\t= \"@id\"; \nprivate const String NAME_PARM\t= \"@name\"; \n\npublic UserData GetUserById(int id)\n{\n\tif ( dat...
[ { "msg_contents": ">We have to assign PGSEMMAGIC small enough to ensure that it won't fall\n>foul of SEMVMX, but that probably isn't a big problem. A more serious\n>potential portability issue is that some implementations might not\n>support the semctl(GETPID) operation (ie, get PID of last process that\n>did ...
[ { "msg_contents": "\n I've a problem with initdb on beos with the current tree. (The last one \nrunning clean is one month old).\n\n when I run initdb, I get the following : \n\n$ initdb -d -n\nRunning with debug mode on.\nRunning with noclean mode on. Mistakes will not be cleaned up.\n\nInitdb variables:...
[ { "msg_contents": "[Cced to hackers list]\n\nJan, \n\nI have checked in the fixes you suggested. Thanks for the advice.\n--\nTatsuo Ishii\n\n> > I tried this new feature in PostgreSQL. I found one bug.\n> > Script UCS_to_8859.pl skips input lines which\n> > 1. code <0x80 or\n> > 2. ucs <0x100\n> > \n> > I think...
[ { "msg_contents": "Hi,\n\nRemember also that the GiST library has been integrated into PG, (my brother\nis doing some thesis workon that at the moment), and you can create new\nindex types relatively quickly (assuming that you understand the indexing\ntheory ;-) using this mechanism. Run a web search on GiST f...
[ { "msg_contents": "It seems that your code is exactly what I want.\n\nI have already created geographical objects which contains MBR(Minimum\nBounding Rectangle) in their structure, so it is a question of rewriting\nyour code to change the access to the cube structure to the MBR structure\ninside my geoobject. ...
[ { "msg_contents": "In terms of making constraints more declarative, I think it would be neat to\nadd an extra field to pg_relcheck that is a foreign key (or null) into the\npg_attribute table.\n\nThat way, it would be possible to recover column CHECK constraints. If the\nfield is NULL, you'd assume it was a ta...
[ { "msg_contents": "I'm wondering about the intent of this snippet in xlog.c:\n\n fd = BasicOpenFile(tpath, O_RDWR | O_CREAT | O_EXCL | PG_BINARY, S_IRUSR | S_IWUSR);\n if (fd < 0)\n elog(STOP, \"InitCreate(logfile %u seg %u) failed: %m\",\n logId, logSeg);\n\n if (lseek(fd, XLogSegSi...
[ { "msg_contents": "\n> > At 17:16 19/11/00 -0500, Tom Lane wrote:\n> >> \n> http://www.postgresql.org/cgi/cvsweb.cgi/pgsql/src/backend/utils/fmgr/README\n> \n\nYes, this is now an imho very much improved way to go :-)\n\nI would probably have used the \"parameter style\" extension to create function,\nbut that ...
[ { "msg_contents": "To be honest, Tom, I've always seen GiST not just as a great feature, but as\nan essential feature. Using Stonebraker's definition of an\nobject-relational database (which I tend to do, as it's the only one that\nI've read about in depth), we really need to be able to properly index\ncomplex...
[ { "msg_contents": "Hi everybody,\n\n\nthere must be a nice way of getting the size of my database (in mB,\npreferably), but I couldn't find it in the documentation that I searched\nthrough briefly.\n\nThe reason why I wanna do this is because the server might get full quickly\nand to make sure it doensn't happe...
[ { "msg_contents": "Sorry if I'm posting to the wrong list, but I don't know which list is \nappropriate for this question.\n\nI've a question concerning compatibilty Postgres <-> Oracle. In Oracle, empty \nstrings and null are basicly the same, but it does not seem to be under \nPostgres, making migration a pai...
[ { "msg_contents": "> > Thomas Lockhart would be the authority on this, but my impression is\n> > that tinterval is deprecated and will eventually go away in favor of\n> > the SQL-standard interval type. If you've found functions that exist\n> > for tinterval and not for interval, then that's an item for the TO...
[ { "msg_contents": "Hi:\n\nI posted this in pgsql-general last week, but I got no answer. Maybe I\nhave better luck this time?\n\nTIA.\n\n-- \nAlvaro Herrera (<alvherre[@]protecne.cl>)\n\n---------- Forwarded message ----------\nDate: Tue, 21 Nov 2000 17:26:54 -0300 (CLST)\nFrom: Alvaro Herrera <alvherre@protecn...
[ { "msg_contents": "\n\n Unfortunatly, there is no hard link on beos :=(. link and unlink are \nthere, but link always return \"No such file or directory\".\n\n BTW, What the code in XLogFileInit is supposed to do ? Why not create the \nfile with the right name in the first step ?\n\n I have tried to cr...
[ { "msg_contents": "Hi all,\n\nI heard there is a patch which can assign encoding other the database\ndefault. Can anyone tell me where to get it, or where can I get more\ninformation.\n\nThanks\nDave\n", "msg_date": "Tue, 28 Nov 2000 04:47:00 +0800", "msg_from": "Dave <fubjj@flashmail.com>", "msg_f...
[ { "msg_contents": "\nJust noticed this:\n\npjw=# create table pk1(f1 integer, constraint zzz primary key(f1));\nNOTICE: CREATE TABLE/PRIMARY KEY will create implicit index 'zzz' for\ntable 'pk1'\nCREATE\npjw=# create table zzz(f1 integer);\nERROR: Relation 'zzz' already exists\n\nIs there a good reason why th...
[ { "msg_contents": "This is just a curiosity.\n\nWhy is the default postgres block size 8192? These days, with caching\nfile systems, high speed DMA disks, hundreds of megabytes of RAM, maybe\neven gigabytes. Surely, 8K is inefficient.\n\nHas anyone done any tests to see if a default 32K block would provide a\nb...
[ { "msg_contents": "proc.c has the following code --- unchanged since Postgres95 ---\nin HandleDeadlock():\n\n /* ---------------------\n * Check to see if we've been awoken by anyone in the interim.\n *\n * If we have we can return and resume our transaction -- happy day.\n * Before we are aw...
[ { "msg_contents": "Would you please consider bringing the contributed package into the\nofficial distribution. \n\nI found that trying to compile it with the RedHat RPM based installation\nwas a monumental pain. I gave up.\n\nIts useful, people ask about it on the list, so why not?\n\nFor comparison, checkout w...
[ { "msg_contents": ">\n> Maybe asking 'Why isn't the contrib full-text-indexer not in the main\n> tree?' would be more productive on that front.\n\nWell, yes. Why isn't it?\n\nFull text indexing should be just as much a feature as any other key feature in\nPG.\nWith the advent of unlimited file and record length...
[ { "msg_contents": "Hello all,\n\nI am new to postgreSQL. When I read the documents, I find out the Postmaster\ndaemon actual spawns a new backend server process to serve a new client\nrequest. Why not use threads instead? Is that just for a historical reason,\nor some performance/implementation concern?\n\nThan...
[ { "msg_contents": "Hi,\n\nDoes anyone have a snippet of postgres SQL that will create a database with\n_everything_ that postgres supports? (ie. types, functions, constraints,\noperators, everything...)\n\nI just need it for testing SQL dump code.\n\nIf not, then I'll create one myself and post it back here.\n...
[ { "msg_contents": "I have Red Hat Linux 6.2 , PostgreSQL 7.0.2.\nCould anybody help me to configure ident daemon using the file\npg_ident.conf\n\n\n\nThanks in advance,\n\nanuradha\n\n\n", "msg_date": "Tue, 28 Nov 2000 13:51:20 +0530", "msg_from": "anuradha <anuradha@phil.com.sg>", "msg_from_op": ...
[ { "msg_contents": "Hi,\n\n how long is PG7.1 already in beta testing? can it be released before Christmas day?\n can PG7.1 will recover database from system crash?\n \n Thanks,\n \n XuYifeng\n \n \n", "msg_date": "Tue, 28 Nov 2000 16:36:29 +0800", "msg_from": "\"xuyifeng\" <bsddiy@163.net>", ...
[ { "msg_contents": "It's been committed into the cvs repository. The easiest thing to do is to\nuse CVS. I can't remember if it was posted direct to me, or to the patches\nlist.\n\nPeter\n\n-- \nPeter Mount\nEnterprise Support Officer, Maidstone Borough Council\nEmail: petermount@maidstone.gov.uk\nWWW: http://ww...
[ { "msg_contents": "\n-----Original Message-----\n发件人: xuyifeng <jamexu@telekbird.com.cn>\n收件人: pgsql-hackers@postgresql.org <pgsql-hackers@postgresql.org>\n日期: 2000年11月28日 16:22\n主题: [HACKERS] beta testing version\n\n\n>Hi,\n>\n> how long is PG7.1 already in beta testing? can it be released before\nChristmas ...
[ { "msg_contents": "I'm using cvs-current, and testing those build-in function\naccording to the docs. \nbut it seems the \"lpad\", \"rpad\" don't work,\nwhen I type:\nselect lpad('laser', 4, 'a');\nin psql, the result is still \n'laser', the same with 'rpad',\nIs it a bug or I'm mis-understaning the lpad and/or...
[ { "msg_contents": "\n> I don't believe it's a performance issue, I believe it's that \n> writes to\n> blocks greater than 8k cannot be guaranteed 'atomic' by the operating\n> system. Hence, 32k blocks would break the transactions system. (Or\n> something like that - am I correct?)\n\nFirst, 8k are not atomic ...
[ { "msg_contents": "\n> 8k is the standard Unix file system disk transfer size.\n\nAre you sure ? I thought it was 4k on AIX and 2k on Sun.\n\nAndreas\n", "msg_date": "Tue, 28 Nov 2000 10:51:28 +0100", "msg_from": "Zeugswetter Andreas SB <ZeugswetterA@wien.spardat.at>", "msg_from_op": true, "msg_...
[ { "msg_contents": "> > b) Check out MSSQL 7's capabilities and weep.\n> \n> BTW, have you studied MSSQL enough to tell me if it has a\n> separate/standalone \n> (as a process) fti engine or just another index type.\nIt is standalone - separate process, data is stored in separate files (not\nin db).\n\nIn SQL S...
[ { "msg_contents": "The pg_options.sample that is included in 7.0.x cannot actually be used\nbecause of bugs in the routine that reads it. First, it reads only 4095\nbytes and second it does not cope with white space within lines. The\nattached patch cures the problem.\n\nIt seems to be relevant only to 7.0.x b...
[ { "msg_contents": "\n> > pjw=# create table pk1(f1 integer, constraint zzz primary key(f1));\n> > NOTICE: CREATE TABLE/PRIMARY KEY will create implicit \n> index 'zzz' for\n> > table 'pk1'\n> > CREATE\n> > pjw=# create table zzz(f1 integer);\n> > ERROR: Relation 'zzz' already exists\n> \n> > Is there a good r...
[ { "msg_contents": "\n> > ... it seems the \"lpad\", \"rpad\" don't work,\n> > when I type:\n> > select lpad('laser', 4, 'a');\n> > in psql, the result is still\n> > 'laser', the same with 'rpad',\n> > Is it a bug or I'm mis-understaning the lpad and/or rpad functions?\n> \n> A simple misunderstanding. The lengt...
[ { "msg_contents": "At 10:52 AM 11/28/00 +0100, Magnus Hagander wrote:\n>> > b) Check out MSSQL 7's capabilities and weep.\n>> \n>> BTW, have you studied MSSQL enough to tell me if it has a\n>> separate/standalone \n>> (as a process) fti engine or just another index type.\n>It is standalone - separate process, ...
[ { "msg_contents": "\n> lpad and rpad never truncate, they only pad.\n> \n> Perhaps they *should* truncate if the specified length is less than\n> the original string length. Does Oracle do that?\n\nYes, it truncates, same as Informix.\n\nAndreas\n", "msg_date": "Tue, 28 Nov 2000 16:30:49 +0100", "msg_f...
[ { "msg_contents": "\nBrowsing through backend/commands/command.c I noticed the following code:\n\n if (indexStruct->indisunique)\n {\n List *attrl;\n\n /* go through the fkconstraint->pk_attrs list */\n foreach(attrl, fkconstraint->pk_attrs)\n {\n Ident *attr=l...
[ { "msg_contents": "\n> > This is a summary of replies.\n> > \n> > 1. Calculated fields in table definitions . eg.\n> > \n> > Create table test (\n> > A Integer,\n> > B integer,\n> > the_sum As (A+B),\n> > );\n> > \n> > This functionality can be achieved through the u...
[ { "msg_contents": "> I guess it depends on what you're using it for -- disk space \n> is cheap and\n> abundant anymore, I can see some advantages of having it \n> computed only once\n> rather than X times, where X is the number of SELECTs as that \n> could get\n> costly on really high traffic servers.. Costly n...
[ { "msg_contents": "\n> > So, having _both_ is the best thing.\n> \n> Absolutely, that's always what I meant -- we already have views and views\n> can do this type of stuff at SELECT time can't they? So it's not a change,\n> just an addition....\n\nAnd the precalculated and stored on disk thing can be done with ...
[ { "msg_contents": "\nTom Samplonius wrote:\n\n> On Tue, 28 Nov 2000, mlw wrote:\n>\n> > Tom Samplonius wrote:\n> > >\n> > > On Mon, 27 Nov 2000, mlw wrote:\n> > >\n> > > > This is just a curiosity.\n> > > >\n> > > > Why is the default postgres block size 8192? These days, with caching\n> > > > file systems, hig...
[ { "msg_contents": "While testing interlocking of multiple postmasters, I discovered that\nthe HAVE_FCNTL_SETLK interlock code we have in StreamServerPort()\ndoes not work at all on HPUX 10.20. This platform has F_SETLK according\nto configure, but:\n\n1. The lock is never applied to a socket, because the open(...
[ { "msg_contents": "The last batch of commits break on FreeBSD 4.2-STABLE. \n$ uname -a\nFreeBSD lerbsd.lerctr.org 4.2-STABLE FreeBSD 4.2-STABLE #90: Tue Nov\n28 04:07:50 CST 2000\nler@lerbsd.lerctr.org:/usr/src/sys/compile/LERBSD i386\n$ \n\nConfigure:\n\n./configure --prefix=/home/ler/pg-test --enable-syslog...
[ { "msg_contents": "Hi,\n I have two questions\n\n1. Is it possible to set up a set of redundant disks for a database? one\n\nof them being remote from\n the database?\n\n\n2. If I want to use my i/o routines for disk i/o, is it possible?\n does postgres support such APIs?\n\n\n\n\nthanks,\nSandeep\n\n\...
[ { "msg_contents": "\n> BTW, it also seems like a good idea to reorder the postmaster's\n> startup operations so that the data-directory lockfile is checked\n> before trying to acquire the port lockfile, instead of after. That\n> way, in the common scenario where you're trying to start a second\n> postmaster in...
[ { "msg_contents": "\n> NO, I just tested how solid PgSQL is, I run a program busy inserting record into PG table, when I \n> suddenly pulled out power from my machine and restarted PG, I can not insert any record into database\n> table, all backends are dead without any respone (not core dump), note that I...
[ { "msg_contents": "Why is a \"select * from table1 where field in (select field from table2\nwhere condition )\"\n\nis so dramatically bad compared to:\n\n\"select * from table1, table2 where table1.field = table2.field and\ncondition\"\n\nI can't understand why the first query isn't optimized better than the\n...
[ { "msg_contents": "Am I misunderstanding how to use rule w/conditionals, or is there a \nbug in this?\n\n--\n\nI love to use Pgsql comments, but find the 'comment on field...' \nlanguage a bit of a pain for documenting a large database at the \nlast minute. So, I wrote a query that pulls together all the fields...
[ { "msg_contents": "> Would it be OK now to eliminate the separate xlog_bufmgr.c and\n> xlog_localbuf.c files, folding that code back into bufmgr.c and\n> localbuf.c? It's a real pain to have to make parallel updates\n> in two copies of that code...\n\nYes, it's OK now. I'll remove #ifdef XLOG in other files so...
[ { "msg_contents": "is done. Initdb is required, sorry.\n\nBTW, why SETVAL is called in pg_dump output instead of\nif (called) NEXTVAL? SETVAL is disallowed for sequences\nwith cache_value > 1 - ie we can't dump such sequences now.\n\nVadim\n", "msg_date": "Wed, 29 Nov 2000 17:39:35 -0800", "msg_from": "...
[ { "msg_contents": "Would it be OK now to eliminate the separate xlog_bufmgr.c and\nxlog_localbuf.c files, folding that code back into bufmgr.c and\nlocalbuf.c? It's a real pain to have to make parallel updates\nin two copies of that code...\n\n\t\t\tregards, tom lane\n", "msg_date": "Wed, 29 Nov 2000 20:43...
[ { "msg_contents": "> > Yes, it's OK now. I'll remove #ifdef XLOG in other files soon.\n> \n> OK. Shall I do it, or do you want to?\n\nIf you have nothing to change in bufmgr now then I'll\ndo it myself today/tomorrow.\n\nVadim\n", "msg_date": "Wed, 29 Nov 2000 18:00:00 -0800", "msg_from": "\"Mikheev, V...
[ { "msg_contents": "At 17:39 29/11/00 -0800, Mikheev, Vadim wrote:\n>is done. Initdb is required, sorry.\n>\n>BTW, why SETVAL is called in pg_dump output instead of\n>if (called) NEXTVAL? SETVAL is disallowed for sequences\n>with cache_value > 1 - ie we can't dump such sequences now.\n\nCan someone explain this ...
[ { "msg_contents": "Dear Sir,\nthanks for the reply.\nI tried select now()\nbut it gives the following error\nsyntax error near unexpected token `select.\n\nTo be specific about my problem, I want to compare one max date with the\ncurrent date in my Java servlet\nSince nested queries are ...
[ { "msg_contents": "When Postgres is fast, it is really fast. I love it. My biggest problem\nis when/how it chooses best path, it seems to me that relatively few\nrecords with a high duplication destroy performance. I can't stress\nenough that this is a serious problem in the real world.\n\nTake these two querie...
[ { "msg_contents": "thanks for the infor commented out define complex macro poof compiles :)\ninitdb works :)\ncreateuser, createdb fail :( no entry in pg_hba.conf, have looked at it\nlooks like the standard default one on my linux box has entries for\nlocal and for host 127.0.0.1\ni would search the archives bu...
[ { "msg_contents": "eject\n\n\n\n--MIME Multi-part separator--\n\n", "msg_date": "Fri, 1 Dec 2000 09:10:00 +0900 (KST)", "msg_from": "������������ <musicon@nownuri.net>", "msg_from_op": true, "msg_subject": "eject " } ]
[ { "msg_contents": "Thomas Lockhart <lockhart@alumni.caltech.edu> writes:\n> Tom, can you refresh my memory on the preferred way to define\n> \"commutative operators\" for operators with mixed input types? For\n> example, I want to define a new operator to add an interval to a time.\n> Do I need to fully impleme...
[ { "msg_contents": "\n> > > No, WAL does help, cause you can then pull in your last dump and recover\n> > > up to the moment that power cable was pulled out of the wall ...\n> > \n> > False, on so many counts I can't list them all.\n> \n> would love to hear them ... I'm always opening to having my\n> misundersta...
[ { "msg_contents": "\n> If the system were capable of determining that either rule1 or rule2\n> condition will always hold, perhaps it could deduce that the original\n> query on the view will never be applied. However, I doubt that we\n> really want to let loose an automated theorem prover on the results\n> of ...
[ { "msg_contents": "Hello,\n\nPlease , excuse me for my bad english.\n\nOne question on bitmaps index. In them Commercial data bases (oracle DB2),\nLet bitmap type index is supported.This index is used for fields of type sex or Boolean generally, would be it(he)\nsupported in postgres??? If not is foreseen it???...
[ { "msg_contents": "> Ok, this has peaked my interest in learning exactly what WAL \n> is and what it does... I don't see any in-depth explanation\n> of WAL on the postgresql.org site, can someone point me to\n> some documentation? (if any exists, that is).\n\nWAL (Write Ahead Log) is standard technique describe...
[ { "msg_contents": "I've just noticed that COPY BINARY is pretty thoroughly broken by TOAST,\nbecause what it does is to dump out verbatim the bytes making up each\ntuple of the relation. In the case of a moved-off value, you'll get\nthe toast reference, which is not going to be too helpful for reloading\nthe t...
[ { "msg_contents": "> The existing COPY BINARY file format is entirely brain-dead \n> anyway; for example, it wants the number of tuples to be stored\n> at the front, which means we have to scan the whole relation an\n> extra time to get that info. Its handling of nulls is bizarre, too.\n> I'm thinking this migh...
[ { "msg_contents": "> Alfred Perlstein <bright@wintelcom.net> writes:\n> > I would rip it out.\n> \n> I thought about that too, but was afraid to suggest it ;-)\n> \n> How many people are actually using COPY BINARY?\n\nIt could be useful if only single scan would be required.\nBut I have no strong opinion about ...
[ { "msg_contents": "I am curious as to where the newest ODBC driver source is -- I retrieved\n/src/interfaces/odbc from CVS, but it appeared to only be version\n6.40.0009 and was lacking the Visual C++ workspace/project files that\nwere in the 6.50.0000 release zip file on the FTP server. \n\nThanks\n\nMichael ...
[ { "msg_contents": "\nI am working on an implementation of 'ALTER FUNCTION' and have run into a \nproblem.\n\nplpgsql. plperl and pltcl all cache the result of a compile of prosrc.\nWhich leads to things like:\n\nmhh=# create function f() returns integer as 'begin return 42; end;' language \n'plpgsql';\nCREATE\n...
[ { "msg_contents": "(apologies for posting directly to pgsql-hackers, but I'm asking for a\nhacker to explicitly check on the accuracy of another posting!)\n\nI've written (& submitted to pgsql-docs) a tutorial on using RI features\nand on alter the system catalog to change RI properties for existing\nrelationsh...
[ { "msg_contents": "I am trying to set the update and delete rules that are returned from the\nODBC driver and the spec has the following to say:\n\nSQL_NO_ACTION: If a delete of a row in the referenced table would cause a\n\"dangling reference\" in the referencing table (that is, rows in the\nreferencing table ...
[ { "msg_contents": "\nAn obscure series of events seems to cause a core dump and OID\ncorruption:\n\n-- tolower function for varchar\ncreate function varchar_lower(varchar) returns varchar\n as '/usr/local/lib/pgcontains.so', 'pglower'\n language 'c'; \n\ncreate index ztables_title_ndx on ztitles ...
[ { "msg_contents": "Hi\n\nI'm compiling (not, I'm trying to compile) last version of Postgresql on\nSequent Dynix/ptx ver 4.4.7 system. Under compilation process with gcc (ver\n2.7.2 ported on dynix/pt) is reporting several errors.\n\nIf someone is ready to help me with this process please send me answer.\n\nRad...
[ { "msg_contents": "I've applied Neale Ferguson's patches for S/390 support, and some fairly\nextensive patches to repair and improve support for the OVERLAPS\noperator. I've increased coverage of this in the regression tests,\nincluding horology, so those platforms which have variants on these test\nresults wil...
[ { "msg_contents": "Peter Eisentraut wrote:\n> \n> mlw writes:\n> \n> > There are hundreds (thousands?) of people that have contributed to the\n> > development of Postgres, either directly with code, or beta testing,\n> > with the assumption that they are benefiting a community. Many would\n> > probably not have...
[ { "msg_contents": "(I posted this yesterday, but it never appeared. Apologies if it's a \nduplicate to you.)\n\nI've written (& submitted to pgsql-docs) a tutorial on using RI \nfeatures\nand on alter the system catalog to change RI properties for existing\nrelationships.\n\nI needs polishing, etc., but, mostly...
[ { "msg_contents": "Hi,\n\non other RDBMS (Oracle,etc...),there is an index called bitmap index that\ngreatly improve performance compared to btree index for boolean value\n(such as for a sex value,it's either M or F),i would like to know if such\nindex will be implemented inside PostgreSQL.\n", "msg_date": ...
[ { "msg_contents": "i have wrote an application dealing with ean13 and ean8 type,how can i\nsubmit it ??\n\n\n", "msg_date": "Mon, 4 Dec 2000 09:09:55 +0100 (CET)", "msg_from": "<pejac@altern.org>", "msg_from_op": true, "msg_subject": "EAN13 for postgresql" }, { "msg_contents": "On Mon, D...
[ { "msg_contents": "\n> Today I inserted (unsigned char) casts into all the <ctype.h> function\n> calls I could find. This issue should be fixed as of current cvs.\n> Please try it again when you have time.\n\nI am a sceptic to the many casts. Would'nt the clean solution be, to use\nunsigned char througout the ...
[ { "msg_contents": "Hello all,\n\nI am new to postgreSQL.\nWhen I perform an action on a psql database (e.g. insert into a table),\nsome more action could be induced, via trigger firing:\n - is it possible to know at any time the exact action chain?\n - is it possible to know at any time if the control is insi...
[ { "msg_contents": "Hi,\n\n I'm about 99.666667% sure that the lock type choosen in the\n FOR UPDATE case (line 511 of parse_relation.c) should be\n RowExclusiveLock instead of RowShareLock. Actually I get\n \"Deadlock risk\" debug messages when selecting FOR UPDATE and\n then really ...
[ { "msg_contents": "Judging by the information below, taken *directly* from PostgreSQL, Inc.\nwebsite, it appears that they will be releasing all code into the main\nsource code branch -- with the exception of \"Advanced Replication and\nDistributed Information capabilities\" (to which capabilities they are\nref...
[ { "msg_contents": "\ni have wrote an application dealing with ean13 and ean8 type,how can i\nsubmit it ??\n", "msg_date": "Mon, 4 Dec 2000 16:26:39 +0100 (CET)", "msg_from": "<pejac@altern.org>", "msg_from_op": true, "msg_subject": "Add-on" } ]
[ { "msg_contents": "Hi,\n\non other RDBMS (Oracle,etc...),there is an index called bitmap index that\ngreatly improve performance compared to btree index for boolean value\n(such as for a sex value,it's either M or F),i would like to know if such\nindex will be implemented inside PostgreSQL.\n\nBest regards,\n\n...
[ { "msg_contents": "Ean13 and ean8 are bar codes for european.\n\nYou can convert an ISBN or iSSN to Ean13.\nMy addon add a new type and can convert isbn to an EAN\nand calculate th key of ean. More over in few day\nadd on can store the png or jpg images of bar codes\nin blob type or \nTODO: add upc-A upc-E ean1...
[ { "msg_contents": "posting for others who may need, hopfuly the searchable mail list works\nin the future\n\ncommenting out the define complex macro allowed me to compile on sco\n5.0.5 using udk compiler on sco, without the c++ stuff. but scos udk\nsolution breaks almost every thing else i compile on sco 5.0.5 ...
[ { "msg_contents": "\n> > I am a sceptic to the many casts. Would'nt the clean \n> solution be, to use\n> > unsigned char througout the code ?\n> \n> No; see the prior discussion.\n> \n> > The casts only help to avoid compiler\n> > warnings or errors. They do not solve the underlying problem.\n> \n> You are mist...
[ { "msg_contents": "> I'm about 99.666667% sure that the lock type choosen in the\n> FOR UPDATE case (line 511 of parse_relation.c) should be\n> RowExclusiveLock instead of RowShareLock. Actually I get\n> \"Deadlock risk\" debug messages when selecting FOR UPDATE and\n> then real...
[ { "msg_contents": "> I browsed through the CVS logs and made this list of the important\n> stuff. There's a ton of less important stuff...\n\nShall we consider this the start of the list then? I think there may be\na couple of things already mentioned in the release note stubs for 7.1\ntoo.\n\n ...
[ { "msg_contents": "Hi. Could any kind soul tell me what's amiss here. I'm trying\nto build pg7.0.3 on a friend's box - over the net.\nKind of like driving from the backseat. ;-)\n\nMy src builds but the linker barfs with:\n\nmake[2]: Leaving directory `/usr/local/postgresql-7.0.3/src/backend/utils'\ngcc -I.....
[ { "msg_contents": "Hi everyone,\n\nI've recently encountered a bizzare problem that manifests itself reliably\non my running copy of postgres. I have a system set up to track IPs. The \narrangement uses two mutually-exclusive buckets, one for free IPs and\nthe other for used ones. There are rules set up on the ...
[ { "msg_contents": "\t*snip*\n> > \n> > Once all the questions regarding \"why not\" have been answered, it would\n> > be good to also ask \"why use threads?\" Do they simplify the code? Do\n> > they offer significant performance or efficiency gains? What do they\n> > give, other than being buzzword compliant...
[ { "msg_contents": "There ya go, I figured it out :) Given the name a table, this query will\nreturn all foreign keys in that table, the table the primary key is in,\nthe name of the primary key, if the are deferrable, if the are initially\ndeffered, and the action to be performed (RESTRICT, SET NULL, etc.). T...
[ { "msg_contents": "\n> And using the following program for timing thread creation \n> and cleanup:\n> \n> #include <pthread.h>\n> \n> threadfn() { pthread_exit(0); }\n\nI think you would mainly need to test how the system behaves, if \nthe threads and processes actually do some work in parallel, like:\n\nthread...
[ { "msg_contents": "\n> Right. This is very much the guarantee that RAID (non-zero) makes, \n> except \"other than disk hardware failure\" is replaced by \"other than\n> the failure of two drives\". RAID gives you that (very, very \n> substantial\n> boost which is why it is so popular for DB servers). It does...
[ { "msg_contents": "Here's the query that, given the primary key table, lists all foreign\nkeys, their tables, the RI type, and defereability.\n\nMichael Fork - CCNA - MCP - A+\nNetwork Support - Toledo Internet Access - Toledo Ohio\n\nSELECT pg_trigger.tgargs,\npg_trigger.tgnargs,\npg_trigger.tgdeferrable,\npg_...
[ { "msg_contents": "I'm debugging some code here where I get problems related to\nspinlocks, anyhow, while running through the files I noticed\nthat the UNLOCK code seems sort of broken.\n\nWhat I mean is that on machines that have loosely ordered\nmemory models you can have problems because of data that's\nsupp...
[ { "msg_contents": "On FreeBSD 4.1.1 and above there's a sysctl tunable called\nkern.ipc.shm_use_phys, when set to 1 it's supposed to\nmake the kernel's handling of shared memory much more\neffecient at the expense or making the shm segment unpageable.\n\nI tried to use this option with 7.0.3 and FreeBSD 4.2 but...
[ { "msg_contents": "> As far as I know (and have tested in excess) Informix IDS \n> does survive any power loss without leaving the db in a\n> corrupted state. The basic technology is, that it only relys\n> on writes to one \"file\" (raw device in that case), the txlog,\n> which is directly written. All writes t...