threads
listlengths
1
2.99k
[ { "msg_contents": "I have loaded the patch queue with all patches that were in my main\nmailbox:\n\n\thttp://momjian.postgresql.org/cgi-bin/pgpatches\n\nI still have to go through the saved patches in:\n\n\thttp:/momjian.postgresql.org/cgi-bin/pgpatches2\n\n-- \n Bruce Momjian | http://...
[ { "msg_contents": "\n\nHello, my name is Diego Montenegro, I am an M.S. student at Yale\nUniversity, and I am taking a project course with Prof. Avi Silberschatz\nnext semester, and I wanted to develop something for postgreSQL. \n\nI wanted some suggestions, on projects (ITEMS) from the TODO list, that\ncan be ...
[ { "msg_contents": "Per this gripe:\nhttp://archives.postgresql.org/pgsql-bugs/2003-11/msg00233.php\nI think that the recent IPv6 changes made an undocumented and\nun-agreed-to change in the semantics of netmask().\n\nThe previous behavior of netmask() was that it always delivered\na result with a masklen of 32....
[ { "msg_contents": "Hi, all!\n\nI'm preparing new release of uniqueidentifier datatype. In new relaease\nin addition to existing btree operator class I've implemented hash\noperator class. But what class should be default for this datatype?\nUniqueidentifier is used for identification, so main operation with it\...
[ { "msg_contents": "-----BEGIN PGP SIGNED MESSAGE-----\nHash: SHA1\n\nI've seen a lot about partitions recently, and I had a \"bright idea\". I am \nby no means a database expert, so perhaps this is utter nonsense.\n\nA partition, as I understand it, contains only a select subset of a table. \nUsually, it is dat...
[ { "msg_contents": "hi\n the table pg_attribute have the attribute \"attlen\" , and this attribute will\nstore the attribute length. For example , when integer , this value will be 4.\nBut if attribute type is Char(xx), this value will be -1. This is because it\nreference the bychar in pg_type table.\n\nSo, whe...
[ { "msg_contents": "I was just annoyed to find out that a foreign key doesn't check whether\nthe referenced column has a sufficiently similar data type, it only checks\nwhether an = operator exists. This masks schema design errors and typos.\nShould this be tightened up, for example using the castability\nchara...
[ { "msg_contents": "> --- Tom Lane <tgl@sss.pgh.pa.us> wrote:\n> Actually you can only have 4 billion SQL commands per xid, because the\n> CommandId datatype is also just 32 bits. I've never heard of anyone\n> running into that limit, though.\n> \n\nWouldn't the above put a limit on a number of records one coul...
[ { "msg_contents": "I will be in Japan December 2-10 speaking about PostgreSQL.\n\n-- \n Bruce Momjian | http://candle.pha.pa.us\n pgman@candle.pha.pa.us | (610) 359-1001\n + If your life is a hard drive, | 13 Roberts Road\n + Christ can be your backup. | ...
[ { "msg_contents": "\nWhat's happening to the remaining patches that were held over for 7.5, \ne.g. mine which does some logging enhancements?\n\ncheers\n\nandrew\n\n", "msg_date": "Mon, 01 Dec 2003 16:44:15 -0500", "msg_from": "Andrew Dunstan <andrew@dunslane.net>", "msg_from_op": true, "msg_sub...
[ { "msg_contents": "Marc G. Fournier wrote:\n> On Mon, 1 Dec 2003, Josh Berkus wrote:\n> \n> > Hmmm. Robert spoke to an \"IP\" attorney off the record who felt\n> > differently. I think it would really be to our benefit to get an\n> > attorney to go \"on the record\" about this (which means a fee,\n> > unfortu...
[ { "msg_contents": "Hi all,\nI'm still experiencing problem trying to\nrebuild the rpm from the file:\npostgresql-7.4-0.5PGDG.src.rpm\n\nwhat I get is:\n\nchecking for library containing com_err... -lcom_err\nchecking for library containing krb5_encrypt... no\nconfigure: error: could not find function 'krb5_encr...
[ { "msg_contents": "I'm trying to port some replication code from 7.2 -> 7.4 and am running \ninto a block.\n\nIn the file:\n /src/backend/tcop/postgres.c\n\nMy diff was for:\n\nvoid\npg_exec_query(char *query_string)\n{\n\n pg_exec_query_string(query_string, whereToSendOutput, \n QueryContext...
[ { "msg_contents": "\n\n> \n> I'm trying to port some replication code from 7.2 -> 7.4 and am running \n> into a block.\n> \n> In the file:\n> /src/backend/tcop/postgres.c\n> \nSorry I'm not answering your question, but I didn't have a\n chance to look last night. Did you start a new tree for\n7.4?\n\nDarren\...
[ { "msg_contents": "1. Which parts of MSYS and Mingw are needed for the building a Win32 version of PostgreSQL?\n\nThere are several packages listed on the Mingw website:\nMingGW-3.1.0-1.exe\nmingw-utils-0.2\nmingw-runtime-3.2\nmsys-1.0.9.exe\nmsysDTK-1.0.1.exe\nbinutils\ngcc\nwin32api-2.4\nmingw32-make\n\n2. Do...
[ { "msg_contents": "Hello,\n\nIt appears that the count('x') will no longer work without a type\ncast. Is this on purpose? I've already modified my code to use\ncount(*) instead, but I decided to mention it anyway.\n\nwarehouse=# select count('x') ;\nERROR: cannot accept a value of type any\nwarehouse=# selec...
[ { "msg_contents": "We (mostly Bruce, Tom, Peter, and I) have been having a discussion on \nthe PATCHES list regarding some new functionality related to read-only \nGUC variables. The net result is pasted at the bottom of this post. Here \nis a link to the discussion:\nhttp://archives.postgresql.org/pgsql-patche...
[ { "msg_contents": "I took advantage of last weekend to upgrade from 7.2.4 to 7.4.0 on a\nnew faster box.\n\nNow I'm trying to implement pg_autovacuum. It seems to work ok, but\nafter about an hour or so, it does nothing. The process still is\nrunning, but nothing is sent to the log file.\n\nI'm running the da...
[ { "msg_contents": "http://archives.postgresql.org/pgsql-hackers/2000-07/msg00483.php\n\nI'm having this same problem with postgresql 7.3.4. Easy to reproduce by \nrunning an 'INSERT' query. Here is some of the debugging info if I break \nnear the beginning of the pglz_decompress function:\n\n(gdb) p dend\n$1 = ...
[ { "msg_contents": "\nHi all,\n\nI'm working on getting BackendFork converted to a fork/exec model, and have\nhit the following wall.\n\nAll the ShmemInitHash structures are allocated using DynaHashCxt. Clearly,\nthis context is going to have to be shared across backends in the fork/exec\ncase, but I can't see a...
[ { "msg_contents": "Kind people,\n\nAs a perl weenie, I'm used to being able to do things with regexes\nlike\n\n$text =~ s/(foo|bar|baz)/NO UNIX WEENIES HERE/;\n$got_it = $1;\n\nWhile PL/Perl is great, it's not available everywhere, and I'd like to\nbe able to grab atoms from a regex match in, say, a SELECT. Is...
[ { "msg_contents": "\nPlease take a quick peak at it ...\n\nftp://ftp.postgresql.org/pub/source/v7.3.5\n\n\n----\nMarc G. Fournier Hub.Org Networking Services (http://www.hub.org)\nEmail: scrappy@hub.org Yahoo!: yscrappy ICQ: 7615664\n", "msg_date": "Wed, 3 Dec 2003 00:12:24 ...
[ { "msg_contents": "\n> I'm not sure if you're confusing backend-local hashes with shared\n> hashes, or hash control headers with the actual shared data. But\n> the above is a false statement. DynaHashCxt is not shared.\n\nNo, wasn't confused over that. Was confused over something else though :-)\n\n \n> Share...
[ { "msg_contents": "\n> Claudio Natoli <claudio.natoli@memetrics.com> writes:\n> > So this means we'll have to pull relHash out of the shared FreeSpaceMap\n> > structure and make it a variable in it's own right?\n> \n> Hm. The freespace.c code is relatively new and might not be jumping\n> through all of the hoo...
[ { "msg_contents": "I have to convert an java web application currently using an Oracle DB\nback end to one using a Postgres backend.\n\nIn Oracle much of the application logic is abstracted away from the java\nmiddleware layer using stored procedures within the Oracle database. There\nare certain features in Or...
[ { "msg_contents": "Fairly good idea IMHO, especially considering Christopher's point \nabout the unlikeliness of needing an exact count anyway. \n\nRegards, Christoph \n\n> \n> How about:\n> \n> Implement a function \"estimated_count\" that can be used instead of \n> \"count\". It could use something like the a...
[ { "msg_contents": "\n\tHello:\n\n\tI am trying to find out, how is the B-tree index implemented for\nmultiple columns? does Postgres, just\n\tconcatenate the columns --- if this is the case, then how is the\nsearch performed? Also, does the optimizer\n\tchoose the index, only when the constraining is on the lea...
[ { "msg_contents": "julius <julius.junghans@web.de> writes:\n> tuptoaster.c: In function `toast_delete_datum':\n> tuptoaster.c:973: `F_OIDEQ' undeclared (first use in this function)\n\nThis suggests that the src/backend/utils/Gen_fmgrtab.sh script did not\nexecute correctly. With no details about your platform,...
[ { "msg_contents": "I have this big table running on an old linux install (kernel 2.2.25).\nI've COPYed some tcpip logs into a table created as such:\n\ncreate table ipstats (time timestamp, src inet, dst inet, npackets int8, \nnbytes int8);\n\nBig:\nselect count(*) from ipstats; \n\n count\n----------\n 9917...
[ { "msg_contents": "\nHackers\n\nHere is the definition of relation_byte_size() in optimizer/path/costsize.c:\n\n----------------------------------------------------------------------\n/*\n * relation_byte_size\n * Estimate the storage space in bytes for a given number of tuples\n * of a given widt...
[ { "msg_contents": "I did not get any response to this question on\ngeneral so I am forwarding it to hackers.\n\nThanks,\n\nelein\n\n----- Forwarded message from elein <elein@varlena.com> -----\n\nDate: Sat, 29 Nov 2003 14:11:20 -0800\nFrom: elein <elein@varlena.com>\nTo: pgsql-general@postgresql.org\nCc: elein ...
[ { "msg_contents": " Hi!\n\n I use postgres6.1. Before install new version I do not make dump_all, but\nI move /usr/local/pgsql to /usr/local/pgsql_bk. After that I successfuly\ninstall new version to /usr/local/pgsql. But now I need some data from old\npostgres. I try to do this:\n% kill postmaster_id\n% ...
[ { "msg_contents": "hi :\npg_stat_user_tables store the n_tup_ins,n_tup_upd,n_tup_del information, and those information is very useful.\nI check the pg_stat_user_indexes table, but there are no such information.\n\ncan i get such information in other way ?\nor system catalog does not store such information !\n...
[ { "msg_contents": "Hi,\n\nsorry for duplication, I asked this on pgsql-admin first before\nrealizing it wasn't the appropriate list.\n\nI'm having trouble optimizing PostgreSQL for an admittedly heinous\nworst-case scenario load.\n\ntestbed:\ndual P3 1.3 GHz box with 2GB RAM\ntwo IDE 120G drives on separate cha...
[ { "msg_contents": "\nWould it be (is it?) possible to add timestamp to the log\nmessages put out by postgresql? I've got several databases\nrunning in an environment where users have this annoying\nhabit of coming up to me with (\"Oh yes, three days ago around\n4pm our instrument had trouble writing to databas...
[ { "msg_contents": "\nI have an idea for what I think may be a very simple optimization for postgres\nto make. I would like to try my hand at implementing it, but the last time I\ntried I apparently started off in the wrong direction. \n\nIn the following query, the sort step is completely unnecessary. The order...
[ { "msg_contents": "-----BEGIN PGP SIGNED MESSAGE-----\nHash: SHA1\n\nHi,\n\nwhile changing a column from base255 encoded text (all except null byte) to\nbytea, I found the following bug in Postgresql's LIKE operator with indexes\n(it follows a more detailed description then my old mails in -bugs and\n- -general...
[ { "msg_contents": "Hello,\n\nI saw another post on this list about some conflicts on building an \nrpm on redhat that seemed similar.\n\nI wanted to add that I was building PHP with the individual directory \nflags, (./configure --with-iodbc=/usr --with-pgsql=/usr/local ) and \nthe compiler still choked (see be...
[ { "msg_contents": "OpenFTS development team is proud to announce release\nof OpenFTS 0.35 perl version - open-source full text search engine\nfor PostgreSQL.\n\nDownload from http://sourceforge.net/project/showfiles.php?group_id=30968\n\nMajor changes:\n\n * use contrib/tsearch2\n * ispell dictionary supports c...
[ { "msg_contents": "Hello\n\n\tI know so I need to use column definition list when I have SRF \nfunction without def of own type. But I don't understand why. In my SRF \nfunction I specify all informations about columns?\n\n TupleDescInitEntry (tupdesc, 1, \"idn\", INT4OID, -1, 0, false);\n TupleDescInitEntry ...
[ { "msg_contents": "Hi,\n\non Solaris 9 with PostgreSQL 7.4:\n\nwhen you\n\n - 'initdb' a fresh database,\n - _don't_ set a password for user 'postgres',\n - convert the 'trust' lines in data/pg_hba.conf to 'md5' or 'password'\n\nand then try to connect as user 'postgres', the backend crashes in\nbackend/libp...
[ { "msg_contents": "\nAs Tom mentioned previous, we are aiming for 7.4.1 on Wednesday of next\nweek ... is anyone sitting on anything that they feel *just has to* be in\nit?\n\n----\nMarc G. Fournier Hub.Org Networking Services (http://www.hub.org)\nEmail: scrappy@hub.org Yahoo!: yscrappy ...
[ { "msg_contents": "\nTo accomodate ppls travel scheduales, we are going to move the 7.4.1\nrelease up to Monday, *unless* there is a report before then about\nsomething that needs to be fixed first ... we know of nothing outstanding\nright now ...\n\nThis means it will be tag'd/bundled on Sunday ...\n\n\n ----\...
[ { "msg_contents": "Bruce, Marc, Joe:\n\n> > > max_function_args - int\n> > > Shows the maximum number of function arguments\n\n> > > max_index_keys - int\n> > > Shows the maximum number of index keys\n\nHave we decoupled these two variables? Last I checked, their values still \nhad to be identical. If...
[ { "msg_contents": "PG Folks,\n\nWhat follows are a couple of proposed TODO items to make up for some of the \nplaces our planner is weak compared to other leading databases. \nParticularly, I'm personally concerned that as of 7.4.0 we would \"fail\" the \nTPC benchmark even if someone sponsored us for it (see...
[ { "msg_contents": "On Fri, 2 Jan 2004, julius wrote:\n\n> im not sure if this is the correct mailing list, please correct me if it is not.\n> my gcc is version 3.2, configure runs fine i deativated readline-support...but this error occours:\n> \n> gcc -O2 -fno-strict-aliasing -Wall -Wmissing-prototypes -Wmissin...
[ { "msg_contents": "I have committed some fairly wide-ranging revisions to pg_dump to make\nit dump database objects in a \"safe\" order according to the dependency\ninformation available from pg_depend. While I know that I have fixed\na lot of previously-broken cases, it's hardly unlikely that I've broken\nsom...
[ { "msg_contents": "If I'm not wrong Neil Conway is working on\nreimplement a double linked list.\nLooking around I found this post of\n\"Herb Sutter\" on comp.lang.c++:\n\n========================================================================\nIn particular, a motivation behind two-way pointers is that you\nc...
[ { "msg_contents": "\n[ Original email attached.]\n\n> I wonder if there is any recommendation to this ?\n> Is there a way to configure PostgreSQL to not use\n> IPv6 ?\n\nI don't know what you want us to do about it? Your OS is accepting all\nconnections as IPv6, so you have to control that with IPv6 addresses ...
[ { "msg_contents": "Guys, where are we on tablespaces? Should I set up a project page or\ndoes it need organization? I think we need to define the command syntax\nand then implementation details. I don't think it is that hard and\ncertainly is possible for 7.5.\n\n-- \n Bruce Momjian |...
[ { "msg_contents": "I could see how this would work if you always had a reference to one of the nodes.\n\nThe problem with the approach I can see is that you *have* to always know the value of at least one pointer, and maintaining that will ultimately require more coding than just having two pointers.\nAssume Cu...
[ { "msg_contents": "I recently had the opportunity to take an upper-year/graduate-level\ncourse on DBMS internals at my university. While taking that course, I\nwrote some notes on course material as a study aid. I thought that\nperhaps some of the people on -hackers might find the notes somewhat\nuseful, so Bru...
[ { "msg_contents": "Dear Friends,\n \nI am trying to modify the parser of the postgresql so as to print all the columns of a table (or to put them in a seperate file) when the parser meets an Insert Statement.\nIn the <gram.y> file (/src/backend/parser/gram.y) ,\n \nInsertStmt:\n INSERT INTO qualified_name ins...
[ { "msg_contents": "> -----Original Message-----\n> From: Bruce Momjian [mailto:pgman@candle.pha.pa.us] \n> Sent: Saturday, December 06, 2003 5:02 PM\n> To: Gaetano Mendola\n> Cc: pgsql-hackers@postgresql.org\n> Subject: Re: [HACKERS] Double linked list with one pointer\n> \n> \n> Gaetano Mendola wrote:\n> > If ...
[ { "msg_contents": "Kind people,\n\nPlease find enclosed a patch exemplifying typical use of the ARE\nClass-Shorthand Escapes®. I believe it will help intrepid regex\nusers. :)\n\nCheers,\nD\n-- \nDavid Fetter david@fetter.org http://fetter.org/\nphone: +1 510 893 6100 cell: +1 415 235 3778", "msg_date"...
[ { "msg_contents": "CVSROOT:\t/cvsroot\nModule name:\tpgsql-server\nChanges by:\tpetere@svr1.postgresql.org\t03/12/07 06:18:50\n\nModified files:\n\tdoc/src/sgml : Tag: REL7_4_STABLE release.sgml \n\tsrc/backend/catalog: Tag: REL7_4_STABLE information_schema.sql \n\nLog message:\n\tFix typmod interpretation fo...
[ { "msg_contents": "Dear Friends,\n \nI am trying to modify the parser of the postgresql so as to print all the columns of a table (or to put them in a seperate file) when the parser meets an Insert Statement.\nDuring the parsing, i can have the relation name ( type: char *) but i cant find the way to get from ...
[ { "msg_contents": "Dear Friends,\n \nI am trying to modify the parser of the postgresql so as to print all the columns of a table (or to put them in a seperate file) when the parser meets an Insert Statement.\nDuring the parsing, i can have the relation name ( type: char *) but i cant find the way to get from ...
[ { "msg_contents": "Dear Friends,\n \nI am trying to modify the parser of the postgresql so as to print all the columns of a table (or to put them in a seperate file) when the parser meets an Insert Statement.\nDuring the parsing, i can have the relation name ( type: char *) but i cant find the way to get from ...
[ { "msg_contents": "Dear Friends,\n \nI am trying to modify the parser of the postgresql so as to print all the columns of a table (or to put them in a seperate file) when the parser meets an Insert Statement.\nIn the <gram.y> file (/src/backend/parser/gram.y) ,\n \nInsertStmt:\n INSERT INTO qualified_name ins...
[ { "msg_contents": "Attached is a compile failure I am seeing in CVS HEAD in bin/pg_dump. \nThe offending lines are:\n\t\n\tgmake[3]: Leaving directory `/usr/var/local/src/gen/pgsql/CURRENT/pgsql/src/backend/parser'\n\tgcc -O2 -fno-strict-aliasing -Wall -Wmissing-prototypes -Wmissing-declarations -O1 -Wall -Wmis...
[ { "msg_contents": "I just made distclean and then reconfigured with --with-openssl and I \nget this in HEAD:\n\ngcc -O2 -fno-strict-aliasing -g -Wall -Wmissing-prototypes \n-Wmissing-declarations -I../../../src/interfaces/libpq \n-I../../../src/include -DBINDIR=\\\"/home/chriskl/local/bin\\\" -c -o \ncommon.o...
[ { "msg_contents": "Hi,\n\nA problem related with view was reported from a user. I narrowed down\nthe problem and found it was related to some usage of views:\n(note that with/without limit is not relevant)\n\ntest=# select count(a.*) from pg_indexes a limit 10;\nserver closed the connection unexpectedly\n\tThis...
[ { "msg_contents": "I get the following error when vacuuming a db or inserting\na big value in a column of a toastable datatype (GEOMETRY).\n\n\tERROR: Index pg_toast_8443892_index is not a btree\n\nMy last action has been killing a psql that was getting\nmad about receiving too much input and beeping as hell\n...
[ { "msg_contents": "Hi all,\n\nI've upgraded my system from 7.3.4 to 7.3.5 yesterday and have already\nexperienced to crash during vacuum full.\n\nI have'nt recompiled with debug yet but it's a sigsegv in function\nrepair_frag in vacuum.c\n\nDoes it ring a bell?\n\nRegards\n-- \nOlivier PRENANT \t ...
[ { "msg_contents": "It seems that on_shmem_exit() first argument is a function that\nneeds to be called back. The function itself doesn't have a\nprototype, but it's called with and int and Datum as argument\nwhen it's used.\n\nIt seems that almost none of the functions it calls will actually\nneed any argument...
[ { "msg_contents": "Hello hackers\n\nIs there a plan to mirror logfiles or/and controlfiles for the new \nversion of PostgreSQL? Or do you think it is not that important for HA?\n\nRegards Oli\n\n-------------------------------------------------------\n\nOli Sennhauser\nDatabase-Engineer (Oracle & PostgreSQL)\nR...
[ { "msg_contents": "Hi,\n\nthere seems to be no way of searching partial matches with tsearch. \nWould it be hard to implement prefix based matching, i.e.\n\"hu\" matches \"human\", \"humanity\", \"humming\", \"huge\"? With some hacking I \nmanaged to disable morphology part from tsearch1 (database contained \nm...
[ { "msg_contents": "> ---------- Forwarded message ----------\n> Date: Tue, 9 Dec 2003 12:55:55 +0100\n> From: Ferdinand Smit <ferdinand@telegraafnet.nl>\n> To: pgsql-admin@postgresql.org\n> Subject: [ADMIN] Full textsearch & gist\n> \n> Hi,\n> \n> I'm experimenting with tsearch2. It works very good, but i have ...
[ { "msg_contents": "\nHas this subject been discussed before?\nI did not find any references to it in the archives.\n\nI think that a co-bundle between an open source J2EE\ncontainer like JBoss and a scalable database like\nPostgreSQL will be a blast.\n\nThere are several well performing comercial Java dbs\nout ...
[ { "msg_contents": "I just wanted to share that we're on the brink of having an automated\ntest on our Scalable Test Platform (http://www.osdl.org/stp/) that\nfeatures our DBT-2 workload, a fair use implementation of the TPC-C,\nthat uses PostgreSQL 7.4 and LVM2 on Linux on our 8-processor systems.\n\nCurrently ...
[ { "msg_contents": "Dear Pgadmin Folks,\n\nI am using pgadminIII 1.0.2 with PostgreSQL 7.4 under W2K SP4 and Cygwin \n(current as of 2 or 3 weeks ago). The server is running locally.\n\nIf I attempt to add an column of type serial or bigserial to a table, the \noperation fails with a message telling me that add...
[ { "msg_contents": "This is a well-worn thread title - apologies, but these results seemed \ninteresting, and hopefully useful in the quest to get better performance \non Solaris:\n\nI was curious to see if the rather uninspiring pgbench performance \nobtained from a Sun 280R (see General: ATA Disks and RAID con...
[ { "msg_contents": "Hi\n\nI installed a postgres-application (which was developed on debian \nwoody) on red hat 9 today, using the postgres 7.3 rpms from redhad.\nOne of my the triggers uses the pg_settings table (more precisely, it \nupdates that table to change the search_path temporarily). With the \npostgres...
[ { "msg_contents": "Hi,\nI'm working on a new pl/java prototype that I hope will become production\nquality some time in the future. Before my project gets to far, I'd like to\ngather some input from other users. I've taken a slightly different approach\nthan what seems to be the case for other attempts that I'v...
[ { "msg_contents": "Robert Treat wrote:\n> Someone did it but it didn't catch fire.\n\nI think what will catch fire in a big way is plphp. Managers will like\nan all php platform that is extremely capable and productive.\nDevelopers will enjoy php's natural syntax and agnostic approach to\nprogramming. PHP5, w...
[ { "msg_contents": "I've been thinking about Josh's recent complaint about poor planning\nof queries like\n\nSELECT t1.a, t2.b\nFROM t1, t2\nWHERE t1.a = t2.a\nAND (\n\t( t1.c = x\n\t AND t1.f IN (m, n, o)\n\t AND t2.d = v\n\t AND t2.e BETWEEN j AND k\n\t)\n\tOR\n\t( t1.c = y\n\t AND t1.f IN (n, o, p)\n\t A...
[ { "msg_contents": "Yurgis,\n\nOn Tue, Dec 09, 2003 at 04:18:06PM -0800, Yurgis Baykshtis wrote:\n> I tried to raise the question on pg-hackers forum and cygwin forum\n> (regarding readdir() misbehavior) but could not get any help so far :(\n\nIf you can produce a minimal test case that reproduces the problem, t...
[ { "msg_contents": "Kind people,\n\nI've come up with yet another little hack, this time for turning 1-d\narrays into CSV format. It's very handy in conjunction with the\narray_accum aggregate (can this be made a standard aggregate?) in\n<http://developer.postgresql.org/docs/postgres/xaggr.html>.\n\nHere 'tis.....
[ { "msg_contents": "Hi all,\n\nI get the following build error when attempting to build 7.4 in a Linux\nVserver (like a FreeBSD jail) built on Slackware 9.1 with the 2.4.22\nkernel:\n\nmake -C doc all\nmake[1]: Entering directory `/usr/local/src/postgresql-7.4/doc'\ngzip -d -c man.tar.gz | /bin/tar xf -\nfor fil...
[ { "msg_contents": "\nOn Thu, 2003-12-11 at 22:36, Nagib Abi Fadel wrote:\n> HI,\n> let's say we have the following table :\n> \n> # CREATE TABLE tempo (col1 varchar(3) not null);\n> CREATE TABLE\n> \n> # insert INTO tempo VALUES ('');\n> INSERT 11420541 1\n> \n> the insert command works. \n> \n> The issue is...
[ { "msg_contents": "_____ \n\n\tFrom: Nagib Abi Fadel [mailto:nagib.abi-fadel@usj.edu.lb] \n\tSent: 11 December 2003 14:37\n\tTo: generalpost; developPost\n\tSubject: [HACKERS] Should we consider empty fields as NULL\nvalues when dealing with string columns ?\n\t\n\t\n\tHI,\n\tlet's say we have the following ta...
[ { "msg_contents": " \n\n> -----Original Message-----\n> From: Tom Lane [mailto:tgl@sss.pgh.pa.us] \n> Sent: 11 December 2003 15:31\n> To: Dave Page\n> Cc: pgsql-hackers@postgresql.org\n> Subject: Re: [HACKERS] 7.4 build problem on Linux Vserver \n> \n> \"Dave Page\" <dpage@vale-housing.co.uk> writes:\n> > gcc -...
[ { "msg_contents": "CVSROOT:\t/cvsroot\nModule name:\tpgsql-server\nChanges by:\tpetere@svr1.postgresql.org\t03/12/11 18:03:05\n\nModified files:\n\tsrc/bin/initdb : nls.mk \nAdded files:\n\tsrc/bin/initdb/po: it.po \n\nLog message:\n\tNew translation\n\n", "msg_date": "Thu, 11 Dec 2003 18:03:05 -0400 (AST)"...
[ { "msg_contents": "Our dbcommands.c has for create database:\n\n snprintf(buf, sizeof(buf), \"cp -r '%s' '%s'\", src_loc, target_dir);\n\nbut my BSD/OS manual only documents 'cp -R' and mentions:\n\n Historic versions of the cp utility had a -r option. This implementation\n supports that option, how...
[ { "msg_contents": "Hi,\n\nI too had the same problem; There was one query which used to take a very long time. What I did was, I took a backup of the whole database. Reinstalled postgres on a different mount point and restored the data back into the new database. Now my queries are running faster. Try it. All ...
[ { "msg_contents": "> Running the attached test program shows on BSD/OS 4.3:\n> \n> \twrite 0.000360\n> \twrite & fsync 0.001391\n\nI think the \"write & fsync\" pays for the previous \"write\" test (same filename).\n\n> \twrite, close & fsync 0.001308\n> \topen o_fsync, write 0.00...
[ { "msg_contents": "Kind people,\n\nI'm looking to the SQL WITH clause as a way to get better regex\nsupport in PostgreSQL. I've been chatting a little bit about this,\nand here's an idea for a behavior. Implementation details TBD.\n\nWITH res = match (x.foo, '([0-9]+)x([0-9]+)')\nSELECT *\nFROM x\nWHERE y = r...
[ { "msg_contents": "I am planning to solve the ancient problem of updating to a new major\nversion without dump/reload, by means of writing a new, more bulletproof\nimplementation of Bruce's old pg_upgrade script. Here are some design\nnotes --- please comment.\n\n\nThe upgrade scenario\n--------------------\n\...
[ { "msg_contents": "Hi Nick,\n\nHere are the results of the comparisons I said I would do.\n\nno-hyperthreading:\n\thttp://developer.osdl.org/markw/dbt2-pgsql/282/\n\t- metric 2288.43\n\t- baseline\n\nhyperthreading:\n\thttp://developer.osdl.org/markw/dbt2-pgsql/278/\n\t- metric 1944.42\n\t- 15% throughput decre...
[ { "msg_contents": "Hi Jun,\n\nDBT-2 is a fair use implementation of the TPC-C (OLTP), if you're\nfamiliar with that.\n\nI have 14 drives attached through 1 megaraid raid controller, and 52\ndrives connected through 4 channels on 2 mylex raid controllers, all in\na raid-0 configuration. I am using LVM2 on both ...
[ { "msg_contents": "We reject the following query:\n\nnconway=# create table abc (a int, b int, c int);\nCREATE TABLE\nnconway=# select distinct on (a) a, b, c from abc order by b, c, a;\nERROR: SELECT DISTINCT ON expressions must match initial ORDER BY\nexpressions\n\nThis works fine, of course:\n\nnconway=# s...
[ { "msg_contents": "I'm trying to change all the walkers and mutators to have a more\nstrict prototype. I had to do this with lots of casts.\n\nI don't really like the idea of having all those generic pointer\ntypes (Node * and void *), but currently see no better way to deal\nwith it.\n\nI attached the patch.\...
[ { "msg_contents": "This patch is the next step towards (re)allowing fork/exec.\n\nBruce, I've cleaned up the parts we discussed, and, pending objections from\nanyone else, it is ready for application to HEAD.\n\nCheers,\nClaudio\n\n--- \nCertain disclaimers and policies apply to all email sent from Memetrics.\n...
[ { "msg_contents": "Hi\n\nI've implemented function argument names, which lets you write functions \nlike this:\n\nCREATE FUNCTION bar (a int, b int) RETURNS int AS '\n BEGIN\n RETURN a + b;\n END;\n' LANGUAGE 'plpgsql';\n\nIt works by storing the variable names in a text[] field in pg_proc and \nthen the l...
[ { "msg_contents": "pgman wrote:\n> Neil Conway wrote:\n> > Bruce Momjian <pgman@candle.pha.pa.us> writes:\n> > > I don't think we ever discussed it, but it seemed logical and a minimal\n> > > change to the code. We already have a GUC write of non-default values\n> > > for exec and no one had issues with that.\...
[ { "msg_contents": "\nHi all,\n\nDennis Bjorklund wrote:\n> > Also has to work on Unix too for testing.\n> \n> Everything can not work in unix, CreateProcess() and fork() \n> are different.\n\nTrue (but CreateProcess and \"fork followed by exec\" are pretty close). I\nthink what Bruce is implying is that, ideal...
[ { "msg_contents": "Hi, I developing a program usinn postgres and linux like system operation.\nMy problem is this:\nI have a view quite complicated with roughly 10000 record. When I execute a\nsimple query like this \n\t\"select * from myview\"\npostgres does not respond and does not produce any results. I hope...
[ { "msg_contents": "Hi,\n\nA year ago Nicolai Tufar <ntufar@TDMSoft.com> submitted a patch to\nchange lower-case conversion of identifiers from locale-dependent to\nASCII in this thread:\n\nhttp://archives.postgresql.org/pgsql-hackers/2002-11/msg01159.php\n\nTom Lane argued that SQL99 standard states that identi...
[ { "msg_contents": "Although Bruce already stamped the REL7_4_STABLE CVS branch as 7.4.1,\nwe're not quite ready to wrap the release; I still see three or four\nthings I think are \"must fix\" before releasing. We'll try to push out\n7.4.1 on Wednesday or Friday depending on how things go.\n\nThe stuff on my ra...