threads
listlengths
1
2.99k
[ { "msg_contents": "\nHello,\n\nis it possible to get the PG version splitted up into major, minor and\nmicro version in the future?\nFor now, only PG_VERSION is defined (at least, what i can see) and it is\nnot possible to use PG_VERSION at compile time to determine the actual\nPG version.\n\nExample:\n\nIn a m...
[ { "msg_contents": "Looking over the thread Josh started a few days ago, it seems there is\nconsensus to move these contrib modules into separate projects on\npgfoundry.org:\n\nadddepend\ndbase\ndbmirror\nfulltextindex\nmSQL-interface\nmac\noracle\ntips\n\nand to kill these outright:\n\narray\nipc_check\nmiscuti...
[ { "msg_contents": "In PL/PgSQL, \"END LOOP\" is used to terminate loop blocks, and \"END IF\" \nis used to terminate IF blocks. This is needlessly verbose: we could \nsimply accept \"END\" in both cases without syntactic ambiguity. I'd like \nto make this change, so that END can be used to terminate any kind of...
[ { "msg_contents": "\"Jim C. Nasby\" <decibel@decibel.org> writes:\n> It appears that the dblink regression test defaults to port 5432. I've\n> been trying to get platypus to compile clean on HEAD and 8_0 and it's\n> been failing on dblink.\n\nThere are several buildfarm machines failing like this. I think a\np...
[ { "msg_contents": "I'm getting \"CONTINUE cannot be used outside a loop\" errors even\nthough it's inside a loop. The error appears to be happening when\nCONTINUE passes control to the beginning of the loop but there's\nno more iterating to be done. I'd expect the loop to end at this\npoint instead of getting...
[ { "msg_contents": " \n\n> -----Original Message-----\n> From: Bruce Momjian [mailto:pgman@candle.pha.pa.us] \n> Sent: 21 June 2005 18:06\n> To: Dave Page\n> Cc: PostgreSQL-development; Andreas Pflug\n> Subject: Server instrumentation patch\n> \n> \n> OK, let me address this, but you might not like what I have \...
[ { "msg_contents": "> > But it still requires me to send some data (such as a dummy \n> query) to \n> > the backend before it exits. This is because server side \n> libpq blocks \n> > when reading and ignores signals at this time. I believe \n> the fix for \n> > this would be to pass a flag down to the libpq rou...
[ { "msg_contents": " \n\n> -----Original Message-----\n> From: Bruce Momjian [mailto:pgman@candle.pha.pa.us] \n> Sent: 22 June 2005 04:08\n> To: Andreas Pflug\n> Cc: Dave Page; PostgreSQL-development\n> Subject: Re: Server instrumentation patch\n> \n> > > The move of dbsize into the backend is similar. He moves...
[ { "msg_contents": "Hackers:\n\nI've been trying to get a test result for 8.1 that shows that we can eliminate \ncommit_delay and commit_siblings, as I believe that these settings no longer \nhave any real effect on performance. However, the checkpointing performance \nissues have so far prevented me from getti...
[ { "msg_contents": "> > Last chance for any Kerberos 4 users to speak up --- otherwise I'll \n> > apply this soon.\n> \n> If you just want someone to test it I can do that. I don't \n> actually use it normally though.\n\nI don't think \"just testing\" is enough - somebody needs to actually\nmaintain it... \n\n\n...
[ { "msg_contents": "> > Neil Conway said:\n> > > In PL/PgSQL, \"END LOOP\" is used to terminate loop blocks, and \"END\nIF\"\n> > > is used to terminate IF blocks. This is needlessly verbose: we\ncould\n> > > simply accept \"END\" in both cases without syntactic ambiguity. I'd\n> like\n> > > to make this change...
[ { "msg_contents": "> >> In any case the correct way to solve the problem is to find out \n> >> what's being left corrupt by SIGTERM, rather than install more \n> >> messiness in order to avoid facing the real issue ...\n> \n> > That is unfortunatly way over my head. And it doesn't seem like \n> > anybody who ac...
[ { "msg_contents": "Log Message:\n-----------\nMake REINDEX DATABASE do what one would expect, namely reindex all indexes\nin the database. The old behavior (reindex system catalogs only) is now\navailable as REINDEX SYSTEM. I did not add the complementary REINDEX USER\ncase since there did not seem to be cons...
[ { "msg_contents": "Finally, here is pgp_encrypt()/pgp_decrypt() - implementation\nof password-based encryption from RFC2440 (OpenPGP).\n\nThe goal of this code is to be more featureful encryption solution\nthan current encrypt(), which only functionality is running cipher\nover data.\n\nCompared to encrypt(), p...
[ { "msg_contents": "This is a second iteration of a previous thread that didn't resolve few\nweeks ago. I made some more modifications to the code to make it compatible\nwith the current COPY FROM code and it should be more agreeable this time.\n\nThe main premise of the new code is that it improves the text dat...
[ { "msg_contents": "It occurred to me to wonder whether contrib/rtree_gist fixes the rtree\nbug documented here:\nhttp://archives.postgresql.org/pgsql-general/2004-03/msg01143.php\n\nThe answer is unfortunately \"no\". In the regression database,\ninstall rtree_gist and do:\n\nregression=# create table gist_emp...
[ { "msg_contents": "Hackers,\n\nI just noticed the HaveNFreeProcs routine is coded as a loop around the\nProcGlobal struct members. I wonder if it's possible to use a simple\ncheck in procArray->numBackends against procArray->maxBackends instead?\n\n-- \nAlvaro Herrera (<alvherre[a]surnet.cl>)\nJason Tesser: Yo...
[ { "msg_contents": "> I'll look at problem after GiST concurrency. Fixing \n> rtree_gist is bug a fix, not a new feature, so I'm not \n> limited by 1 July.\n\nWont fixing rtree(_gist) require initdb, since the behaviour of the\noperators will change?\n\n... John\n\n", "msg_date": "Thu, 23 Jun 2005 16:30:45 +...
[ { "msg_contents": "I am getting the following error\n\ninitializing pg_depend ... FATAL: plan requires more slots than are \navailable\n\nThis is a laptop, and may be a result of not having enough shared mem \navailable ?\n\nDave\n", "msg_date": "Thu, 23 Jun 2005 08:42:31 -0400", "msg_from": "Dave Cr...
[ { "msg_contents": "I just got this regression failure on Windows:\n\n================== pgsql.2220/src/test/regress/regression.diffs \n===================\n*** ./expected/prepared_xacts.out Thu Jun 23 10:20:28 2005\n--- ./results/prepared_xacts.out Thu Jun 23 10:45:06 2005\n***************\n*** 179,189 ***...
[ { "msg_contents": "> Has Kerb4 been marked as depricated in the docs at all? If \n> not it might be best to just do that and then yank it later.\n\nYes, since 7.4.\n\nhttp://www.postgresql.org/docs/8.0/static/auth-methods.html#KERBEROS-AUT\nH\nhttp://www.postgresql.org/docs/7.4/static/auth-methods.html#KERBEROS...
[ { "msg_contents": "I looked into the r-tree breakage discussed in this thread:\nhttp://archives.postgresql.org/pgsql-general/2004-03/msg01135.php\n\nThe executive summary: r-tree index opclasses contain four two-dimensional\noperators, which behave correctly, and four one-dimensional operators\nwhich do not. T...
[ { "msg_contents": "\nIs there any reason for us to keep putting the language handler \nfunctions in the public schema? If they were put in, say, pg_catalog (as \nI see Peter's pl/sh language does for its handler) then the public \nschema could be dropped by people who want to do that with no ill \neffect, AFAIC...
[ { "msg_contents": "Log Message:\n-----------\nFix rtree and contrib/rtree_gist search behavior for the 1-D box and\npolygon operators (<<, &<, >>, &>). Per ideas originally put forward\nby andrew@supernews and later rediscovered by moi. This patch just\nfixes the existing opclasses, and does not add any new b...
[ { "msg_contents": "Hi Tom,\n\n> What needs more discussion is that it seems to me to make sense to extend\nthe standard \n> opclasses to handle the four Y-direction operators comparable to the\nX-direction \n> operators that are already there, that is \"above\", \"below\", \"overabove\",\nand \n> \"overbelow\"....
[ { "msg_contents": " \n\n> -----Original Message-----\n> From: Bruce Momjian [mailto:pgman@candle.pha.pa.us] \n> Sent: 24 June 2005 14:00\n> To: Dave Page\n> Cc: PostgreSQL-development; Andreas Pflug\n> Subject: Re: Server instrumentation patch\n> \n> Well, I see Marc replying that dbsize should be moved complet...
[ { "msg_contents": "I'd vote that these functions should follow the semantics of the <, and\n> operators.\n\n(NULL < x) is NULL;\n\n... John \n\n\n> -----Original Message-----\n> From: pgsql-hackers-owner@postgresql.org \n> [mailto:pgsql-hackers-owner@postgresql.org] On Behalf Of Tom Lane\n> Sent: Friday, June 2...
[ { "msg_contents": " \n\n> -----Original Message-----\n> From: Michael Paesold [mailto:mpaesold@gmx.at] \n> Sent: 24 June 2005 16:48\n> To: Andreas Pflug\n> Cc: Dave Page; PostgreSQL-development\n> Subject: Re: [HACKERS] Server instrumentation patch\n> \n> Andreas Pflug wrote:\n> \n> >>For the second, please sup...
[ { "msg_contents": " \n\n> -----Original Message-----\n> From: Michael Paesold [mailto:mpaesold@gmx.at] \n> Sent: 24 June 2005 17:53\n> To: Dave Page; Andreas Pflug\n> Cc: PostgreSQL-development\n> Subject: Re: [HACKERS] Server instrumentation patch\n> \n> > My main concern is that the names are inconsistent for...
[ { "msg_contents": "The following functions are currently in contrib/dbsize. As Bruce has\nsuggested, we should discuss which functions should or shouldn't be\nmoved into the backend, and which should be renamed.\n\nint8 pg_database_size(oid)\nint8 database_size(name)\n\nBoth return the database size in bytes, t...
[ { "msg_contents": " \n\n> -----Original Message-----\n> From: Bruce Momjian [mailto:pgman@candle.pha.pa.us] \n> Sent: 24 June 2005 18:47\n> To: Dave Page\n> Cc: PostgreSQL-development; Andreas Pflug\n> Subject: Re: [HACKERS] Server instrumentation patch\n> \n> The security issue is that we didn't want the backe...
[ { "msg_contents": " \n\n> -----Original Message-----\n> From: Bruce Momjian [mailto:pgman@candle.pha.pa.us] \n> Sent: 24 June 2005 20:45\n> To: Dave Page\n> Cc: PostgreSQL-development\n> Subject: Re: [HACKERS] DBSize backend integration\n> \n> > My personal view is that pg_database_size, pg_relation_size and\n>...
[ { "msg_contents": " \n\n> -----Original Message-----\n> From: Bruce Momjian [mailto:pgman@candle.pha.pa.us] \n> Sent: 24 June 2005 21:07\n> To: Dave Page\n> Cc: PostgreSQL-development\n> Subject: Re: [HACKERS] DBSize backend integration\n> \n> > > \n> > > So drop total_relation_size(), \n> relation_size_compone...
[ { "msg_contents": " \n\n> -----Original Message-----\n> From: Andrew Dunstan [mailto:andrew@dunslane.net] \n> Sent: 24 June 2005 21:12\n> To: Bruce Momjian\n> Cc: Dave Page; PostgreSQL-development\n> Subject: Re: [HACKERS] DBSize backend integration\n> \n> \n> \n> Bruce Momjian wrote:\n> \n> >\n> >So drop total...
[ { "msg_contents": "Hi, i have a doubt...\n\nit seems to me that the get_rel_* functions in lsyscache do the same as doing \nheap_open(); \nCalling the appropiate macro Relation*\nheap_close();\n\nis there any difference between them? in wich situation is one better\nthan the other?\n\n-- \nregards,\nJaime Casan...
[ { "msg_contents": "Hi, i have found several #ifdef NOT_USED marked code... i guess this\nis dead code... is safe to remove it? there is some reason you just\nhide it and not remove the code?\n\n-- \nregards,\nJaime Casanova\n(DBA: DataBase Aniquilator ;)\n", "msg_date": "Sat, 25 Jun 2005 00:41:19 -0500", ...
[ { "msg_contents": "Hackers,\n\nThere's one problem with autovacuum and it's how to bootstrap it.\n\nMy current approach is to connect to a default hardcoded database :-) \nso it has to be changed to be useful.\n\nI added two new fields to the pg_database flatfile and table, datstats\nand datautovac. They resp...
[ { "msg_contents": "I believe I have figured out the problem behind the recent reports we've\nbeen seeing of \"index is not a btree\" errors. Here's how to reproduce\nit (in 8.0 or HEAD):\n\n-- drop database test if present\ncheckpoint;\ncreate database test;\n\\c test\ncreate table t1 ( name varchar(20) primar...
[ { "msg_contents": "Here are the open items. Feature freeze is Friday, July 1.\n\n---------------------------------------------------------------------------\n\n\n PostgreSQL 8.1 Open Items\n =========================\n\nCurrent version at http://candl...
[ { "msg_contents": "\nThe buildfarm member penguin (Debian, ARM) has been building the HEAD \nbranch for the most part happily since late January, but keeps failing \non the REL8_0_STABLE branch on tsearch2. It appears that some changes \nmade around 24-27 January fixed it for this architecture/OS. Looking in \n...
[ { "msg_contents": "I've mentioned this a couple times now, but here is an official\nproposal:\n\nI would like to move the contrib/rtree_gist functionality into the core\nsystem before feature freeze. There are a couple arguments in favor:\n\n* It's way past time GiST indexes got some regression testing in the\...
[ { "msg_contents": "Hi All,\n \nMy company (EnterpriseDB) is very interested in helping to make ANSI-ISO SQL Stored Procedures part of standard BSD Postgres. The SQL/PSM standard is currently used in DB2 and is being implemented in MySQL 5.0. Note that I'm NOT a big fan of adding Oracle compatibility to PL/pg...
[ { "msg_contents": "I enclose a fully working implementation of Constraint Exclusion, a very\nbasic form of Partitioning. Initial review is requested, to allow us all\nto assess what further work is required on this prior to Beta freeze.\n\nPatch against current cvstip; passes make check and all special tests.\n...
[ { "msg_contents": "I just noticed that these two modules define operator @ as \"contains\"\nand operator ~ as \"contained by\", which is opposite to the meanings used\nby every other datatype.\n\nIs it better to fix this or leave well enough alone?\n\n\t\t\tregards, tom lane\n", "msg_date": "Sun, 26 Jun 200...
[ { "msg_contents": "Trying to set up my 7.1.4 box as a buildfarm member, and can't get through \nA build. The latest failure (after removing --with-perl) is:\n\n$ tail -20 ../../../lastrun-logs/make-contrib.log\ncc -O -Kinline -g -K PIC -I. -I../../src/include -I/usr/local/include -c\n-o seg.o seg.c\nUX:cc: W...
[ { "msg_contents": "I will be in Maryland from Monday through Thursday doing training. I\nwill have internet access so in the evenings I will be online to read\nemail and apply patches.\n\nI realize this isn't an ideal time to be away but I didn't have much of\na choice.\n\n-- \n Bruce Momjian ...
[ { "msg_contents": "\nI have updated the open items based on recent discussions:\n\n---------------------------------------------------------------------------\n\n PostgreSQL 8.1 Open Items\n =========================\n\nCurrent version at http://candle...
[ { "msg_contents": "Tom Lane Wrote:\n\n> ... but rtree has always \n> been marginal, and it's very hard to see where it can win over gist.\n\nSimplicity!\n\nImplementing rtree operators and support functions is FAR simpler than\nimplementing the GiST equivalents.\n\nFor example, suppose all you want to implement...
[ { "msg_contents": "Greetings,\n\n Attached please find files and patches associated with moving from the\n User/Group system currently in place to Roles, as discussed\n previously. The files are:\n\n pg_authid.h\n New system table, contains role information\n To be placed in src/include/catalog, repl...
[ { "msg_contents": "Hi Affan,\n \nPlease read this SQL/PSM thread over and then address how EDB did it (and of course how you would recommend generalizing it for PG 8.2).\n \nPerhaps our SQL/PSM could be designed from the ground up with \"debugability\" :-) in mind.\n \n--Luss\n\n________________________________...
[ { "msg_contents": "\tCurrently I want to take a TPC-H test on postgresql-8.0.2. I have downloaded the DBGEN and QGEN from the homepage of TPC. But I encountered many problems which forced me to request some help.\n\t1. How to load the data from flat file generated by dbgen tool? To the best of my knowledge, the...
[ { "msg_contents": "Is it possible to access postgres configuration from\na C stored procedure ?\n\nI need to leverage memory usage and I'd use postgres configuration\nrather then a compile-time define.\n\nIs there such a configuration, if access is possible ?\n\n--strk;\n", "msg_date": "Mon, 27 Jun 2005 12:...
[ { "msg_contents": "Tom Lane [mailto:tgl@sss.pgh.pa.us] Wrote:\n\n> There's no HOWTO for rtree either. Again, my point is not \n> that one couldn't be written; it's that we would probably be \n> better off spending the effort on a HOWTO for gist.\n\nNo, but the _current_ implementation of the rtree operators ar...
[ { "msg_contents": "Have we list named something like 'test focusing for 8.1'? If it exists then \nGiST concurrency and recovery testing should be added to it. Especially, \nrecovery after crash. Of course, now Oleg and me going to begin a large test \nprogram.\n\n\nWhile I'm running test with concurrent select/...
[ { "msg_contents": "Hi!\n\nNow that we have both WAL logging and better concurrency for GiST\nindexes (great job btw, this will push at least one of my projects into\nusing 8.1 the day it is released - or more likely, at RC stage), are\nthere any plans to move tsearch2 from contrib to core?\n\nI quite often hear...
[ { "msg_contents": "Hi Hackers,\n\nHere I have two questions related to extending a relation:\n\n1. When we want a new page, we will do something like this:\n\nLockPage(relation, 0, ExclusiveLock);\nblockNum = smgrnblocks(reln->rd_smgr);\n/* Try to locate this blockNum in buffer pool, but definitely can't? */\ns...
[ { "msg_contents": "The attached patch is an update of the dbsize integration patch\ndiscussed last week. This version includes the following functions:\n\npg_relation_size(text) - Get relation size by name/schema.name\npg_relation_size(oid) - Get relation size by OID\npg_tablespace_size(name) - Get tablesp...
[ { "msg_contents": "> > Now that we have both WAL logging and better concurrency for GiST \n> > indexes (great job btw, this will push at least one of my projects \n> > into using 8.1 the day it is released - or more likely, at \n> RC stage), \n> > are there any plans to move tsearch2 from contrib to core?\n> \n...
[ { "msg_contents": "I've noticed a lot of signedness warnings when compiling Postgres \nwith GCC 4. They may have been there with GCC 3.3 as well, but I \ndon't recall. Here's a example:\n\ngcc -no-cpp-precomp -O2 -Wall -Wmissing-prototypes -Wpointer-arith - \nWdeclaration-after-statement -Wold-style-definitio...
[ { "msg_contents": "Hello,\n\nAny thoughts on the below? Specifically the PANIC? A customer\nwas performing a full vacuum when it happen. This is running 7.4.7\non ES 3.0. We run daily vacuums and analyzes as well.\n\n2005-06-27 16:35:02 LOG: recycled transaction log file \"0000004D0000006F\"\n2005-06-27 16:35:...
[ { "msg_contents": "Dave Page wrote:\n> As per Bruce's request, here's a copy of Andreas' server instrumentation\n> patch for review. I've separated out the dbsize stuff and\n> pg_terminate_backend is also not included.\n> \n> This version was generated against CVS today.\n> \n> As far as I can tell from review ...
[ { "msg_contents": "I'm still playing around with the ALTER OBJECT SET SCHEMA stuff. I managed \nto alter indexes and constraints as well for tables, but with SERIAL \nsequences there is one little problem:\n\nWhen altering a sequence created by a SERIAL column type (i do this by \nexamining pg_depend to avoid m...
[ { "msg_contents": "Thanks .\n\n/D\n\n-----Original Message-----\nFrom: \"Andreas Pflug\"<pgadmin@pse-consulting.de>\nSent: 27/06/05 22:41:35\nTo: \"Dave Page\"<dpage@vale-housing.co.uk>\nCc: \"PostgreSQL-development\"<pgsql-hackers@postgresql.org>, \"Bruce Momjian\"<pgman@candle.pha.pa.us>\nSubject: Re: For rev...
[ { "msg_contents": " \n\n> -----Original Message-----\n> From: Bruce Momjian [mailto:pgman@candle.pha.pa.us] \n> Sent: 28 June 2005 00:58\n> To: Dave Page\n> Cc: PostgreSQL-development\n> Subject: Re: [HACKERS] For review: dbsize patch\n> \n> Dave Page wrote:\n> > The attached patch is an update of the dbsize in...
[ { "msg_contents": "Hi,\n\nInspired by following posting, I'm thinking about to use ltree for\nfull text search purpose.\n\nSubject: Re: [GENERAL] Creating an index-type for LIKE '%value%'\nFrom: Yury Don <yura@vpcit.ru>\nTo: pgsql-general@postgresql.org\nDate: Mon, 7 Feb 2005 23:16:30 +0500\n\nI noticed that lt...
[ { "msg_contents": "I encountered a bug where the same query behaves differently\nunder different LC_CTYPE settings, \"C\" and \"en_US.UTF-8\".\n\nThe query is of type SELECT ... WHERE a like 'x' and b like 'y', where relevant\nindexes exist for a and b, and 'x' and 'y' strings do not contain the %\ncharacter. W...
[ { "msg_contents": "[Resent as the list seems to have rejected yesterdays attempt]\n\nAs per Bruce's request, here's a copy of Andreas' server \ninstrumentation patch for review. I've separated out the \ndbsize stuff and pg_terminate_backend is also not included.\n\nThis version was generated against CVS today.\...
[ { "msg_contents": "During a recent training session I was reminded about a peculiar \nmisbehavior that recent PostgreSQL releases exhibit when the TCP port \nthey are trying to bind to is occupied:\n\nLOG: could not bind IPv4 socket: Address already in use\nHINT: Is another postmaster already running on port ...
[ { "msg_contents": "The valure returned from pg_config --includedir-server\nis broken as of CVS.\n\nIt points to unexistent directory:\n/home/extra/pgroot-cvs/include/server\n\nCorrect value would be:\n/home/extra/pgroot-cvs/include/postgresql/server\n\n--strk;\n\n", "msg_date": "Tue, 28 Jun 2005 13:09:02 +0...
[ { "msg_contents": "The attached patch integrates dbsize functions into the backend, as per\ndiscussion on -hackers. The following functions are included:\n\npg_relation_size(text) - Get relation size by name/schema.name\npg_relation_size(oid) - Get relation size by OID\npg_tablespace_size(name) - Get table...
[ { "msg_contents": "After the recent role-capable catalog commit, initdb -W fails with\nthe following error:\n\ninitializing pg_authid ... ok\nEnter new superuser password: \nEnter it again: \nsetting password ... ok\ninitdb: The password file was not generated. Please report this problem.\ninitdb: removing cont...
[ { "msg_contents": "I'm seeing the following failure on win32, post roles patch application:\n\ngcc -O2 -Wall -Wmissing-prototypes -Wpointer-arith\n-Wdeclaration-after-statement -Wold-style-definition -Wendif-labels\n-fno-strict-aliasing -I../../../src/include -I./src/include/port/win32\n-DEXEC_BACKEND \"-I../....
[ { "msg_contents": "I'm looking at the problem Stephen Frost noted of not being able to\nduplicate the SQL99-specified syntax for GRANT/REVOKE with roles.\n\nThe SQL99 spec has for GRANT (REVOKE has the identical issue):\n\n <grant privilege statement> ::=\n GRANT <privileges>\n ...
[ { "msg_contents": "Folks,\n\nThere's no time to do this for 8.1, but I'd like to get it on the books for \n8.2:\n\nThe Problem: Occassionally a DBA needs to dump a database to a new \nencoding. In instances where the current encoding, (or lack of an \nencoding, like SQL_ASCII) is poorly supported on the targ...
[ { "msg_contents": " \n\n> -----Original Message-----\n> From: Stephen Frost [mailto:sfrost@snowman.net] \n> Sent: 28 June 2005 18:30\n> To: Dave Page\n> Cc: PostgreSQL-development\n> Subject: Re: [HACKERS] CVS tip build failure (win32)\n> \n> * Dave Page (dpage@vale-housing.co.uk) wrote:\n> > I'm seeing the fol...
[ { "msg_contents": "> There's no time to do this for 8.1, but I'd like to get it on \n> the books for\n> 8.2:\n> \n> The Problem: Occassionally a DBA needs to dump a database to a new \n> encoding. In instances where the current encoding, (or lack of an \n> encoding, like SQL_ASCII) is poorly supported on the...
[ { "msg_contents": "> > I *think* that's easy enough to do in time for 8.1. Trivial patch \n> > attached. I hope it's enough :-) It passed my very quick testing...\n> > \n> > (Yup, I read the mails aobut PGCLIENTENCODING, but an option to \n> > pg_dump is certainly easier)\n> \n> You forgot to document the long ...
[ { "msg_contents": "> >> I *think* that's easy enough to do in time for 8.1. Trivial patch \n> >> attached. I hope it's enough :-) It passed my very quick testing...\n> >>\n> >> (Yup, I read the mails aobut PGCLIENTENCODING, but an option to \n> >> pg_dump is certainly easier)\n> >\n> > You forgot to document th...
[ { "msg_contents": "I'm psyched for EDB to particpate and/or in some way sponsor this effort. How can we best help to make this a reality sooner rather than later??\r\n\r\nThere's going to be a painful period later this year when Mysqueel is able to claim that their production db has more ansi compatability th...
[ { "msg_contents": "\nHere are our open items. How hard are we going to be about the cutoff\ndate? Do we give people the weekend to complete some items?\n\n---------------------------------------------------------------------------\n\n\n PostgreSQL 8.1 Open Items\n ...
[ { "msg_contents": "I would like to write a postgres extension type which represents a btree of data \nand allows me to access and modify elements within that logical btree. Assume \nthe type is named btree_extension, and I have the table:\n\nCREATE TABLE example (\n\ta TEXT,\n\tb TEXT,\n\tc BTREE_EXTENSI...
[ { "msg_contents": "Is it possible for a pl/pgsql trigger function to look at the sql \ncommand that caused it to be triggered? If not, is this an idea?\n\nChris\n\n", "msg_date": "Wed, 29 Jun 2005 11:54:10 +0800", "msg_from": "Christopher Kings-Lynne <chriskl@familyhealth.com.au>", "msg_from_op": t...
[ { "msg_contents": "I run initdb and get:\n\nLOG: database system was shut down at 2005-06-29 11:57:10 WST\nLOG: checkpoint record is at 0/353E68\nLOG: redo record is at 0/353E68; undo record is at 0/0; shutdown TRUE\nLOG: next transaction ID: 548; next OID: 10792\nLOG: next MultiXactId: 1; next MultiXactOf...
[ { "msg_contents": "I personally think it's an interesting idea. Is there a business scenario where you want/need to do this?? I think it'd be kinda cool for a trigger to be able to write out an audit record with the dml sql (along with the typical old, and new value stuff). Perhaps this is already doable??\...
[ { "msg_contents": "A number of times when I've attempted to start the postmaster (using \npg_ctl start) I've gotten Fatal error messages (usually when I don't \nhave the shmmax/shmall settings correct) followed by a success \nmessage (something like \"postmaster sucessfully started\").\n\nI don't currently h...
[ { "msg_contents": "A coworker of mine reported a subtle issue in ATExecAlterColumnType() in \ntablecmds.c. Suppose we have the following DDL:\n\nCREATE TABLE pktable (a int primary key, b int);\nCREATE TABLE fktable (fk int references pktable, c int);\nALTER TABLE pktable ALTER COLUMN a TYPE bigint;\n\nCirca li...
[ { "msg_contents": "> Changes\n> -------\n> integrated auto-vacuum (Alvaro)\n> ICU locale patch?\n\nThat would be Palle, and he's said he thinks he can have it in place in\ntime. I'll have to update it for win32 build specifics after that, but\nthat should be ok after the freeze, right?\n\nPlease consider removi...
[ { "msg_contents": "Hi guys,\n\n> I lean with you and Tom. While running it over the same libpq protocol \n> would be helpful in some ways, it would have a lot of drawbacks and \n> would really change the function of libpq. I think a separate debugging \n> protocol is in order.\n\nJust putting on my network ha...
[ { "msg_contents": "Hi,\n\nafter linking my database client application with a crypto library (as \nshared library), I noticed that I couldn't connect to postgresql any \nlonger. Error message was \"Password authentication failed\".\n\nAfter some time I found out that the issue was caused by both the crypto \nli...
[ { "msg_contents": "\n\n\n-----Original Message-----\nFrom: Bruce Momjian [mailto:pgman@candle.pha.pa.us]\nSent: Wed 6/29/2005 2:16 AM\nTo: Dave Page\nCc: PostgreSQL-patches; PostgreSQL-development\nSubject: Re: [PATCHES] Dbsize backend integration\n \n> OK, so you went with relation as heap/index/toast only, an...
[ { "msg_contents": "Teodor Sigaev <teodor@sigaev.ru> writes:\n\n> 1. In your meaning, btree has bad split algorithm too. Look at _bt_compare, if\n> first keys on page are unique the the later keys will not be compared ;)\n\nPlease look at BUG 1614/1616.\nPleeaaasssseee.\nThere are also troubles with intarray, ma...
[ { "msg_contents": "Hello\n\n\tThe concept is from Oracle 9i, but with some changes.\n\nhttp://www.oracle-10g.de/oracle_10g_documentation/appdev.101/b10807/05_colls.htm#i35672\n\nAssociative arrays are any arrays with index. Will be created \n\nDECLARE \n x varchar[] INDEX BY VARCHAR = '{}'; -- some format, hav...
[ { "msg_contents": "Andrew Dunstan wrote:\n\n> It could be done by putting the SPL parser in front of the SQL parser. \n> Maybe Luss will tell us how it was done ;-) \n\nWe added SPL 'CREATE [OR REPLACE] PROCEDURE' and 'CREATE [OR REPLACE]\nFUNCTION' Syntax support to the main scanner, parser for the backend.\nB...
[ { "msg_contents": "Hello\n\nIn my code I evaluate expr\n\n select array(select generate_series from generate_series(1,800)\n\nmy code\n var = (PLpgSQL_var *) (estate->datums[stmt->varno]);\n value = exec_eval_expr(estate, stmt->expr, &isnull, &valtype);\n exec_eval_cleanup(estate);\n\n\nand...
[ { "msg_contents": "Tom, All:\n\nOk, finally managed though the peristent efforts of Mark Wong to get some \ntests through. Here are two tests with the CRC and wall buffer checking \ncompletely cut out of the code, as Tom suggested:\n\n5-min checkpoint:\nhttp://khack.osdl.org/stp/302738/results/0/\nhttp://khack...
[ { "msg_contents": "\nHello,\n\nseems like a complicated question:\n\nis it possible in a module to receive an event, get a trigger fired, get\na function called or something like this when the current transaction is\nabout to be committed?\n\nBackground:\nIn a module (tablelog) i need the latest possible timest...
[ { "msg_contents": "gmake distclean\n./configure ...\ngmake install\n\n...\ngcc -O2 -Wall -Wmissing-prototypes -Wpointer-arith -fno-strict-aliasing \n-g -I../../../../src/include -c -o timestamp.o timestamp.c -MMD\ntimestamp.c: In function `GetCurrentTimestamp':\ntimestamp.c:955: storage size of `tp' isn't kno...
[ { "msg_contents": "Hello, pgsql-hackers.\nHello, Oleg Bartunov.\n\nHere are my first messages. Bug was found on these real data in a real table.\nMy hairs raised. Excuse my emotionality.\n\nhttp://archives.postgresql.org/pgsql-bugs/2005-04/msg00160.php\nhttp://archives.postgresql.org/pgsql-bugs/2005-04/msg00162...
[ { "msg_contents": " \n\n> -----Original Message-----\n> From: Bruce Momjian [mailto:pgman@candle.pha.pa.us] \n> Sent: 29 June 2005 12:46\n> To: Dave Page\n> Cc: PostgreSQL-patches; PostgreSQL-development\n> Subject: Re: [PATCHES] Dbsize backend integration\n> \n> I have a new idea --- pg_storage_size(). \n\nI'...
[ { "msg_contents": " \n\n> -----Original Message-----\n> From: Michael Glaesemann [mailto:grzm@myrealbox.com] \n> Sent: 30 June 2005 10:01\n> To: Dave Page\n> Cc: PostgreSQL-patches; PostgreSQL-development\n> Subject: Re: [PATCHES] Dbsize backend integration\n> \n> \n> I'm still unclear as to what exactly is try...