threads
listlengths
1
2.99k
[ { "msg_contents": "I believe that the \"make check\" target in src/test/isolation is\nfundamentally unportable, as is illustrated by the fact that buildfarm\nmember coypu is currently choking on it. The reason is that the\npg_isolation_regress program depends on libpq, and in particular it\ndepends on having a...
[ { "msg_contents": "The attached patch enables to assign security labels on shared database object\ntypes (database, tablespace, role).\nAs pg_description stuff doing, it adds a new pg_shseclabel catalog to store related\nlabels. Its internal APIs are kept. If and when (Get|Set|Delete)SecurityLabel is\ninvoked f...
[ { "msg_contents": "[I noticed my new address was not registered to pgsql-hackers, so try again]\n\nThe attached patch enables to assign security labels of shared database object\ntypes (databases, tablespaces, roles).\nLike as pg_shdescription doing, it adds a new pg_shseclabel catalog corresponding\nto the exi...
[ { "msg_contents": "Attached is an updated version of the 'hint bit cache'.\n\nWhat's changed:\n*) 'bucket' was changed to 'page' everywhere\n*) rollup array is now gets added during 'set', not the 'get' (pretty\ndumb the way it was before -- wasn't really dealing with non-commit\nbits yet)\n*) more source comme...
[ { "msg_contents": "\nTom this collation stuff has seen more post-feature-commit cleanups than\nI think any patch I remember. Is there anything we can learn from this?\n\nYes, this is coming from me, who some consider to be the king of\npost-commit cleanups, namely, cleaning up my own commits.\n\n--------------...
[ { "msg_contents": "All,\n\nJust encountered this:\n\ncreate table josh ( id serial not null, desc text );\n\npg_dump -Fc -T josh -f no_josh_dump postgres\n\npg_dump -Fc -t josh -f josh_dump postgres\n\npg_restore -d new no_josh_dump\npg_restore -d new josh_dump\n\npg_restore: [archiver (db)] Error from TOC entr...
[ { "msg_contents": "The documentation for the Server Programming Interface\nis underspecified such that it is impossible to create\nreal extensions using only the documented interface.\nFor example, in the example 43.5\n\nhttp://www.postgresql.org/docs/9.1/static/spi-examples.html\n\na variable of type SPITupleT...
[ { "msg_contents": "\nE.1.2.2. Casting\n \n * Tighten casting checks for domains based on arrays (Tom Lane) \n \n When a domain is based on an array type,..., such a domain type\n is no longer allowed to match an anyarray parameter of a\n polymorphic function, except by ex...
[ { "msg_contents": "So, what do we need in order to find our way to index-only scans?\n\n1. The visibility map needs to be crash-safe. The basic idea of\nindex-only scans is that, instead of checking the heap to find out\nwhether each tuple is visible, we first check the visibility map. If\nthe visibility map ...
[ { "msg_contents": "Could somebody explain me on which methods is based ts_rank and how it works?\nI would appreciate some articles, if exist. \nThanks a lot for reply.\nMark\n\n--\nView this message in context: http://postgresql.1045698.n5.nabble.com/ts-rank-tp4384120p4384120.html\nSent from the PostgreSQL - ha...
[ { "msg_contents": "I'd like to summarize expected issues corresponding to leaky-view and RLS\ntowards v9.2, and PGcon2011/Developer Meeting.\n\nWe already made consensus the leaky-view is a problem to be fixed previous\nto the row-level security feature.\n\nWe know several ways to leak/infer contents of tuples ...
[ { "msg_contents": "On Tue, May 10, 2011 at 9:59 AM, Merlin Moncure <mmoncure@gmail.com> wrote:\n> no, that wasn't my intent at all, except in the sense of wondering if\n> a crash-safe visibility map provides a route of displacing a lot of\n> hint bit i/o and by extension, making alternative approaches of doing\...
[ { "msg_contents": "A 9.1Beta1 test report from Richard Broersma (and confirmed on another \nsystem by Mark Watson) showed up pgsql-testers this week at \nhttp://archives.postgresql.org/pgsql-testers/2011-05/msg00000.php with \nthe following test crashing his Windows server every time:\n\nSELECT 'INFINITY'::TIME...
[ { "msg_contents": "I believe I've sussed the reason for the recent reports of Windows\nbuilds crashing when asked to process 'infinity'::timestamp. It's\na bit tedious, so bear with me:\n\n1. The immediate cause is that datebsearch() is being called with a NULL\npointer and zero count, ie, the powerup default ...
[ { "msg_contents": "The name of this new option is a bit of a mouthful, and it mixes in an\notherwise standardized term (deferrable, as in constraints) with\ntransaction isolation. Wouldn't something like --wait-for-serializable\nbe clearer (and shorter)?\n\n", "msg_date": "Wed, 11 May 2011 07:20:36 +0300",...
[ { "msg_contents": "Peter Eisentraut wrote:\n \n> The name of this new option is a bit of a mouthful, and it mixes in\n> an otherwise standardized term (deferrable, as in constraints) with\n> transaction isolation. Wouldn't something like\n> --wait-for-serializable be clearer (and shorter)?\n \nI see it's not m...
[ { "msg_contents": "Hi,\nI was trying to create a trigger with parameters. I've found a potential bug\nwhen the param is boolean.\n\nHere is code replicating the bug:\n\nCREATE TABLE x(x TEXT);\n\nCREATE OR REPLACE FUNCTION trigger_x() RETURNS TRIGGER AS $$\nBEGIN\n RETURN NEW;\nEND; $$ LANGUAGE PLPGSQL;\...
[ { "msg_contents": "typecmds.c says:\n\"Domains over composite types might be made to work in the future, but \nnot today.\"\n\nAttached is a patch that allows domains over composite types, together \nwith test cases in domaincomp.sql. A domain over a composite type has \ntyptype TYPTYPE_DOMAIN, but typrelid and...
[ { "msg_contents": "Hello,\n           Sir, i am a student. i want to develop a patch for postgresql. but i dont know how to take the step.kindly guide me for this. \n            \n       Thanks\n       Emman\nHello,\n           Sir, i am a student. i want to develop a patch for postgresql. but i dont know how t...
[ { "msg_contents": "Hello,\n          Sir, i want to develop a service for postgresql related to querry processing.but i dont know how to develop it. plz guide me so that i can take step.\ni will be realy thankful to you.\n \nRegards\nEmman\nHello,\n          Sir, i want to develop a service for postgresql relat...
[ { "msg_contents": "I have found a small but annoying bug in libpq where\nconnection parameters are resolved via LDAP.\n\nThere is a write past the end of a malloc'ed string which causes\nmemory corruption. The code and the bug are originally by me :^(\n\nThe attached patch fixes the problem in HEAD.\nThis shoul...
[ { "msg_contents": "Fujii, Simon,\n\nFor 9.1, both master and replica in a sync replication relationship are\nrequired to be fsync'ing to disk. I understand why we had to do that\nfor our first cut at synch rep. Do you think, though, that it might\nbecome possible to replicate without synch-to-disk for 9.2?\n\...
[ { "msg_contents": "pg_upgrade is a bit schizophrenic concerning the PGPORT environment\nvariable. On the one hand, there is this code in option.c that wants to\nmake use of it:\n\n old_cluster.port = getenv(\"PGPORT\") ? atoi(getenv(\"PGPORT\")) : DEF_PGPORT;\n new_cluster.port = getenv(\"PGPORT\") ? ato...
[ { "msg_contents": "Why not? Is there a fundamental problem, or just that no one wanted to\nmake it work?\n\n\n", "msg_date": "Wed, 11 May 2011 21:29:48 +0300", "msg_from": "Peter Eisentraut <peter_e@gmx.net>", "msg_from_op": true, "msg_subject": "Tables cannot have INSTEAD OF triggers" }, {...
[ { "msg_contents": "Hi everyone,\n\nseveral members of this mailing list mentioned recently it'd be really\nuseful to have a performance-test farm, that it might improve the\ndevelopment process and make some changes easier.\n\nI've briefly discussed this with another CSPUG member, who represents a\nlocal compan...
[ { "msg_contents": "I want to learn postgreSQL..\nAnd also want to know how to develop a patch in postgreSQL..\nplease give some examples and tutorial..\nthanks..\n-- \nStay Blessed...\n", "msg_date": "Wed, 11 May 2011 23:52:38 -0700", "msg_from": "kishwar deeba <kishwar2010@gmail.com>", "msg_from_op...
[ { "msg_contents": "Hi together,\n\nI'm currently debugging my developed AM and are running into this problem:\n\nTRAP: FailedAssertion(\"!(((bool) (((void*)(tid) != ((void *)0)) &&\n((tid)->ip_posid != 0))))\", File: \"indexam.c\", Line: 488)\n\nCan anybody explain what it means? I'm having difficulties to unde...
[ { "msg_contents": "I'm sorry to interrupt you, but how should I treat this bug report I issued? \nShould I submit a bug fix patch for the latest source code (=v9.1)? I wish \nthe fix will be back-patched in 8.3, too.\n\nIf yes, I would like to get a concensus on the solution. As I mentioned, I \nthink that it i...
[ { "msg_contents": "Attempting to rebase on of Heikki's index-only scan patches has led me\nto spend most of the day staring at the two functions named in the\nsubject line. I assume the code in these two functions has a common\norigin, as a large amount of it is nearly identical; and one effect of\nHeikki's pa...
[ { "msg_contents": "Hi!\n\nWe're having Lightning Talks again at PgCon - scheduled for 5:30pm on\nMay 19th in Ottawa!\n\nDo you have a talk or idea you'd like to share? Didn't get your\noriginal talk in? Want to compress that into 5 minutes?\n\nLightning Talks are one of the most highly attended sessions because...
[ { "msg_contents": "pl_comp.c does this to set up Params representing values it supplies for\nexpression/query execution:\n\n\tparam = makeNode(Param);\n\tparam->paramkind = PARAM_EXTERN;\n\tparam->paramid = dno + 1;\n\tparam->paramtype = exec_get_datum_type(estate, datum);\n\tparam->paramtypmod = -1;\n\tparam->...
[ { "msg_contents": "Hackers,\n\nI don't suppose I could convince you to use dotted-decimal version numbers for the contrib extension versions, rather than numerics, could I? At this point, I think that would just mean changing them from 1.0 to 1.0.0.\n\nWhy? Well, PGXN uses semantic versions, which have this for...
[ { "msg_contents": "Hello,\n\nWe have recently observed a problem with concurrent execution of ALTER ROLE SET... in several sessions. It's similar to the one from http://git.postgresql.org/gitweb?p=postgresql.git;a=commitdiff;h=fbcf4b92aa64d4577bcf25925b055316b978744a The result is the 'tuple concurrently update...
[ { "msg_contents": "YAMAMOTO Takashi wrote:\n \n> is there any chance to \"just\" make large objects obey the normal\n> semantics in future?\n \nI sure hope so, but I have no idea how hard that is. I feel the same\nabout TRUNCATE TABLE now that I recognize the semantic difference\nbetween it and DELETE FROM wi...
[ { "msg_contents": "Hi,\n\nFirst, sorry - I really didn't know to which list to post this.\n\nI'm looking to either write or get access to something like the EnterpriseDB\ninstaller for windows, which doesn't seem to be kept up to date anymore.\n\nThe installer needs to be configurable through command line so I ...
[ { "msg_contents": "Attached is a patch that builds upon Florian Pflug's earlier proof of\nconcept program for monitoring the postmaster. The code creates a\nnon-blocking pipe in the postmaster that child processes block on\nusing a select() call. This all occurs in the latch code, which now\nmonitors postmaster...
[ { "msg_contents": "what's changed:\n*) as advertised, i'm no longer bothering to cache invalid bits. hint\nbit i/o via rollbacked transactions is not a big deal IMNSHO, so they\nwill work as they have always done.\n*) all the tuple visibility routines are now participating in the cache\n*) xmax commit bits are...
[ { "msg_contents": "I am listing the query, it's explain output and explain analyze output at\nthe end.\n\nThe EXPLAIN output shows the 'Subplan 2' node only once, whereas EXPLAIN\nANALYZE output shows that the 'Subplan 2' is being executed twice . Is that\ntrue? Or is it just the plan printer getting confused? ...
[ { "msg_contents": "A minor issue has come up in creating low-level bindings to libpq for\nsafe garbage-collected languages, namely that PQfinish is the only\n(AFAICT) way to close a connection but also de-allocates the memory\nused to represent the database connection. It would be preferable\nto call PQfini...
[ { "msg_contents": "Hi,\n\nIf i create a DOMAIN an then want to create a CAST from that domain to\nanother type it gives an error.\nConsider this example:\n\"\"\"\ncreate domain datetime as timestamp with time zone\n check (value between '1753-01-01 00:00:00' and '9999-12-31 23:59:59');\n\ncreate function date...
[ { "msg_contents": "I had a chance to give this patch a look. This review is of the second\npatch posted by Gurjeet, at:\nhttp://archives.postgresql.org/message-id/AANLkTi=YJb_A+GGt_pXmRqhBhyiD6aSWWB8h-Lw-KVi0@mail.gmail.com\n\n== Summary ==\nThis patch implements the \\ir command for psql, with a long alias\n\\...
[ { "msg_contents": "Mitsuru IWASAKI wrote:\n \n> Are there any good examples for extension module?\n \nBrowse the subdirectories of contrib.\n \n-Kevin\n\n", "msg_date": "Sat, 14 May 2011 16:11:40 -0500", "msg_from": "\"Kevin Grittner\" <Kevin.Grittner@wicourts.gov>", "msg_from_op": true, "msg_s...
[ { "msg_contents": "\n----- Original Message ----- \nFrom: \"Darren Duncan\" <darren@darrenduncan.net>\nTo: \"Jaime Casanova\" <jaime@2ndquadrant.com>\nCc: \"PostgreSQL-development\" <pgsql-hackers@postgresql.org>\nSent: Saturday, May 14, 2011 9:42 PM\nSubject: Re: [HACKERS] DOMAINs and CASTs\n\n\n> Jaime Casano...
[ { "msg_contents": "\n----- Original Message ----- \nFrom: \"Jaime Casanova\" <jaime@2ndquadrant.com>\nTo: \"Tom Lane\" <tgl@sss.pgh.pa.us>\nCc: \"PostgreSQL-development\" <pgsql-hackers@postgresql.org>\nSent: Saturday, May 14, 2011 8:29 PM\nSubject: Re: [HACKERS] DOMAINs and CASTs\n\n\nOn Sat, May 14, 2011 at 5...
[ { "msg_contents": "I need to be Unsubscribed! igny03@verizon.net\n", "msg_date": "Sun, 15 May 2011 16:57:25 -0400", "msg_from": "\"Gelman\" <igny03@verizon.net>", "msg_from_op": true, "msg_subject": "Urgent!" }, { "msg_contents": "On Sun, May 15, 2011 at 4:57 PM, Gelman <igny03@verizon....
[ { "msg_contents": "Hello\n\ncache estimation and cache access cost are currently not accounted\nexplicitly: they have a cost associated with but no constants (other\nthan effective_cache_size but it has a very limited usage).\n\nEvery IO cost is build with a derivation of the seq_page_cost,\nrandom_page_cost an...
[ { "msg_contents": "\nI've committed a bunch of changes both in the Postgres code and the \nbuildfarm code to enable running the isolation checks under MSVC. \nThere's one hurdle that I haven't overcome: the code tries to call \n\"./isolationtester\" and Windows barfs on it. I think we need to remove \nthat way ...
[ { "msg_contents": "Hi,\nI have defined some function and also used NDBOX structure that having\nvariable length.\n\ntypedef struct NDBOX\n{\n int32 vl_len_; /* varlena length */\n unsigned int dim;\n double x[1];\n} NDBOX;\n\nWhen i called my function, it gives NDBOX to be null\nOn...
[ { "msg_contents": "Is there any particular reason why we can't/don't auto-create schema\nbar when you run \"CREATE EXTENSION foo SCHEMA bar\"?\n\n-- \n Magnus Hagander\n Me: http://www.hagander.net/\n Work: http://www.redpill-linpro.com/\n", "msg_date": "Mon, 16 May 2011 09:59:58 +0200", "msg_from": "Ma...
[ { "msg_contents": "A discussion over in pgsql-admin led me to realize that there's a\ncorner case bug in pg_dump for casts that belong to extensions.\nNamely, pg_dump has a rather ad-hoc rule for deciding whether to\ndump a cast, and that rule could result in not dumping a cast belonging\nto an extension (if th...
[ { "msg_contents": "I have added the attached patch to pg_upgrade to print a clear error\nmessage if you don't have read/write/execute permission in the current\ndirectory, which is needed for pg_upgrade to read/write temporary files.\n\nThis is based on a bug report I received from EnterpriseDB usage\ntesting.\...
[ { "msg_contents": "Hi,\n\n\nfollowing the conversation at \n\nhttp://postgresql.1045698.n5.nabble.com/switch-UNLOGGED-to-LOGGED-tp4290461p4382333.html\n\n\nI tried to remove some bytes from xl_xact_commit. \n\nThe way I did it needs palloc+memcpy. I guess it could be done\nreusing the memory for smgrGetPendingD...
[ { "msg_contents": "Hello,\n\nI posted the following mail to pgsql-docs, but let me re-post it here \nbecause I'm afraid much less people watch pgsql-docs and pgsql-docs might be \ninactive. And the problem is not about the contents of docs but about the \nbuild system, so I thought here might be better.\n\n\nI'...
[ { "msg_contents": "Hello developers,\n\nMy project had a requirement to use certificate authentication to the PG\nserver. Our application uses Hibernate.\n\nWe did just that and my boss has OKed a source release.\n\nNow, the current version of the code has dependencies on our internal\nlibraries, so I'll need t...
[ { "msg_contents": "Hi.\n\nI'm running a production database with PostgreSQL 9.0.3 (64-bit) on \nDebian 5.0.4 and have an issue with a TOAST table and far to frequent \nautovacuum runs.\n\nI think I've pinned the problem down to the values pg_class holds for \nthe affected TOAST table:\n\nrelpages | 433596\nrel...
[ { "msg_contents": "The algorithm for this was discussed in the original thread\n(http://archives.postgresql.org/pgsql-hackers/2010-10/msg02050.php)\nbut I don't that think a satisfactory conclusion was really reached.\nIn particular, it is way too easy to come up with pathological cases\nthat defeat the hashing...
[ { "msg_contents": "I have missed it if this was discussed before but ...\n\nWould now be a good time to start deprecating the contrib/ directory as a way to \ndistribute Pg add-ons, with favor given to PGXN and the like instead?\n\nIt would make sense to leave contrib/ alone for 9.1, but I believe that it \nsho...
[ { "msg_contents": "Hi all,\n\nAttached is a simple patch addressing the TODO item \"Allow \\dd to show\nconstraint comments\". If you have comments on various constraints\n(column, foreign key, primary key, unique, exclusion), they should\nshow up via \\dd now.\n\nSome example SQL is attached to create two tabl...
[ { "msg_contents": "One of the things that came out of the clustering session is a need for\na LOCK DATABASE command. Primarily to be able to drop databases across\nnodes in a cluster, but later chats lead to ideas about upgrading\ndatabases' schemas and such operations that need to ensure that no one\nelse is ...
[ { "msg_contents": "Hi Highly Respected Hackers!\n\nI have a task to pass arrays, records and in some cases array of\nrecords as a parameter to the stored procedures in PostgreSQL. I will\nuse JDBC to work with PostgreSQL 9.0 At first I would like to learn\nhow to pass arrays.\n\nAny ideas?\n\np.s. Google and ht...
[ { "msg_contents": "I broke the Win32 build members by using access(X_OK) in pg_upgrade. I\nhave a fix for this but looking at pg_upgrade's exec.c, I see for\nWin32:\n\n\t if ((buf.st_mode & S_IXUSR) == 0)\n\nI am confused why Windows supports S_IXUSR but not X_OK.\n\n-- \n Bruce Momjian <bruce@momjian.us>...
[ { "msg_contents": "I reviewed the process for configuring replication, and found that we\ndon't have an example for allowing replication access in pg_hba.conf.\nBefore we release 9.1, I think we should add this example to make it\nmore obvious this is a necessary part of replication configuration.\n\nAt the ris...
[ { "msg_contents": "The attached, applied patch improves pg_upgrade error reporting if the\nbin or data directories do not exist or are not directories. Previously\nthe error message was not clear.\n\n-- \n Bruce Momjian <bruce@momjian.us> http://momjian.us\n EnterpriseDB h...
[ { "msg_contents": "Hi,\n\n \n\nI am trying to build Postgresql 8.3.15 on Win32 with VS2005.\n\nI was able to build all the projects except uuid-ossp. \n\nI am getting the following error \n\n \n\nfatal error LNK1104: cannot open file\n'c:\\prog\\pgsql\\depend\\ossp-uuid\\lib\\uuid.lib'\n\n \n\nI tried to get t...
[ { "msg_contents": "A user at Pgcon made a pretty convincing case that it would sometimes\nbe handy to be able to see a list of columns in alphabetical order in\npsql's \\dt output. This is especially true when there are a very large\nnumber of columns and you're looking for a specific column with name\nmatching...
[ { "msg_contents": "I just noticed that logging_collector does not have its default value\ndocumented. I checked and other settings were also missing defaults.\nDo we have a policy that they should all be documented, or is this\nintentional?\n\n-- \nÁlvaro Herrera <alvherre@alvh.no-ip.org>\n", "msg_date": "...
[ { "msg_contents": "Is there a reason we don't allow moving the toast table to a separate\ntablespace, other than unimplemented feature? If not, I propose such a\nsyntax as\n\nALTER TABLE foo SET TOAST TABLESPACE bar;\n\n-- \nÁlvaro Herrera <alvherre@alvh.no-ip.org>\n", "msg_date": "Thu, 19 May 2011 15:17:1...
[ { "msg_contents": "Apparently, you can write this (an attempt at a convenient workaround\nfor lack of functional dependency tracking pre-9.1):\n\nSELECT pg_class.* FROM pg_class GROUP BY pg_class.*;\n\nIt won't work:\n\nERROR: 42803: column \"pg_class.relname\" must appear in the GROUP BY clause or be used in ...
[ { "msg_contents": "There is no way to tell pg_basebackup to \"just compress the thing in a\ndefault way\". You have to pick some number and then write -Z8 or\nsomething. I suppose that interface was copied from pg_dump, but there\nit's not that commonly used because the right formats are compressed by\ndefaul...
[ { "msg_contents": "I had the following error during compile of sepgsqk contrib:\n\nroot@postgresql:~/postgresql-9.1beta1/contrib/sepgsql# make\nsed 's,MODULE_PATHNAME,$libdir/sepgsql,g' sepgsql.sql.in >sepgsql.sql\ngcc -O2 -Wall -Wmissing-prototypes -Wpointer-arith\n-Wdeclaration-after-statement -Wendif-labels ...
[ { "msg_contents": "Hi,\n\nI was just messing around with a datatype that's based in int64\nrepresentation. Pretty much everything (seems to) work cleanly, but one\nproblem I have is that I cannot build the correct CREATE TYPE sentence\nin the .sql.in file to actually install the type, because there's no\neasy ...
[ { "msg_contents": "Just to see how much difference it would make, I tried ripping\neverything out of the parser except for support for DML queries. In\naddition to removing the actual rules, I also yanked out most of the\nunreserved keywords that are needed only for DML. Results (pgbench -n\n-S -T 300):\n\nWi...
[ { "msg_contents": "Hello,\n\nPlease find attached a minor stylish patch. It compiles and the update \ntest cases work for me.\n\nDescription:\n\nAdd \"AS EXPLICIT\" to \"CREATE CAST\"\n\nThis gives a name to the default case of \"CREATE CAST\", which creates a \ncast which must be explicitely invoked.\n\n From ...
[ { "msg_contents": "Hello\n\nThis proposal is related to exception processing. Inside exception\nhandler we can get some basic info about exception - message text and\nmessage code. There are other fields - but these fields are no\navailable now in PL/pgSQL. The cheap access to fields inside ErrorData\nstructure...
[ { "msg_contents": "As background, for most of SSI development I had a TODO comment in the\nsource which was basically around the question of whether a predicate\nlock on a visible heap tuple should propagate to later versions of the\nrow as long as the original lock was material. In early February Heikki\n(qui...
[ { "msg_contents": "Pavan Deolasee wrote:\n \n> As a first step, it would be great if you can upload the slides on\n> the conference website. To expect that the attendees would have\n> understood the nitty-gritties of SSI just listening to the\n> presentation is so unhuman :-)\n \nI'm sure Dan will be doing tha...
[ { "msg_contents": "I noticed the 9.1 release notes claim that the new\nEDITOR_LINENUMBER_SWITCH thing is an environment variable, whereas it is\nactually a psql variable.\n\nThis is perhaps sort of a Freudian slip. Since the editor itself is\nconfigured using an environment variable, shouldn't any configuratio...
[ { "msg_contents": "Robert Haas wrote:\n \n> Incidentally, prepared transactions help a lot.\n \nPrepared transactions or prepared statements?\n \n-Kevin\n\n", "msg_date": "Sat, 21 May 2011 19:36:04 -0500", "msg_from": "\"Kevin Grittner\" <Kevin.Grittner@wicourts.gov>", "msg_from_op": true, "msg...
[ { "msg_contents": "Robert Haas wrote:\n \n> How is an UPDATE different from a DELETE and an INSERT?\n \nThat's the question Jeff asked which caused us to revisit this.\n \nThere are two answers -- conceptual and implementation.\n \nConceptually, an updated row is the same row, and a row inserted after a\ndelet...
[ { "msg_contents": "I am trying to build plPython for Python 3.2 64bit under Windows 7 with\nMicrosoft Windows SDK v7.0 (all tools are 64bit). I downloaded Python from\npython.org\nI get this error:\n\n\"C:\\Users\\user\\Desktop\\postgresql-9.0.4\\pgsql.sln\" (default target) (1) ->\n(PLs\\plpython target) ->\n ...
[ { "msg_contents": "The attached patch fixes up case handling in foreign tables.\n\nNow it didn't assign security label on foreign table on its creation\ntime, and didn't check access rights on the dml hook.\nThis patch fixes these problems; It allows foreign tables default\nlabeling and access checks as db_tabl...
[ { "msg_contents": "Hello,\n\nCould you give me your frank opinions about which of 8.4 or 9.0 you \nrecommend to ISVs who embed PostgreSQL?\n\nWe have used PostgreSQL 8.3 as a data repository of our software products. \nNow we are developing the new versions of those existing products and a new \nproduct. So, we...
[ { "msg_contents": "Hi,\nI am using contrib/cube code. I am building GIST index on cube data type\nthen it leads to a very large size of log file (nearly 220 MB for only 12k\nrecords).\nWhile creating index on geometry field with gist gives 1KB size of log file\nfor 17 lakh records.\n\nCan someone please tell me...
[ { "msg_contents": "These all stemmed from beers Friday night...\n\nDavid Wheeler: \"I'm trying to picture Tom Lane as a kid... Was he constantly rewriting the other kid's homework?\"\n\n\nGreg Smith: \"When bullies said they were going to take Tom's lunch money, he'd ask if they had proof.\"\n\n\nJeremy Lawler ...
[ { "msg_contents": "\nThe following bug has been logged online:\n\nBug reference: 6034\nLogged by: Tim Uckun\nEmail address: timuckun@gmail.com\nPostgreSQL version: 8.4\nOperating system: ubuntu linux\nDescription: pg_upgrade fails when it should not.\nDetails: \n\npg_upgrade from 8.4...
[ { "msg_contents": "Robert Haas wrote:\n \n> I think the implementation is what matters here. I understand that\n> there are certain situations in which the user might choose to\n> UPDATE a row and other situations in which they might choose to\n> DELETE and then INSERT: but the user's intent is basically\n> ir...
[ { "msg_contents": "--- On Mon, 5/23/11, nil nil <unprecedented_7@yahoo.com> wrote:\n\n\n\n\n\n\n\n\n\nSir \n       i have read all that material from that link it gives me overall detail but i am still not clear how to develop it. what softwares i need to use, how to integrate with postgresql, i want to know th...
[ { "msg_contents": "Hello,\n\nI made some code changes, compilation went fine but the database could not\nstart with the message:\n\nLOG: server process (PID 17684) was terminated by signal 11: Segmentation\nfault\n\nI think this is because of memory allocation outside of any memory context.\n\nIs it possible t...
[ { "msg_contents": "Vaibhav Kaushal wrote:\n \n> Do you think its the 'slot_getattr' causing the seg-fault?\n \nOn many platforms it's not hard to get a core file out of a segfault\n(perhaps by using ulimit), and then get a stack trace (using gdb or\nsimilar) to see exactly where it is happening.\n \n-Kevin\n\n...
[ { "msg_contents": "nil nil wrote:\n \n> i have read all that material from that link it gives me overall\n> detail but i am still not clear how to develop it. what softwares i\n> need to use, how to integrate with postgresql, i want to know the\n> basic steps for patch development.\n \nIt would help if we knew...
[ { "msg_contents": "I'd like to revive the discussion that arose during the last CommitFest over\nthe proper design for identifying no-op length coercions like varchar(4) ->\nvarchar(8). Here is the root of the original debate:\n\n http://archives.postgresql.org/message-id/20110109220353.GD5777@tornado.leadboa...
[ { "msg_contents": "-----BEGIN PGP SIGNED MESSAGE-----\nHash: SHA256\n\nAccording to Linux Standard Base Core Specification 3.1 [1], the exit\nstatus should be '3' when the server isn't running.\n\nI've attached a very simple patch that resolves this cosmetic issue,\nwhich applies to all branches.\n\nMy initial ...
[ { "msg_contents": "At the developer meeting last week: \nhttp://wiki.postgresql.org/wiki/PgCon_2011_Developer_Meeting there was \nan initial schedule for 9.2 hammered out and dutifully transcribed at \nhttp://wiki.postgresql.org/wiki/PostgreSQL_9.2_Development_Plan , and \nthe one part I wasn't sure I had wri...
[ { "msg_contents": "Hi,\n\nIn my DB, there is a large table containing messages and one that contains\nmessage boxes.\nMessages are assigned to boxes via a child parent link m->b.\nIn order to obtain the last message for a specific box, I use the following\nSQL:\n\nSELECT m1.id FROM message m1 LEFT JOIN message ...
[ { "msg_contents": "Hi All,\n\nSome of the ideas regarding vacuum improvements were discussed here:\nhttp://archives.postgresql.org/pgsql-hackers/2008-05/msg00863.php\nhttp://archives.postgresql.org/pgsql-patches/2008-06/msg00059.php\n\nA recent thread was started by Robert Haas, but I don't know if we logically...
[ { "msg_contents": "\"Kevin Grittner\" wrote:\n> Dan Ports wrote:\n \n>> Does that make sense to you?\n> \n> Makes sense to me. Like the proof I offered, you have shown that\n> there is no cycle which can develop with the locks copied which\n> isn't there anyway if we don't copy the locks.\n \nI woke up with t...
[ { "msg_contents": "PostgreSQL 9.1 will implement ALTER TABLE ALTER TYPE operations that use a\nbinary coercion cast without rewriting the table or unrelated indexes. It\nwill always rewrite any indexes and recheck any foreign key constraints that\ndepend on a changing column. This is unnecessary for 100% of c...
[ { "msg_contents": "During preparing patch of my GSoC project I found reasonable to\nmove childoffnum (GISTInsertStack structure) from parent to child. This\nmeans that now child have childoffnum of parent's link to child. It allows\nto maintain entire parts of tree in that GISTInsertStack structures. Also it\ns...
[ { "msg_contents": "In http://archives.postgresql.org/pgsql-bugs/2011-05/msg00171.php\nRegina Obe complains that this fails in 9.1, though it worked before:\n\nregression=# CREATE DOMAIN topoelementarray AS integer[]; \nCREATE DOMAIN\nregression=# SELECT array_upper(ARRAY[[1,2], [3,4]]::topoelementarray, 1);\nER...
[ { "msg_contents": "Hi,\n\nI'd like to propose cascade replication feature (i.e., allow the\nstandby to accept\nreplication connection from another standby) for 9.2. This feature is useful to\nreduce the overhead of the master since by using that we can decrease the\nnumber of standbys directly connecting to the...