threads
listlengths
1
2.99k
[ { "msg_contents": "\nGiven that we have not supported releases older than 8.3 for quite a \nwhile, do we need to keep this in extend.sgml any longer?\n\n <caution>\n <para>\n Changing <varname>PG_CONFIG</varname> only works when building\n against <productname>PostgreSQL</productname> 8.3 or lat...
[ { "msg_contents": "Hello,\n\nI observe the following behavior with PostgreSQL 9.3.0 when I create a\nmaterialized view with the no data option, which references in a subquery\nanother materialized view also created with the no data option:\n\n(ls@[local]:5432) [ls] > CREATE MATERIALIZED VIEW t1 AS SELECT text '...
[ { "msg_contents": "I was using the lo contrib a few days ago and wasn't paying attention, and \nforgot the \"for each row\" in the create trigger command... PostgreSQL \nsegfaulted, when the trigger tried to access the row's attributes.\n\nPlease find attached a patch to control that the trigger is correctly de...
[ { "msg_contents": "*** /home/kgrittn/pg/master/src/test/isolation/expected/drop-index-concurrently-1.out   2013-07-10 14:58:41.641205557 -0500\n--- /home/kgrittn/pg/master/src/test/isolation/results/drop-index-concurrently-1.out    2013-10-07 12:20:49.269277851 -0500\n***************\n*** 30,40 ****\n  id      ...
[ { "msg_contents": "Fix bugs in SSI tuple locking.\n\n1. In heap_hot_search_buffer(), the PredicateLockTuple() call is passed\nwrong offset number. heapTuple->t_self is set to the tid of the first\ntuple in the chain that's visited, not the one actually being read.\n\n2. CheckForSerializableConflictIn() uses the...
[ { "msg_contents": "docs: update release notes for 8.4.18, 9.0.14, 9.1.10, 9.2.5, 9.3.1\n\nBranch\n------\nREL9_2_STABLE\n\nDetails\n-------\nhttp://git.postgresql.org/pg/commitdiff/df9ede9063915bca311a14a482d97ef51d2082d3\n\nModified Files\n--------------\ndoc/src/sgml/release-8.4.sgml | 193 +++++++++++++++++...
[ { "msg_contents": "Folks,\n\nPlease find attached a patch implementing and documenting, to some\nextent, $subject. I did this in aid of being able to import SQL\nstandard catalogs and other entities where a known example could\nprovide a template for a foreign table.\n\nShould there be errhint()s, too? Should...
[ { "msg_contents": "The V7-Patch applied cleanly and I got no issues in my first tests.\n\nThe change from column session_start to a function seems very reasonable for me.\n\nConcernig the usability, I would like to suggest a minor change, \nthat massively increases the usefulness of the patch for beginners, \nw...
[ { "msg_contents": "I had got this message while running vacuum full from backend . Now My\ndatabase is not starting , Help pls.\n\nbackend> vacuum full debug;\nWARNING: database \"debug\" must be vacuumed within 999999 transactions\nHINT: To avoid a database shutdown, execute a full-database VACUUM in\n\"debu...
[ { "msg_contents": "The commit below, specifically the change mentioned in the last paragraph\nto fix isLockedRel broke the following comment in addRangeTableEntry:\n\n * If pstate is NULL, we just build an RTE and return it without adding it\n * to an rtable list.\n\nIn fact isLockedRefname() will seg fault pro...
[ { "msg_contents": "Hi,\n\nIn the release notes for 9.2.5,\n\nShould the following:\n\n\"Fix rare GROUP BY query error caused by improperly processed date\ntype modifiers (Tom Lane)\"\n\nbe:\n\n\"Fix rare GROUP BY query error caused by improperly processed *data*\ntype modifiers (Tom Lane)\"\n\nAssuming the chan...
[ { "msg_contents": "Where did this patch come from?\n\nI think part of that patch should be reverted, but I can't find the\noriginal submission for the rationale.\n\n\n\n\n-- \nSent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)\nTo make changes to your subscription:\nhttp://www.postgresql.org/mai...
[ { "msg_contents": "Hi\n\nI'm developing a new type for character string, like varchar. I wrote\noperators for btree and so forth.\nI wonder how pattern matching operators using btree index, because btree\noperator class ony knows about >, >=, <=, and = operators, but operators\nfor pattern matching, such as LIK...
[ { "msg_contents": "Hi\n\nI'm developing a new type for character string, like varchar. I wrote\noperators for btree and so forth.\nI wonder how pattern matching operators using btree index, because btree\noperator class ony knows about >, >=, <=, and = operators, but operators\nfor pattern matching, such as LIK...
[ { "msg_contents": "2013/10/9 Pavel Stehule <pavel.stehule@gmail.com>\n\n> Hello\n>\n> I checked a conformance with ANSI SQL - and I didn't find any issue.\n>\n> I found so following error message is not too friendly (mainly because\n> this functionality will be new)\n>\n> postgres=# select dense_rank(3,3,2) wit...
[ { "msg_contents": "Josh Berkus suggested here that work_mem and maintenance_work_mem could\nbe auto-tuned like effective_cache_size:\n\n\thttp://www.postgresql.org/message-id/50ECCF93.3060101@agliodbs.com\n\nThe attached patch implements this, closely matching the default values\nfor the default shared_buffers ...
[ { "msg_contents": "Of the 83 patches in this CommitFest, there are currently 35 that are\nmarked as needing review, 23 that are waiting on author, 7 that are\nready for committer, 11 that are committed, 5 that are returned with\nfeedback, and 2 that are rejected. Since we're now supposedly in the\nlast week of...
[ { "msg_contents": "Add record_image_ops opclass for matview concurrent refresh.\n\nREFRESH MATERIALIZED VIEW CONCURRENTLY was broken for any matview\ncontaining a column of a type without a default btree operator\nclass. It also did not produce results consistent with a non-\nconcurrent REFRESH or a normal vie...
[ { "msg_contents": "Hello,\n\nI am using PSQL to run SQL from a file with the -f flag as follows:\n\nBEGIN\nSQL\nSQL\n...\nEND\n\nThis gives me rollback on error and a nicer output than -1. This works fine.\n\nMy question is in a rollback scenario is it possible to get PSQL to return\na non 0 exit status?\n\nChe...
[ { "msg_contents": "Folks,\n\nWhen you update a patch, please make sure to let your reviewer(s) know\nyou have in addition to putting it in the Commitfest application.\nThis will help ensure that your patch moves along its track to a\nsatisfactory outcome for all this Commitfest.\n\nCheers,\nDavid.\n-- \nDavid F...
[ { "msg_contents": "Revive line type\n\nChange the input/output format to {A,B,C}, to match the internal\nrepresentation.\n\nComplete the implementations of line_in, line_out, line_recv, line_send.\nRemove comments and error messages about the line type not being\nimplemented. Add regression tests for existing ...
[ { "msg_contents": "The V7-Patch applied cleanly and I got no issues in my first tests.\n\nThe change from column session_start to a function seems very reasonable for \nme.\n\nConcernig the usability, I would like to suggest a minor change, that massively \nincreases the usefulness of the patch for beginners, w...
[ { "msg_contents": "Hi,\n\nThe behavior of pg_trgm's similarity function seems strange. Is this\nintentional?\n\nI was thinking that the following three calls of the similarity function return\nthe same number because the second argument is just the three characters\ncontained in the first argument in every call...
[ { "msg_contents": "One of the user's of PostgreSQL has reported that if tablespace path\nis long, it leads to hang and the hang is unbreakable.\n\nSimple testcase to reproduce hang is:\na. initdb -D E:\\WorkSpace\\PostgreSQL\\master\\RM30253_Data\\aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa...
[ { "msg_contents": "Since, as has been previously discussed in this forum on multiple\noccasions [citation needed], the default System V shared memory limits\nare absurdly low on many systems, the dynamic shared memory patch\ndefaults to POSIX shared memory, which has often been touted as a\nsuperior alternative...
[ { "msg_contents": "On Wed, 2013-09-04 at 14:35 +0000, Robert Haas wrote:\n> \n> On Fri, Aug 30, 2013 at 3:43 PM, Tom Lane <tgl@sss.pgh.pa.us> wrote:\n> > I think it's entirely sensible to question whether we should reject\n> (not\n> > \"hold up\") RLS if it has major covert-channel problems.\n> \n> We've alread...
[ { "msg_contents": "Replace duplicate_oids with Perl implementation\n\nIt is more portable, more robust, and more readable.\n\nFrom: Andrew Dunstan <andrew@dunslane.net>\n\nBranch\n------\nmaster\n\nDetails\n-------\nhttp://git.postgresql.org/pg/commitdiff/3dc543b3d84f048ca563af1bc98092f1e01e4a81\n\nModified Fil...
[ { "msg_contents": "vacuum is not happening on a heavily modified big table even if the dead tuples are more than configured threshold.\n\nThis is because during at the end of vacuum, the number of dead tuples of the table is reset as zero, because\nof this reason the dead tuples which are occurred during the va...
[ { "msg_contents": "Hi pg_Hackers,\n\nI would like to express my wonder to see the following line\n\n#define ExclusiveLock 7 /* blocks ROW\nSHARE/SELECT...FOR\n\n(line number 543) in /usr/include/postgresql/9.1/server/storage/lock.h\nfile, because ExclusiveLock is a name of a clas...
[ { "msg_contents": "The build is continuing to fail on smew and anole. The reason it's\nfailing is because those machines are choosing max_connections = 10,\nwhich is not enough to run the regression tests. I think this is\nprobably because of System V semaphore exhaustion. The machines are\nnot choosing a sm...
[ { "msg_contents": "Hi,\n\nAs discussed in 20130926225545.GB26663@awork2.anarazel.de and on quite\nsome other occasions there's quite some scalability improvements we\ncould make if we had cross platform support for atomic\noperations. Providing that is a fair bit of work for every\narchitecture/compiler/OS, so ...
[ { "msg_contents": "Hi\n\nI developed a new character string type, named myvarchar.\nAlso an operator class for btree is added.\n\nI created a table with two columns, first have myvarchar(100) and other is\nvarchar(100).\n\nCREATE TABLE test_myvarchar (mine myvarchar(100), plain varchar(100));\n\nCREATE INDEX t...
[ { "msg_contents": "I work in linux\nI want use testlo.c in client side that testlo.c is in src/test/example/\naddress of postgresql source code.\nI run make in /src/test/example/\nthen copy executable file(testlo) in lib directory of installation\ndirectory of postgresql.\nnow I don't know how do I can use this...
[ { "msg_contents": "CF 2013-09 will be wrapping up this week. As a reminder, beginning on the\nofficial CF end date (11/15), patches Waiting for Author will be Returned\nwith Feedback. Authors are welcome to add their patch to the next CF\n(2013-11).\n\nAny patches marked Needs Review will be automatically mov...
[ { "msg_contents": "In manual of \"48.5. Message Formats\" section, there is a description\nof \"Bind\" message.\n\nInt16[C]\n The parameter format codes. Each must presently be zero (text) or one (binary).\n\nThis could be completely non-existent field in the current\nimplementation of PostgreSQL. I think th...
[ { "msg_contents": "Hello,\n\nI wonder if there is an issue with the way state change happens\nfrom WALSNDSTATE_CATCHUP to WALSNDSTATE_STREAMING. Please note my question\nis solely based on a strange behavior reported by a colleague and my\nlimited own code reading. The colleague is trying out replication with a...
[ { "msg_contents": "I am new to postgre sql .And i want to add some new feature to postgresql\nAs a startup i have taken the project to add syntax for table partitioning\n\nCREATE TABLE is modified to accept a PARTITION BY clause. This clause\ncontains one or more partition declarations. The syntax is as follows...
[ { "msg_contents": "The following query is performed concurrently by two threads logged in \nwith two different users:\n\n WITH raw_stat AS (\n SELECT\n host(client_addr) as client_addr,\n pid ,\n usename\n FROM\n pg_stat_activity\n WHERE\n ...
[ { "msg_contents": "hstore_to_json used to return an empty string for empty hstores, but\nthat is not correct as an empty string is not valid json and calling\nrow_to_json() on rows which have empty hstores will generate invalid\njson for the entire row. The right thing to do is to return an empty\njson object....
[ { "msg_contents": "Hi everyone,\n\nSeems that the latest patch in this series is:\nhttp://www.postgresql.org/message-id/CAB7nPqRLWLH1b0YsvqYF-zOFjrv4FRiurQ6yqcP3wjBp=TJOLg@mail.gmail.com\n\n= Applying =\n\nReading the threads it seems there is consensus in this happening, so\nlet's move in that direction.\nThe ...
[ { "msg_contents": "I am seeing this compiler warning in git head:\n\n\trowtypes.c: In function 'record_image_cmp':\n\trowtypes.c:1433: warning: 'cmpresult' may be used\n\tuninitialized in this function rowtypes.c:1433: note: 'cmpresult' was declared here\n\n-- \n Bruce Momjian <bruce@momjian.us> http:/...
[ { "msg_contents": "On Wed, Oct 16, 2013 at 12:52 PM, Andres Freund <andres@2ndquadrant.com> wrote:\n> Partially that only works because we sprinkle 'volatile's on lots of\n> places. That can actually hurt performance... it'd usually be something\n> like:\n> #define pg_atomic_load(uint32) (*(volatile uint32 *)(a...
[ { "msg_contents": "Hi,\n\nI've been experimenting with the new reworked FDW API to get familiar\nwith it. The postgres_fdw is a great source of knowledge (huge thanks to\nShigeru Hanada, KaiGai Kohei and everyone else who made this happen),\nbut in the end I had to draw some flow charts in Dia, to understand ho...
[ { "msg_contents": "I wonder whether it was ever consciously decided what the dependency\nrelationship between libpgport and libpgcommon would be. When I added\nasprintf(), I had intuitively figured that libpgport would be the lower\nlayer, and so psprintf() in libpgcommon depends on vasprintf() in\nlibpgport. ...
[ { "msg_contents": "Hi,\n\nValgrind tells me:\n==442828== Conditional jump or move depends on uninitialised value(s)\n==442828== at 0x80084F: record_image_cmp (rowtypes.c:1521)\n==442828== by 0x801522: btrecordimagecmp (rowtypes.c:1839)\n==442828== by 0x8C6604: comparison_shim (sortsupport.c:53)\n==4428...
[ { "msg_contents": "IMHO the current behavior is broken:\n\ndecibel@decina:[17:46]~/pgsql/HEAD/i$bin/psql -c 'select 1' -c 'select 2'\n ?column?\n----------\n 2\n(1 row)\n\n\nI would expect psql to either run both commands or throw an error.\n\nWhat I'd personally prefer is that psql execute -c and -f (...
[ { "msg_contents": "I submit patch adding min and max execute statement time in pg_stat_statement in\nnext CF.\n\npg_stat_statement have execution time, but it is average execution time and does\nnot provide detail information very much. So I add min and max execute statement\ntime in pg_stat_statement columns. ...
[ { "msg_contents": "Hi,\n\nI submit improvement of pg_stat_statement usage patch in CF3.\n\nIn pg_stat_statement, I think buffer hit ratio is very important value. However,\nit is difficult to calculate it, and it need complicated SQL. This patch makes it\nmore simple usage and documentation.\n\n> -bench=# SELEC...
[ { "msg_contents": "From the following mail, copy behaviour between stdin and normal file having some inconsistency.\n http://www.postgresql.org/message-id/CE85A517.4878E%tim.kane@gmail.com\n\nThe issue was that if copy execute \"from stdin\", then it goes to the server to execute the command and then ser...
[ { "msg_contents": "Hi,\n\nI've been exploring the new FDW API in the past few days, and I'm slightly\nconfused by the fdw_private fields. A few comments:\n\n1) Generally all the API functions pass data using fields in the nodes\n(e.g. GetForeignRelSize uses baserel->fdw_private etc.), but\nPlanForeignModify sim...
[ { "msg_contents": "Hi all,\n\nThe attached patch is a continuation of Robert's work [1].\n\nI made some changes:\n- use of Latches instead of pg_usleep, so we don't have to wakeup regularly.\n- call HandleStartupProcInterrupts() before CheckForStandbyTrigger()\nbecause might change the trigger file's location\n...
[ { "msg_contents": "Hi\n\nI need to get a Relation instance but I have only a RelFileNode!\nI see the relcache.h, only the following function seems helpful\n\nextern Relation RelationIdGetRelation(Oid relationId);\n\nHowever, there is another problem, In the RelFileNode, only relNode exist\nand as comment said t...
[ { "msg_contents": "Move rmtree() from libpgport to libpgcommon\n\nIt requires pgfnames() from libpgcommon.\n\nBranch\n------\nmaster\n\nDetails\n-------\nhttp://git.postgresql.org/pg/commitdiff/2e6bc4b806ca92433932b34c019293a201f03e11\n\nModified Files\n--------------\nsrc/bin/initdb/nls.mk | 2 +-\nsrc...
[ { "msg_contents": "Thanks very much to Mike Blackwell and Craig Kerstiens for their\npersistence through what most people would consider a tedious and\nthankless task. Thanks also to the patch submitters, reviewers and\nother participants.\n\nThat the formal commitfest is over does not mean that your patch won...
[ { "msg_contents": "There has recently been considerable discussion around auto-tuning.\nThroughout the course of this discussion, I raised the idea of\ncreating a new GUC to separately control autovacuum's usage of\nmaintenance_work_mem [1], explaining the rationale in some detail [2].\nAt the time Magnus seeme...
[ { "msg_contents": "Hi,\n\nI ran into some pretty strange behavior of C-language function and\ndefault parameter values, both on 9.2 and 9.4devel. Consider for example\nthis trivial C function:\n\n Datum\n show_bug(PG_FUNCTION_ARGS) {\n\telog(WARNING, \"called ;-)\");\n\tPG_RETURN_VOID();\n }\n\nwhich i...
[ { "msg_contents": "Hi, I've been using postgres for many years but never took the time to play\nwith the code until now. As a learning experience i came up with this WIP\npatch to keep track of the # of bytes sent and received by the server over\nit's communication sockets. Counters are kept per database, per c...
[ { "msg_contents": "The following bug has been logged on the website:\n\nBug reference: 8542\nLogged by: Tomonari Katsumata\nEmail address: t.katsumata1122@gmail.com\nPostgreSQL version: 9.3.1\nOperating system: RHEL5 x86_64\nDescription: \n\nHi,\n\n\nI'm testing the Materialized View...
[ { "msg_contents": "Hi,\n\ngit status says that I'm on branch master.\n\npsql reports 9.3devel, yet I expected it to report 9.4devel\n\nIs this expected behaviour? I've looked at the developer's FAQ and Wiki but\ncouldn't find anything about this.\n\nCheers,\n\nColin\n\nHi,git status says that I'm on branch mast...
[ { "msg_contents": "Hi,\n\nI would like to implement item from TODO marked as easy: \"Add \\i option\nto bring in the specified file as a quoted literal\". I understand intent\nof this item, to be able to have parts of query written in separate\nfiles (now it is impossible, because \\i tries to execute content o...
[ { "msg_contents": "Hi\n\nAs a part of Course Project i have to implement this :\n\nI have an 3 indexes on a relation t2(A,B,C) index1 , index2 ,index3\n\nWhat i need is if i know the indexname (say index1) then is their any\nprogrammatic way by which i can get the list of tuples which comes under\n the index s...
[ { "msg_contents": "Fix blatantly broken record_image_cmp() logic for pass-by-value fields.\n\nDoesn't anybody here pay attention to compiler warnings?\n\nBranch\n------\nmaster\n\nDetails\n-------\nhttp://git.postgresql.org/pg/commitdiff/28858811472f316f73eba0e564837088fc8c6ccd\n\nModified Files\n--------------...
[ { "msg_contents": "So I returned from vacation only to find that the buildfarm has a bad case\nof acne. All the Windows members are red or pink, and have been for\nawhile. Sigh.\n\nAfter some research I believe that I understand the reason for the CHECK\nfailures, at least:\n\n1. src/port/asprintf.c exhibits ...
[ { "msg_contents": "I wrote:\n> I have a lot of other gripes about this whole patch, but they can\n> wait till tomorrow.\n\nThe other big thing I don't like about this patch is that adopting\nasprintf() as a model was not any better thought-out than the\nportability considerations were. It's a bad choice becaus...
[ { "msg_contents": "Splitting a B-tree page is a two-stage process: First, the page is \nsplit, and then a downlink for the new right page is inserted into the \nparent (which might recurse to split the parent page, too). What happens \nif inserting the downlink fails for some reason? I tried that out, and \nit ...
[ { "msg_contents": "All,\n\npg_partman has several external (python) scripts which help the\nextension, located in /extras/ in its source. The problem currently is\nthat if you install pg_partman via pgxn or package, you don't get those\nscripts, because there's no \"install\" location for them.\n\nWhere should...
[ { "msg_contents": "Hi,\n\nThere has been some interest in keeping track of timestamp of\ntransaction commits. This patch implements that.\n\nThere are some seemingly curious choices here. First, this module can\nbe disabled, and in fact it's turned off by default. At startup, we\nverify whether it's enabled,...
[ { "msg_contents": "Hi,\n\nIn an postgres build that has added instrumentation to detect cases\nwhere indexes are index_open()ed without any locks on the underlying\nrelation, the matview code started to cry during the regression tests.\n\nThe problem seems to be that refresh_matview_datafill() uses\nQueryRewrit...
[ { "msg_contents": "Hi,\n\nUsing the same debugging hack^Wpatch (0001) as in the matview patch\n(0002) an hour or so ago I noticed that INSERT INTO view WITH CHECK\ndoesn't lock the underlying relations properly.\n\nI've attached a sort-of-working (0003) hack but I really doubt it's the\ncorrect approach, I don'...
[ { "msg_contents": "initdb.c quoth:\n\n * ... but the fact that a platform has shm_open\n * doesn't guarantee that that call will succeed when attempted.\n\nIndeed:\n\n$ initdb\nThe files belonging to this database system will be owned by user \"postgres\".\nThis user must also own the server process.\n\nThe dat...
[ { "msg_contents": "While testing pg_rewind I encountered following problem.\nI used following process to do the testing, Please correct me if I am doing\nit in wrong way.\n\nProblem-1:\npg_rewind gives error (target master must be shut down cleanly.) when\nmaster crashed unexpectedly.\n\n1. Setup Streaming Rep...
[ { "msg_contents": "Hi,\n\nI was dealing with windowing function recently. I feel they are pretty\nuseful and quite handy in lot of operations.\n\nI am not sure why but my PostgreSQL does not seem to be using indexes for\nORDER BY clause or PARTITION BY CLAUSE which I use with windowing function.\nI have tried O...
[ { "msg_contents": "Dimitri,\n\n> Josh Berkus <josh(at)agliodbs(dot)com> writes:\n>> pg_partman has several external (python) scripts which help the\n>> extension, located in /extras/ in its source. The problem currently is\n>> that if you install pg_partman via pgxn or package, you don't get those\n>> scripts,...
[ { "msg_contents": "While reviewing the Network Stats Traffic patch I discovered the current\nregression test for rules depends on the system view definitions not\nchanging:\n\n--\n-- Check that ruleutils are working\n--\nSELECT viewname, definition FROM pg_views WHERE schemaname <>\n'information_schema' ORDER B...
[ { "msg_contents": "Folks,\n\nOf course, this survey is completely unscientific. However, it does\ngive us more information than we had before:\n\nhttp://www.postgresql.org/community/survey/89-what-is-the-smallest-amount-of-ram-you-have-on-a-production-postgresql-server/\n\nSo going by this, only 20% of our use...
[ { "msg_contents": "Hi\nI noticed that CLUSTER doesn't have a FREEZE option. Here is a patch to\nadd that, for consistency with VACUUM. Is it useful?\nThanks\nThomas Munro\n\n\n-- \nSent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)\nTo make changes to your subscription:\nhttp://www.postgresql....
[ { "msg_contents": "Hi all\n\nI'm going to be contributing a fair bit of time to RLS for 2ndQuadrant,\ncourtesy of the EU AXLE project (http://axleproject.eu/).\n\nI've been catching up on Kohei KaiGai's work and I've been really\nimpressed by what's already done and working. I'm currently reading the\npatches, ...
[ { "msg_contents": "[bikeshed]\n\nI'm not totally comfortable with the details of ALTER TABLE ... SET ROW\nSECURITY FOR ALL .\n\nIf you read:\n\nALTER TABLE document SET ROW SECURITY FOR ALL\n TO (...query...)\n\nis it obvious to you that \"FOR ALL\" here refers to all _command types_?\n\nI'd like to make tha...
[ { "msg_contents": "Hi all\n\nI'm interested in an opinion: How should RLS treat cascading RI constraints?\n\nThe current tests check ON DELETE NO ACTION constraints, causing\ninsertion to fail if a PK row exists but is not visible, and deletion to\nfail if there's still an invisible FK reference to a visible PK...
[ { "msg_contents": "Here I have added some more regression tests to improve the missing function coverage of\nschemacmds.c, user.c and tablespace.c.\n\nThe added tests are mainly RENAME TO and OWNER TO support.\n\npatches are attached in the mail.\nplease check and provide your suggestions.\n\nRegards,\nHari bab...
[ { "msg_contents": "There is an ident context leak which is occurs during reload of configuration files when\nthere is no ident configuration items are present in the configuration file.\n\nIn function load_ident(), New context is allocated to store the new_parsed_lines and deletes\nthe old context when parsed_i...
[ { "msg_contents": "Hello, Sorry that it's been a while..\n\n1. Observed symptom\n\nAs you know, UNION ALL accompanied with ORDER BY uses indexes if\navailable.\n\n> uniontest=# EXPLAIN SELECT * FROM c11 UNION ALL SELECT * FROM c12 ORDER BY a;\n> QUERY PLAN ...
[ { "msg_contents": "Hi pgsql-hackers,\n\nThe LISTEN / NOTIFY feature (along with the pg_notify() function) is a \nunique feature that differentiates Postgresql from nearly all other \nrelational database systems. With the exception of SQL Server, I know \nof no other RDBMSs that allow a client to be asynchronou...
[ { "msg_contents": "Hi All,\nIn order to test various cases of LATERAL join in Postgres-XC, I am trying\nto find a query where RelOptInof->lateral_relids would get set for plain\nbase relations. I tried various examples like below. But none of them was\nable to set lateral_relids in RelOptInfo of the involved re...
[ { "msg_contents": "Hi,\n\nISTM the document in alter_foreign_data_wrapper.sgml and the comment in\nforeigncmds.c should be updated. Please find attached a patch.\n\nThanks,\n\nBest regards,\nEtsuro Fujita\n\n\n\n-- \nSent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)\nTo make changes to your su...
[ { "msg_contents": "Hi all,\n\nThe Oslandia team is involved in PostGIS project for years, with a\ncurrent focus on PostGIS 3D support.\nWith PostGIS queries, nested functions calls that manipulate geometries\nare quite common, e.g.: SELECT ST_Union(ST_Intersection(a.geom,\nST_Buffer(b.geom, 50)))\n\nPostGIS fun...
[ { "msg_contents": "Hi pgpool hackers,\n\nMuhammad Usama did great job in restructuring pgpool source code. And\nnow he is working on incorporating PostgreSQL's exception and memory\nmanager. I believe now is the time to add him to our one of committers\nand I just have done so.\n\nPlease welcome Muhammad Usama ...
[ { "msg_contents": "Hi guys,\n\nI'm working on a quick convertion script for query reviews and I wonder if\na feature request to add the following values will be possible:\n\n %D = duration\n %L = lock_time (lock only for this query)\n %E = estimated rows\n %R = total rows returned\n %B = total bytes sent\n %T...
[ { "msg_contents": "When I wrote the dynamic shared memory patch, I used uint64 everywhere\nto measure sizes - rather than, as we do for the main shared memory\nsegment, Size. This now seems to me to have been the wrong decision;\nI'm finding that it's advantageous to make dynamic shared memory\nbehave as much ...
[ { "msg_contents": "Hi,\n\nI'm just looking at the changed code in commit\n3147acd63e0135aff9a6c4b01d861251925d97d9 and I'm wondering if we should\nperhaps test the performance of this before assuming too much that it is an\nimprovement. I'm a bit concerned that now if there is not enough space in\nthe buffer th...
[ { "msg_contents": "The attached patch add support of domains over arrays to PL/Python (eg:\nCREATE DOMAIN my_domain AS integer[]).\n\nBasically it just uses get_base_element_type instead of get_element_type\nin plpy_typeio.c, and uses domain_check before returning a sequence as\narray in PLySequence_ToArray whe...
[ { "msg_contents": "Hi All,\n\nI have found a case that PostgreSQL Service does not start.\nWhen it happens, the following error appears.\n\n \"is not a valid Win32 application\"\n\nThis failure occurs when the following conditions are true.\n\n1. There is \"postgres.exe\" in any directory that contains a space,...
[ { "msg_contents": "Hello,\n\nI am trying to compile PostgreSQL 9.3.1 on the new OS X Mavericks, which uses Darwin Kernel Version 13.0.0.\n\nThe compile process finishes fine, but when I am trying to test the resulting binary “make check” fails with:\n\n> ============== initializing database system ===...
[ { "msg_contents": "On Wed, Oct 16, 2013 at 12:52 PM, Andres Freund <andres@2ndquadrant.com> wrote:\n>> I have a related problem, which is that some code I'm currently\n>> working on vis-a-vis parallelism can run lock-free on platforms with\n>> atomic 8 bit assignment but needs a spinlock or two elsewhere. So I...
[ { "msg_contents": "What hook would you recommend that matches this criteria:\n\n* Runs post-authentication\n\n* ..Once\n\nI was putting together a little extension module[0] intended to do\nconnection limits out-of-band with the catalog (so that hot standbys\nand primaries can have different imposed connection ...
[ { "msg_contents": "Hi,\n\nI've started a valgrind run earlier when trying to run the regression\ntests with valgrind --error-exitcode=122 (to cause the regression tests\nto fail visibly) but it crashed frequently...\n\nOne of them was:\n\n==2184== Invalid write of size 8\n==2184== at 0x76787F: smgrclose (smg...
[ { "msg_contents": "The following trigger is a PL/PgSQL prototype of a row-security trigger\nto enforce row-security policy on writes.\n\nI'm not proposing it for use as-is obviously, I'm just looking into how\nthings work and things to fix.\n\nThe biggest problem here is that the policy can by bypassed by a tri...
[ { "msg_contents": "Hi,\n\n\nI don't see much interest in insert-efficient indexes. These are the ones I've found:\n\n- LSM-tree (used by Cassandra and SQLite4?)\n- Y-Tree (http://www.bossconsulting.com/oracle_dba/white_papers/DW%20in%20oracle/P23%20(ytree%20index%20structure%20for%20DWs).pdf )\n- Fractal indexe...
[ { "msg_contents": "During my testing of Kohei KaiGai's row-security patches I've been\nlooking into how foreign keys should be and are handled. There are some\ninteresting wrinkles around FK cascades, the rights under which FK\nchecks execute, and about the consistency effects of changing or\napplying an RLS po...
[ { "msg_contents": "Hello\n\nI am doing a small project in Postgress where i have to achieve the\nfollowing:\n\nSuppose i know the index name(lets say index1) and the relation(table1) on\nwhich partial index to has to be build. \n\nI was looking through the code and found that IndexStmt-->whereClause is the\none...