threads
listlengths
1
2.99k
[ { "msg_contents": "Hello!\n\nToday, there exists GSSAPI authentication support in Postgres. I plan\nto extend this work to include encryption as well, but wanted to get\nyour input on that first since you've probably thought about this\nalready.\n\nFrom what I can tell, the auth/encryption layer is very nicely...
[ { "msg_contents": "Andres Freund just forwarded me a valgrind error report that Peter\nGeoghegan noticed:\n\n==29892== Unaddressable byte(s) found during client check request\n==29892== at 0x7D1317: PageAddItem (bufpage.c:314)\n==29892== by 0x468106: brin_doinsert (brin_pageops.c:315)\n==29892== by 0x4...
[ { "msg_contents": "Hi all,\n\nAttached patch fixes the typo is in reindexdb documentation regarding\nREINDEX SCHEMA.\n\nRegards,\n\n-------\nSawada Masahiko\n\n\n\n-- \nSent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)\nTo make changes to your subscription:\nhttp://www.postgresql.org/mailpref/p...
[ { "msg_contents": "this a test case :\n\n\nCREATE TABLE tab\n(\n _id bigserial NOT NULL,\n _name text,\n CONSTRAINT tab_pkey PRIMARY KEY (_id)\n);\nCREATE TABLE tab_s1\n(\nCONSTRAINT tab_s1_check CHECK (1 = 1)\n)\nINHERITS (tab);\nCREATE OR REPLACE VIEW v_tab AS \n SELECT tab._id,\n tab._name\n FROM tab...
[ { "msg_contents": "Multi-xacts were made durable in Postgres 9.3 (released 2013-09-09) to\nallow primary-key-column-only locks. 1.7 years later, we are still\ndealing with bugs related to this feature. Obviously, something is\nwrong.\n\nThere were many 9.3 minor releases containing multi-xacts fixes, and\nthe...
[ { "msg_contents": "I'd like to discuss how we should've implemented the infamous 9.3 \nmultixid/row-locking stuff, and perhaps still should in 9.6. Hindsight \nis always 20/20 - I'll readily admit that I didn't understand the \nproblems until well after the release - so this isn't meant to bash \nwhat's been do...
[ { "msg_contents": "PostgreSQL (<=9.4) trend to smooth buffer write smooth in a\ncheckpoint_completion_target (checkpoint_timeout or checkpoint_segments),\nbut when we use synchronous_commit=off, there is a little problem for\nthe checkpoint_segments\ntarget, because xlog write fast(for full page write which the...
[ { "msg_contents": "Attached patch fixes some issues with ON CONFLICT DO UPDATE/DO\nNOTHING. There is a commit message which explains the changes at a\nhigh level. The only real bug fix is around deparsing by ruleutils.c.\n\nNote that the patch proposes to de-support CREATE RULE with an\nalternative action invol...
[ { "msg_contents": "Hi all,\n\nAs mentioned in this thread, it would be good to have regression tests\nto test the interactions with permissions and LOCK TABLE:\nhttp://www.postgresql.org/message-id/20150511195335.GE30322@tamriel.snowman.net\nAttached is a patch achieving that.\nNote that it does some checks on ...
[ { "msg_contents": "Hi all\n\nFor some time I've wanted a way to \"SET SESSION AUTHORISATION\" or \"SET\nROLE\" in a way that cannot simply be RESET, so that a connection may be\nhanded to a less-trusted service or application to do some work with.\n\nThis is most useful for connection pools, where it's currentl...
[ { "msg_contents": "Hi all,\n\nSince dcae5fac, we use a central path ($GIT_ROOT/tmp_install) to store\nthe installation deliverables during tests. Each module uses a\n.gitignore with more or less those entries:\n/log/\n/results/\n/tmp_check/\n\nFirst note that /log/ is not used anymore, replaced by /tmp_check/lo...
[ { "msg_contents": "Generic simple scheduler to contrib\n===================================\nJob schedulers are important and sometimes very complex part of any\nsoftware. PostgreSQL miss it. I propose new contrib module, that can be\nused simply for some tasks, and that can be used as base for other more\nrich...
[ { "msg_contents": "Map basebackup tablespaces using a tablespace_map file\n\nWindows can't reliably restore symbolic links from a tar format, so\ninstead during backup start we create a tablespace_map file, which is\nused by the restoring postgres to create the correct links in pg_tblspc.\nThe backup protocol a...
[ { "msg_contents": "In view of the multixactid wraparound issues that have gotten fixed over\nthe last week or two, it's time to put out some minor releases. After\nsome discussion among core and the packagers list, we concluded that we\nshould do it next week (before the Memorial Day holiday). As per usual\nt...
[ { "msg_contents": "pg_basebackup -F t now succeeds with a long symlink target\n\nBranch\n------\nmaster\n\nDetails\n-------\nhttp://git.postgresql.org/pg/commitdiff/97e0aa697983cf7f7f79e69f2dc248fdefb7dbf6\n\nModified Files\n--------------\nsrc/bin/pg_basebackup/t/010_pg_basebackup.pl | 4 ++--\n1 file change...
[ { "msg_contents": "​\"​In a literal that has been determined to be timestamp without time zone,\nPostgreSQL will silently ignore any time zone indication. That is, the\nresulting value is derived from the date/time fields in the input value,\nand is not adjusted for time zone.​​\"​\n\nhttp://www.postgresql.org/...
[ { "msg_contents": "MinMaxExpr is an implicit invocation of a btree comparison function.\nAre we supposing that all of those are necessarily leakproof?\n\n\t\t\tregards, tom lane\n\n\n-- \nSent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)\nTo make changes to your subscription:\nhttp://www.postgr...
[ { "msg_contents": "Hi,\n\nIt's pretty clear that the impending feature freeze proposed by core\nhas spurred a lot of activity. This is both good and bad. On the\ngood side, we're getting a bunch of stuff done. On the bad side,\nthere is inevitably going to be a temptation to rush things in that\nare really n...
[ { "msg_contents": "Looking at what remains open in the current commitfest:\n\n* fsync $PGDATA recursively at startup\n\nAndres is the reviewer of record on this one. He should either commit it\nif he feels it's ready, or bounce it to next CF if not.\n\n* EvalPlanQual behaves oddly for FDW queries involving sys...
[ { "msg_contents": "Trying to build HEAD and ran into this issue building the docs:\n\n openjade:logicaldecoding.sgml:575:62:Q: length of name token must\n not exceed NAMELEN (44)\n openjade:replication-origins.sgml:87:67:Q: length of name token must\n not exceed NAMELEN (44)\n\nI've tried playing wi...
[ { "msg_contents": "Hi,\nI am using Debian Jessie and install pgAdmin4 Required modules.\nafter I clone pgAdmin4 from\nhttp://git.postgresql.org/gitweb/?p=pgadmin4.git;a=summary ,\n\nFirst of, ıf I want run setup.py, I must fix bug .\nafter I want run pgadmin4.py, I must fix gravatar import line.\n\nIn this case...
[ { "msg_contents": "hi\ni don't want to make this post long. i just started to use PostgreSQL and\nit is absolutely awesome . just want to say thank you very much\n\nhii don't want to make this post long.  i just started to use PostgreSQL and it is absolutely awesome . just want to say thank you very much", ...
[ { "msg_contents": "Hi,\n\nI've been pulling over Tom's occasional remarks about redoing\ngrouping_planner - and maybe further layers of the planner - to work\nwith Paths instead of Plans. I've had difficulty locating all of the\nrelevant threads. Here's everything I've found so far, which I'm\npretty sure is ...
[ { "msg_contents": "Hi\n\nHere's an idea for a small 9.6 feature that I don't see on the todo\nlist already. I noticed that you can't currently CLUSTER on a brin\nindex. As I understand it, brin indexes are most effective when\nblocks have non-overlapping value ranges, and less effective the more\nthe ranges o...
[ { "msg_contents": "\nHello Robert,\n\n<Sorry resent, wrong from>\n\n>> Also, having \";\" as a end of commands could also help by allowing multiline\n>> commands, but that would break compatibility. Maybe allowing continuations\n>> (\\\\\\n) would be an acceptable compromise.\n\n> I loathe violently the convent...
[ { "msg_contents": "Hi,\n\nThe attached patch adds missing NO INHERIT to the CHECK clause in the\nsynopsis section in the reference page on CREATE FOREIGN TABLE.\n\nBest regards,\nEtsuro Fujita\n\n\n\n-- \nSent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)\nTo make changes to your subscription:\n...
[ { "msg_contents": "Hello guys,\n\nIs it possible to restrict the trust auth method to accept local connections only using the selinux policy?\n\nThank you!\n\n\n-- \nSent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)\nTo make changes to your subscription:\nhttp://www.postgresql.org/mailpref/pgsq...
[ { "msg_contents": "Hi\n\nThe documentation (or this feature) is broken still\n\nIf dbname is NULL or dboid is InvalidOid, the session is not connected to\nany particular database, but shared catalogs can be accessed. If username\nis NULL or useroid is InvalidOid, the process will run as the superuser\ncreated d...
[ { "msg_contents": "Add pg_audit, an auditing extension\n\nThis extension provides detailed logging classes, ability to control\nlogging at a per-object level, and includes fully-qualified object\nnames for logged statements (DML and DDL) in independent fields of the\nlog output.\n\nAuthors: Ian Barwick, Abhijit...
[ { "msg_contents": "Add backslash continuations to pgbench custom scripts.\n\nThe benefit of this approach is that it is upward compatible, and it is \nalso pretty simple to implement. The downside is that backslash \ncontinuation is not the best syntax ever invented, but then you do not \nhave to use it if you ...
[ { "msg_contents": "\n-hackers,\n\nAfter my brain flatulence last week on backups, I decided to read the \ndocs again. There are some improvements that I would like to make and \nwanted some feedback:\n\n1. File System Level Backup\n\nThe section should be a note within the larger document. It is largely a \nleg...
[ { "msg_contents": "Hi\n\nI am trying to start bgworker from bgworker and create communication\nbetween these process. I have a code based on test_shm_mq. This code fails\nbecause BackendPidGetProc doesn't find related bgworker process, although\nthe registrant process is living\n\nregistrant = BackendPidGetProc...
[ { "msg_contents": "The DDL deparse support that just landed looks impressive, but I’ve needed query deparsing for some time now. Within pg_shard <https://github.com/citusdata/pg_shard> we took the fast-and-dirty approach of merging in a modified ruleutils.c, though I’d (obviously) like to get away from that.\n\...
[ { "msg_contents": "In Emre Hasegeli's patch for range/inet/geometry opclasses for BRIN, he\nchose to move strategy numbers from gist.h to a more central place. He\nchose skey.h because that's where btree strategy numbers are defined,\nbut I'm not sure I agree with that choice.\n\nIt's been clear for a while no...
[ { "msg_contents": "This patch makes pg_upgrade controldata checks more consistent, and adds\na missing check for float8_pass_by_value.\n\n-- \n Bruce Momjian <bruce@momjian.us> http://momjian.us\n EnterpriseDB http://enterprisedb.com\n\n + Everyone has their own god. +\n\n...
[ { "msg_contents": "Hi\n\nI am planning to use short living bg workers. I was little bit surprised so\nany start and finish does entry in log. Is there any plan to decrease a log\nlevel for these purposes?\n\nRegards\n\nPavel\n\nHiI am planning to use short living bg workers. I was little bit surprised so any st...
[ { "msg_contents": "Hi,\n\nHere is a patch to improve the ALTER FOREIGN TABLE documentation a bit:\n(1) fix markup for ADD table_constraint [ NOT VALID ] and (2) remove an\nunnecessary comma from an example query.\n\nBest regards,\nEtsuro Fujita\n\n\n\n-- \nSent via pgsql-hackers mailing list (pgsql-hackers@post...
[ { "msg_contents": "Allow GiST distance function to return merely a lower-bound.\n\nThe distance function can now set *recheck = false, like index quals. The\nexecutor will then re-check the ORDER BY expressions, and use a queue to\nreorder the results on the fly.\n\nThis makes it possible to do kNN-searches on ...
[ { "msg_contents": "There was a discussion on support for N synchronous standby servers started\nby Michael. Refer\nhttp://archives.postgresql.org/message-id/CAB7nPqR9c84ig0ZUvhMQAMq53VQsD4rC82vYci4Dr27PVOFf9w@mail.gmail.com\n. The use of hooks and dedicated language was suggested, however, it seemed\nto be an o...
[ { "msg_contents": "I have processed all the open email items I can through mid-March,\nthough I do have two pg_upgrade fixes pending application today. I will\ncontinue processing doc fixes and major bug fixes for 9.5, but\neverything else I do will be for 9.6.\n\n-- \n Bruce Momjian <bruce@momjian.us> ...
[ { "msg_contents": "WALWriteLock contention is measurable on some workloads. In studying\nthe problem briefly, a couple of questions emerged:\n\n1. Doesn't it suck to rewrite an entire 8kB block every time, instead\nof only the new bytes (and maybe a few bytes following that to spoil\nany old data that might be...
[ { "msg_contents": "Hello,\n\nI've been trying to use the new JSONB format using JDBC, and ran into\ntrouble with the question mark operators (?, ?| and ?&).\nI realise there has already been a discussion about this (actually, it was\nabout hstore, not jsonb, but that's more or less the same problem):\n- http://...
[ { "msg_contents": "\nThere's something odd about the brin regression tests. They seem to \ngenerate intermittent failures, which suggests some sort of race \ncondition or ordering failure.\n\nSee for example \n<http://www.pgbuildfarm.org/cgi-bin/show_log.pl?nm=fulmar&dt=2015-05-15%2001%3A02%3A28>\nand \n<http:/...
[ { "msg_contents": "With feature freeze behind us, I'd like to propose that now is a good\ntime for a pgindent run. It's possible we'd need another one before\n9.5 is branched off from HEAD, but a run now ought to take care of 95%\nof the cleanup needed. I see a couple of advantages to doing it now:\n\n1. Patc...
[ { "msg_contents": "As exhibited for instance here:\n\nhttp://buildfarm.postgresql.org/cgi-bin/show_log.pl?nm=spoonbill&dt=2015-05-16%2011%3A00%3A07\n\nI've been able to replicate this on a Fedora 21 box: works fine with\nPython 2, fails with Python 3. Seems like we still have an issue\nwith reliance on a syste...
[ { "msg_contents": "I've committed first-draft release notes for next week's back-branch\nreleases. As usual, I've made a section for 9.4.2 that currently\nincludes items for all branches; I'll subdivide the items tomorrow.\nIf you wish to review, please send comments in the next 18 hours or so.\n\nPatch is up ...
[ { "msg_contents": "I'm seeing the following problem on the master branch:\n\npostgres=# select '{\"foo\":5}'::jsonb - 'bar'; -- okay\n ?column?\n------------\n {\"foo\": 5}\n(1 row)\n\npostgres=# select '{\"foo\":{\"bar\":5}}'::jsonb - 'foo'; -- okay\n ?column?\n----------\n {}\n(1 row)\n\npostgres=# select '{...
[ { "msg_contents": "Another thing that I noticed about the new jsonb stuff is that the\nconcatenate operator is based on the hstore one. This works as\nexpected:\n\npostgres=# select '{\"a\":1}'::jsonb || '{\"a\":2}';\n?column?\n----------\n {\"a\": 2}\n(1 row)\n\nHowever, the nesting doesn't \"match up\" -- con...
[ { "msg_contents": "Attached patch makes minor tweaks to pg_audit docs.\n\n-- \nPeter Geoghegan\n\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", "msg_date": "Sat, 16 May 2015 21:30:23 -070...
[ { "msg_contents": "Hello. Please, see this patch with typos.\nThank you.\n\n-- \nDmitriy Olshevskiy\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/mailpref/pgsql-hackers", "msg_date": "Sun, 17 May 2015 15:46:...
[ { "msg_contents": "Running the regression tests with -DCOPY_PARSE_PLAN_TREES reveals that\nDROP TRANSFORM parse trees fail to be copiable:\n\nregression=# DROP TRANSFORM IF EXISTS FOR fake_type LANGUAGE plperl;\nERROR: unrecognized node type: 1701866608\n\nI've not tracked down the exact reason, but it kinda l...
[ { "msg_contents": "Back in March we discussed the advisability of having a buildfarm critter\nor two running with -DCOPY_PARSE_PLAN_TREES:\nhttp://www.postgresql.org/message-id/14670.1427727751@sss.pgh.pa.us\nbut evidently nobody acted on the idea. I've now turned on that option\non dromedary. It will fail it...
[ { "msg_contents": "During the course of UPSERT's development, I found it tricky to debug\nregression tests failures on occasion. There are often non-obvious\ndependencies across and within regression tests. Creating a minimal\ntest case having attached a debugger to a directly controlled backend\nis often trick...
[ { "msg_contents": "Hello Hackers.\n\nI have attached a patch that extends ALTER OPERATOR to support COMMUTATOR, \nNEGATOR, RESTRICT and JOIN. This patch is based on master. It is small patch \nwith regression tests.\n\nWhy do it?\n\nThe operator has four important parameters that can be set only during the \ncr...
[ { "msg_contents": "The MSVC members of the buildfarm seem to not like my recent patch\nb14cf229f4bd7238, which basically did this to contrib/hstore_plpython's\nMakefile:\n\n SHLIB_LINK += ../hstore/libhstore.a $(wildcard ../../src/pl/plpython/libpython*.a) $(wildcard ../../src/pl/plpython/libplpython*.a)\n endi...
[ { "msg_contents": "Hi,\n\nIs there a way to know which rows were INSERTed and UPDATEd when doing a\nINSERT ... ON CONFLICT UPDATE? Probably via pseudo column indicating INSERT\n/ UPDATE ?\n\nThe RETURNING clause just allows us to return columns, but am unable to\nfind a way to know 'what' happened to a given ro...
[ { "msg_contents": "Hi, hackers!\n\nI am trying to create new index access method.\nAnd I found strange Assert in PageIndexMultiDelete\n<http://doxygen.postgresql.org/bufpage_8c_source.html#l00791> function.\n\nAssert\n<http://doxygen.postgresql.org/c_8h.html#a706ac5b1a53bd04067f81924b92cb9f6>(nitems\n< MaxIndex...
[ { "msg_contents": "I finally got around to running some UPSERT tests on the development build,\nwhich is very exciting for me :)\n\nI'm not sure if I missed the point with this (probably...): I'm unclear on\nthe reason why DO UPDATE requires explicitly specifying the constraint\nwhile DO NOTHING does not.\n\nIf...
[ { "msg_contents": "Hi All\n\nWhile debugging an extension I discovered that the errmsg()\nfunction zeros out errno.\n\nThis is annoying because if the process of assembling a meaningful\nerror message happens to call errmsg() before calling strerror()\nwe lose the strerror information. This is exactly the time ...
[ { "msg_contents": "Hello,\n\nAlright, per previous discussions I went through the backup.sgml page. I \nhave gone thoroughly through:\n\nsql dump\npg_dump\npg_restore\nhandling large databases\n\nI removed file based backups\n\nI didn't really touch the red headed step child that is pg_dumpall \n(although a wor...
[ { "msg_contents": "I find it annoying to have to specifically exclude pg_backend_pid() from \npg_stat_activity if I'm trying to kill a bunch of backends at once, and \nI can't think of any reason why you'd ever want to call a pg_cancel_* \nfunction with your own PID.\n\nAny objections to modifying those functio...
[ { "msg_contents": "Hi,\n\nAttached is a small typo.\n\n\n-- \n Euler Taveira Timbira - http://www.timbira.com.br/\n PostgreSQL: Consultoria, Desenvolvimento, Suporte 24x7 e Treinamento\n\n\n\n-- \nSent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)\nTo make changes to your s...
[ { "msg_contents": "Hi,\n\nThe attached patch fixes a typo in a comment in tablecmds.c.\n\nBest regards,\nEtsuro Fujita\n\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", "msg_date": "Wed, 2...
[ { "msg_contents": "Hi,\n For the user created indexes in PostgreSQL 8.3.6, I would like to\nknow in which table (eg: pg_tablename) the index-tuple-count and\nindex-page-count meta-data statistics are stored.\n\n\nRegards and Thanks,\nSrinivas Karthik\n\nHi,      For the user created indexes in PostgreSQL 8...
[ { "msg_contents": "Hi, Hackers!\n\nAttached is a patch against master to generalize the JSON-producing\nfunctions in utils/adt/json.c and to provide a set of callbacks which can\nbe overridden the same way that is already provided for *parsing* JSON.\n\nThe motivation behind this to be able to produce specially...
[ { "msg_contents": "While reading the commit- 5aa23504 for Replication Progress\nTracking, I came across few issues which I would like to share.\n\n1. catalogs.sgml\n+ <row>\n+ <entry><structfield>local_lsn</structfield></entry>\n+\n<entry><type>pg_lsn</type></entry>\n+ <entry></entry>\n+ <ent...
[ { "msg_contents": "On 05/20/2015 06:55 AM, Euler Taveira wrote:\n> Attached is a small typo.\n\nFixed, thanks.\n\n- Heikki\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_date": "We...
[ { "msg_contents": "Hi,\n\nI changed typos error. and attached patch for this.\nThanks you.\n\nI only changed comments only\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", "msg_date": "Thu,...
[ { "msg_contents": "hello, my partner and me are working with the goal of improve the GEQO's\nperformance, we tried with Ant Colony Optimization, but it does not improve,\nactually we are trying with a new variant of Genetic Algorithm, specifically\nMicro-GA. This algorithm finds a better solution than GEQO in l...
[ { "msg_contents": "Folks,\n\nWhile kicking the tires on the new GROUPING() feature, I noticed that\nNUMERIC has no cast to bit(n). GROUPING() produces essentially a\nbitmap, although the standard mandates for some reason that it be a\nnumeric type.\n\nI was thinking it should produce NUMERIC rather than int4 a...
[ { "msg_contents": "In HEAD only. Previous branches seem mostly clean, so there's something\ngoing wrong. Spinlocks going wrong perhaps?\n\nhttp://buildfarm.postgresql.org/cgi-bin/show_stage_log.pl?nm=anole&dt=2015-05-20%2016%3A30%3A26&stg=check\n! PANIC: stuck spinlock (c00000000d6f4140) detected at lwlock.c...
[ { "msg_contents": "G'Day guys,\n\nafter exploiting all the other sources, I've reached the point where I \nneed to use this final option to get some help.\n\nWe are trying to setup Postgres with TLSv1.2 (undergoing PA:DSS audit), \nbut getting a bit stuck there with Postgres reporting “could not accept \nSSL co...
[ { "msg_contents": "Hello!\n\nI'm willing to implement the 'Add support for interface/ipaddress binding\nto libpq' feature from the ToDo list.\nActually, the 'ipaddress' part.\n\nFor this I'm planning to do the following:\n - Introduce 'sourceaddr' parameter keyword and 'PGSOURCEADDR' env var\nwhich can be us...
[ { "msg_contents": "I noticed that my patch to archive the last incomplete segment from old \ntimeline at promotion with the .partial suffix (de768844) was a few \nbricks shy of a load. It makes a copy of the segment with the .partial \nsuffix, and it gets archived correctly, but it still leaves the segment \nly...
[ { "msg_contents": "I wonder why pg_basebackup doesn't have any support for replication slots.\n\nWhen relying on replication slots to hang on to WAL data, there is a gap\nbetween when pg_basebackup finishes and streaming replication is started\nwhere WAL data could be thrown away by the primary.\n\nLooking at t...
[ { "msg_contents": "Hi, Hackers,\n\nHere is a query, server was built witch GCC on Linux, AMD64.\n\n\nftian=#\nftian=# select 1.5::int, 1.5::double precision::int, 314.5::int,\n314.5::double precision::int;\n int4 | int4 | int4 | int4\n------+------+------+------\n 2 | 2 | 315 | 314\n(1 row)\n\n\nI belie...
[ { "msg_contents": "Hello,\n\nCurrently there is only one struct that gets packed (via the \n__attribute__ keyword that a few compilers support) and it is packed \nonly on ARM machines -- in order to force it to be exactly 6 bytes long.\n\nBut due to how ExecRowMark struct is laid out in memory, the packed \nstr...
[ { "msg_contents": "I'm implementing the recheck functionality for PostGIS so we can\nsupport it when 9.5 comes out, and came across this fun little\ncrasher.\n\nThis works:\n\nselect id, name from geonames order by geom <->\n'SRID=4326;POINT(-75.6163 39.746)'::geometry limit 10;\n\nThis crashes (just reversing ...
[ { "msg_contents": "Got strange problem. Unable to repeat, but got logs.\n\nSimple master-slave using streaming replication.\nMaster is running. Slave is down.\nSegment 0000000400004C4D00000090 was successfully archived and send\nfrom master to slave.\n\nNow I've started slave, and:\n\nay 21 21:23:37 d8 postgres...
[ { "msg_contents": "If you do the following sequence, the server gives the least helpful error message:\r\n\r\n----\r\ninitdb data\r\npg_ctl -D data -l logfile start\r\n\r\n# The following reconfigs are obvious based on error message if you try to take a base backup\r\necho 'local replication all trust’ >> da...
[ { "msg_contents": "Hi\n\nwe support SET ROLE name and SET ROLE TO name. Second form isn't supported\nby tabcomplete. Attached trivial patch fixes it.\n\nRegards\n\nPavel\n\n\n-- \nSent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)\nTo make changes to your subscription:\nhttp://www.postgresql.org...
[ { "msg_contents": "Hi all,\n\nThe attached add some spaces to better visualization of the \"ALTER TABLE\"\ndoc.\n\nRegards,\n\n-- \nFabrízio de Royes Mello\nConsultoria/Coaching PostgreSQL\n>> Timbira: http://www.timbira.com.br\n>> Blog: http://fabriziomello.github.io\n>> Linkedin: http://br.linkedin.com/in/fab...
[ { "msg_contents": "Hi all,\n\nThere are some reason to \"-i, --ignore-version\" option doesn't appear in\npg_dump help?\n\nRegards,\n\n-- \nFabrízio de Royes Mello\nConsultoria/Coaching PostgreSQL\n>> Timbira: http://www.timbira.com.br\n>> Blog: http://fabriziomello.github.io\n>> Linkedin: http://br.linkedin.co...
[ { "msg_contents": "Hackers,\n\nAt CoreOS Fest, Intel presented about a technology which they used to\nimprove write times for the nonrelational data store Etcd. It's called\nAsynchronous DRAM Self-Refresh, or ADR. This is supposedly a feature of\nall of their chips since E5 which allows users to designate a s...
[ { "msg_contents": "\nThe proposed flag for jsonb_set (the renamed jsonb_replace) in the patch \nI recently published is set to false, meaning that the default behaviour \nis to require all elements of the path including the last to be present. \nWhat that does is effectively UPDATE for jsonb. If the flag is tru...
[ { "msg_contents": "in src/backend/utils/misc/tzparser.c\n\nIt uses 60 * 60 to represent SECS_PER_HOUR.\n\nand It is already define in other files.\n\nso I think using SECS_PER_HOUR is more clear for readability.\n\nand I attached patch.(it just change 60 * 60 to SECS_PER_HOUR)\n\nWhat do you think?\n\n\n-- \nSe...
[ { "msg_contents": "Hi,\n\nas many before, I ran into the issue of a postgresql database (8.4.1)\n- committing many transactions\n- to huge volume tables (3-figure GB in size)\n- running the xid wrap vacuum (to freeze tuples)\n\nwhere the additional read IO load has negative impact to the extent of the\nsystem b...
[ { "msg_contents": "Hi,\n\nthe new fsync-pgdata-on-recovery code tries to open all files using\nO_RDWR. At least on 9.1, this can make recovery fail:\n\n* launch postgres, hit ^\\ (or otherwise shut down uncleanly)\n* touch foo; chmod 444 foo\n* launch postgres\n\nLOG: database system was interrupted; last know...
[ { "msg_contents": "Hi,\n\nmy compiler complains about overflow in xlog.c.\n\nThere is variable defined as char partialfname[MAXFNAMELEN]; but is used \nas snprintf(partialfname, MAXPGPATH, \"%s.partial\", origfname);\n\nThere is no practical issue as the actual filename length is never over \nMAXFNAMELEN even w...
[ { "msg_contents": "postgres_fdw supports ON CONFLICT DO NOTHING, provided no inference\nspecification is provided. Foreign tables do not have associated\nunique indexes (or exclusion constraints) as far as the optimizer is\nconcerned, and so Postgres does not accept an inference specification\nfor foreign table...
[ { "msg_contents": "\nBuildfarm members casteroides and protosciurus have been having some \nproblems that seem puzzling. These animals both run on the same machine, \nbut with different compilers.\n\ncasteroides runs with the Sun Studio 12 compiler, and has twice in the \nlast 3 days demonstrated this error:\n\...
[ { "msg_contents": "While trying to fix a largely unrelated bug, I noticed that the new\nbuild_tlist_index() call for the \"excluded\" targetlist (used by ON\nCONFLICT DO UPDATE queries) does not have its memory subsequently\nfreed by the caller. Since every other call to build_tlist_index()\ndoes this, and comm...
[ { "msg_contents": "> -----Original Message-----\n> Sent: Friday, May 15, 2015 8:44 AM\n> To: 'Tom Lane'; Kohei KaiGai\n> Cc: Robert Haas; Thom Brown; Shigeru Hanada; pgsql-hackers@postgreSQL.org\n> Subject: RE: Custom/Foreign-Join-APIs (Re: [HACKERS] [v9.5] Custom Plan API)\n> \n> > A possible compromise that w...
[ { "msg_contents": "Maybe it makes sense to add ability to store large objects in the same table space as the table. \nOr an opportunity - to specify table space for a large object.\nDo you have anything in todolists about it? \nThank's.\nPS\nit feature is  real  need\n-- \nAlex S\nMaybe it makes sense to add ab...
[ { "msg_contents": "Hi,\n\nI hope this is the best place to report this or should I be on\npgsql-general or pgsql-bugs?\n\n\nIt seems that the order of columns in a query can make a difference in\nexecution times.\n\nIn my brief investigation, queries on table(a,b,c,d,e,f,g,h) of the form\n\nselect * from table ...
[ { "msg_contents": "Hi,\n\nCommit f741300c90141ee274f19a13629ae03a9806b598 (\"Have multixact be truncated\nby checkpoint, not vacuum\") changed who truncates multixact. README.tuplock\nstill says VACUUM is in charge of the truncation. I think it's an oversight in\nupdating the README unless I am missing somethin...
[ { "msg_contents": "The following bug has been logged on the website:\n\nBug reference: 13350\nLogged by: Andrew Gierth\nEmail address: andrew@tao11.riddles.org.uk\nPostgreSQL version: 9.1.16\nOperating system: Debian (and probably others)\nDescription: \n\nThe addition of a recursive...
[ { "msg_contents": "When deciding whether to pop entries from the queue (line 191), the\ncomparison is done against scandesc->xs_orderbyvals, which as the comment\nstates are the last values physically returned by the index. I think this\nis wrong, or at least pretty inefficient, in the case that the last index...
[ { "msg_contents": "At Alvaro's suggestion, I'm forwarding my questions (see email thread\nfurther below) to this list.\n\nIn short, building of PL/Python has been disabled on OpenBSD since 2005.\nThe errors seen at the time (on OpenBSD and FreeBSD, both) may or may\nnot still be an issue with modern builds of P...
[ { "msg_contents": "Hackers,\n\nWe need to get a notice out to our users who might update their servers\nand get stuck behind the fsync bug. As such, I've prepared a FAQ.\nPlease read, correct and improve this FAQ so that it's fit for us to\nannounce to users as soon as possible:\n\nhttps://wiki.postgresql.org/...