threads listlengths 1 2.99k |
|---|
[
{
"msg_contents": "Hi,\n\nI found the bug which causes walsender to enter into busy loop\nwhen replication connection is terminated. Walsender consumes\nlots of CPU resource (%sys), and this situation lasts until it has\ndetected the termination of replication connection and exited.\n\nThe cause of this bug is ... |
[
{
"msg_contents": "What do people think of pg_upgrade setting its umask to 0077 so the log\nand SQL files are only readable by the postgres user?\n\n -rwx------ 1 postgres postgres 41 Mar 9 09:59 delete_old_cluster.sh*\n -rw------- 1 postgres postgres 6411 Mar 8 21:56 pg_upgrade_dump_all.sql\n -rw-------... |
[
{
"msg_contents": "I looked into the misbehavior reported here:\nhttp://archives.postgresql.org/pgsql-bugs/2012-03/msg00068.php\n\nThe reason the ALTER TABLE fails to fail is $SUBJECT: it goes looking\nfor pg_depend entries showing that rewrite rules depend on the column to\nbe altered, but there isn't one. Th... |
[
{
"msg_contents": "Robert Haas <robertmhaas@gmail.com> writes:\n> Well, if you get to the point where you're done churning the code in\n> the next week or so, I'm willing to do one or two more rounds of\n> serious review, but if that doesn't get us there then I think we need\n> to give up. The energy you've pu... |
[
{
"msg_contents": "Buildfarm member mussel (OS X 10.7.3, llvm-gcc 4.2.1, x86_64)seems to be \ngetting consistent warnings when running the pgcrypto regression tests, \nthat look like this:\n\n WARNING: detected write past chunk end in ExprContext 0x7fec2b11eb58\n\nDoes anyone have an idea why that might be?\... |
[
{
"msg_contents": "Hi,\n\n--no-locale option of initdb command is missing in the manual. The\noption is in the code and even showed in the help message:\n\n$ initdb --help\ninitdb initializes a PostgreSQL database cluster.\n\nUsage:\n initdb [OPTION]... [DATADIR]\n\nOptions:\n -A, --auth=METHOD defaul... |
[
{
"msg_contents": "Hackers,\n\nThe documentation for pg_locks says that, for BIGINT advisory locks:\n\n> A bigint key is displayed with its high-order half in the classid column, its low-order half in the objid column\n\nI was in need of knowing what the bigint is that is waiting on a lock, and Andrew Dunstan w... |
[
{
"msg_contents": "Hello,\nin the related discussions mentioned on TODO list\n\nhttp://archives.postgresql.org/pgsql-hackers/2009-09/msg00292.php\nhttp://archives.postgresql.org/pgsql-hackers/2009-10/msg00991.php\n(The 1st is rather on SQL, I didn't focuss on it yet.)\n\nthe implementation is discussed from opt... |
[
{
"msg_contents": "libpq has functions for escaping values in SQL commands\n(PQescapeStringConn, PQescapeByteaConn, and the new PQescapeLiteral),\nand it supports parameterizing queries with PQexecParams. But it does\nnot (to my knowledge) have functions for escaping values for COPY\nFROM.\n\nCOPY FROM is usef... |
[
{
"msg_contents": "Hi list,\n\nPer Tom's request, I split out this refactoring from my CacheExpr patch.\n\nBasically I'm just centralizing the eval_const_expressions_mutator()\ncall on function arguments, from multiple different places to a single\nlocation. Without this, it would be a lot harder to implement a... |
[
{
"msg_contents": "We currently have\n\nvoid EncodeDateTime(struct pg_tm * tm, fsec_t fsec, int *tzp, char **tzn, int style, char *str)\n\nbut tzn isn't used anywhere, only *tzn is used everywhere. Wouldn't it\nbe clearer to remove that one level of indirection and instead have the\nsignature be\n\nvoid Encode... |
[
{
"msg_contents": "I've finally been able to run some more tests of the effect of\nadjusting wal_buffers to values higher than 16MB. I ran the test on\nthe 16 core (x 4 hw threads/core) IBM POWER7 machine, with my usual\nconfiguration settings:\n\nshared_buffers = 8GB\nmaintenance_work_mem = 1GB\nsynchronous_c... |
[
{
"msg_contents": "ecpg.sgml: the the -> the",
"msg_date": "Sun, 11 Mar 2012 11:25:01 +0100",
"msg_from": "\"Erik Rijkers\" <er@xs4all.nl>",
"msg_from_op": true,
"msg_subject": "ecpg.sgml: the the -> the"
},
{
"msg_contents": "On Sun, Mar 11, 2012 at 11:25:01AM +0100, Erik Rijkers wrote:... |
[
{
"msg_contents": "Unless I misunderstood the documentation I think this fixes a typo. Thanks :)",
"msg_date": "Sun, 11 Mar 2012 14:17:59 +0000",
"msg_from": "Thomas Hunger <tehunger@gmail.com>",
"msg_from_op": true,
"msg_subject": "Typo patch"
},
{
"msg_contents": "Thomas Hunger <tehung... |
[
{
"msg_contents": "Hello\n\ncreate table t1(d date, n integer);\n\npostgres=# insert into t1 select '2001-01-01', 1 from generate_series(1,3);\nINSERT 0 3\n\nbut\n\npostgres=# insert into t1 select distinct '2001-01-01', 1 from\ngenerate_series(1,3);\nERROR: column \"d\" is of type date but expression is of ty... |
[
{
"msg_contents": "Pavel Stehule wrote:\n \n> create table t1(d date, n integer);\n>\n> postgres=# insert into t1 select '2001-01-01', 1 from\n> generate_series(1,3);\n> INSERT 0 3\n>\n> but\n>\n> postgres=# insert into t1 select distinct '2001-01-01', 1 from\n> generate_series(1,3);\n> ERROR: column \"d\" is ... |
[
{
"msg_contents": "According to the following documentation on IterateForeignScan() in\n50.2. Foreign Data Wrapper Callback Routines, I have created a patch to\nsupport the error handling in file_fdw. Please find attached a patch.\n\n Note that PostgreSQL's executor doesn't care whether the rows\n return... |
[
{
"msg_contents": "Attached is a doc patch based on a suggestion by Rural Hunter to\naddress something he found confusing while setting up partitioning.\n \nOriginal thread is here:\n \nhttp://archives.postgresql.org/pgsql-admin/2012-03/msg00066.php\n \n-Kevin",
"msg_date": "Mon, 12 Mar 2012 10:41:20 -0500"... |
[
{
"msg_contents": "Log Message:\n-----------\nUpdates for latest Postgres 9.2 sources.\nWe no longer need pg_crc.c, and hence not a source tree, yay.\n\nModified Files:\n--------------\n pg_filedump:\n Makefile (r1.3 -> r1.4)\n (http://cvs.pgfoundry.org/cgi-bin/cvsweb.cgi/pgfiledump/pg_filedump... |
[
{
"msg_contents": "Hi list,\n\nI don't know who's maintaining the PostgreSQL GitHub mirror, but it\nhasn't been updated for 6 days now:\nhttps://github.com/postgres/postgres\n\nJust letting you know.\n\nRegards,\nMarti\n",
"msg_date": "Mon, 12 Mar 2012 22:53:53 +0200",
"msg_from": "Marti Raudsepp <marti... |
[
{
"msg_contents": "If we have a query of the form:\n\nSelect *, (Select * FROM T2 WHERE p2 = T1.p1) FROM T1 ORDER\nBY 1 WHERE p3 = 75\n\nIn SQL, if a subselect is present in the column-list, is the\nresult set of this subselect considered to be a part of a\nsingle tuple returned from the outer query, or does th... |
[
{
"msg_contents": "As noted by the manual, pg_statistic is ported in any way when\nperforming pg_upgrade. I have been investigating what it would take\nto (even via just a connected SQL superuser client running UPDATE or\nINSERT against pg_statistic) get at least some baseline statistics\ninto the database as ... |
[
{
"msg_contents": "There is one more (known) stop-ship problem in SPGiST, which I'd kind of\nlike to get out of the way now before I let my knowledge of that code\nget swapped out again. This is that SPGiST is unsafe for use by hot\nstandby slaves.\n\nThe problem comes from \"redirect\" tuples, which are short... |
[
{
"msg_contents": "hello,\n\nwe (zoli, ants and myself) have put some more effort into our struggle to make cross column estimates better and more reasonable.\nthis is supposed to fix problems related to columns which are not \"independent\" (such as \"time of the year\" and temperature and so on).\nthis patch ... |
[
{
"msg_contents": "The introduction of custom_variable_classes and #variable_conflict in\n9.0 partly solves the problem with mixing IN/OUT variables with column\nnames.\nIn 8.4 and before, it defaulted to the IN/OUT variable, if it shared\nthe name of a column.\nIn 9.0 the behaviour was changed to raise an erro... |
[
{
"msg_contents": "Folks,\n\nThis is for 9.3, of course.\n\nI noticed that CREATE FOREIGN TABLE (LIKE some_table) doesn't work. I\nbelieve it should, as it would:\n\n- Remove a POLA violation\n- Make data loading into an extant table even easier, especially if\n there need to be filtering or other cleanup ste... |
[
{
"msg_contents": "Hi,\n\nHas anyone ever complained about the inconsistency (at least it seems\nthat to me) of using INHERITS in CREATE TABLE and INHERIT in ALTER\nTABLE?\nAnyone, besides me, think we should fix that? Maybe support both\nversion in both commands or choosing one using it everywhere?\n\n-- \nJai... |
[
{
"msg_contents": "All,\n\nI've discovered a built-in performance issue with replication failover\nat one site, which I couldn't find searching the archives. I don't\nreally see what we can do to fix it, so I'm posting it here in case\nothers might have clever ideas.\n\n1. The Free Space Map is not replicated ... |
[
{
"msg_contents": "I have created a 29GB test database by using standard pgbnech -i -s\n2000. Then I executed:\n\nexplain (analyze, buffers) select * from pgbench_accounts where aid in\n(select cast(random()*200000000 as int) from generate_series(1,500));\n\nNested Loop (cost=30.00..6075.07 rows=100000000 wid... |
[
{
"msg_contents": "Hi All,\n\nCan i use keystone auth with PostgreSQL, it is very helpful when i am\nusing OpenStack as a cloud service and implement DBaaS.\n\n-- \nViVek Raghuwanshi\nMobile -+91-09595950504\n\nSkype - vivek_raghuwanshi\n",
"msg_date": "Wed, 14 Mar 2012 11:38:19 +0530",
"msg_from": "Viv... |
[
{
"msg_contents": "Could anyone please explain the behaviour of Postgres in the cases \nbelow? It evaluates an unused expression t.x || t.y in the first case \nbut doesn't do it in the second one. It's also strange that the last \nexplain throws an error.\n\npostgres=# select version();\n ... |
[
{
"msg_contents": "Hi,\n\nA colleague came to me to express his surprise about this quite simple\nuse case:\n\n =# alter table toto add column user text;\n ERROR: syntax error at or near \"user\"\n LINE 1: alter table toto add column user text;\n\nIs there a reason for us not to add an HINT: \"user\" is a r... |
[
{
"msg_contents": "Hi,\n\nI have a hard time figuring out why my replication stopped with a message like\n\nFATAL: password authentication failed for user \"foo\"\n\nin the logs. I thought it was some pg_hba.conf change, a pgpass modification,\nor NOLOGIN option, it wasn't. I was out of options when I remember... |
[
{
"msg_contents": "For 9.3 at a minimum.\n\nThe topic of LZO became mired in doubts about:\n\n* Potential Patents\n* The author's intention for the implementation to be GPL\n\nSince then, Google released \"Snappy,\" also an LZ77-class\nimplementation, and it has been ported to C (recently, and with some\nquirks... |
[
{
"msg_contents": "I looked into the problem complained of here:\nhttp://archives.postgresql.org/pgsql-bugs/2012-03/msg00016.php\nIt's not at all specific to custom types; you can exhibit it with\nthis query in the regression database:\n\nexplain select * from\n (select 1 as t, unique1 from tenk1 a\n union all... |
[
{
"msg_contents": "I reviewed this and so far have not found any serious problems,\nalthough as is par for the course it contains some of the fiddly bits\ninvolved in any string manipulations in C. I made a few edits -- none\nstrictly necessary for correctness -- that the original author is free\naudit and/or ... |
[
{
"msg_contents": "The following bug has been logged on the website:\n\nBug reference: 6532\nLogged by: Stuart Bishop\nEmail address: stuart@stuartbishop.net\nPostgreSQL version: 9.1.3\nOperating system: Ubuntu\nDescription: \n\nThe 9.1.3 changelog states pg_upgrade's handing of plpy... |
[
{
"msg_contents": "I'm implementing an extention to mdwrite() at backend/storage/smgr/md.c\nWhen a block is written to the local storage using mdwrite(), I'm sending\nthis block to an HDFS storage.\nSo far I don't need to read back the values I'm writing to HDFS. This\napproach is working fine in the initDB pha... |
[
{
"msg_contents": "Hi,\n\nI guess it's time to start a new thread here. Please find attached\nversion 16 of the command trigger patch, with augmented documentation\nand “magic variable” support (TG_WHEN, TG_OBJECTID and such).\n\nThe current version of the patch only supports PLpgSQL, I need to add\nsupport for... |
[
{
"msg_contents": "Parallel to pg_cancel_backend, it'd be nice to allow the user to just\noutright kill a backend that they own (politely, with a SIGTERM),\naborting any transactions in progress, including the idle transaction,\nand closing the socket.\n\nI imagine the problem is a race condition whereby a pid ... |
[
{
"msg_contents": "I have a plan to support 'Create index on foreign table' for 9.3. Here\nis my plan.\n\nThe index creation is supported for a flat file such as CSV and a remote\ntable on a RDB e.g., Postgres using CREATE INDEX. (I thought using a\nnew statement, CREATE FOREIGN INDEX, at first, but I think t... |
[
{
"msg_contents": "Hi all,\n\nDuring writing pgsql_fdw codes, I noticed that exprCollation rejects\nnon-Expr nodes with error \"unrecognized node type: %d\". Is this\nintentional behavior, or can it return InvalidOid for unrecognized nodes\nlike exprInputCollation?\n\nBackground information: I use exprCollatio... |
[
{
"msg_contents": "Here is a patch for being able to rename constraints of domains. It\ngoes on top of the previously committed patch for renaming table\nconstraints.",
"msg_date": "Fri, 16 Mar 2012 19:34:52 +0200",
"msg_from": "Peter Eisentraut <peter_e@gmx.net>",
"msg_from_op": true,
"msg_sub... |
[
{
"msg_contents": "I have a query where the LIMIT clause is incorrectly reducing the cost\nof the query. This results in queries doing LIMIT m run much longer\nwhen m is small (e.g. 1-3) than if m is larger. (PG 9.0) (And yes,\nANALYZE was run and, no, increasing stats_target for the columns\ndoesn't help).\n\n... |
[
{
"msg_contents": "�lvaro told me he got a Spanish-language report that pg_upgrade\nfailed because it required pg_config, and pg_config is only supplied\nwith the devel packages.\n\nI initially thought that it was a packaging problem, but I later\nrealized the pg_config is mostly developer settings, and that ... |
[
{
"msg_contents": "Hi All,\n\nI am Atri Sharma.I am a C developer with experience in database\ndesigning and database management systems.I have worked with\nMySql,Oracle and other database systems.I have designed databases for\nvarious projects as well.\n\nI would be interested in developing the column reorderi... |
[
{
"msg_contents": "After my pg_upgrade commit yesterday, I started receiving dozens of spam\nemails from github. I am not sure if it was because I was the\ncommitter, or because I am subscribed to the github postgres feed.\n\nAnyway, the spam has a URL at the bottom --- if you click on\nnotifications on that p... |
[
{
"msg_contents": "Hi, all\n I am a student of Computer Science and Applied Math in a university in\nSingapore. I'm planning to join Google Summer Code 2012 on PostgreSQL. It's\nquite an honor to join the postgresql hacker community.\n I have some postgresql developing experience while doing my school\nproj... |
[
{
"msg_contents": "This thread evolved out of an attempt to implement\npg_terminate_backend for non-superusers. I thought -- probably\nerroneously -- that the major objection to that was the known\npossibility of a PID-cycling race condition, whereby a signal could be\nmisdirected, in the case of terminate_bac... |
[
{
"msg_contents": "There's a double free in the current HEAD's pg_dump. Fix attached.",
"msg_date": "Sun, 18 Mar 2012 01:24:21 -0400",
"msg_from": "Joachim Wieland <joe@mcknight.de>",
"msg_from_op": true,
"msg_subject": "double free in current HEAD's pg_dump"
},
{
"msg_contents": "\nExce... |
[
{
"msg_contents": "When building a minimal PostgreSQL under the latest mingw (20111118), \nmake check will give a few dozen fails with the server exiting on code \n2. The build is fine when -O2 is removed from the CFLAGS. This behaviour \nis present on all revs on the REL9_1_STABLE branch that I tested, among \... |
[
{
"msg_contents": "Hi,\n\nPlease find attached the newest revision of the command trigger patch,\nrebased against tonight's master as about just now, with more docs, the\nnew argument passing infrastructure (same as classic triggers with magic\nvariables, including support for plpgsql, pltcl, plperl and plpytho... |
[
{
"msg_contents": "Running PostgreSQL 8.4.8 on x86_64-pc-linux-gnu, compiled by GCC \ngcc-4.6.real (Ubuntu/Linaro 4.6.0-7ubuntu1) 4.6.1, 64-bit\nunder Ubuntu 11.10.\n\nGot large table with geography (PostGIS 1.5) data, running two almost \nsame queries with same result, but very different performance.\n\nFirst ... |
[
{
"msg_contents": "I've noticed our plv8 regression test now fails. It has CREATE DOMAIN\njson AS text ... and validates text via v8's JSON.parse(), which was\nworking before introducing built-in json type. The test itself can be\nsolved simply by creating schema, but my surprise is that we allow a\ndomain wh... |
[
{
"msg_contents": "Hi,\n\nWe have noticed the following issue with vacuumlo database that have millions of record in pg_largeobject i.e.\n WARNING: out of shared memoryFailed to remove lo 155987: ERROR: out of shared memory HINT: You might need to increase max_locks_per_transaction.\nWhy do we need to... |
[
{
"msg_contents": "I was trying to compile orafce on the current master and it yield\nan error at line\n\n tupdesc = trigdata->tg_relation->rd_att;\n\nalert.c: In function ‘dbms_alert_defered_signal’:\nalert.c:839:33: error: dereferencing pointer to incomplete type\nmake: *** [alert.o] Error 1\n\nI've also trie... |
[
{
"msg_contents": "Hi,\n\nI guess I sent v17 a little early considering that we now already have\nv18 including support for CREATE TABLE AS and SELECT INTO, thanks to the\nwork of Andres and Tom.\n\nThere was some spurious tags in the sgml files in v17 that I did clean\nup too.\n\nRegards,\n--\nDimitri Fontaine... |
[
{
"msg_contents": "Improve the -l (limit) option recently added to contrib/vacuumlo.\n\nInstead of just stopping after removing an arbitrary subset of orphaned\nlarge objects, commit and start a new transaction after each -l objects.\nThis is just as effective as the original patch at limiting the number of\nlo... |
[
{
"msg_contents": "Hi All,\nConsider following sequence of commands\n\ncreate type complex as (r float8, i float8);\ncreate type quad as (c1 complex, c2 complex);\ncreate temp table quadtable(f1 int, q quad);\n\ninsert into quadtable (f1, q.c1.r, q.c2.i) values(44,55,66);\n\nWhile parsing the INSERT query, we p... |
[
{
"msg_contents": "i want see the log of INSERT, SELECT, DELETE... within postgresql v9.1.3\n\ni'm so sorry, my english level...\n\nhow can i see that.\n\ntransaction log?... or other thing...?\n\n\n\n--\nView this message in context: http://postgresql.1045698.n5.nabble.com/how-can-i-see-the-log-tp5583083p55830... |
[
{
"msg_contents": "There are two checkpoint-related patches in this CommitFest that\nhaven't gotten much love, one from me and the other from Greg Smith:\n\nhttps://commitfest.postgresql.org/action/patch_view?id=752\nhttps://commitfest.postgresql.org/action/patch_view?id=795\n\nMine uses sync_file_range() when ... |
[
{
"msg_contents": "When the root tuple of a HOT chain is dead, but there's still at least\none non-dead member of the chain, we end up with a REDIRECT line\npointer, which points to a USED line pointer, which in turn points to\na live tuple. This means we're using 2 line pointers for only 1 line\ntuple. Since... |
[
{
"msg_contents": "heap_freeze_tuple() was apparently designed at one point to cope with\nbeing called with either a shared or exclusive buffer lock. But none\nof the current callers call it with a shared lock; they all call it\nwith an exclusive lock, except for the heap-rewrite code which doesn't\ntake (or n... |
[
{
"msg_contents": "\n\n-----Original Message-----\nFrom: Atri Sharma [mailto:atri.jiit@gmail.com] \nSent: 22 March 2012 09:20\nTo: 'Atri Sharma'\nSubject: RE: [HACKERS] Regarding column reordering project for GSoc 2012\n\n\n\n-----Original Message-----\nFrom: Atri Sharma [mailto:atri.jiit@gmail.com] \nSent: 20 ... |
[
{
"msg_contents": "Hi,\n\nwhile working on a support case I stumbled upon a bug in pg_upgrade.\nUpgrade fails with \"No such file or directory\" when a database is\nmoved to a non-default tablespace and contains a table that is moved\nto pg_default. The cause seems to be that the following test\nincorrectly equ... |
[
{
"msg_contents": "Greetings,\n\n I've recently become a bit annoyed and frustrated looking at this in\n top:\n\n23296 postgres 20 0 3341m 304m 299m S 12 0.9 1:50.02 postgres: sfrost gis [local] COPY waiting \n24362 postgres 20 0 3353m 298m 285m D 12 0.9 1:24.99 post... |
[
{
"msg_contents": "Postgres 9.2 has been modified so psql no longer uppercases SQL keywords\nwhen using tab completation, by this commit:\n\n\tcommit 69f4f1c3576abc535871c6cfa95539e32a36120f\n\tAuthor: Peter Eisentraut <peter_e@gmx.net>\n\tDate: Wed Feb 1 20:16:40 2012 +0200\n\t\n\t psql: Case preserving c... |
[
{
"msg_contents": "Some time ago I reported bug 6291[0], which reported a Xid wraparound,\nboth as reported in pg_controldata and by txid_current_snapshot.\nUnfortunately, nobody could reproduce it.\n\nToday, the same system of ours just passed the wraparound mark\nsuccessfully at this time, incrementing the ep... |
[
{
"msg_contents": "Hi,\n\nI'd like to propose to change pg_controldata so that it reports the name\nof WAL file containing the latest checkpoint's REDO record, as follows:\n\n $ pg_controldata $PGDATA\n ...\n Latest checkpoint's REDO location: 0/16D6ACC (file\n000000010000000000000001)\n Latest c... |
[
{
"msg_contents": "Greetings!\n\nI've done a brief search of the postgresql mail archives, and I've noticed\na few projects for adding query caches to postgresql, (for example,\nMasanori Yamazaki's query cache proposal for GSOC 2011), as well as the\nquery cache announced at http://www.postgresql.org/about/new... |
[
{
"msg_contents": "\nHello,\n\nIt has been brought to my attention a few times over the last year that \nI have been over the top in my presentation of myself and have in fact \nalienated and offended many of the community. To be honest I am unaware \nof everything I have done but I do take the opinion of those... |
[
{
"msg_contents": "Someone has approached the JDBC list to do some work on the driver as\na GSOC project.\n\nI need to know what is involved in mentoring and how to get the\nproject approved\n\n\nDave Cramer\n\ndave.cramer(at)credativ(dot)ca\nhttp://www.credativ.ca\n",
"msg_date": "Fri, 23 Mar 2012 16:58:15... |
[
{
"msg_contents": "This is a bit of a corner case in all honesty, but if you have a short\ntable (under 20 rows), the 10% heuristic used that decides whether\ndistinct values scale with the row count will result in rather odd\nvalues for stadistinct in pg_statistic, such as '-0.2' or '-0.666667',\nrather than t... |
[
{
"msg_contents": "Hello all ... again !\n\nSHORT INTRODUCTION\n===================\nRemember me? A couple of years ago (maybe 10) I created the PgAccess\npackage for managing PostgreSQL!\nSince than I have done many things, all of them related to PostgreSQL, of\ncourse!\nOur company is managing the National An... |
[
{
"msg_contents": "\nEvery so often buildfarm animals (nightjar and raven recently, for \nexample) report failures on starting up the postmaster. It appears that \nthese failures are due to the postmaster not creating the pid file \nwithin 5 seconds, and so the logic in commit \n0bae3bc9be4a025df089f0a0c2f547fa... |
[
{
"msg_contents": "lekon wrote:\n \n> i want see the log of INSERT, SELECT, DELETE... within postgresql\n> v9.1.3\n \nThe pgsql-hackers list is for discussions about development of the\nPostgreSQL datatbase system; discussions about how to use it should\ngo to another list. The particular question would be ap... |
[
{
"msg_contents": "Replace empty locale name with implied value in CREATE DATABASE and initdb.\n\nsetlocale() accepts locale name \"\" as meaning \"the locale specified by the\nprocess's environment variables\". Historically we've accepted that for\nPostgres' locale settings, too. However, it's fairly unsafe ... |
[
{
"msg_contents": "\nI'm not sure if this is a bug, but I have wrestling with this problem \nfor a client.\n\nPlatform is Windows Servers 2003 64 bit, PostgreSQL 8.4.8., 4Gb RAM, \nrunning on an Amazon VM.\n\nShared buffers: 512Mb, work_mem: 25Mb. There are only a handful of \nconnections to the database, and n... |
[
{
"msg_contents": "Remove dead assignment\n\nfound by Coverity\n\nBranch\n------\nmaster\n\nDetails\n-------\nhttp://git.postgresql.org/pg/commitdiff/dcb33b1c6417cbeaf2c7d24eece0edf7cc0adfa7\n\nModified Files\n--------------\nsrc/backend/commands/sequence.c | 2 +-\n1 files changed, 1 insertions(+), 1 deletio... |
[
{
"msg_contents": "On 26 March 2012 23:16, Robert Haas <robertmhaas@gmail.com> wrote:\n> On Mar 26, 2012, at 5:36 PM, Tom Lane <tgl@sss.pgh.pa.us> wrote:\n>> Well, I think I'm definitely on the hook for the pg_stat_statements,\n>> pgsql_fdw, foreign table stats, and caching-stable-subexpressions\n>> patches, an... |
[
{
"msg_contents": "Hi,\n now I find that params for execute statement are evaluated before PortalRun, using another temporary estate. Is it necessary? Or can we evaluate params during executions, that is, in ExecEvalParam function? then we can use the same estate as one for executor, which can save time to i... |
[
{
"msg_contents": "Hi,\n\n>\tfprintf(stderr, _(\"%s: could not identify system: %s\\n\"),\n>\t\t\tprogname, PQerrorMessage(conn));\n\nSince PQerrorMessage() result includes a trailing newline, the above\nlog message in pg_basebackup doesn't need to include a trailing \\n.\nAttached patch gets rid of that \\n.\n... |
[
{
"msg_contents": "Hello everyone,\n\nI notice that the documentation at:\nhttp://wiki.postgresql.org/wiki/Binary_Replication_Tutorial\n\nDoesn't contain steps in a Multiple Slave setup for re-establishing\nthem after a slave has become the new master.\n\nBased on the documentation, here are the most fail-proof... |
[
{
"msg_contents": "pg_test_timing utility, to measure clock monotonicity and timing cost.\n\nAnts Aasma, Greg Smith\n\nBranch\n------\nmaster\n\nDetails\n-------\nhttp://git.postgresql.org/pg/commitdiff/cee523867db29c0bfc5de7ec638ce0a4ad9b3817\n\nModified Files\n--------------\ncontrib/Makefile ... |
[
{
"msg_contents": "A user complained on pgsql-performance that SELECT col FROM table\nGROUP BY col LIMIT 2; performs a full table scan. ISTM that it's safe\nto return tuples from hash-aggregate as they are found when no\naggregate functions are in use. Attached is a first shot at that. The\nplanner is modified ... |
[
{
"msg_contents": "Hi,\n\ni was trying to create triggers that redirect INSERT/UPDATE/DELETE\nactions from parent to childs, but found that UPDATE/DELETE doesn't\nget redirected. Actually, the triggers BEFORE UPDATE and BEFORE DELETE\naren't even fired.\n\nI haven't tried with AFTER triggers to see if they are ... |
[
{
"msg_contents": "It seems there is no way to get role members using psql. \\du and \\dg \ngive you \"this role is a member of\" information, but no information \nabout who have been granted the role.\n\nI would like to write a patch implementing this feature. Some questions:\n - Is this wanted?\n - Should... |
[
{
"msg_contents": "At postmaster startup, we determine the maximum number of open files we \ncan handle by trying to open a lot of file descriptors, up to \nmax_files_per_process. This is done in set_max_safe_fds(), and the \ndetermined max_safe_fds value is inherited by child processes at fork(). \nHowever, wi... |
[
{
"msg_contents": "There are some extensions that build with pgxs that use bison and flex.\nTheir makefiles are set up to use the variables BISON and FLEX that pgxs\nprovides. Except that that depends on how PostgreSQL was built. A\nbinary package that was built in a clean chroot would probably not have\nthos... |
[
{
"msg_contents": "[Please keep the list copied. Also, please quote selected portions\nof a post to which you are replying, and put your reply below, like\nyou see here.]\n\nTatiana Ortiz <tatypr18@gmail.com> wrote:\n \n> I have the program PostgreSQL with PostGIS extension.\n \nObtained from where? Installed... |
[
{
"msg_contents": "Robert Haas wrote:\n \n> I think that technically this patch can be polished well enough to\n> commit in the time we have available, but the question of whether\n> it's the right design is harder, and I don't want that to be my\n> call alone.\n \nI gather from previous posts that the intent ... |
[
{
"msg_contents": "Hi guys,\n\nSomething from Josh's recent blog post about summer of code clicked with me\n- the HTTP / SQL concept.\n\nIt was something I'd been thinking about earlier, how people really like\nHTTP APIs and this is one of the drivers behind adoption of some \"NoSQL\"\ndatabases out there.\n\n... |
[
{
"msg_contents": "Hi,\n\nI wanted to take up this as a GSOC 2012 project.\n\nSQL supports nested queries. When the inner query contains a\ncorrelation variable the present optimizer takes an iterative\nexecution plan. If the inner query scans over a relation, the\niterative plan chosen can be sub-optimal.\n\nT... |
[
{
"msg_contents": "Hey Everyone,\n I've got an interesting issue. We're running postgres 9.1.1 linux x64\ncentos 5.8\n\naspdata=# select version();\n version\n--------------------------------------------------------------------------------------------------... |
[
{
"msg_contents": "I've been playing around with \"perf record\" on the IBM POWER7 machine,\nand it's pretty cool. One of the things I don't like is that some of\nthe tools don't produce very nice text reports that you can cut and\npaste into an email - it's kind of a text-based GUI where you can zoom\naround ... |
[
{
"msg_contents": "\nI noticed while doing some tests that the checkpointer process does not\nrecover very nicely after a backend crashes under postmaster -T (after\nall processes have been kill -CONTd, of course, and postmaster told to\nshutdown via Ctrl-C on its console). For some reason it seems to get\nstu... |
[
{
"msg_contents": "(in hopes that the current changes to tab-completion will help to get this fixed)\n\ntab-completion goes wrong on SET setting=...\n\nexample:\n\nIf you want to input \"set search_path=myschema;\" without spaces around '=',\nand you try tab-completion halfway the schemaname:\n\nset search_path... |
[
{
"msg_contents": "On Fri, Mar 30, 2012 at 1:55 PM, Robert Haas <robertmhaas@gmail.com> wrote:\n> Actually, what is really bugging me is that I cannot find any way of\n> getting a profile that reflects the *time* spent waiting rather than\n> merely the *number* of waits. That seems like an obvious thing to\n> ... |
[
{
"msg_contents": "Hi,\n\nI just spotted that tab completion of double quoted identifiers seems\nto be broken in 9.2devel. For example things like this which worked in\n9.1 no longer work:\n\nUPDATE \"foo bar\" <tab>\n\nIt looks like the problem is in get_previous_words() here:\n\n if (buf[start]... |
[
{
"msg_contents": "I had a thought that it might be interesting to have a simple C fronted\nthat converts HTTP to and from some pgsql friendly structure and delegates\nall the core logic to a stored procedure in the database.\n\nThis might make it easier to hack on the API without worrying about memory\nmanagem... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.