threads
listlengths
1
2.99k
[ { "msg_contents": "Greetings,\n\n As some may be aware, we are currently working with Rackspace to\n upgrade the PostgreSQL infrastructure systems which they graciously\n host for us. As part of these upgrades there will be downtime for\n systems hosted there.\n\n Our first planned downtime will be for ~ ...
[ { "msg_contents": "A Salesforce colleague asked me why, for something like\n\nregression=# create table foo1 (f1 char(15), f2 char(15));\nCREATE TABLE\nregression=# create index on foo1((case when f1>'z' then f1 else f2 end));\nCREATE INDEX\nregression=# \\d foo1_f2_idx\n Index \"public.foo1_f2_idx\...
[ { "msg_contents": "Hi,\n\nCurrently the maximum for max_connections (+ bgworkers + autovacuum) is\ndefined by\n#define MAX_BACKENDS 0x7fffff\nwhich unfortunately means that some things like buffer reference counts\nneed a full integer to store references.\n\nSince there's absolutely no sensible scenario for ...
[ { "msg_contents": "When trying to write a recursive CTE using the PostGIS geometry type,\nI was told this:\n\nERROR: could not implement recursive UNION\nDETAIL: All column datatypes must be hashable.\n\nIs it possible to make custom types hashable? There's no hook in the\nCREATE TYPE call for a hash function...
[ { "msg_contents": "Debian is shipping client headers in /usr/include/postgresql in the\nlibpq-dev package. The server headers go into\n/usr/include/postgresql/<major>/server in postgresql-server-dev-<major>,\nso we can have the headers for several majors installed in parallel.\n\nHistorically, a few server head...
[ { "msg_contents": "Hi,\n\nPostgreSQL build failed with current GIT source.\n\ntail /home/src/postgresql-devel/dev-build/make-out-dev.log\ncp ../../../contrib/dummy_seclabel/dummy_seclabel.so dummy_seclabel.so\nrm -rf ./testtablespace\nmkdir ./testtablespace\n../../../src/test/regress/pg_regress \n--inputdir=/h...
[ { "msg_contents": "Hi,\n\nThanks Tom, postgresql source now belongs to user 'postgres' and make \ncheck-world passed.\n\nBut, installcheck-world failed:\n\ntail /home/src/postgresql-devel/dev-build/make-install-out-dev.log\n\n../../../src/test/regress/pg_regress \n--inputdir=/home/src/postgresql-devel/postgre...
[ { "msg_contents": "Backend fsyncs are theoretically still possible after the fsync\nrequest queue compaction patch (which was subsequently back-patched to\nall supported release branches). However, I'm reasonably confident\nthat that patch was so effective as to make a backend fsync all but\nimpossible. As such...
[ { "msg_contents": "... and not, in particular, parse analysis or rewrite time?\n\nI'd been a bit suspicious of the recent patch to add $SUBJECT\nwithout the other pre-execution components, but it just now\noccurred to me that there's at least one reason why this might\nbe a significant omission: any delay cause...
[ { "msg_contents": "Can't completely get rid of #ifndef FRONTEND in palloc.h :-(\n\npg_controldata includes postgres.h not postgres_fe.h, so utils/palloc.h\nmust be able to compile in a \"#define FRONTEND\" context. It appears that\nSolaris Studio is smart enough to persuade us to define PG_USE_INLINE,\nbut not...
[ { "msg_contents": "Hi.\n\nIn the past, we've had situations where \"everything is hung\" turned out\nto be because of a script that ran manual VACUUM that was holding some\nlock. It's admittedly not a huge problem, but it might be useful if a\nmanual VACUUM could be cancelled the way autovacuum can be.\n\nOne w...
[ { "msg_contents": "Hi ALL,\n\nI need little help to understand, text concatenation.\n\nconcat function and operator || have different behaviour, if any input is NULL.\n\ntest=# select  'abc' || NULL;\n ?column?\n----------\n\n(1 row)\n\ntest=# select concat('abc', NULL);\n concat\n--------\n abc\n(1 row)\n\n\nI...
[ { "msg_contents": "Hi,\nWhen array of char * is used as target for the FETCH statement returning\nmore than one row, it tries to store all the result in the first element.\nPFA test_char_select.pgc, which fetches first 3 relnames from pg_class\nordered by relname. The program prints following result\n\nsteps to...
[ { "msg_contents": "Hello,\n\nYou can find attached a small patch to fix the pg_replication_slots\ndocumentation. The slot_type and plugin are not in the appropriate\norder, slot_name and plugin have a wrong type and xmin appears two times.\n\nRegards\n-- \nThomas Reiss\n\n\n\n\n-- \nSent via pgsql-hackers maili...
[ { "msg_contents": "Hello.There is a task \"Sequential disk access during VACUUM for GiST/GIN \" in list GSOC14.Nobody is working on this task?Do I understand this task correctly?I must recode gistbulkdelete.GistBDItem *stack is must have items with sequential blkno as possible.I have a question:where are access...
[ { "msg_contents": "Hi,\n\nThere's a repeated pattern of\n\nAssert(IsA(ptr, nodetype));\nfoo = (nodetype *) ptr;\n\nhow about adding a castNode() that combines those? Something like:\n\n#if !defined(USE_ASSERT_CHECKING)\n\n#define castNode(nodeptr,_type_) \\\n\t((_type_ *) (nodeptr))\n\n#elif defined(__GNUC__)\n...
[ { "msg_contents": "Greetings,\n\n This is take-2 on this. Apologies for the short notice.\n\n As some may be aware, we are currently working with Rackspace to\n upgrade the PostgreSQL infrastructure systems which they graciously\n host for us. As part of these upgrades there will be downtime for\n system...
[ { "msg_contents": "Hi,\n\nOn win32, initdb fails if it's path includes a space and at ('@')\ncharacter. E.g.\n\nC:\\>\"C:\\Program Files\\user@company\\Postgres\\9.3\\bin\\initdb.exe\" -D \"c:\\baz\"\n'C:\\Program' is not recognized as an internal or external command,\noperable program or batch file.\n\nHere's ...
[ { "msg_contents": "Given the following code.\n\nPGconn* const conn=PQconnectdbParams(keywords, values, false);\nif(! conn || PQstatus(conn)!=CONNECTION_OK){ /* error code? */ }\n\n- In case of a failed connection is there a way to get the error code to be\nable to distinguish between a (e.g.) bad password and t...
[ { "msg_contents": "... so let's stop using that phrase, OK?\n\nhttp://meyerweb.com/eric/comment/chech.html\n\n-- \nJosh Berkus\nPostgreSQL Experts Inc.\nhttp://pgexperts.com\n\n\n-- \nSent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)\nTo make changes to your subscription:\nhttp://www.postgresql...
[ { "msg_contents": "The table of contents for pg_restore -l shows the time the archive was\nmade as local time (it uses ctime()):\n\n\t; Archive created at Wed Apr 30 10:03:28 2014\n\nIs this clear enough that it is local time? Should we display this\nbetter, perhaps with a time zone designation?\n\n-- \n Bruc...
[ { "msg_contents": "hi,\n\n I need to use the hook feature of planner in postgresql 9.3 to perform a\ntask. I am building postgresql from source.\nTo start with, I wanted to know how to create a hook and attach that shared\nlibray to postgresql. Hence i tried the examples given in \"\nwiki.postgresql.org/image...
[ { "msg_contents": "Hi,\n\nCoverity flagged a couple of issues that seem to worth addressing by\nchanging the code instead of ignoring them:\n\n01) heap_xlog_update() looks to coverity as if it could trigger a NULL\n pointer dereference. That's because it thinks that oldtup.t_data is\n NULL if XLR_BKP_BLOC...
[ { "msg_contents": "Hi\n\n\nI tried to start writing a patch to add \"Total Size\" column to \\dt++ output.\n\nin src/bin/psql/describe.c we have this\n\nlistTables(\nconst char *tabtypes,\nconst char *pattern,\n bool verbose,\n bool showSystem)\n\n\nI was (as a long time Pg user) dead sure that psql really some...
[ { "msg_contents": "Is there some use case for that I'm not seeing?\n\npostgres=***# create index tti on\ntt(i,i,i,i,i,i,i,i,i,i,i,i,i,i,i,i,i,i,i,i,i,i,i,i,i,i,i,i,i,i,i,i);\nCREATE INDEX\nTime: 15.891 ms\n\npostgres=***# commit;\nCOMMIT\nTime: 11.191 ms\n\npostgres=# \\d tt\n Table \"public.tt\"\n+------...
[ { "msg_contents": "fork_process.c quoth:\n\n /*\n * Flush stdio channels just before fork, to avoid double-output problems.\n * Ideally we'd use fflush(NULL) here, but there are still a few non-ANSI\n * stdio libraries out there (like SunOS 4.1.x) that coredump if we do.\n * Presently stdout ...
[ { "msg_contents": "Fix \"quiet inline\" configure test for newer clang compilers.\n\nThis test used to just define an unused static inline function and check\nwhether that causes a warning. But newer clang versions warn about\nunused static inline functions when defined inside a .c file, but not\nwhen defined ...
[ { "msg_contents": "I have been working on making the DocBook XML output valid. The first\npart was bb4eefe7bf518e42c73797ea37b033a5d8a8e70a, I now have the rest\nready, but I'll spare you the mostly mechanical 200kB patch for now. In\naddition, I'd like to add the attached patch with an xmllint call to\nmake ...
[ { "msg_contents": "Hi,\n\nI\n​s the following behavior perceived fix-worthy?\n\n\n-- note the\n​'​\n​1's\n in the output\n​s\n​\n\n​po​\nstgres=# CREATE TABLE test AS SELECT;\nSELECT 1\n\npostgres=# insert into test select;\nINSERT 0 1​\n\n​My guess why ​this happens is because changes made in the commit in\n$S...
[ { "msg_contents": "Hi,\n\n I want to know is there a way to use a hook to modify the input query\nbefore Postgresql parses and builds the parse tree for the query.\n\nHi,   I want to know is there a way to use a hook to modify the input query before Postgresql parses and builds the parse tree for the query.",...
[ { "msg_contents": "Hi\n\nHere is an initial version of an auditing extension for Postgres to\ngenerate log output suitable for compiling a comprehensive audit trail\nof database operations.\n\n\nWhy auditing?\n\nVarious laws and regulations (HIPAA, PCI DSS, EU Data Protection\nDirective etc.) as well as interna...
[ { "msg_contents": "Hi,\n\nThere's pretty little coverage of non mainstream platforms/compilers in\nthe buildfarm atm. Maybe we should send an email on -announce asking for\nnew ones?\nThere's no coverage for OS-wise;\n* AIX (at all)\n* HP-UX (for master at least)\n(* Tru64)\n(* UnixWare)\n\nArchitecture wise th...
[ { "msg_contents": "Does anyone have any hints on how to get a stack trace programmatically,\nrather than trying to run ps to get the pid and then attach gdb to a\nephemeral process and hoping the situation has not been changed while you\nare doing that? I'd like to set\n\nlog_error_verbosity = stack\n\nor\n\ne...
[ { "msg_contents": "I've been thinking about how we might implement the <multiple column\nassignment> UPDATE syntax that was introduced in SQL:2003. This feature\nallows you to do\n\nUPDATE table SET ..., (column, column, ...) = <row-valued expression>, ...\n\nwhere the system arranges to evaluate the <row-valu...
[ { "msg_contents": "Hello,\n\nThe attached patch improves the performance of array_length() by detoasting\nonly the overhead part of the datum.\n\nHere is a test case:\n\npostgres=# create table array_length_test as select array_agg(a) a from\ngenerate_series(1, 10000) a, generate_series(1, 10000) b group by b;\...
[ { "msg_contents": "Is there any particular reason for this:\n\ndecibel@decina.local=# SELECT regexp_replace( 'a', 'a', 'b', null ) IS NULL;\n ?column? \n----------\n t\n(1 row)\n\nISTM it’d be a lot better if it treated NULL flags the same as ‘’...\n--\nJim Nasby, Lead Data Architect (512) 569-9461\n\n\n\n-- ...
[ { "msg_contents": "Just got a report of a replication issue with 9.2.8 from a community member:\n\nHere's the sequence:\n\n1) A --> B (sync rep)\n\n2) Shut down B\n\n3) Shut down A\n\n4) Start up B as a master\n\n5) Start up A as sync replica of B\n\n6) A successfully joins B as a sync replica, even though its ...
[ { "msg_contents": "I've been working with an app that uses a schema name whose spelling is\nhard to type, and the lack of tab completion for \"SET search_path TO\" was\nbugging me. So see attached.\n\nI filter out the system schemata, but not public.\n\nFor commit fest next.\n\nCheers,\n\nJeff\n\nI've been wor...
[ { "msg_contents": "My notion of \"anonymous record\", and the need of this kind of \"higher-order\ntype\", are discussed in the links below,\n\nhttp://stackoverflow.com/q/23439240\n \"Functions can not to *return individual items of a record*\"\n\nhttp://stackoverflow.com/q/21246201\n \"PostgreSQL v9.X have r...
[ { "msg_contents": "I am planning to run pgindent in a few days to prepare for beta. Does\nanyone have major patches that you are planning to apply soon? If so, I\ncan delay pgindent until you are done. \n\nThis run will also have a tabs-in-comments removal phase which will also\nbe run on supported back bran...
[ { "msg_contents": "Hi,\n\nI've more than once wanted to know what allocated shared memory in\npostgres installation is used for. Especially with more an more\nextensions around that's quite useful.\n\nThus I've written a patch to add a new SRF/VIEW\npg_get_shmem_allocations/pg_shmem_allocations that shows the c...
[ { "msg_contents": "I have completed the initial version of the 9.4 release notes. You can\nview them here:\n\n\thttp://www.postgresql.org/docs/devel/static/release-9-4.html\n\nI will be adding additional markup in the next few days.\n\nFeedback expected and welcomed. I expect to be modifying this until we\nre...
[ { "msg_contents": "If I recall correctly, Tom pointed out a while back that the comment\njustifying the lockless read of the VM bit was not correct (or at least\nnot complete).\n\nI rewrote it, but it was part of a patch that was not accepted. Attached\nis the comment patch only.\n\nRegards,\n\tJeff Davis\n\n\n...
[ { "msg_contents": "Hello,\n\nThis is my first time posting on the list. Also, I was trying to find\nsomething on the list's history on this topic but without results.\n\nMy idea is new statement with roughly the following format (similar to update):\n\nEXPIRE FROM my_table\n AT my_timestamp\n WHERE my_con...
[ { "msg_contents": "Hi\n\nWhen running more than one cluster I often find myself looking at\nthe output of 'iotop' or other tools wondering which\ncluster's \"wal receiver process\" or \"checkpointer process\" etc\nI'm seeing. Obviously it's easy enough to find out (for example\nby looking at a tree view in hto...
[ { "msg_contents": "Hi,\n\nWhile investigating an issue pointed out by valgrind around undefined\nbytes in inval.c SHAREDINVALSMGR_ID processing I noticed that there's a\nbug in ReceiveSharedInvalidMessages(). It tries to be safe against\nrecursion but it's not:\nWhen it recurses into ReceiveSharedInvalidMessage...
[ { "msg_contents": "Hi,\n\napparently a few users were puzzled that archive_command is ignored on slave servers, which comes as a surprise since streaming replication will work fine from slaves and as far as I’ve checked the documentation also doesn’t point out the fact that archive_command gets a different trea...
[ { "msg_contents": "Hi,\n\nWalsender does a PQClear(con) but then accesses data acquired with\nPQgetvalue(). That's clearly not ok.\n\nGreetings,\n\nAndres Freund\n\n-- \n Andres Freund\t http://www.2ndQuadrant.com/\n PostgreSQL Development, 24x7 Support, Training & Services\n\n\n\n-- \nSent vi...
[ { "msg_contents": "All,\n\nI'm working with the cstore_fdw project, which has an interesting\nproperty for an FDW: the FDW itself creates the files which make up the\ndatabase. This raises a couple of questions:\n\n1) Do we want to establish a standard directory for FDWs which create\nfiles, such as $PGDATA/b...
[ { "msg_contents": "Seems there is no documentation for the 9.4 worker_spi contrib module. Is\nthis OK? The comment at the top of the C file says:\n\n * Sample background worker code that demonstrates various coding\n * patterns: establishing a database connection; starting and committing\n * tr...
[ { "msg_contents": "Hi,\n\nToday, I discovered that when building a btree index, the btree code\nuses index_form_tuple() to create an index tuple from the heap tuple,\ncalls tuplesort_putindextuple() to copy that tuple into the sort's\nmemory context, and then frees the original one it built. This seemed\nineff...
[ { "msg_contents": "Prior to default parameters on functions, GRANT and COMMENT accepted full parameter syntax. IE:\n\nGRANT EXECUTE ON test(t text) TO public\n\nas opposed to regprocedure, which only accepts the data types ( test(text), not test(t text) ).\n\nThey do not accept DEFAULT though:\n\nGRANT EXECUTE ...
[ { "msg_contents": "While stress testing the crash-recovery system, I keep running into\nwraparound shutdowns that I think should not be occurring. I go out of my\nway give autovac a chance to complete every now and then, more often than\nit should need to in order to keep up with the xid usage.\n\nI think the ...
[ { "msg_contents": "Hello\n\nI am checking feature\nhttp://git.postgresql.org/gitweb/?p=postgresql.git;a=commitdiff;h=6513633b94173fc1d9e2b213c43f9422ddbf5faa\n\nIt works perfect with pager \"less\", but it works badly with default \"more\"\n\nsee attached screenshots, pls\n\nIt is expected behave?\n\nRegards\n\...
[ { "msg_contents": "Hi,\n\nCraig just mentioned in an internal chat that there's no btree or even\nhash opclass for the new pg_lsn type. That restricts what you can do\nwith it quite severely.\nImo this should be fixed for 9.4 - after all it was possible unto now to\nindex a table with lsns returned by system fu...
[ { "msg_contents": "Hi,\n\ndsm_attach() does the following:\n\n\tnitems = dsm_control->nitems;\n\tfor (i = 0; i < nitems; ++i)\n\t{\n\t\t/* If the reference count is 0, the slot is actually unused. */\n\t\tif (dsm_control->item[i].refcnt == 0)\n\t\t\tcontinue;\n\n\t\t/*\n\t\t * If the reference count is 1, the s...
[ { "msg_contents": "Over the last several months, I've been working on a new memory\nallocator for PostgreSQL. While it's not done, and there are\nproblems, I think I've reached the point where it makes sense to get\nthis out in front of a wider audience and get some feedback,\npreferably of the sort that doesn...
[ { "msg_contents": "Hi,\n\nif you split configuration and data by setting data_directory,\npostgresql.auto.conf is writen to the data directory\n(/var/lib/postgresql/9.4/main in Debian), but tried to be read from\nthe etc directory (/etc/postgresql/9.4/main).\n\nOne place to fix it would be in ProcessConfigFile ...
[ { "msg_contents": "pgindent run for 9.4\n\nThis includes removing tabs after periods in C comments, which was\napplied to back branches, so this change should not effect backpatching.\n\nBranch\n------\nmaster\n\nDetails\n-------\nhttp://git.postgresql.org/pg/commitdiff/0a7832005792fa6dad171f9cadb8d587fe0dd800\...
[ { "msg_contents": "Hi,\n\nwhen regularly collecting & resetting query information from pg_stat_statements it’s possible to trigger a situation where unnormalised queries are stored.\n\n\nI think what happens is the following:\n\npgss_post_parse_analyse calls pgss_store with a non-null jstate which will cause th...
[ { "msg_contents": "The plan for beta1 is to wrap the tarball this Sunday (May 11)\nfor public announcement Thursday May 15. This deviates from our\nusual Monday wrap + Thursday announcement schedule so as to give\nthe packagers a little more time, knowing that packaging scripts\nusually require extra adjustmen...
[ { "msg_contents": "Hi,\n\nWhen benchmarking an application I got annoyed at how basic the tab \ncompletion for ALTER TABLE ... DISABLE/ENABLE TRIGGER and DROP TRIGGER \nis. So here is a patch improving the tab completion around triggers. For \nconsistency I have also added the same completions to rules since th...
[ { "msg_contents": "Hi,\n\nI am not sure whether these are new for 9.4 but they're worth looking at\nanyway:\nValgrind was run with:\n --trace-children=yes --quiet \\\n --track-origins=yes --leak-check=no \\\n --read-var-info=yes \\\n --suppressions=/home/andres/src/postgresql/src/tools/valgrind.supp \\\n <postg...
[ { "msg_contents": "I'm reading the new jsonb code, trying to understand the on-disk \nrepresentation. And I cannot make heads or tails of it.\n\nMy first entry point was jsonb.h. Jsonb struct is the on-disk \nrepresentation, so I looked at the comments above that. No help, the \ncomments are useless for getting...
[ { "msg_contents": "Prior to the development cycle towards v9.5, I'd like to reopen\nthe discussion of custom-plan interface. Even though we had lots\nof discussion during the last three commit-fests, several issues\nare still under discussion. So, I'd like to clarify direction of\nthe implementation, prior to t...
[ { "msg_contents": "Would someone care to defend this code?\n\n int total = 2 * JB_ROOT_COUNT(jb);\n\n ...\n\n if (total == 0)\n {\n *nentries = 0;\n PG_RETURN_POINTER(NULL);\n }\n\n ...\n\n while ((r = JsonbIteratorNext(&it, &v, false)) != WJB_DONE)\n {\n ...
[ { "msg_contents": "When recovering from a crash (with injection of a partial page write at\ntime of crash) against 7c7b1f4ae5ea3b1b113682d4d I get a checksum\nverification failure.\n\n16396 is a gin index.\n\nIf I have it ignore checksum failures, there is no apparent misbehavior.\n I'm trying to bisect it, but...
[ { "msg_contents": "Hi all\n\nAs part of development on BDR the issue of GUC globals not being\nPGDLLEXPORT'ed has been run into a few times.\n\nIs there any reason _not_ to PGDLLEXPORT all GUCs, other than cosmetic\nconcerns?\n\nBarring objections I'll post a patch to do this tomorrow.\n\n-- \n Craig Ringer ...
[ { "msg_contents": "I've complained about this problem a few times before: there's nothing\nto prevent a background worker which doesn't request shared memory\naccess from calling InitProcess() and then accessing shared memory\nanyway. The attached patch is a first crack at fixing it.\nUnfortunately, there's st...
[ { "msg_contents": "Clean up jsonb code.\n\nThe main target of this cleanup is the convertJsonb() function, but I also\ntouched a lot of other things that I spotted into in the process.\n\nThe new convertToJsonb() function uses an output buffer that's resized on\ndemand, so the code to estimate of the size of Js...
[ { "msg_contents": "I wrote:\n> The readability of that comment starts to go downhill with its use of\n> \"reset\" to refer to what everything else calls a \"recheck\" flag, and in\n> any case it's claiming that we *don't* need a recheck for exists (a\n> statement I suspect to be false, but more later).\n\nAnd, ...
[ { "msg_contents": "Hi,\n\nThis patch implements $subject only when ANALYZE and VERBOSE are on.\nI made it that way because for years nobody seemed interested in this\ninfo (at least no one did it) so i decided that maybe is to much\ninformation for most people (actually btree indexes are normally very\nfast).\n...
[ { "msg_contents": "Hi all,\n\nSince commit a692ee5, code compilation on windows is full of warnings\ncaused by the re-definitions of popen and pclose:\nIn file included from ../../../src/include/c.h:1028:0,\n from ../../../src/include/postgres.h:47,\n from analyze.c:25:\n../../.....
[ { "msg_contents": "Hi all,\n\nSince commit 60ff2fd introducing the centralizated getopt-related\nthings in a global header file, build on Windows with mingw is failing\nbecause of some declarations of HAVE_INT_OPTRESET causing optreset to\nbecome undefined:\npostmaster.c: In function 'PostmasterMain':\npostmast...
[ { "msg_contents": "Hi all,\n\nWhile doing some builds with mingw and 9.4, I noticed that a couple of\nfiles generated by build are not ignored in the source tree. Those two\nfiles are system.c and win32setlocale.c in src/interfaces/libpq.\nPlease find attached a patch fixing that.\nNote that this is recent and ...
[ { "msg_contents": "According to the documentation for PQputCopyEnd:\n\n> The result is 1 if the termination data was sent, zero if it was not sent because the attempt would block (this case is only possible if the connection is in\n> nonblocking mode), or -1 if an error occurred. (Use PQerrorMessage to retrieve...
[ { "msg_contents": "Hi,\n\nPatch 01: Fix a couple of embarassing typos. Most of them harmless, but\none isn't and can lead to crashing or decoding wrong data.\n\nPatch 02: Don't crash with an Assert() failure if wal_level=logical but\nmax_replication_slots=0.\n\nPatch 03: Add valgrind suppression for writing out...
[ { "msg_contents": "From: Andres Freund <andres@anarazel.de>\n\nWhen cache invalidations arrive while ri_LoadConstraintInfo() is busy\nfilling a new cache entry, InvalidateConstraintCacheCallBack()\ncompares the - not yet initialized - oidHashValue field with the\nto-be-invalidated hash value. To fix check wheth...
[ { "msg_contents": "> On Thu, May 8, 2014 at 4:43 PM, Tom Lane <tgl@sss.pgh.pa.us> wrote:\r\n> > I thought that the executor side of his patch wasn't in bad shape.\r\n> > The real problems were in the planner, and indeed largely in the \"backend\"\r\n> > part of the planner where there's a lot of hard-wired logi...
[ { "msg_contents": "Hi all,\n\nI found the following error when playing with jsonb and json_build_object:\n=# with jsonb_data as (select * from jsonb_each('{\"aa\" :\n\"po\"}'::jsonb)) select json_build_object(key,value) from jsonb_data;\nERROR: XX000: cache lookup failed for type 2147483650\nLOCATION: lookup_...
[ { "msg_contents": "On Sat, May 3, 2014 at 4:31 AM, Dave Page <dave.page@enterprisedb.com> wrote:\n> Hamid@EDB; Can you please have someone configure anole to build git\n> head as well as the other branches? Thanks.\n\nThe test_shm_mq regression tests hung on this machine this morning.\nHamid was able to give me...
[ { "msg_contents": "Hi,\n\npostgres=# SELECT relpages FROM pg_class WHERE relname = 'large';\n relpages\n-------------\n -1804468224\n(1 row)\n\npostgres=# \\dt+ large\n List of relations\n Schema | Name | Type | Owner | Size | Description\n--------+-------+-------+--------+-------+-------...
[ { "msg_contents": "Hey,\n\nI was working on adding support to the new MOVE clause of the ALTER\nTABLESPACE statement to pgAdmin when I noticed this issue. See this\nexample:\n\nFresh git compilation, and new database on a new cluster:\n\n$ createdb b1\n$ psql b1\npsql (9.4devel)\nType \"help\" for help.\n\nb1=#...
[ { "msg_contents": "How can this be? We're bundling a beta in 2 days.\n\n-- \nJosh Berkus\nPostgreSQL Experts Inc.\nhttp://pgexperts.com\n\n\n-- \nSent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)\nTo make changes to your subscription:\nhttp://www.postgresql.org/mailpref/pgsql-hackers\n", "...
[ { "msg_contents": "The pg_basebackup documentation says that only regular files and\ndirectories are \"allowed\" in the data directory. But it is more correct\nthat any other files are skipped. Attached is a patch to correct that.\n I also added a link to the protocol documentation and added more\ndetails the...
[ { "msg_contents": "Wouldn't a better name be recovery_min_apply_delay?\n\nOther parameters are usually named something_min_something.\n\n\n-- \nSent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)\nTo make changes to your subscription:\nhttp://www.postgresql.org/mailpref/pgsql-hackers\n", "msg...
[ { "msg_contents": "Hi,\n\nthe current tcl version is 8.6, and configure should recognize it. The\nattached patch has been in the Debian/Ubuntu packages for a while, so\nit's tested.\n\nChristoph\n-- \ncb@df7cb.de | http://www.df7cb.de/\n\n\n\n-- \nSent via pgsql-hackers mailing list (pgsql-hackers@postgresql.or...
[ { "msg_contents": "Hi,\n\nto support ppc64le, config.guess needs to be updated. The attached\npatch is what was reported to work for Ubuntu.\n\nChristoph\n-- \ncb@df7cb.de | http://www.df7cb.de/\n\n\n\n-- \nSent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)\nTo make changes to your subscription:...
[ { "msg_contents": "Hi,\n\nI investigated some select query performance issues and noticed that \npostgresql misses some obvious cases while processing SELECT query. I \nmean the case where WHERE clause contains statement which condition \nwould be against table structure. (excuse my language, look the code)\n\n...
[ { "msg_contents": "Hackers,\n\nGIN hangs on lossy bitmap scan. Here is test case:\n\ncreate extension btree_gin;\ncreate table test as (select random() v from generate_series(1,1000000));\ncreate index test_idx on test using gin(v);\nset work_mem = '16MB';\nselect count(*) from test where v > 0.9;\n count\n────...
[ { "msg_contents": "While looking into this report\nhttp://www.postgresql.org/message-id/CF48CCFB.65A9D%tim.kane@gmail.com I\nnoticed that we don't accept empty values as xml \"content\" values, even\nthough this should apparently be allowed by the spec. Attached is a\npatch to fix it (which needs updates to xm...
[ { "msg_contents": "Hi all,\n\nMSVC build uses two configuration perl files when running:\nconfig_default.pl and config.pl. The former is mandatory and is\npresent in the code tree, while the latter can be used to override\nsettings with some custom parameters. As far as I understand from the\ndocs, config.pl sh...
[ { "msg_contents": "Hello\n\nI am trying to compile PL/v8 without success. I have Postgres installed via\ncompilation from source code.\n\nAfter make I got errors\n\n[pavel@localhost plv8-1.4.2]$ make\ng++ -Wall -O2 -I. -I./ -I/usr/local/pgsql/include/server\n-I/usr/local/pgsql/include/internal -D_GNU_SOURCE -I...
[ { "msg_contents": "Hi All,\n\nPlease help me in running DBT2 on postgresql. I am doing it for the first\ntime. I am facing error while running dbt2 test.\n\nI installed dbt2 by following \"install\" file. Below some final lines of\nterminal.\n\nInstall the project...\n-- Install configuration: \"\"\n-- Installi...
[ { "msg_contents": "84df54b22e8035addc7108abd9ff6995e8c49264 introduced timestamp\nconstructors. In the regression tests, various time zones are tested,\nincluding America/Metlakatla. Now, if you configure using\n--with-system-tzdata, you'll get an error if that zone isn't there.\nUnfortunately, this is what I'm...
[ { "msg_contents": "pg_recvlogical re-opens the output file on SIGHUP. If the output goes to \nstdout, it will close stdout on SIGHUP. That's a bug, isn't it?\n\nAnother thing I noticed is that if when the output goes to a file, the \nfile isn't re-opened immediately on SIGHUP. Only after receiving some \ndata f...
[ { "msg_contents": "Hi everyone,\n\nI'm new to the open source community, and wanna help in some implementation\nwork.\nHowever, when I looked into the TODO list, I found most of the items are\nvery old.\nTherefore, I'd like to know if there is any entry-level implementation\nneeded by PostgreSQL now?\nAny advis...
[ { "msg_contents": "Hi all,\n\na few days ago I switched magpie into an LXC container, and while\nfixinig unrelated issue there, I noticed that although the tests seemed\nto run, some of the results are actually rubbish because of missing locales.\n\nSo for example when the system misses cs_CZ.WIN-1250 (i.e. cze...
[ { "msg_contents": "Hi All,\n\nI run the the *dbt2-pgsql-build-db -w 1 *\n\nbut, after some time, I faced this error\n\n*/home/abhi/dbt2_install/bin/dbt2-pgsql-load-stored-procs: 45: [: c:\nunexpected operator*\n*/home/abhi/dbt2_install/bin/dbt2-pgsql-load-stored-procs: 53: [: c:\nunexpected operator*\n*unknown ...
[ { "msg_contents": "Building 9.4 beta1 on Debian sid/i386 fails during the regression\ntests. amd64 works fine, as does i386 on the released distributions.\n\nparallel group (11 tests): create_cast create_aggregate drop_if_exists typed_table create_function_3 vacuum constraints create_table_like triggers inheri...