threads
listlengths
1
2.99k
[ { "msg_contents": "When FreeBSD didn't have gethostbyname_r(), and gethostbyname() wasn't\nthread-safe, Marc asked around and found out that the threaded solution\nfor this is to use getaddrinfo(). This makes sense because\ngetaddrinfo() is described as:\n\n\tgetaddrinfo () function is defined for protocol-ind...
[ { "msg_contents": "I am heading to Mexico on Monday to speak to a Linux conference.\nI will return on Sunday afternoon, EDT.\n\nFYI, it looks like my trips are once every other month for the\nforeseeable future.\n\n-- \n Bruce Momjian | http://candle.pha.pa.us\n pgman@candle.pha.pa.us ...
[ { "msg_contents": "Hi,\n\nAre we going to address the fact that you can't enter 3 digit years without\na leading 0?\n\naustralia=# select '111-01-01'::date;\nERROR: Bad date external representation '111-01-01'\n\naustralia=# select '0111-01-01'::date;\n date\n------------\n 0111-01-01\n(1 row)\n\nI can't se...
[ { "msg_contents": "> I get the following errors \n> \n> \n> gmake -C ecpglib all\n> gmake[4]: Entering directory\n> `/usr/local/postgres/pgsql/src/interfaces/ecpg/ecpglib'\n> ../../../../src/backend/port/aix/mkldexport.sh libecpg.a > libecpg.exp\n> gcc -O2 -pipe -Wall -Wmissing-prototypes -Wmissing-declarations...
[ { "msg_contents": "Hi all,\n\nA user on IRC came across the following \"tuple concurrently updated\" error\nwhen using LISTEN/NOTIFY intensively. The user managed to isolate the\nproblem and SQL generating the problem. A few sessions are required to\ngenerate the error.\n\nT1:\n---\nbegin;\nlisten test;\ncommit...
[ { "msg_contents": "\nHeads up: it appears that the Linux stable kernel series is about to get a\nsane VM system from Andrea Arcangeli, which has proper page accounting and\ndoes not have an Out Of Memory killer at all.\n\nThis will probably take a while to make its way into vendor kernels, and\neven then we'll ...
[ { "msg_contents": "Hello:\n\nI'm testing the TLS support of my .net data provider for PostgreSQL 7.4 \n(on Cygwin using PostgreSQL 7.4 Beta 2), i have a question, i'm \nreceiving Application data messages with a length of 24 bytes than \ndecrypted are empty messages ( decrypted message length = 0 ), is this \nc...
[ { "msg_contents": "\nJust finished bundling it, so will give a few for the mirrors to pull it\nin, but it is now available for download if ppl want to confirm its okay\n...\n\nI also removed the beta1 bundles, but have left the beta2 ones in place\n...\n", "msg_date": "Mon, 15 Sep 2003 12:10:39 -0300 (ADT)"...
[ { "msg_contents": "as suggested by Andreas Pflug <pgadmin@pse-consulting.de>\ni send this to psql-hackers\n\n----- Forwarded message from Christian Ruediger Bahls <christian.bahls@stud.uni-rostock.de> -----\nDate: Mon, 15 Sep 2003 18:43:17 +0200\nSubject: Re: [BUGS] problem with libpq/encrypted\nTo: Tom Lane <t...
[ { "msg_contents": "We've seen several complaints now about pg_dump failing to restore\nschemas that were created by a superuser via a command like\n\tCREATE SCHEMA joe AUTHORIZATION joe\nThe pg_dump script tries to do\n\t\\c - joe\n\tCREATE SCHEMA joe\nwhich fails if joe doesn't have privileges to create a sche...
[ { "msg_contents": "\nI was following an example on a book, and when I compiled it, it\nfinishes with the error: 1075 Function Prototypes are an ANSI feature.\n\n\n\nWhat is this?.....\n\n\n\nI compile others programs and I haven�t got such problems.....\n\n\n\nPls rspnd asap.......\n\nRegards\n\n\n--\nPosted vi...
[ { "msg_contents": "I get the following compiler error messages when doing a make on current CVS:\ngcc -O2 -Wall -Wmissing-prototypes -Wmissing-declarations -fpic -I../../../../src/interfaces/ecpg/include -I../../../../src/include/utils -I../../../../src/include -g -c timestamp.c -o timestamp.o\ntimestamp.c: ...
[ { "msg_contents": "As suggested by Bruce Mojiman I'm working on \nsubstitute some strdup not checked with xstrdup.\n\nI seen that in the backend source tree there is no\nxstrdup ( there is one in bin/psql tree) , \nI wrote it and inserted temporarelly in \nbackend/utils/mmgr/aset.c\n\nI don't know exactly how w...
[ { "msg_contents": "We've spent much effort trying to solve the \"int8col = 42 doesn't use\nan index\" class of problems. AFAIR, all the recent tries have focused\non trying to get the parser to choose an index-compatible operator\ninitially. (In this example, that would mean promoting 42 to int8 so\nthat int8...
[ { "msg_contents": "I discover that the following declaration inside\na stored procedure with postgres7.3 was legal:\n\na_variable ALIAS FOR$1;\n\nnote the missing space after FOR\n\nnow is not working anymore with 7.4beta\nI don't know how much people will be affected,\nmay be is good wrote this in the migratio...
[ { "msg_contents": "Following tests were made in linux server running pg 7.4 beta 2.\n\nI have been playing with temporary tables a little bit and noticed some\ninteresting things. I'm not sure if this is a part of the standard\ncanon or not but I thought it worth mentioning. Sorry if I'm bleating\nout the obv...
[ { "msg_contents": "\"Tom Lane\" <Tom Lane> writes:\n>The SQL spec's notion of temp tables is only tenuously related to ours\n>in the first place :-(. However, the spec appears to require that\n>references to temp tables be unqualified names, so AFAICT it's not\n>expected that applications can reference more th...
[ { "msg_contents": "I'm working on adding support for unique indexes to the hash index code.\nThe majority of the code is finished, with the exception of the changes\nto locking. My proposed changes are below -- if anyone sees a better way\nto do things, let me know.\n\nThere's lots of info on the locking scheme...
[ { "msg_contents": "On Tue, 16 Sep 2003, Kris Jurka wrote:\n> Something else I've noticed about temp tables is that you are\nprohibited\n> from having a permanent table contain a foreign key reference to a\ntemp\n> table, but you are allowed to reference a permanent table from a temp\n> table. The triggers don'...
[ { "msg_contents": "Tom Lane wrote:\n> I think we have two choices: disallow foreign-key references from temp\n> tables to permanent tables, or take out the optimization of storing\n> temp table pages in private memory. (That would leave the whole\n\"local\n> buffer manager\" module as dead code, I think.) I'm...
[ { "msg_contents": "Hi All,\n\nWe have a development server running\n\nOS - Linux development-server 2.4.20-openmosix-r4 #1 SMP Mon May 19 02:32:52\nPDT 2003 i686 Intel(R) Xeon(TM) CPU 2.40GHz GenuineIntel GNU/Linux\n\nDatabase - PostgreSQL 7.3 on i686-pc-linux-gnu, compiled by GCC gcc (GCC)\n3.2.1\n\n \n\n \n\n...
[ { "msg_contents": "Hi,\nI am a Ph.D candidate of Institute of Software, the Chinese Academic of\nScience, and the major is computer software and theory. My research\ninterests are mainly focused on database management or other system\nsoftware.I want to be a development partner of your project.Would you\nlike i...
[ { "msg_contents": "Which was syntax of authentication packet in protocol\nwith pgsql 7.3.4 ?\n\n \n\nAny doc to read ?!\n\n \n\nI'm searching inside my docs but.\n\n \n\nluke\n\n\n\n\n\n\n\n\n\n\nWhich was syntax of authentication packet in protocol\nwith pgsql 7.3.4 ?\n \nAny doc to read ?!\n \nI’m searching i...
[ { "msg_contents": "System: i386 (Athlon) - Debian GNU/Linux unstable\n\nPostgreSQL 7.4beta3 fails to compile:\n \ni386-linux-gcc -O2 -g -Wall -Wmissing-prototypes -Wmissing-declarations -pipe -fPIC -I../../../../src/interfaces/ecpg/include -I../../../../src/include/utils -I../../../../src/include -I/usr/include...
[ { "msg_contents": "Paulo Scardine [mailto:paulos@cimed.ind.br] wrote:\n<snip>\nSo I hacked a small pggetpid and pgkillpid C functions, and now I can\nlearn\nthe backend's PID, start the query in a new thread, and kill the backend\nusing another connection if I want. Its ugly, I know, but worked\nwonderfully\nwi...
[ { "msg_contents": "Hi all,\nmy impression on 7.4 performances:\n\n\n===== Good news =====\n\nHow expected the use of clausole 'IN' with Postgres 7.4beta2\nnow is really fast ( see the result below )\n\n\n===== Bad news =====\n\nI posted time ago about a slow query:\n\nSELECT ul.*\nFROM user_logs ul,\n user...
[ { "msg_contents": "Hi,\n\nWhen analyzing the kernel profile from osdl dbt benchmarks, I noticed \nthat around 50% of the kernel time is spent in __copy_user_intel.\nhttp://khack.osdl.org/stp/280060/profile/\n\nThis function is one of two functions that does the actual memory copy \nfrom/to kernel space to/from ...
[ { "msg_contents": "Hello:\n\nI'm trying to give support to array parameters for sql commands in my \n.net data provider for postgres 7.4, i'm sending the same data as i need \nfor read array field values but i get always the error :\n\n\tinsufficient data left in message\n\nI'm sending this for array parameters...
[ { "msg_contents": "Our hardware/software configuration:\nkernel: 2.5.74\ndistro: RH7.2\npgsql: 7.3.3\nCPUS: 8\nMHz: 700.217\nmodel: Pentium III (Cascades)\nmemory: 8298888 kB\nshmmax: 3705032704\n\nWe did several sets of runs(repeating runs with the same database\nparameters) and have the following obser...
[ { "msg_contents": "\n\nI never knew running indent was so damn complicated. All three of my\ndevelopment systems can not manage it without throughing a fault (I've\nabsolutely no idea why indent in the shell works but doesn't in pgindent on\none).\n\nAnyway, has anyone pgindented the version of tsearch2 that ru...
[ { "msg_contents": "> We have a development server running\n>\n> OS - Linux development-server 2.4.20-openmosix-r4 #1 SMP Mon May 19\n02:32:52\n> PDT 2003 i686 Intel(R) Xeon(TM) CPU 2.40GHz GenuineIntel GNU/Linux\n>\n> Database - PostgreSQL 7.3 on i686-pc-linux-gnu, compiled by GCC gcc\n(GCC)\n> 3.2.1\n>\n> We h...
[ { "msg_contents": "Hi there,\n\nI got message from nusphere.com about windows port of PostgreSQL.\nThey're looking for full time developer in Russia,Moscow.\n\nIs this is a joke ?\n\n\tRegards,\n\t\tOleg\n_____________________________________________________________\nOleg Bartunov, sci.researcher, hostmaster of...
[ { "msg_contents": "Hi,\n\n Is there a compile option or any other tweak to restrict postgresql\ndata files size (the files that are usually under /usr/local/pgsql/data\ndirectory) to a certain limit, for example no file should be bigger\nthat 10Mb. Thanks in advance\n\nWally\n", "msg_date": "Fri, 19 Sep 2...
[ { "msg_contents": "CVSROOT:\t/cvsroot\nModule name:\tpgsql-server\nChanges by:\ttgl@svr1.postgresql.org\t03/09/19 16:57:42\n\nModified files:\n\tsrc/backend/catalog: index.c \n\tsrc/backend/commands: indexcmds.c \n\nLog message:\n\tSeems like a bad idea that REINDEX TABLE supports (or thinks it does)\n\treindex...
[ { "msg_contents": "CVSROOT:\t/cvsroot\nModule name:\tpgsql-server\nChanges by:\ttgl@svr1.postgresql.org\t03/09/19 17:47:59\n\nModified files:\n\tsrc/template : darwin \n\nLog message:\n\tLatest version of gcc from Apple does not work well with -traditional-cpp\n\t(it rejects some system header files...). Use...
[ { "msg_contents": "I've noticed that postgres strace output contains long groups of \nsetitimer/semop/setitimer.\nJust FYI: semtimedop is a special syscalls that implements a semop with \na timeout. It was added just for the purpose of avoiding the setitimer \ncalls.\nI know that it's supported by Solaris and r...
[ { "msg_contents": "Hello,\n\n I just read a rather disturbing post....\n\n PostgreSQL does not support read uncommited and repeatable read \nisolation levels? If that is so... then PostgreSQL is NOT ACID compliant?\n\n What is the real deal on this?\n\nSincerley,\n\nJoshua Drake\n\n-- \nCommand Prompt, Inc.,...
[ { "msg_contents": "hello, all.\n\nI have a table about 2 million rows. when I run \"select * from table1\" in psql, it will take me about 10 minutes to get the result. I wonder if postgresql can immediately return result like db2.\n\nAfter that I create a index on a column named id. The time executing \"selct ...
[ { "msg_contents": "gmake -C parser parse.h\ngmake[3]: Entering directory\n`/usr/home/chriskl/pgsql-server/src/backend/parser'\nbison -y -d gram.y\ngram.y:1820.51-52: $$ of `OptLocation' has no declared type\ngram.y:1821.99-100: $$ of `OptLocation' has no declared type\n\nChris\n\n\n", "msg_date": "Sun, 21 ...
[ { "msg_contents": "Florian,\n\nif you set the transaction isolation level SERIALIZABLE in MySQL/InnoDB,\nthen InnoDB uses next-key locking in every SELECT, and transactions really\nare serializable in the mathematical sense. I think the same holds for DB2\nand MS SQL Server.\n\nPostgreSQL and Oracle use a looph...
[ { "msg_contents": "Florian,\n\nif you set the transaction isolation level SERIALIZABLE in MySQL/InnoDB,\nthen InnoDB uses next-key locking in every SELECT, and transactions really\nare serializable in the mathematical sense. I think the same holds for DB2\nand MS SQL Server.\n\nPostgreSQL and Oracle use a looph...
[ { "msg_contents": "I've looked through the messages in the backend and identified some areas\nthat still deserve some cleanup. Below I list some issues that deserve\nsome discussion or that deserve being remembered by other developers.\n\nid, oid, pid\t\t-> ID, OID, PID\nattribute\t\t-> column\ntuple\t\t\t-> r...
[ { "msg_contents": "I have tried to perform a regression test on AIX 5.1 (PostgreSQL 7.4beta3).\nI have encountered an error.\n\n\ngmake[3]: Leaving directory \n`/usr/src/shopnet/postgresql-7.4beta3/src/interfaces/libpq'\ngmake[3]: Entering directory \n`/usr/src/shopnet/postgresql-7.4beta3/src/interfaces/ecpg'\n...
[ { "msg_contents": "There was a thread on missing pg_clog files caused due to dodgy practices in\nglibc *last year*. I am seeing something similar *now* with a server\n\n PostgreSQL 7.4beta1 on i386-unknown-netbsdelf1.6X, compiled by GCC 2.95.3\n\naccessed by a similar client and a client\n\n PostgreSQL 7.4devel...
[ { "msg_contents": "Hi all!\n\nWe have a database on postgreSQL 6.2 and it is extremely slow, so we\nstarted vacuum on it. I know it locks the tables, so clients can not use\nit until the process is finished, but it is extremely slow on a 1.800.000\nrecord table and we don't know how to make it faster. Can anybo...
[ { "msg_contents": "Hi,\n\nI'm trying to compile Postgresql 7.3.4 on NetBSD 1.6 mac68k.\nFirst, I Had to add '%' signs in src/backend/storage/lmgr/s_lock.c \nbefore register names.\n\n--- postgresql-7.3.4/src/backend/storage/lmgr/s_lock.c Sat Sep 21 \n02:14:05 2002\n+++ s_lock.c Mon Sep 22 20:51:25 2003\n@@ ...
[ { "msg_contents": "I am back from speaking in Mexico. I was one of the keynote speakers at\nthis event. This is evidence of how far PostgreSQL has come in just the\npast year. PostgreSQL is now a \"must have\" for most open-source events.\n\nFYI, we have lots of PostgreSQL users in Mexico.\n\nCatching up on ...
[ { "msg_contents": "http://developer.osdl.org/markw/74/\n\nI had a couple of hiccups doubling the database size,\nbut I have results with proper linux kernel profile data now. The\nincrease in database size has decreased the overall performance, as\nexpected...\n\nI haven't had the opportunity to try different ...
[ { "msg_contents": "There was a simple change commited in revision 1.47 of pgindent, listed as\nbeing \"More updates for GNU indent\".\n\nThe questions are: why? and surely I can't be the only one whose hit this\nproblem since November 2001?\n\nOn a debian (woody or potato, which ever one had a 2.2 series kernal...
[ { "msg_contents": "Hi All,\n\nI'm attempting to build from CVS so I can get into a bit of PG dev work. \nAre there any special tricks with the CVS build or is this a common error?\n\nbison -y -d preproc.y\npreproc.y:5276: warning: previous rule lacks an ending `;'\npreproc.y:6294: fatal error: maximum table si...
[ { "msg_contents": "-----BEGIN PGP SIGNED MESSAGE-----\nHash: SHA1\n\nHi.\n\nI'm trying to implement functionallity to dump multiple tables with multiple \n\"-t <table-name>\" options. While digging in the source for pg_dump I see that \nmany local static variables are not freed( with free(3)). Is this lazy \npr...
[ { "msg_contents": "\nHello, I am posting to ask for some help and suggestions.\n\nFor a project I am doing in university, I need to add indexing\nmechanisms to the Postgresql database (R+ tree, bitmap indexes).\nVersion of Postgresql is 7.3.3. I would like to ask how I can\nintegrate the structures and algorith...
[ { "msg_contents": "The offending source code is in pg_dump.c line 3953, where at the lack \nof an underlying conversion function and thus no clear namespace \nrelationship pg_dump simply ignores the cast.\n\nIMHO a binary compatible cast should be dumped if one or both namespaces \nof the underlying data types ...
[ { "msg_contents": "Hi,\n\nI tried to use vacuumlo of posgres-7.3.4/contrib/vacuumlo and it didn't \nwork\nfor me until I added one line:\n\n strcat(buf, \" AND c.relname <> 'vacuum_l'\");\n\nafter \n strcat(buf, \"SELECT c.relname, a.attname \");\n strcat(buf, \"FROM pg_class c, pg_attribute a,...
[ { "msg_contents": "Is there a reason why there haven't been any 7.4 beta announcements on\nthe main website?\n\n-Neil\n\n\n", "msg_date": "Tue, 23 Sep 2003 14:11:26 -0400", "msg_from": "Neil Conway <neilc@samurai.com>", "msg_from_op": true, "msg_subject": "website announcement for 7.4 beta" },...
[ { "msg_contents": "\nLooking at the web site:\n\nSQL:2003 Documents New!!!\nThis set of files represents an almost indistinuishable delta on the\nactual SQL 2003 standard. In a few months, the INCITS website will post\nthe SQL 2003 standard for purchase\n\nis this the same as what we talk about as SQL3??\n\n\n-...
[ { "msg_contents": "I am getting Undefined symbols in build ecpg\n\n\ngmake -C compatlib all\ngmake[4]: Entering directory `/usr/local/postgres/pgsql/src/interfaces/ecpg/compatlib'\n../../../../src/backend/port/aix/mkldexport.sh libecpg_compat.a > libecpg_compat.exp\ngcc -O2 -pipe -Wall -Wmissing-prototypes -Wmi...
[ { "msg_contents": "Hello folks,\n\nStumbled across an odd problem while cleaning data out of a database. I am \ngetting these \"invalid tid\" errors. I tried the upgrade from 7.3.2 to 7.3.4. \nI tried a dumpall/initdb/restore... nadda. Nothing really usefull is coming \nfrom the logs either, even though log...
[ { "msg_contents": "Just wanted to drop you all a quick note that CogBilling, an online billing system which integrates with GnuCash, is now available for review at http://www.rsmba.biz/download. CogBilling is an online database driven billing system written entirely on open source products. In its present st...
[ { "msg_contents": " I found postgresql running on the multi CPU machine doesn't have better performance than single CPU machine. Can you explain the reason? And how to resolve the problem?\n\n In the Todo list, I read the below message:\n\n Add code to detect an SMP machine and handle spinlocks accordingly...
[ { "msg_contents": "\tNot exactly, I think.\n\n\tIt said that postgresql \"Add code to detect an SMP machine and handle spinlocks accordingly\", so it is an issue of spinlock handling, not the distribution of execution tree.\n\n\tIn SMP enviorment, when using spinlock, when we fail to get the spin lock at a time...
[ { "msg_contents": "I am writing a backend C function whose behavior should depend on the\nsetting of a new runtime parameter that can be set with SET. I have\nseveral questions concerning how to implement this, as I can find no\ninformation in the documentation.\n\n- How can I introduce a new variable (e.g., X...
[ { "msg_contents": "Hello ,\n\nI m new to this list .\nHopefully some feedback is coming to my questions.\n\n1) Did somebody a compile with the Intel ICC inclusive performance logging \n\n2) Is there a hint where to find in the source the REGEX module and is there any\n connection to inheritance of table.(mod...
[ { "msg_contents": "Slackware 8.1, linux 2.4.18 i586, gcc version 2.95.3 20010315 (release)\n\nThis is perl, v5.6.1 built for i386-linux (is this too old?)\n\nparts from config.log\nconfigure:4214: checking for perl\nconfigure:4232: found /usr/local/bin/perl\nconfigure:4244: result: /usr/local/bin/perl\nconfigur...
[ { "msg_contents": "Hi,\n\nI've hit a little problem and was wondering if anyone might be able to \ngive some help.\n\nSet-up:\n\n- JBoss appserver using entity beans to access database\n- Using sequence pattern to update primary keys for several tables. \nBasically it is a method of getting primary keys without...
[ { "msg_contents": "I've been observing a interesting behavior with our DBT-2 workload. It\nappears that a commit to a transaction is taking some time to occur.\nI'll try to briefly describe what we're seeing. The transaction goes\nsomething like this:\n\n1. BEGIN\n\n2. SELECT d_next_o_id\n INTO current_o_id...
[ { "msg_contents": "What we are trying to figure out is if postgresql supports \n returning multiple result sets from a stored procedure (psql \n function?)\n \n For example in MSSQL's Northwind database you can create the \n following stored procedure:\n \n <mssql-proc>\n CREATE PROCEDURE \"test\"\n AS\n SELECT...
[ { "msg_contents": "I want to make a contribution.\nIt is a new (to pgsql) procedural language.\nCurrently it already works (but debugging output \nis not disabled yet).\n\nI've got some questions and considerations, please, correct me\nif I am wrong:\n\nI understand that pgsql uses autoconf but not other autoto...
[ { "msg_contents": "\n> > >> > Are those response times in the right unit? 7-10s?\n> >\n> > No problem: http://developer.osdl.org/markw/misc/plana.out\n> \n> Ok, I guess I misunderstood you. These queries are taking 0.5ms - 300ms except\n> for the last aggregate query which takes just over 1s.\n\nYes, but becaus...
[ { "msg_contents": "\nTom Lane writes:\n> BTW, I've been wondering lately if we'd not be better off to look at\n> using threading in the Windows port, if it'd help us get around the\n> fork/exec data transfer problem. I'm not sure that it would, \n> mind you, but if it would give an answer it might be a lot les...
[ { "msg_contents": " \n> Claudio Natoli <claudio.natoli@memetrics.com> writes:\n> > FWIW, I've got a threaded version of the WIN32_DEV branch more or less\n> > \"running\" (it is a terrible hack job, so NO, no patches... yet :-), as a\n> > proof of concept. Still a work in progress (ok, I've qualified it\nenough...
[ { "msg_contents": "CVSROOT:\t/cvsroot\nModule name:\tpgsql-server\nChanges by:\ttgl@svr1.postgresql.org\t03/09/25 16:41:49\n\nModified files:\n\tsrc/backend/executor: execScan.c \n\nLog message:\n\ttlist_matches_tupdesc() needs to defend itself against dropped columns.\n\n", "msg_date": "Thu, 25 Sep 2003 16...
[ { "msg_contents": "Both Microsoft and windows compilers support thread local storage. *If*\nyou guys go with the threading model and *if* it does not introduce any\nserious portability issues with gcc (big ifs, and I'm not familiar with\ngcc), than IMO TLS is really the way to go. I don't think any\nreorganiz...
[ { "msg_contents": "\n-----BEGIN PGP SIGNED MESSAGE-----\nHash: SHA1\nNotDashEscaped: You need GnuPG to verify this message\n\n\nWhy is the subselect never executed for the inner select?\n\n\npgrocks=> SELECT VERSION() UNION ALL SELECT oid::text FROM pg_class WHERE ctid = (SELECT ctid FROM pg_class LIMIT 1);\n ...
[ { "msg_contents": "Hi guys,\n\nI thought I'd pass this around as an interested reference page. Gives \nus an idea of how far we need to go to compete with Oracle for data \nanalysis...\n\nhttp://www.akadia.com/services/ora_analytic_functions.html\n\nInteresting stuff:\n* Accessing rows around your current row\...
[ { "msg_contents": "Hey guys,\n\nIs there any chance we could have initdb show the version of postgresql \nit is running as when initdb is run?\n\nOn my dev machine, i have all sorts of different versions in different \npaths and sometimes you run initdb but it doesn't run the version I \nthink I'm running.\n\nO...
[ { "msg_contents": " \n> Another option would be to create thread local hashtable or other lookup\n> structure to which you would register a structure for a particular .c \n> file or group of files.\n> \n> You could then define the structures you need locally without \n> affecting other parts of the codebase.\n>...
[ { "msg_contents": "I note there is no pretty printing option for pg_get_triggerdef...\n\nChris\n\n", "msg_date": "Fri, 26 Sep 2003 15:48:54 +0800", "msg_from": "Christopher Kings-Lynne <chriskl@familyhealth.com.au>", "msg_from_op": true, "msg_subject": "pg_get_triggerdef pretty printing" }, ...
[ { "msg_contents": "\n> \"When the address-of operator is applied to a thread-local variable, it \n> is evaluated at run-time and returns the address of the current thread's \n> instance of that variable. An address so obtained may be used by any \n> thread. When a thread terminates, any pointers to thread-local...
[ { "msg_contents": "Tom Lane wrote:\n\"Merlin Moncure\" <merlin.moncure@rcsonline.com> writes:\n>> All TLS variables *must* be static (or implicitly static\n>> through extern, i.e. no 'auto' variables)\n\n>I assume you mean static as in not-auto, rather than static as in\n>not-global. Otherwise we have a proble...
[ { "msg_contents": "Saw that these guys had raised some more VC money, and made an acquisition. Anyone from the company on the lists? (Probably best to reply only to -advocacy, but wanted to cast the net wide).\n\nFrom their website (www.metapa.com):\n\n--\n\nMetapa CDB is an enterprise Java software applicati...
[ { "msg_contents": "> -----Original Message-----\n> From: Tom Lane [mailto:tgl@sss.pgh.pa.us] \n> Sent: Friday, September 26, 2003 9:27 AM\n> To: Bruce Momjian\n> Cc: Shridhar Daithankar; pgsql-hackers@postgresql.org; \n> pgsql-hackers-win32@postgresql.org\n> Subject: Re: [HACKERS] Threads vs Processes \n> \n> \...
[ { "msg_contents": "Would it be a good idea to have a separate shared buffer process to\nmanage the cache? Could such a process take workload off of the main\nbackend and improve their performance?\n\nJust an idea?\n\n-- \n Bruce Momjian | http://candle.pha.pa.us\n pgman@candle.pha.pa....
[ { "msg_contents": "I just noticed that libpq/ecpg use $(THREAD_CFLAGS) as part of CPPFLAGS.\n(I added that code.)\n\nIs that correct? Should it be added to CFLAGS instead?\n\n-- \n Bruce Momjian | http://candle.pha.pa.us\n pgman@candle.pha.pa.us | (610) 359-1001\n + I...
[ { "msg_contents": "Peter Eisentraut wrote:\n> \n> mlg3 writes:\n> \n> > I understand that pgsql uses autoconf but not other autotools.\n> > The best location for such contribution is in\n> > src/pl/pl<lang-name>\n> >\n> > Now, how do I include my PL into the build list?\n> > What files must I provide? (preferra...
[ { "msg_contents": " P O S T G R E S Q L\n\n 7 . 4 O P E N I T E M S\n\n\nCurrent at ftp://momjian.postgresql.org/pub/postgresql/open_items.\n\nChanges\n-------\nFix REVOKE ALL ON FUNCTION error when removing owner permissions\nFix plpgsql handling of bo...
[ { "msg_contents": "\nHere is an email from the DBD:pg guys describing what _GNU_SOURCE does.\n\n---------------------------------------------------------------------------\n\nJeroen Ruigrok/asmodai wrote:\n> It's a glibc thing.\n> \n> Look at glibc's include/features.h:\n> \n> _GNU_SOURCE All of the ab...
[ { "msg_contents": "Some more comments:\n\n#: utils/misc/guc.c:647\nmsgid \"collect statistics about executing commands\"\n\nIs this really \"statistics\" about the executing commands?\n\n\n#: utils/misc/guc.c:892\nmsgid \"\"\n\"The number must be a positive integer. If 0 is specified then effort * \"\n\"log2(po...
[ { "msg_contents": "In 7.4 I am finding that '(' (and some other punctuation) is not a member of\n[:print:]. It is in 7.3. It is a member of [:graph:] in 7.4 (which is\nsupposed to be [:print:] - [:space:]).\n\nThe following is my 7.4 config:\n./configure --prefix=/usr/local/pgsql --enable-integer-datetimes --w...
[ { "msg_contents": "If you have a check constraint that tests if a boolean column is not\nfalse by just using the column name, pg_dump doesn't include parens\naround the check constraint which causes a syntax error when reloading\nthe database.\n\nUsing the following to create a table:\ncreate table test (col1 b...
[ { "msg_contents": "I have a few questions (below).\n\nMechanism:\n 1) Rename the old column to ...pg.dropped... to get it out of\n the way of step 2.\n \n 2) Create a new column with the wanted type and appropriate\n constraints. Only not null is supported at the moment.\n ...
[ { "msg_contents": "Hi,\n\nI notice that the pretty printing version of pg_get_ruledef inserts extra\nnewlines whereas all the others pretty functions (except view defs) do\nnot. In fact, Andreas argued against a version of pg_get_triggerdef()\nthat added extra newlines.\n\neg, non-pretty:\n\ntest=# select pg_g...
[ { "msg_contents": " From CVS logs I see:\n \n\tpg_dump/pg_restore now always use SET SESSION AUTHORIZATION, not\n\t\\connect, to control object ownership. The\n\tuse-set-session-authorization and no-reconnect switches are obsolete\n\t(still...
[ { "msg_contents": "\n\n> -----Original Message-----\n> From: Tom Lane [mailto:tgl@sss.pgh.pa.us] \n> Sent: 29 September 2003 01:28\n> To: Alvaro Herrera\n> Cc: Peter Eisentraut; Hackers\n> Subject: Re: [HACKERS] more i18n/l10n issues \n> \n> \n> Alvaro Herrera <alvherre@dcc.uchile.cl> writes:\n> > If you put it...
[ { "msg_contents": "Hello, \n\nI'm trying to detect memory leaks in an external postgres extensions.\nSince SIZE of postgres process keeps growing between function calls,\ndoes this mean there are memory leaks in the extenal packages or\nit might be the postgres itself keeping allocated memory as a buffer\nfor l...
[ { "msg_contents": "Hi guys,\n\nMy live 7.3.4 database dumps data like this:\n\nSET SESSION AUTHORIZATION 'auadmin';\n\n--\n-- TOC entry 346 (OID 1012952)\n-- Name: log_freeprofile; Type: TABLE; Schema: public; Owner: auadmin\n--\n\nCREATE TABLE log_freeprofile (\n date date DEFAULT ('now'::text)::date NOT N...
[ { "msg_contents": "\n> > > > The simplest senario(though there could be varations) is\n> > >\n> > > > [At participant(master)'s side]\n> > > > Because the commit operations is done, does nothing.\n> > >\n> > > > [At coordinator(slave)' side]\n> > > > 1) After a while\n> > > > 2) re-establish the communi...
[ { "msg_contents": "\n> I don't think there is any way to handle cases where the master or slave\n> just disappears. The other machine isn't under the server's control, so\n> it has no way of it knowing. I think we have to allow the administrator\n> to set a timeout, or ask to wait indefinately, and allow them ...
[ { "msg_contents": "\n> > > Master Slave\n> > > ------ -----\n> > > commit ready-->\n> > > <--OK\n> > > commit done->XX\n> > >\n> > > is the \"commit done\" message needed ?\n> > \n> > Of course ... how else will the Slave commit? From my...
[ { "msg_contents": "\n\n> -----Original Message-----\n> From: Tom Lane [mailto:tgl@sss.pgh.pa.us] \n> Sent: 29 September 2003 15:23\n> To: Peter Eisentraut\n> Cc: Dave Page; Alvaro Herrera; Hackers\n> Subject: Re: [HACKERS] more i18n/l10n issues \n> \n> \n> Peter Eisentraut <peter_e@gmx.net> writes:\n> > Dave Pa...