threads
listlengths
1
2.99k
[ { "msg_contents": "Hi,\n\nI've just noticed that the NUMERIC input function special cases NaN\nvalues differently to the floating point input functions. For example\nthe following are all accepted (on my system anyway):\n\n SELECT 'NaN'::float8;\n SELECT ' NaN'::float8;\n SELECT 'NaN '::float8;\n SELECT '+...
[ { "msg_contents": "Hi Tom-san.\n\nI want to solve one problem before the release of 8.4.\nHowever, since it also seems to be the new feature,\nif not enough for 8.4, you may suggest that it is 8.5.\n\nIn Japan, the local file name of a server is dealt with by SJIS.\nThe example present Postgres...\n\nserver_enc...
[ { "msg_contents": "İ have two question,\nBackup and restore with C# (windos form) interface, or postgre scripts?\n\n-- \nRegards, Feridun Türk\n\nİ have two question,Backup and restore with C# (windos form) interface, or postgre scripts?-- Regards, Feridun Türk", "msg_date": "Tue, 7 Apr 2009 21:02:14 +0300"...
[ { "msg_contents": "Hi, using v8.3.5 and a number of client libraries (java, python, pgadmin) and playing about with arrays.\n\nThey all return arrays as text, is it possible to configure postgresql to return an array in native form (does postgresql support such a thing)? This is using both the simple and extend...
[ { "msg_contents": "Any idea why I am seeing this warning with the new pg_start_backup()\n'fast' flag?\n\n\txlog.c:6917: warning: variable `fast' might be clobbered by\n\t`longjmp' or `vfork'\n\nThe line is in a PG_ENSURE_ERROR_CLEANUP() block. This is with gcc\nversion 2.95.3.\n\n-- \n Bruce Momjian <bruce@m...
[ { "msg_contents": "While answering a question about something else, I spotted another\nomission regarding \\ef - no tab-completion for it.\n\nThis is the trivial patch, not sure if there's any benefit in trying\nto be more specific.\n\n-- \nAndrew (irc:RhodiumToad)", "msg_date": "Wed, 08 Apr 2009 02:40:17 +...
[ { "msg_contents": "Log Message:\n-----------\nTell gettext which codeset to use by calling bind_textdomain_codeset(). We\nalready did that on Windows, but it's needed on other platforms too when\nLC_CTYPE=C. With other locales, we enforce (or trust) that the codeset of\nthe locale matches the server encoding so...
[ { "msg_contents": "Hi,\n\nFollowing the discussion here\nhttp://archives.postgresql.org/message-id/49D9E986.8010604@pse-consulting.de\n, I wrote a small patch which rotates the last XLog file on shutdown\nso that the archive command is also executed for this file and we are\nsure we have all the useful XLog fil...
[ { "msg_contents": "Hi,\n\nSome one knows where can I download a full example of a variable length\nuser defined type? I'm trying to define one but I have problems with de\noutput function.\n\n\nThanks\n", "msg_date": "Wed, 08 Apr 2009 15:49:12 -0400", "msg_from": "kverdecia <kverdecia@uci.cu>", "msg...
[ { "msg_contents": "How that debug_print_parse outputs as LOG instead of DEBUG in 8.4,\nshould it be log_print_parse?\n\n-- \n Bruce Momjian <bruce@momjian.us> http://momjian.us\n EnterpriseDB http://enterprisedb.com\n\n + If your life is a hard drive, Christ can be your ba...
[ { "msg_contents": "\nI happen to be doing this grep (the error message could perhaps use a HINT as\nI couldn't figure out how to satisfy it...)\n\nI noticed that the Croatian msgid string seems not to match the other\nlanguages. Did this message change recently? Does this get updated only when\nwe reach beta an...
[ { "msg_contents": "\nThis query surprised me. I expected us to do the Aggregate once for all the\naggregate functions in the select target which is what normally happens. If I\nsimplify the query further it actually does so. \n\nI don't really understand what's going on here. It can't be the volatile\nrandom() ...
[ { "msg_contents": "All,\n\nThe Tsearch2.sql compatibility fuctions in \n/contrib/tsearch2/tsearch2.sql don't include an important compatibility \nobject. For 8.2 Tsearch2 usage, a lot of queries were written calling \nthe \"default\" config, like:\n\nto_tsvector('default',somedata)\n\nIn 8.3 this fails with a ...
[ { "msg_contents": "\nWe still have a little work to do on dependencies in parallel \npg_restore. The current test compares the candidate's locking \ndependencies with those of the running jobs, and allows the candidate is \nthere isn't a match. That's not a broad enough test. The candidate will \nblock if there...
[ { "msg_contents": "Hello,\n\nI'm trying to install tsearch2 on PostgreSQL 8.3.7 but I'm struggling to get\nit run. I installed it successfully on PostgreSQL 8.1 but can't get it\nworking on 8.3.7 using the same steps. The steps I'm using are:\n\n1. yum install postgresql-contrib\n2. psql mydb < tsearch2.sql\n\n...
[ { "msg_contents": "Hello\n\nI was surprised so PostgreSQL doesn't support this basic output format.\n\nRegards\nPavel Stehule", "msg_date": "Fri, 10 Apr 2009 18:16:40 +0200", "msg_from": "Pavel Stehule <pavel.stehule@gmail.com>", "msg_from_op": true, "msg_subject": "WIP: to_char, support for EEE...
[ { "msg_contents": ">Surely we'd have seen more complaints, then.\n>\t\t\tregards, tom lane\n\nThis gets a definite +1 here as we are using \"SET TIMEZONE\" at the\nbeginning of each transaction so that each user sees/records dates\nautomatically in whatever timezone they have associated with them.\nWorks beauti...
[ { "msg_contents": "So I started to look at what might be involved in teaching plpgsql about\nstandard_conforming_strings, and was soon dismayed by the sheer epic\nnature of its failure to act like the core lexer. It was shaky enough\nbefore, but the recent introduction of Unicode strings and identifiers\ninto ...
[ { "msg_contents": "Hi.\n\nThere's a TODO item about making COMMENT ON accept an expression. The\ngrammar change is simple (SConst|NULL_P->a_expr), but as far as I can\nsee, there are no similar utility commands that take expressions, and\nI'm not very familiar with the planner and executor, so I could use\nsome...
[ { "msg_contents": "A thread over in -admin has made me realize the truth of $SUBJECT.\nWith --clean, pg_dumpall does indeed emit a DROP command for each\nrole, tablespace, or database ... just before recreating it. This\ntakes no account of dependencies and so the role and tablespace\ndrops are pretty much gua...
[ { "msg_contents": "Hello,\n\nI am sending small patch, that allows hooking transformation stage of parser.\n\n\nRegards\nPavel Stehule", "msg_date": "Sat, 11 Apr 2009 18:01:38 +0200", "msg_from": "Pavel Stehule <pavel.stehule@gmail.com>", "msg_from_op": true, "msg_subject": "Patch for 8.5, trans...
[ { "msg_contents": "Is there any way to adjust the oid of an already created pg_type (plus\ndependent tables like pg_attribute)? C code inside the backend is\nok...I have two databases and need to keep oid in sync.\n\n(or, create a type at a particular oid slot would be ok too). note,\nthis is not at bootstrap...
[ { "msg_contents": "After spending some time with the new plural string translation support,\nI admit I am confused.\n\nI was just going over this string in pg_dump:\n\n#: pg_dump.c:5011\n#, c-format\nmsgid \"expected %d check constraint on table \\\"%s\\\" but found %d\\n\"\nmsgid_plural \"expected %d check con...
[ { "msg_contents": "On Thu, Feb 19, 2009 at 5:53 PM, Tom Lane <tgl@sss.pgh.pa.us> wrote:\n> Greg Stark <stark@enterprisedb.com> writes:\n>> It's tempting to have Hash cheat and just peek at the node beneath it\n>> to see if it's a HashAggregate, in which case it could call a special\n>> method to request the who...
[ { "msg_contents": "From: Abhijit Menon-Sen <ams@toroid.org>\n\nThanks to Andrew Gierth for writing the function used in the test.\n---\n src/test/regress/expected/defs.out | 43 ++++++++++++++++++++++++++++++++++++\n src/test/regress/parallel_schedule | 2 +-\n src/test/regress/serial_schedule | 1 +\n s...
[ { "msg_contents": "Hi,\nis there any way how to count affected rows by on update rule and use it \nas part of condtions.\n\nExample:\n\n\nCREATE OR REPLACE RULE \"_UPDATE\" AS ON UPDATE TO \"users\" DO INSTEAD (\n UPDATE \"s_users\" SET\n id = new.id,\n login = new.login,\n WHERE id IN (SELECT...
[ { "msg_contents": "Hi.\n\nWhile PostgreSQL is a great database, it lacks some fundamental\nUnicode support. I want to present some points that have--to my\nknowledge--not been addressed so far. In the following text, it is\nassumed that the database and client encoding is UTF-8.\n\n\n1) Functions like char_leng...
[ { "msg_contents": "Hello,\n\nthis my proposal is very simple. It help to people who have to manage\nlarge or complex database system. Important data are date of creating\nand date of altering tables and stored procedures. These data cannot\nbe modified by user, so implementation doesn't need any new\nstatements...
[ { "msg_contents": "Hi,\n\nI'm getting the following failure on RHEL 4:\n\nhttp://www.gunduz.org/temp/regression.out\nhttp://www.gunduz.org/temp/regression.diffs\n\nHere is the Makefile.regress that I use while building RPMs on 8.4:\n\nhttps://projects.commandprompt.com/public/pgcore/repo/rpm/redhat/8.4/postgres...
[ { "msg_contents": "I have a query that performs poorly which can be simplified to the\nfollowing test case (v8.3.6).\n\nCREATE TABLE foo (id integer, primary key (id));\nINSERT INTO foo SELECT generate_series(1,10);\nCREATE TABLE bar (id integer, foo_id integer not null references foo (id),\n PRIMARY KEY (id...
[ { "msg_contents": "Folks,\n\nHere's a patch that adds a \"Function Type\" column to \\df while\nremoving the now-redundant \\da.\n\nCheers,\nDavid.\n-- \nDavid Fetter <david@fetter.org> http://fetter.org/\nPhone: +1 415 235 3778 AIM: dfetter666 Yahoo!: dfetter\nSkype: davidfetter XMPP: david.fetter@gmail...
[ { "msg_contents": "Hi,\n\nlog_directory is automatically created if not present when starting\nthe database server. But, stats_temp_directory is not created. Why?\nISTM that current behavior is undesirable.\n\nIs it worth making the patch which creates stats_temp_directory\nif not present?\n\nRegards,\n\n-- \nF...
[ { "msg_contents": "When postgreSQL is compiled with --thread-safe that libpq should be\nthread safe. But it is not true when somebody call fork(). The problem\nis that fork() forks only active threads and some mutex can stay locked\nby another thread. We use ssl_config mutex which is global.\n\nWe need implemen...
[ { "msg_contents": "Cast of aggregate's type works:\n# select avg(s)::int4 from foo;\n\nbut that doesn't work for with new windowing functions interface:\n# select avg(s)::int4 OVER () from foo;\nERROR: syntax error at or near \"OVER\"\nLINE 1: select avg(s)::int4 OVER () from foo;\n\nIs that intentional?\n\n--...
[ { "msg_contents": "Whichever way the current discussion about Unicode literals turns out,\nit's clear that plpgsql is not up to speed on matching the core lexer's\nbehavior --- it's wrong anyway with respect to\nstandard_conforming_strings.\n\nI had earlier speculated semi-facetiously about ripping out the plpg...
[ { "msg_contents": "Hi,\n\nI built PG 8.4 beta1 on 2 different Fedora-10 boxes. One of them was a\nlocal box, which runs under QEMU. The other one is Fedora's build\nservers. (I did a scratch build on Fedora build server)\n\nOn the first machine, I got a regression failure:\n\nhttp://www.gunduz.org/temp/regressi...
[ { "msg_contents": "Here is a WIP patch to solve server-side encoding issues.\nIt includes \"Solution of the file name problem of copy on windows\" patch.\n http://archives.postgresql.org/message-id/20090413184335.39BE.52131E4D@oss.ntt.co.jp\n\nIt could solve the following issues. They are not only in Windows...
[ { "msg_contents": "Hi all,\n\nI'm doing an experimental project using Postgres as the prototype.\nI want to store attribute values of xml type in an internal XML table\nwhich is created for every XML column. One XML node (element,\nattribute or text) is stored as a tuple in the XML table. While\na 127MB XML doc...
[ { "msg_contents": "Hi list,\nwe have just migrated one of our databases from 8.2.12 to 8.3.7. We now \nexperience a strange problem: A query that was really fast on the 8.2 \nserver is now much slower on the 8.3 server (1 ms vs. 60 sec). I had a \nlook at the query plan and it is completely different. Both serv...
[ { "msg_contents": "Hi,\n\nIt seems there's a missing gettext() call in new code in hba.c, per the\npatch below. I don't actually like this, but it seems the alternative\nwould be to create a variadic function which I believe to be\noverengineering ...\n\nIndex: hba.c\n==========================================...
[ { "msg_contents": "\nMagnush asked me about the beer-ware license on crypt-md5.c file.\n\nI will spare you for the sagas of fun I have had with lawyers because\nof the beerware license, you can get them over beer some times.\n\nFor the record: You are welcome to slap a 2-clause BSD license on the\nfile instead...
[ { "msg_contents": "Considered unexpected behavior, or at least in its undocumented form. \nIf value given to NOTIFY seems schema-qualified, the schema \nqualification is eroded by the time it is presented to the listener -- \nthe [ nonexistent ] schema-ish-looking 'foo.' portion of 'foo.bar' is \nnot presen...
[ { "msg_contents": "Hi,\n\ni have built an SQL interface using rule system which supports row \nversioning and i would like to test it against Postgres SQL specification.\n\nIs there something like test cases for postgres SQL interface?\n\nOr do you have any ideas how to build a group of all possible cases of \n...
[ { "msg_contents": "On Apr 16, 2009, at 6:51 AM, pgsql-hackers-owner@postgresql.org wrote:\n\n>>\n>> Considered unexpected behavior, or at least in its undocumented form.\n>> If value given to NOTIFY seems schema-qualified, the schema\n>> qualification is eroded by the time it is presented to the listener \n>> ...
[ { "msg_contents": "Seems I'm bad at communicating in english, so here is C variant of\nmy proposal to bring \\u escaping into extended strings. Reasons:\n\n- More people are familiar with \\u escaping, as it's standard\n in Java/C#/Python, probably more..\n- U& strings will not work when stdstr=off.\n\nSyntax...
[ { "msg_contents": "FYI,\n\ncompiles on OpenSuSE 11.1\nclient works against 8.3.7\n\nmore information as soon as i will migrate date.\n\n-- kofeman\n\nFYI,compiles on OpenSuSE 11.1client works against 8.3.7more information as soon as i will migrate date.-- kofeman", "msg_date": "Thu, 16 Apr 2009 22:02:01 +02...
[ { "msg_contents": "\nPG (8.3.7) doesn't seem to want to do a hash join across two partitioned \ntables. I have two partition hierarchies: impounds (with different \nimpound sources) and liens (with vehicle liens from different companies). \nTrying to match those up gives:\n\nEXPLAIN SELECT COUNT(*)\nFROM impou...
[ { "msg_contents": "I was browsing PL/pgSQL source, and saw this line (pl_comp.c:151):\n\nfunction = (PLpgSQL_function *) fcinfo->flinfo->fn_extra\n\nIt then does some work to determine whether the result in \"function\" is\nvalid or not. So I got to wondering, what's the lifetime of the\nFunctionCallInfoinfo ob...
[ { "msg_contents": "Currently, the ACL_SELECT_FOR_UPDATE privilege is defined as an alias\nof ACL_UPDATE as follows:\n\n at src/include/nodes/parsenodes.h:\n :\n /* Currently, SELECT ... FOR UPDATE/FOR SHARE requires UPDATE privileges */\n #define ACL_SELECT_FOR_UPDATE ACL_UPDATE\n :\n\n...
[ { "msg_contents": "Hi.\nI'll like to know how to use the \"oid\" in a where clause expressing the\nvalue in form of string or number.\n\nmany thanks.\n\n-- \natte: Alberto J. Castiñeira P.\n AJCP\n\nHi.I'll like to know how to use the \"oid\" in a where clause expressing the value in \nform of s...
[ { "msg_contents": "Here the patch to /src/include/pg_config_os.h attached improving\nBorland C++ Compiler compatibility.\n\nIssues described here:\nhttp://pgolub.wordpress.com/2009/04/13/building-postgresql-client-library-using-borland-c-compiler-bcc-under-winxp/\n\nThis patch defines missing constants needed b...
[ { "msg_contents": "Here the patches to /src/include/libpq/libpq-be.h and\n/src/interfaces/libpq/libpq-int.h attached improving\nMinGW compatibility.\n\nIssues described here:\nhttp://pgolub.wordpress.com/2008/12/15/building-postgresql-client-library-using-mingw-under-winxp-sp3/\n\nThis patch adds missing includ...
[ { "msg_contents": "Here the patch to /src/interfaces/libpq/bcc32.mak attached improving\nBorland C++ Compiler compatibility.\n\nIssues described here:\nhttp://pgolub.wordpress.com/2009/04/13/building-postgresql-client-library-using-borland-c-compiler-bcc-under-winxp/\n\nThis patch changes order of include folde...
[ { "msg_contents": "Hi\n\nThe following query is distilled down from a real production query for\nease of reproduction:\n\n SELECT 1 AS id , 2 AS tmpl_id\n WHERE FALSE -- (in production, only rarely will this clause return a row)\n UNION\n\tSELECT * FROM\n (SELECT 2 AS id, 96 AS tmpl_id\n ...
[ { "msg_contents": "Hi guys,\n\nI noticed the following item under \"Observe the following\nincompatibilities\" in the 8.4 release notes (E.1.2.4.1.)\n\n * Require to_timestamp() input to match meridian (AM/PM) and era\n(BC/AD) format designations with respect to presence of periods\n(Brendan Jurd)\n\n For e...
[ { "msg_contents": "I am trying to select subtree by parent id in table:\n\ncreate table categories(\n\tid int,\n\tparent_id int\n);\n\nI am fetching it by recursive plpgsql function, which works well.\n\nWhen i use that function as part of rule operation, i am getting ERROR: \n stack depth limit exceeded.\n\nI...
[ { "msg_contents": "Hi,\nis it possible to create reference constraint only on defined subset of \ndata?\n\nReference can be defined on column which has unique constraint. It is \nalso possible to create partial unique index. So it should by possible \nto reference this column. But postgres can not see this cons...
[ { "msg_contents": "While playing with 8.4b1 against one of our production databases I \nquickly managed to run into the following assert:\n\n\nProgram received signal SIGSEGV, Segmentation fault.\n0x082d27ef in estimate_num_groups (root=0x8566398, groupExprs=0x85b9ed8, \ninput_rows=1159344) at selfuncs.c:3071\n...
[ { "msg_contents": "Folks,\n\nWhile working on the new improved \\df, I noticed a pretty major\ninfelicity, namely that \\ commands get validated by two completely\nindependent code paths, namely tab-complete.c and\ncommand.c/describe.c.\n\nI'm thinking it would be a good idea to factor the validating out as\nfa...
[ { "msg_contents": "http://www.pgbuildfarm.org/cgi-bin/show_log.pl?nm=mastodon&dt=2009-04-19%2019:00:00\n\nIt looks like the MSVC build scripts are cheating by not copying\nparser/gram.h into the include tree where it should be. I'm not\nentirely sure why that has worked at all in the past, but it's\nnot workin...
[ { "msg_contents": "Hi,\n\n I found some inconsistency on WITH keyword:\n\n1) => \\h CREATE TABLE\n\n[...]\n[ WITH ( storage_parameter [= value] [, ... ] ) ]\n[...]\n\n\"=\" is required\n\n\n2) => \\h CREATE ROLE\n\nCommand: CREATE ROLE\nDescription: define a new database role\nSyntax:\nCREATE ROLE name [ ...
[ { "msg_contents": "Just for information due to server lab reorganization we (Me & Jorgen)\nare going to consolidate and transfer our Solaris'es buildfarms member\n(moth_*) to a another hardware (another lab). It should be finished\nduring next couple of weeks. During this time, results could be\nconfusing.\n\n\...
[ { "msg_contents": "Hi,\n\nsorry for sending this one to this list but i can't send it to\npginstaller-devel@pgfoundry.org and don't know where else to send it\n\nThe new auto_explain contrib is missing in the windows installer, is\nthat intentional?\n\n\n-- \nAtentamente,\nJaime Casanova\nSoporte y capacitación...
[ { "msg_contents": "I loaded a copy of a production database into PG 8.4b1 and immediately \nsaw that all of our queries were significantly slower compared to v8.1.\n\nSome investigation showed that the use of non-IMMUTABLE PL/PGSQL \nfunctions as view columns, when these views are joined with other \nviews, ...
[ { "msg_contents": "Hello,\nI was digging through the optimizer code and have a question regarding\nthe edge recombination crossover (ERX) of the GEQO. It might be\ncompletely stupid and therefore I apologize for this in advance.\n\nAs far as I understand it, the idea of the ERX is the minimization of\nedge fai...
[ { "msg_contents": "Hi,\n\nmy database has UTF8 encoding and Finnish locale, the client_encoding\nand the console is set to WIN1252. I created a table with a single\nNUMERIC(5,2) column and inserted a few values. Running a query 'SELECT\nto_char(money, '999D99L') FROM table' through psql gives the following\nerr...
[ { "msg_contents": "Hello,\nI am in workplacement in a company and I have to make a migration\nfrom one database to PostGreSQL. Nevertheless, the migration is not possible, because I don't have the\nGOTO\ninstruction. I know this is a bad practice, however, I wanted to know\nif it's possible to implement this fe...
[ { "msg_contents": "Hello folk,\n\nI migrate a pg 8.3 database to a pg 8.4 backend for testing. All works fine except changes or new features of the planner.\n\nThere are two tables. The first (A) stores \"data\" - second table (B) holds (forinstance) \"structure\" information and references to A by defining for...
[ { "msg_contents": "Hi ,\n\n\n\nWe are working on a\npatch<http://archives.postgresql.org/pgsql-hackers/2009-03/msg00897.php>to\nautomate partitioning in\nPostgreSQL.\n\n\n\nFor Range partitions, we have proposed the syntax which is as follows –\n\n\n\n*CREATE TABLE emp (*\n\n* emp_id int not null pr...
[ { "msg_contents": "Ghislain ROUVIGNAC wrote:\n> I didn't tried to reboot the windows server.\n> I'll try it when i will have time.\n> \n> \n> Thank you for the references to the problem.\n\nOK, let us know if it does not fix the problem. As you can see this\nbug has been around for a while.\n\n-- \n Bruce Mom...
[ { "msg_contents": "PostGresQL Admin,\n\n \n\nI am part of an organization that is beginning to write commercial\napplications for various Portals (Liferay, etc.). We would like to be\nable to deploy PostGresQL as the lightweight database for the Portal to\nconnect to. Our request for approval to our Legal Dep...
[ { "msg_contents": "May, Randy wrote:\n> PostGresQL Admin,\n> \n> \n> \n> I am part of an organization that is beginning to write commercial\n> applications for various Portals (Liferay, etc.). We would like to be\n> able to deploy PostGresQL as the lightweight database for the Portal to\n> connect to. Our re...
[ { "msg_contents": "Hi,\n\nI was trying to create a database and found that we are using\nLC_COLLATE and LC_CTYPE, why not simply COLLATE and CTYPE?\n\n-- \nAtentamente,\nJaime Casanova\nSoporte y capacitación de PostgreSQL\nAsesoría y desarrollo de sistemas\nGuayaquil - Ecuador\nCel. +59387171157\n", "msg_d...
[ { "msg_contents": "Hi,\n\nI implemented the Two Phase Optimizer based on an Ioannidis' paper to \nmake some tests. In this source, I used a struct, named treeNode, witch \ncan control a bottom-up RelOptInfo construction cache. This struct has a \nRelOptInfo, 2 child pointer (treeNode *inner_child, *outer_child)...
[ { "msg_contents": "Hi,\n\nIn archive recovery, the last applied WAL segment may not have\n.ready file in spite of not having been archived yet. Then, this\nsegment is not archived until a future checkpoint creates .ready\nfile. It's a little dangerous that there is the WAL segment which\nis not archived for a w...
[ { "msg_contents": "I'm experiencing bug 4608\n\nhttp://archives.postgresql.org/pgsql-bugs/2009-01/msg00062.php\n\nI have tried using the Windows one-click installer for both 8.3.x and\n8.4. At the end of the process it says it can't read\ndata/postgres.conf and none of the conf files are generated.\n\nI'm prett...
[ { "msg_contents": "\nThe following bug has been logged online:\n\nBug reference: 4774\nLogged by: Nickolay\nEmail address: boks@doci.in.ua\nPostgreSQL version: 8.3.5\nOperating system: Linux app 2.6.18-92.1.1.el5.028stab057.2 #1 SMP Mon Jul\n21 17:08:31 MSD 2008 x86_64 x86_64 x86_64 GNU/Lin...
[ { "msg_contents": "The pgsql-admin list has just seen another instance where careless use\nof prepared transactions brought down a database, and the DBA (who had\nno idea what a prepared transaction even was) had no idea how to fix it.\nIt seems to me we need to do something about making that stuff less\nDBA-un...
[ { "msg_contents": "Hi,\n\nI just noticed (!) that Make accepts an argument-less -j option, which\nit takes to mean \"use as many parallel jobs as possible\". As far as I\nsee in our pg_restore code, we don't even accept an argumentless -j\noption; was this deviation from the Make precedent on purpose, or were\...
[ { "msg_contents": "GCC 4.4 produces a bunch of new compiler warnings against 8.4; see attached \noutput. Some of these are related to our old friend fastgetattr(), but it's a \nbit too late for me to make sense of it now.\n\nAs we have grown accustomed to warnings-free builds, it would be nice to fix \nthese."...
[ { "msg_contents": "I setup more locale testing on gothic moth and citext regression test\nfails.\n\nSee\nhttp://www.pgbuildfarm.org/cgi-bin/show_log.pl?nm=gothic_moth&dt=2009-04-22%2020:06:01\n\n\nProblem is here:\n\n---------------------------------------------------\nSELECT citext_cmp('B'::citext, 'a'::citext...
[ { "msg_contents": "Dear pgsql hackers,\n\nThe encryption options\n\n http://www.postgresql.org/docs/8.3/static/encryption-options.html\n\nfall short for my thread case. Consider the case where all users of a \nmachine are trusted and the machine automatically locks itself down on \na period of inactivity, a...
[ { "msg_contents": "I hit a problem with libtcl.so that LDFLAGS is not propagated. The same\nproblem is with other PL languages as well.\n\nIs it intention or a bug?\n\n\tthanks Zdenek\n\n", "msg_date": "Thu, 23 Apr 2009 16:50:47 +0200", "msg_from": "Zdenek Kotala <Zdenek.Kotala@Sun.COM>", "msg_from_...
[ { "msg_contents": "\nI have received the attached email from HELIOS Software GmbH giving us\npermission to change the licensing of HELIOS-contributed software to our\nproject to the official BSD license. (I am BCC'ing them.)\n\nI think we should re-add the AIX files we removed from CVS yesterday,\nand then rem...
[ { "msg_contents": "If I have locale set to C, I can do this:\n\nregression=# create database u8 encoding 'utf8';\nCREATE DATABASE\nregression=# create database l1 encoding 'latin1' template u8;\nCREATE DATABASE\n\nHad I had any actual utf8 data in u8, l1 would now contain\nencoding-corrupt information. Given t...
[ { "msg_contents": "Hi,\n\nUpon applying synchronous replication patch and subsequent compilation\nof psqlODBC sources will lead to compilation errors.\nAs a workaround users can compile the psqlODBC sources using the\nmainstream postgres source tree and then apply the sync rep patch.\n\nBut this restriction wil...
[ { "msg_contents": "Why does psql/copy.c contain this?\n\n#if defined(WIN32) && !defined(S_ISDIR)\n#define __S_ISTYPE(mode, mask)\t(((mode) & S_IFMT) == (mask))\n#define S_ISDIR(mode)\t __S_ISTYPE((mode), S_IFDIR)\n#endif\n\nSurely a better place for such a thing is src/include/port/win32.h\n... where indeed the...
[ { "msg_contents": "Hi,\n\nAttached is a small patch for adding support for INT[] and TEXT[] to \nplpythonu.\nThere are also some small tests for this copypasted to the end of the mail.\n\nI'd like to get this into CVS but as it's probably a bit late for 8.4 I \nwouldn't mind it going into the first commitfest f...
[ { "msg_contents": "I see that the recently committed changes typically use ngettext\nin this style:\n\n ereport(msglevel,\n /* translator: %d always has a value larger than 1 */\n (errmsg(ngettext(\"drop cascades to %d other object\",\n \"drop...
[ { "msg_contents": "Hi!\n\nI need to recover deleted rows from table. After I delete those rows I\nstopped postgres immediately and create tar archive of database. I found\nsolution http://archives.postgresql.org/pgsql-hackers/2005-03/msg00965.php,\nbut is there another (easyer) way to do it?\n\nHi!I need to rec...
[ { "msg_contents": "Hi,\n\nAs I was working on my code generator app, I noticed that one is able to \ncreate a function with multiple parameters with the same name. For example:\n\ncreate or replace function func_test(id integer,id varchar, id \ntimestamp) returns void as\n$$\nbegin\n raise notice '%',id;\nen...
[ { "msg_contents": "Hi, I've been trying to sort a column that performs some calculations, but\npostgres says this: ERROR: invalid attnum: -12851. I was searching on the\nsource code, and I guess the error araises around this macro:\n/*\n * Copy the given tuple into memory we control, and decrease availMem....
[ { "msg_contents": "Dear open source contributors,\n\nI am Eunyoung Chung, a Masters student working with Dr. Jensen at\nOregon State University.\n\nWe are currently doing a research project in collaboration with Dr.\nTruong and Ph.D student Koji Yatani at University of Toronto. Our goal\nis to understand how co...
[ { "msg_contents": "Postgresql 8.4 beta1 does not compile in win-XP3 because of the\nalready reported bug (#4662)\nhttp://archives.postgresql.org/pgsql-bugs/2009-04/msg00142.php\nhttp://archives.postgresql.org/pgsql-hackers/2008-11/msg00367.php\n\nThe patch mentioned in those posts fixed the problem for me\n\nHe...
[ { "msg_contents": "hi,\nI want to attach to acced the shared memory\n therefore I must attaches oneself it \nbut how do?\n \nthanks\n\n\n \nhi,\nI want to attach to acced the shared memory\n therefore I must attaches oneself it \nbut how do?\n \nthanks", "msg_date": "Mon, 27 Apr 2009 15:02:44 +0000 (GM...
[ { "msg_contents": "\nI notice this has gone unremarked\nhttp://www.theregister.co.uk/2009/04/22/oracle_ibm_enterprisedb_compatibility/\n\nLooking at the IBM DB2 press release\nhttp://www-03.ibm.com/press/us/en/pressrelease/27279.wss\nshows this quote\n\n<<EnterpriseDB, another IBM business partner, was a contri...
[ { "msg_contents": "Hello\n\nI am thinking about global temp tables. One possible solution is\ncreating global temporary table like normal table and in planner stage\ncheck using this table. When some global temporary table is detected,\nthen real temporary table is created and used in execution plan. It's\nlike...
[ { "msg_contents": "Hi.\n\nI found the current planner doesn't care about \"lossy mode\" on Bitmap Scan.\nI think costs of following two plans are equal now.\n\n(a) Having enough work_mem => normal Bitmap Scan.\n\n(b) Having less work_mem than estimated rows => Bitmap Scan with \"lossy mode\".\n Slower than (...
[ { "msg_contents": "I wrote a little perl script to perform a basic sanity check to keywords \nin gram.y and kwlist.h. It checks that all lists are in alphabetical \norder, all keywords present in gram.y are listed in kwlist.h in the \nright category, and conversely that all keywords listed in kwlist.h are \nlis...
[ { "msg_contents": "Hi,\n\nI was wondering whether there is a way to see which column in a view \ndepends on which column(s) in a table?\nIf I am not mistaking pg_depend only provides information about which \nview depends on which tables columns only. (same as view_column_usage)\n\nRegards,\nGevik.\n\n\n\n", ...