threads
listlengths
1
2.99k
[ { "msg_contents": "\nBruce, you seem to have removed one of my three patches from the queue. I\nwould actually prefer you remove the other two and put back that one. It's the\none I most urgently need feedback on to continue.\n\nThe patch I'm so interested in receiving feedback on is the patch to preread\npages...
[ { "msg_contents": "Forwarding this message so that it gets archived.\n\n-- \nAlvaro Herrera http://www.CommandPrompt.com/\nPostgreSQL Replication, Consulting, Custom Development, 24x7 support\n\nOn Thu, Mar 27, 2008 at 5:14 AM, NikhilS <nikkhils@gmail.com> wrote:\n> Hi,\n>\n> On T...
[ { "msg_contents": "\nWe are not alone ;-)\n\nhttp://sourceforge.net/project/shownotes.php?group_id=129038&release_id=557649\n\nVersion 1.02\n2007-01-25\n * Fix the stat function (on Windows) to use GetFileAttributesEx insead of FindFirstFile\n\n\n\n-----Original Message-----\nFrom: Zubkovsky, Sergey \nSent: ...
[ { "msg_contents": "When I try run psql with a option on HEAD I get following message:\n\n-bash-3.2$ /var/tmp/pg84_upg/bin/psql template1 -t\npsql: FATAL: role \"-t\" does not exist\n\nwhen I change a order to\n\nvar/tmp/pg84_upg/bin/psql -t template1\n\nthen everything is OK.\n\nDoes it intention or it is a bu...
[ { "msg_contents": "I just realized that the patch I applied here\nhttp://archives.postgresql.org/pgsql-committers/2008-03/msg00531.php\nfor Taiki Yamaguchi's bug report here\nhttp://archives.postgresql.org/pgsql-bugs/2008-03/msg00275.php\nreally doesn't work. It assumes that an ungrouped aggregate\nquery can't...
[ { "msg_contents": "\nThis was originally because I wanted a convenient way to see the\nexecution plan of SQL queries run from stored procedures -\nhttp://archives.postgresql.org/pgsql-performance/2008-01/msg00245.php\n\nMy original patch is fairly basic - it adds a new parameter\ndebug_explain_plan which is sim...
[ { "msg_contents": "Hello,\n\nI am having trouble connecting to PostgreSQL 8.2 from an Apache2 web\nserver using certificates.\n\nI have set up a CA on my server and used it to sign a certificate\n(server.crt) created in a signing request based on a private key\n(server.key), both of which reside in my PostgreSQ...
[ { "msg_contents": "jaguar has failed twice in the same spot since the truncate-triggers\npatch was committed:\n\n TRUNCATE trunc_trigger_test;\n! server closed the connection unexpectedly\n! \tThis probably means the server terminated abnormally\n! \tbefore or while processing the request.\n! connection to ser...
[ { "msg_contents": "On 25/03/2008, Tom Lane <tgl@sss.pgh.pa.us> wrote:\n> \"Brendan Jurd\" <direvus@gmail.com> writes:\n> > This makes me wonder whether print.c could offer something a bit more\n> > helpful to callers wishing to DIY a table; we could have a\n> > table-building struct with methods like addHead...
[ { "msg_contents": "\tHello,\n\tSo, I embarked (yesterday) on a weekend project to add a new feature to \nPostgres...\n\tI use PHP with persistent connections and always have been bothered that \nthose very small AJAX queries (usually simple selects returning 1 row) \ntake more CPU in postgres to parse & plan...
[ { "msg_contents": "As you can see here:\nhttp://www.pgbuildfarm.org/cgi-bin/show_history.pl?nm=jaguar&br=HEAD\nJaguar has been failing for two days while centaur is ok.\nThe only diff is that jaguar is compiling with -DCLOBBER_CACHE_ALWAYS\nIs that related?\nThought you should know.\n\nRegards\n-- \nOlivier PRE...
[ { "msg_contents": "Folks,\n\nI'd like to take a whack at making set-returning functions returning\nSETOF RECORD a little more fun to use. Let's imagine that we have a\ntable foo and a function returning SETOF RECORD that can return foos.\nThe call might look something like:\n\nSELECT a, b, c\nFROM f(ROW OF foo...
[ { "msg_contents": "Hello All,\n \nI would like to submit following feature request for Postgres:\n \n1. Transparent Data Encryption: The column which needs to be stored in encrypted form can be specified through DDL. The encryption key can be stored in a secure file accessible through a pass phrase. That parti...
[ { "msg_contents": "Well, it's the end of March, and I'm already starting to feel like we've\nbeen commit-festing forever :-(. At this point I see only one remaining\npatch that seems likely to go in without any further discussion --- that's\nPavel's plpgsql EXECUTE USING thing. However, we've got boatloads of...
[ { "msg_contents": "I have a table with about 15 million rows which is constantly having \ntuples added to the head and deleted in blocks from the tail to maintain \nthe size. The dead tuple count in pg_stat_user_tables tracks the deleted \nrows fairly accurately until an auto-ANALYZE is done in the background \...
[ { "msg_contents": "Hello\n\nI finished this patch.\n\nProposal: http://archives.postgresql.org/pgsql-hackers/2008-01/msg00696.php\n\nIt's compatible with PL/SQL (Oracle) and SQL/PSM (ANSI).\n\nCASE statements is parsed and transformed to CASE expression and\nstatements paths. Result of CASE expression is used a...
[ { "msg_contents": "Chris, et al,\n\n(commit-fest consensus discussion)\n* Chris Marcellino wrote:\n> In case you haven't had enough, here is another version of the code \n> to make Postgres use POSIX shared memory. Along with the issues that \n> have already been addressed, this version ensures that orphaned ...
[ { "msg_contents": "Suppose I have a database with $PGDATA on /dev/sda, and a tablespace\ndirectory on /dev/sdb. Will Postgres start successfully if /dev/sda is\nmounted and /dev/sdb is not? If not, why not?\n\nMorris\n\nSuppose I have a database with $PGDATA on /dev/sda, and a tablespacedirectory on /dev/sdb. W...
[ { "msg_contents": "* Dany DeBontridder (dany118@gmail.com) wrote:\n> I often need in command line to get the code of function, so I make a\n> patch for pg_dump, thanks this patch pg_dump is able to dump only one\n> functions or all the functions.\n\nFirst, a couple of general comments about the patch:\n\n#1: Y...
[ { "msg_contents": "I was looking at the notify processing in async.c and I noticed that \nkill is called whether or not the\nprocess has been signalled already, and whether or not 'this' process \nhas signalled the process.\n\nIt seems unecessary to me - especially if we are on Win32 and the pgkill \nis impleme...
[ { "msg_contents": "The proposed EXECUTE USING patch represents a serious performance loss\ncompared to the traditional method of interpolating parameter values\ninto the query text, anytime the value of the parameter is important\nfor planning purposes. We have fixed that in the Protocol BIND message\ncontext ...
[ { "msg_contents": "Pavel,\n\n Honestly, I havn't dug into the real patch all that deeply but I did\n notice a few minor issues which I've listed out below. The bigger\n question I have for this patch, however, is just how close is it to\n PL/pgSQL? If the differences are minor and far between would it be\...
[ { "msg_contents": "Hello\n\nI am preparing a presentation about postgresql for GoOpen2008 [1] in\nNorway. I am trying to guess some of the 'main' new features we could\nexpect to see in the next versions of postgresql.\n\nAfter reading different documents on Internet, I have this list which I\nplan to include i...
[ { "msg_contents": "While testing the changes I was making to Pavel's EXECUTE USING patch\nto ensure that parameter values were being provided to the planner,\nit became painfully obvious that the planner wasn't actually *doing*\nanything with them. For example\n\n\texecute 'select count(*) from foo where x lik...
[ { "msg_contents": "-hackers,\n\nAs I announced it a couple of months ago, apart from the boxes donated\nto PostgreSQLFr (affected to the web team IIRC), Continuent also\ndonated 7 servers and a Gb/s switch to us for QA testing. It took some\ntime to set them up but they're now up and running and available.\nThe...
[ { "msg_contents": "\n From the \"idle thoughts in the middle of the night\" department:\n\nI don't know if this has come up before exactly, but is it possible that \nwe could get a performance gain from building multiple indexes from a \nsingle sequential pass over the base table? If so, that would probably \ng...
[ { "msg_contents": "This follows up on the discussion in\r\nhttp://archives.postgresql.org/pgsql-hackers/2008-03/msg01033.php\r\n\r\n- pg_ctl will refuse a smart shutdown during online backup.\r\n- The postmaster will also refuse to shutdown in smart mode\r\n in that case and log a message to that effect.\r\n- ...
[ { "msg_contents": "\nDoes anyone know what the \"correct\" behaviour for a scroll cursor should be \nwhen you've scrolled past the end ?\n\nIf you take this SQL for example : \n\n\n create temp table sometab ( a integer);\n insert into sometab values(1);\n insert into sometab values(2);\n insert into so...
[ { "msg_contents": "Hi.\n\nI have problems on how to debug PostgreSQL on Linux using GDB. I made some\nchanges to src/backend/utils/sort/tuplesort.c but it hangs while performing\nrun formation (where my changes are).\n\nI configured it using\n\n./configure --prefix=\"/usr/local/pgsql/8.3/\" CFLAGS=\"-O0 -DTRACE...
[ { "msg_contents": "I have now managed to investigate why some conversions of the PostgreSQL CVS \nrepository to other formats are having trouble or are failing. Here, I am \nlooking at git-cvsimport in particular.\n\nThe problem appears to be that several tags around the time of PostgreSQL 7.1 \nare broken or ...
[ { "msg_contents": "In PostGIS, we have a problem, in that spatial operations are very\ncostly, CPUwise.\n\nWe have hit on a nifty enhancement recently, which was to recognize\nthat when processing multiple rows, in joins or with literal\nargouments, for most functions of the form GeometryOperation(A, B), A\n(or...
[ { "msg_contents": "I looked into the complaint here\nhttp://archives.postgresql.org/pgsql-bugs/2008-04/msg00005.php\nabout 8.3 being a lot slower than 8.2. Apparently what he's\ndoing is sending a whole lot of INSERT commands in a single\nquery string. And, sure enough, 8.3 is a lot slower. The\noprofile out...
[ { "msg_contents": "Apologies if this gets duplicated - original seems to have been dropped \ndue to patch size - this time I am sending it gzipped.\n\ncheers\n\nandrew\n\n-------- Original Message --------\nSubject: \tcolumn level privileges\nDate: \tTue, 01 Apr 2008 08:32:25 -0400\nFrom: \tAndrew Dunstan <andr...
[ { "msg_contents": "I have updated the patch queue web page so that I can move related\nthreads into a single thread, and have done so for the remaining emails.\n\nI have also improved the appearance using CSS markup.\n\nThe new \"Append to Message-ID\" currently is only possible for me but I\ncan give other acc...
[ { "msg_contents": "I run the following sql statements in linux and get the results:\npostgres=# create table test_double(col1 float8);\nCREATE TABLE\npostgres=# insert into test_double values(1.7976931348623159E308);\nINSERT 0 1\npostgres=# select * from test_double;\n col1\n----------\n Infinity\n(1 row)\n\n...
[ { "msg_contents": "Is the intent to replace most uses of (pg)kill with a general\npurpose messaging system between the processes, or\n(just) to address notify per se?\n\n(Presumably with 'fire-and-forget' and also rpc\nsemantics? And pub-sub? And some sort of\nwrite to an fd protected by an atomic flag to\neli...
[ { "msg_contents": "Not sure if I posted in correct spot....\n\n\npg_8.2.6\nCentos5\nWindows based app.\nencryped pwd = yes\nSSL = yes,\nhostssl with explicit IP w/md5. (no pg_crypto)\n\n\n\nWe are in process of VISA CISP PCI compliance for our application.\n(online cc auth - no stored cc data) [next phase will ...
[ { "msg_contents": "Not sure if I posted in correct spot....\nBut seems to be topic of today...funny on same day I hear from Visa.\n\npg_8.2.6\nCentos5\nWindows based app.\nencryped pwd = yes\nSSL = yes,\nhostssl, with explicit IP w/md5,. (no pg_crypto)\n\nThis is just with client / server pwd auth\n\nWe are in ...
[ { "msg_contents": "Hello!\n\nAttached is a simple patch which adds a \"\\G\" backslash command, that is\nsimilar \"\\g\" command. The difference is that \"\\G\" prints results using\nextended output format. After the query the format is reset to the original\nvalue.\n\nIn other words command like:\n SELECT ...
[ { "msg_contents": "Hi,\n\nHere's a proposal for COPY to support the T part of an ETL, that is adding the \ncapability for COPY FROM to Transform the data it gets.\n\nThe idea is quite simple: adding to COPY FROM the option to run a function on \nthe data before to call datatype_in functions. This needs some syn...
[ { "msg_contents": "This patch adds a GUC parameter for tuple_fraction of cursors (discussed\nearlier here:\nhttp://archives.postgresql.org/pgsql-performance/2008-04/msg00018.php).\nBy setting this parameter the planner's favor to use fast-start plans\nfor cursors can be affected.\n\nRegards,\nRobert", "msg_...
[ { "msg_contents": "Just noticed that TRUNCATE fails to clear the stats collector's counts\nfor the table. I am not sure if it should reset the event counts or\nnot (any thoughts?) but surely it is wrong to not zero the live/dead\ntuple counts.\n\n\t\t\tregards, tom lane\n", "msg_date": "Thu, 03 Apr 2008 11...
[ { "msg_contents": "Hello\n\nI would to use main scanner from plpgsql. I need some values from parser/parse.h\n\n#define SELECT 543\n#define PARAM 642\n\n\nand YYSTYPE\n\nany ideas how to do it?\n\nI would not copy it by hand.\n\nRegards\nPavel Stehule\n", "msg_date": "Thu, 3 Apr 2008 19:36:52 +0200", "m...
[ { "msg_contents": "\nRegarding the ICU patch in the commitfest here's my plan. \n\nIMHO the idea of making ICU a hard dependency which Postgres will have to use\nforevermore on all systems is a non-starter. I'm not entirely against having\nICU as a supported collation system which packagers on systems where the...
[ { "msg_contents": "-----BEGIN PGP SIGNED MESSAGE-----\nHash: SHA1\n\nMoving to -hackers ...\n\n-----BEGIN PGP SIGNATURE-----\nVersion: GnuPG v1.4.7 (GNU/Linux)\nComment: http://getfiregpg.org\n\niD8DBQFH9RwN5YBsbHkuyV0RAr9ZAKD+XwNYYw3ugsTvowvKImOlKMZzPQCfTHkQ\nu9jLkEIAWI/0MbNzzxBt0ok=\n=So1n\n-----END PGP SIGNA...
[ { "msg_contents": "One of the items on the commit-fest list is my patch from last year\nto rewrite the numeric division operator using \"schoolbook division\":\nhttp://archives.postgresql.org/pgsql-patches/2007-06/msg00173.php\n\nThe code that's currently in there sometimes has to propagate rounding\nto the lef...
[ { "msg_contents": "Hi,\n\nI have a table \"table1\" with ~100k rows, the table having \"flag1\"\ncolumn. The value of \"flag1\" is NULL in 85k+ rows, and it's TRUE in\n7k+ rows, and FALSE in 6k rows. I use EXPLAIN to get apprx. number of\nrows for simple SELECT queries. But in case of \"...WHERE NOT flag1\"\nth...
[ { "msg_contents": "Magnus, I am seeing this compile warning, I think related to work you\nwere doing:\n\n guc.c:7116: warning: `assign_backslash_quote' defined but not used\n\n-- \n Bruce Momjian <bruce@momjian.us> http://momjian.us\n EnterpriseDB http://enterprisedb.com\n...
[ { "msg_contents": "Log Message:\n-----------\nImplement current_query(), that shows the currently executing query.\nAt the same time remove dblink/dblink_current_query() as it is no longer\nnecessary\n*BACKWARD COMPATIBILITY ISSUE* for dblink\n\nTomas Doran\n\nModified Files:\n--------------\n pgsql/contrib/...
[ { "msg_contents": "Hello everybody!\n\nSorry for being off-topic, but I would like to ask if\nanybody has ported sp-gist to 8.3?\n\nThanks\n", "msg_date": "Fri, 4 Apr 2008 22:01:38 +0300", "msg_from": "Panagiotis Papadakos <papadako@csd.uoc.gr>", "msg_from_op": true, "msg_subject": "sp-gist for ...
[ { "msg_contents": "I tracked down the problem reported here:\nhttp://archives.postgresql.org/pgsql-admin/2008-04/msg00038.php\nWhat it boils down to is that equal() doesn't see these two Consts\nas equal:\n\n {CONST \n :consttype 1009 \n :consttypmod -1 \n ...
[ { "msg_contents": "\nThere's a patch on the patch list to implement \\# in psql.\n\nCoincidentally this seems to be of a piece with the recent \"alias\"\ndiscussions. People seem to be intent on turning psql into a full blown unix\nshell including all the weird quirky rough edges of the csh family tree.\n\nI'm ...
[ { "msg_contents": "I am currently attempting to import the world street map data as \ncurrently available from openstreetmap.org and am wondering if I will \ncome across a possible problem that is mentioned on their website, which \nappears to be relevant for 8.1\n\n\n From http://wiki.openstreetmap.org/index.p...
[ { "msg_contents": "So the proposed changes in hash_any make its hash values different\nbetween big-endian and little-endian machines (at least for string keys;\nfor keys that are really arrays of int, I think the changes will\nunify the behavior). This means that the hash_seq_search traversal\norder for an int...
[ { "msg_contents": "A question to all pg hackers\n\nIs anybody working on adding pipelining to set returning functions.\n\nHow much effort would it take ?\n\nWhere should I start digging ?\n\nBACKGROUND:\n\nAFAICS , currently set returning functions materialise their results\nbefore returning, as seen by this si...
[ { "msg_contents": "Hi all\n\nHere is a patch that provides an initial implementation of the module\nidea that was kicked around over the last few days. While there\ncertainly wasn't consensus on list, enough people seemed interested in\nthe idea of database-owner-installable modules that I thought it was\nworth...
[ { "msg_contents": "I'm working over Pavel's FOR-over-cursor patch:\nhttp://archives.postgresql.org/pgsql-patches/2007-12/msg00001.php\n\n(Although I previously complained that this was a bit pointless,\nthe argument that it's important for porting Oracle code won me over.)\n\nI noticed that because the patch us...
[ { "msg_contents": "no. I have been without a working win32 build environment for a while. Working on fixing that right now..\n\n/Magnus\n\n> ------- Original Message -------\n> From: Bruce Momjian <bruce@momjian.us>\n> To: Gregory Stark <stark@enterprisedb.com>, Magnus Hagander <magnus@hagander.net>\n> Sent: 08...
[ { "msg_contents": "Hello,\n\n\tis it possible to use variables as field names in the NEW record? Let's \nsuppose I have a varchar attname containg the name of the field and I want \nto know a value that field of the NEW record.\n\nProblem is that I get an error 'record \"new\" has no field \"attname\"'. Of \nco...
[ { "msg_contents": "just started with 8.4 devel. Still focussing on LWlocks. With the \nsame load (#users & benchmarktool) I now see LockID 11 \n(CLogControlLock) to be in the top waiting list.\n\nThis one was never noticable in 8.3.\n\nDid anything change with respect to this?\n\nThanks\nPaul\n\n\n----------...
[ { "msg_contents": "Log Message:\n-----------\nImplement a few changes to how shared libraries and dynamically loadable \nmodules are built. Foremost, it creates a solid distinction between these two \ntypes of targets based on what had already been implemented and duplicated in \nad hoc ways before. Specifica...
[ { "msg_contents": "Hello\n\nwhen I tested ptop, I found some problems\n\nthis pgbench is very slow and when after getting table of locks from\nptop I got backend crash.\n\n[pavel@prg31 ~]$ /usr/local/pgsql/bin/pgbench -c80 -t1000 postgres\nstarting vacuum...end.\nWARNING: you don't own a lock of type ShareLock...
[ { "msg_contents": "We are down to 12 feature freeze items (240 emails):\n\n\thttp://momjian.us/cgi-bin/pgpatches\n\nMost are not ready to apply but require feedback to the author.\n\n-- \n Bruce Momjian <bruce@momjian.us> http://momjian.us\n EnterpriseDB http://enterprisedb...
[ { "msg_contents": "Right now it isn't possible to use file system snapshots a reliable\nbackup if you are using multiple file systems for tablespaces because\nmost systems don't allow the simultaneous snapshoting of multiple file\nsystem. Our documentation mentions this:\n\n\tIf your database is spread across ...
[ { "msg_contents": "The last thread about Free Space Map evolved into discussion about \nwhether the FSM and other kinds of auxiliary data should be stored \nwithin the heap pages, in \"map forks\", or auxiliary relfilenodes \nattached to the relation. It seems the consensus was to go with the map \nforks, but w...
[ { "msg_contents": "Would it be a lot of trouble to extend the ability that databases have\nto store variables (add_missing_from, array_nulls, etc.) to tables and\ncolumns, for use with user-defined variables?\n\nThis would make it cleaner, I think, to do things like automatically\nbuild UIs for a table, using t...
[ { "msg_contents": "Hi,\n\nSo far I've posted two patches on snapshot tracking: one to keep track\nof \"regular\" snapshots[1] and another to keep track of snapshots used as\nActiveSnapshot[2].\n\n[1] http://archives.postgresql.org/message-id/20080328140606.GL7464@alvh.no-ip.org\n[2] http://archives.postgresql.o...
[ { "msg_contents": "Among the consequences of creating a temp table is the fact that we\ncreate pg_shdepend entries for the owner. This is largely unnecessary\n-- we only need it when the table owner is not the authenticated user.\nI hereby propose we don't create those entries, since obviously the\ntables woul...
[ { "msg_contents": "I just tried the MSVC build on a system with ActiveState Perl 5.10, and\nit doesn't work. Some quick debugging before I downgraded to 5.8 showed\nthat this regexp in Project.pm line 262:\n my $replace_re =\nqr{^([^:\\n\\$]+\\.c)\\s*:\\s*(?:%\\s*: )?\\$(\\([^\\)]+\\))\\/(.*)\\/[^\\/]+$};\n\...
[ { "msg_contents": "When restoring from pg_dump(all), if a problem occurs in a COPY \ncommand you're going to get a whole slew of errors, because as soon \nas COPY detects a problem it will throw an error and psql will \nimmediately switch to trying to process the remaining data that was \nmeant for COPY as ...
[ { "msg_contents": "Hey all,\n\nI've run into a couple cases now where it would be helpful to easily\nassign an already-existing unique index as a primary key. Unless I\ncompletely missed something, there's no way to do this now without a\nbit of catalog hackery.\n\nMy implementation idea is as follows:\n\nProp...
[ { "msg_contents": "Folks,\n\nSome of you may have mentored GSoC under e-mail addresses different from \nyour \"main\" ones. Please check your google account addresses for copious \ne-mail. Thanks!\n\n-- \n--Josh\n\nJosh Berkus\nPostgreSQL @ Sun\nSan Francisco\n", "msg_date": "Tue, 8 Apr 2008 17:24:15 -070...
[ { "msg_contents": "Log Message:\n-----------\nRemove mention of the Berkeley origins of the alias \"Postgres\" ---\nseems unnecessary to mention in the FAQ, per discussion on IRC.\n\nModified Files:\n--------------\n pgsql/doc:\n FAQ (r1.452 -> r1.453)\n (http://anoncvs.postgresql.org/cvsweb.cg...
[ { "msg_contents": "Tom lane said over on the concurrent psql thread:\n\nIf we do split them then there is going to be some added effort to\nmaintain the commit fest queue. Bruce has made it pretty clear\nthat he doesn't want to put in any extra cycles here. So someone\nelse has to step up to the plate if this...
[ { "msg_contents": "Hi,\n\nThe setup in question includes PostGRESQL v8.2.4, Java based web servers and\nMS.NET based web servers. Following is the fuzzy situation:\n\n1. Our SQL queries run very fast using PSQL (both, from the server as\nwell as the client).\n\n2. The Java app also retrieves the res...
[ { "msg_contents": "Hello,\nI don't really know since when those commands are provided by psql, but I \nfound them recently and was quite annoyed by the output given by both of \nthem.\nThough I find that the \\du command's output is quite accurate, I wonder why \n\\dg gives the same informations ?\nI would have...
[ { "msg_contents": "Greetings,\nI'm having a problem using heap_form_tuple. I'm trying to form a HeapTuple to use it later with simple_heap_insert. My code looks like this:\n\n------------------\n\nDatum *values;\nbool *nulls;\nint natts;\nTupleDesc tupDesc;\nHeapTuple tuple;\n...\ntupDesc = RelationGetDescr(......
[ { "msg_contents": "> > nulls = (bool *)palloc(natts*sizeof(bool *));\n> >\n> \n> May not be related to segfault you are seeing, but this looks completely wrong.\n> You want array of bool and not (bool *).\n\nYeah, you are right but in the original code it's:\n\nvalues = (Datum *) palloc(natts * sizeof(Datum));...
[ { "msg_contents": "> You've omitted the details that probably matter. My guess is that\n> you're inappropriately converting one of these values to a Datum,\n> or converting it to a Datum that's not really of the type the\n> tuple descriptor specifies.\n> \n> \t\t\tregards, tom lane\n\nMate, you just won a beer...
[ { "msg_contents": "I just finished looking through the various threads about index AM\nchanges that Bruce has been holding onto in the commit-fest queue.\nThere seem to be the following issues:\n\n* Proposed change to have amgetmulti return its results by ORing bits\ninto a caller-supplied TIDBitmap, rather tha...
[ { "msg_contents": "\n\t* Dumb Optimization #1:\n\n- Add executorFunc function pointer to struct PlanState\n- in ExecProcNode.c -> ExecProcNode() :\n\t- upon first execution, set executorFunc to the function corresponding to \nnode type\n\t- next calls use function pointer\n\nEffect : removes a switch (nodeTag(...
[ { "msg_contents": "Hi,\n\n \n\nMy name is Fabiana Prabhakar. I am a graduate student at Lehigh University.\nI have been doing some research using PostgreSQL towards implementing a\ncache conscious hash join algorithm.\n\n \n\nI noticed that version 8.3 has a feature \"L2 Cache Scan Protection\" that is\ndescrib...
[ { "msg_contents": "Hi!\n\ni'm using a module for postgresql (8.2 and 8.3) which links with a\n3rd-party library and calls a function from there which returns a\nmalloc()'ed string.\n\n[it's a libunac, and unac_string() but the question is general]\n\nthere was a pg_unac-8.2.tar.gz tarball distributed on the net...
[ { "msg_contents": "It seems my fix for stat() broke cygwin, because it doesn't have\ndosmaperr() available. The way I see it there are two ways to fix this:\n\n1) Don't apply the stat fix for cygwin.\n\n2) Make our dosmaperr() function be used on cygwin.\n\n\nI don't know if the fix is actually needed on cygwin...
[ { "msg_contents": "\n\tWell, I realized the idea of global prepared statements actually sucked, \nso I set on another approach thanks to ideas from this list, this is \ncaching query plans.\n\nFirst, let's see if there is low hanging fruit with the typical small, \noften-executed queries that are so frequent...
[ { "msg_contents": "[ Changing subject to draw people's attention ... ]\n\nTeodor Sigaev <teodor@sigaev.ru> writes:\n> RECHECK flag could be removed.\n\nHmm, that's slightly more radical than I was considering, but it would\nsimplify matters wouldn't it? The only strong argument against it that\nI can think of ...
[ { "msg_contents": "Hi all,\n\nI don't know if I can post a patch here (I did subscribe to\npsql-patches but without success).\n\nWell, working in the latest revision from CVS I added a feature for\npsql to the command \"\\d+\", now it shows the object size as like as\n\"\\l+\" show the database size.\n\nI will ...
[ { "msg_contents": "What's left on Bruce's patch queue page is:\n\n* Finishing out Heikki's patch to allow runtime determination of the\nneed to recheck an index condition. What's committed so far doesn't\nyet have any actual use :-(. Although I intend to keep working on\nthat, it's clearly new development and...
[ { "msg_contents": "> I'm leaning towards removing RECHECK because it'll allow simplification\nI vote to do it.\n\n> I seem to recall that you had some plans for other incompatible changes\n> in the call conventions for GIST/GIN support functions, too. If\nRight now we suggest only new feature which just extent...
[ { "msg_contents": "\n> I think what he's referring to is persistently caching plans so that new\n> connections can use them. That makes a lot more sense if you have lots of\n> short-lived connections like a stock php server without persistent \n> connections\n> turned on or a connection pooler. You can prepare...
[ { "msg_contents": "Hello to all of you! I'm new of this newsletter but I hope that this is the\ngood place to send this help request!\nI'm a student and I'm developing a quadtree index using postgresql 8.0.15\nunder Linux Ubuntu 7.10 Gusty Gibbon, but I have the following problem:\n\nI downloaded the GIST exte...
[ { "msg_contents": "Dear PostGre developers,\n\nI'm working on Windows XP SP2 (stack limit set to 3500 kb) and deployed \nsuccessfully my Java application (doing some external Web service calling) \ninside PostGre 8.3.0.\n\nUnfortunatelly, the application needs at least 3 Threads and will run \nfor quite some ti...
[ { "msg_contents": "\n\nOn Sat, 12 Apr 2008, Alexander W�hrer wrote:\n\n> I'm working on Windows XP SP2 (stack limit 3500 kb) and deployed\n> successfully my application (doing some external Web service calling)\n> inside PostGre 8.3.0.\n>\n> Unfortunatelly, the application needs at least 3 Threads and will run\...
[ { "msg_contents": "\nI'm confused about the current state of the pgwin32_safestat stuff. \nCygwin is now building happily, but MinGW is now broken on libpq. It \nlooks like libpq now needs dirmod.o or maybe libpgport.a. What I really \ndon't understand though is why MinGW is broken but MSVC isn't.\n\ncheers\n\n...
[ { "msg_contents": "Hello\n\nthis proposal replace older unsuccessful proposal \"user exception\" -\nhttp://archives.postgresql.org/pgsql-hackers/2005-06/msg00683.php\n\nIt allows only add more parameters to RAISE statement::\n\nsyntax:\n\nRAISE [NOTICE|WARNING|EXCEPTION] literal [, params]\n [WITH (eparam=expr...
[ { "msg_contents": "Awhile back we did some significant rejiggering to ensure that no\nrelcache load would be attempted without holding at least\nAccessShareLock on the relation. (Otherwise, if someone else\nis in process of making an update to one of the system catalog\nrows defining the relation, there's a ra...
[ { "msg_contents": "\nI have been looking at refining the sorting of objects in pg_dump to \nmake it take advantage of buffering and synchronised scanning, and \npossibly make parallel restoration simpler and more efficient.\n\nMy first thought was to sort indexes by <namespace, tablename, \nindexname> instead o...
[ { "msg_contents": "There has been talk of the lessons we learned during this commit fest,\nbut exactly what lessons did we learn? I am not clear on that so I\nassume others are not as well. What are we going to do differently\nduring the next commit fest?\n\n-- \n Bruce Momjian <bruce@momjian.us> ht...
[ { "msg_contents": "I would like to create a rule that, by updating a view, allows me to update\none table and insert into another.\n\n \n\nThe following example illustrates what I'm trying to do:\n\n \n\n--Create Tables\n\nCREATE TABLE my_table \n\n(\n\n my_table_id serial,\n\n a c...
[ { "msg_contents": "-----BEGIN PGP SIGNED MESSAGE-----\nHash: SHA1\n\nOn Fri, Mar 21, 2008 at 7:47 AM, Tom Lane wrote:\n> I didn't do anything about removing A_Const's typename field, but I'm\n> thinking that would be a good cleanup patch.\n>\n\nHere's my attempt to remove the typename field from A_Const. Th...