threads
listlengths
1
2.99k
[ { "msg_contents": "Hi there,\n\n Refering to https://www.postgresql.org/message-id/1352742344.21373.4@mofo\n\n\n I'm running into situations where I'd need to bulk transfer of data\ntables across servers, but a drop and recreate schema isn't feasible\nas we are running different permissions etc. on the two data...
[ { "msg_contents": "Hi,\n\nAre we going to change synchronous_standby_names? Certainly the GUC is\nnot *only* a list of names anymore.\n\nsynchronous_standby_config?\nsynchronous_standbys (adjust to correct english if necesary)?\n\n-- \nJaime Casanova www.2ndQuadrant.com\nPostgreSQL Developm...
[ { "msg_contents": "Folks,\n\nWhile querying some JSONB blobs at work in preparation for a massive\nrework of the data infrastructure, I ran into things that really\npuzzled me, to wit:\n\nSELECT * FROM unnest('[\"a\",\"b\",\"c\"]'::jsonb);\nERROR: function unnest(jsonb) does not exist\n\nSELECT * FROM jsonb_ar...
[ { "msg_contents": "All,\n\nOven in the \"JSON[B] arrays are second-class citizens\" thread [1] I made\nthe observation that the only way to get a PostgreSQL array from a JSON\narray is via the \"elements->cast->array_agg\" chain. For JSON arrays that\nare homogeneous in nature the capability to go \"directly\"...
[ { "msg_contents": "Hi all,\n\nWhile hacking a background worker for Windows/Linux that is sending\nsignals to the Postmaster depending on the state of the server where\nPostgres is running (particularly after a certain size threshold is\nreached on the partition of PGDATA SIGINT is sent to PostmasterPid to\nhav...
[ { "msg_contents": "Hi,\n\n In PostgreSQL , does the order in which the criteria is given matter ??\nFor example\n\nQuery 1 : Select * from TABLE where a > 5 and b < 10;\n\nQuery 2 : Select * from TABLE where b <10 and a > 5;\n\nAre query 1 and query 2 the same in PostgreSQL or different ?? If its\ndifferent ...
[ { "msg_contents": "Hi\r\n\r\nWhen I tested some queries, I found strange plan\r\n\r\npostgres=# explain analyze select s.nazev, o.nazev, o.pocet_obyvatel from\r\n(select nazev, array(select id from obce_pocet_obyvatel where okresy.id =\r\nokres_id order by pocet_obyvatel desc limit 3) as obceids from okresy) s\...
[ { "msg_contents": "I wonder why domain types can not be used for specification of array \nelement:\n\ncreate domain objref as bigint;\ncreate table foo(x objref[]);\nERROR: type \"objref[]\" does not exist\ncreate table foo(x bigint[]);\nCREATE TABLE\n\nIs there some principle problem here or it is just not im...
[ { "msg_contents": "While testing parallel dump/restore over the past few days, I noticed that\nit seemed to do an awful lot of duplicative SET commands, which I traced\nto the fact that restore was doing _doSetFixedOutputState(AH) in the wrong\nplace, ie, once per TOC entry not once per worker. Another thing t...
[ { "msg_contents": "Hi\n\nFollowing along with a btree bug report, I saw a typo \"referencd\" in a\ncomment. Also \"we've\" seems a bit odd here, but maybe it's just me.\nMaybe it should be like this?\n\n--- a/src/include/access/nbtree.h\n+++ b/src/include/access/nbtree.h\n@@ -522,7 +522,7 @@ typedef struct BTS...
[ { "msg_contents": "Hello.\n\nAfter a process termination without PQfinish() of a client,\nserver emits the following log message not seen on Linux boxes.\n\n> LOG: could not receive data from client: An existing connection was forcibly closed by the remote host.\n\nThis is because pgwin32_recv reuturns an erro...
[ { "msg_contents": "I was just trying out a new (well, new to me...) machine here. It\nhappens that the version of Linux installed is 3.2.78. Apparently the\ncurrent version on this branch is 3.2.80 released a couple months ago\nand I don't see any relevant changes in .79 or .80 so I think this is\nactually like...
[ { "msg_contents": "\nHi,\n\nthe TESTING file in src/bin/pg_upgrade talks about a \"check.sh script\", \nbut this seems to be a binary (check) now.\n\n\nRegards,\n\n-- \n\t\t\t\tAndreas 'ads' Scherbaum\nGerman PostgreSQL User Group\nEuropean PostgreSQL User Group - Board of Directors\nVolunteer Regional Contact,...
[ { "msg_contents": "We have to add three more functions to eXtensible Transaction Manager API (XTM):\n\n /*\n * Calculate transaction state size. This method is invoked by EstimateTransactionStateSpace to copy transaction\n * state to parallel workers\n */\n size_t (*GetTransactionSta...
[ { "msg_contents": "A while back, there was a push to make COPY gzip-aware. That didn't happen,\nbut COPY FROM PROGRAM did, and it scratches the same itch.\n\nI have a similar need, but with file_fdw foreign tables. I have .csv.gz\nfiles downloaded to the server, but those CSVs have 100+ columns in them,\nand in...
[ { "msg_contents": "In Postgres 9.2 we improved the logic of when generic plans are used by\nEXECUTE. We weren't sure how well it would work, and the docs included\na vague description on when generic plans are chosen.\n\nI have gotten a few questions lately about how prepared statements are\nhandled with multi...
[ { "msg_contents": "Hi there-\n\nI've attached a small patch exposing HS_COUNT to the user as\n\"hstore_length(hstore)\". Documentation, upgrade sql files, and a few\ntests are also included.\n\nAlmost every hstore function calls HS_COUNT, but I couldn't determine\nif there was a reason this exposure didn't alre...
[ { "msg_contents": "...or at least according to the warning message:\n\npostgres=# CREATE EXTENSION chkpass ;\nWARNING: type input function chkpass_in should not be volatile\n\nThom\n\n...or at least according to the warning message:postgres=# CREATE EXTENSION chkpass ;WARNING:  type input function chkpass_in s...
[ { "msg_contents": "Hi,\n\nIf a database with the bloom extension installed is dumped and restored,\nthere's an error with the access method creation:\n\ncreatedb bloomtest\npsql -c 'CREATE EXTENSION bloom;' bloomtest\npg_dump -d bloomtest > ~/tmp/bloom.sql\ncreatedb bloomtest2\npsql -d bloomtest2 -f ~/tmp/bloom...
[ { "msg_contents": "Hi! I've changed limits of the length option in the \"Introduction\" section. \nThey should be 1 ≤ colN ≤ 2048 instead of 1 < colN < 2048 (I've talk with the \nauthor about it)\n\nI've also added minimal maximum and default values for description of options \nin the \"Parameters\" section, be...
[ { "msg_contents": "Folks,\n\nWhile constructing a somewhat hairy query with HAVING in it, I noticed\nthat a lot of operators don't have negators, which would have been\nconvenient for the class of queries I was constructing. Further\ninvestigation showed that while 380 of the built-in operators had\nnegators, ...
[ { "msg_contents": "Hi,\n\nWe noticed on PostgreSQL 9.5.3 that the number of parentheses in check\nconstraints expressions\nvary depending on the setting of operator_precedence_warning.\n\n-- The following reproduces this issue which we first saw by restoring\ninto 9.5.3 a 9.4.8 dump\non two servers which had di...
[ { "msg_contents": "Something I've noticed frequently is that HashAggregate will, especially if the children are Append with one of the nodes a non-seqscan, estimate 200 rows rather than a calculated vlaue. Where is that value coming from? The statistics target, a hardwired constant, or something else?\n--\n--...
[ { "msg_contents": "This is a branch of the discussion in\nhttps://www.postgresql.org/message-id/flat/20160429102531.GA13701%40huehner.biz\nbut I'm starting a new thread as the original title is getting\nincreasingly off-topic.\n\nI complained in that thread that the FK join selectivity patch had a\nvery brute-f...
[ { "msg_contents": "Creating some foreign tables via postgres_fdw in the regression db of\nmaster as of de33af8, sqlsmith triggers the following assertion:\n\n TRAP: FailedAssertion(\"!(((((const Node*)(var))->type) == T_Var))\", File: \"deparse.c\", Line: 1116)\n\ngdb says var is holding a T_PlaceHolderVar i...
[ { "msg_contents": "I'm pretty sure this is a typo...\n-- \nJim Nasby, Data Architect, Blue Treble Consulting, Austin TX\nExperts in Analytics, Data Architecture and PostgreSQL\nData in Trouble? Get it in Treble! http://BlueTreble.com\n855-TREBLE2 (855-873-2532) mobile: 512-569-9461\n\n\n\n-- \nSent via pgsql-...
[ { "msg_contents": "Hi\n\nThe manual[1] says \"Technically,PostgreSQL uses UT1 rather than UTC\nbecause leap seconds are not handled.\" I'm certainly no expert on\nthis stuff but it seems to me that we are using POSIX time[2] or Unix\ntime, not UT1.\n\nBy my reading, UT1 is one of several time scales of interes...
[ { "msg_contents": "Hi all,\n\nWith a low value of work_mem, like 1MB, I am noticing that the new\npsql_crosstab is generating a couple of diffs with installcheck\n(tested only on OSX 10.11):\n***************\n*** 127,134 ****\n \\crosstabview v h i\n v | h0 | h1 | h2 | h4 | #null#\n ----+--------+----...
[ { "msg_contents": "Hi\n\nIs there any option in PGPLSQL which can RETURNS table or SETOF rows along\nwith an OUT parameter?\n\nplease\n\nThanks\nSridhar\nOpenText\n\nHiIs there any option in PGPLSQL which can RETURNS table or SETOF rows along with an OUT parameter?pleaseThanksSridharOpenText", "msg_date": "...
[ { "msg_contents": "Hi.\n\nI'm routinely bulk inserting data to a PostgreSQL table and then \nanalyzing a single column of the table, because it contains data which \nsignificantly changes histogram of this column values - for example \nsomething like adding rows with \"todo=true\" column, when all rows before \...
[ { "msg_contents": "Hi all,\n\nI found that the tab completion for USER MAPPING doesn't work fine.\nFor example,\n\nThe below is no problem.\npostgres=# create user[TAB]\nuser user mapping for\n\nBut this doesn't work fine. (Note that there is a white space between\n'user' and [TAB])\npostgres=# cre...
[ { "msg_contents": "Hello!\n\nWhy we don't have checksums on clog files.\n\nWe have checksum on pg_control, optional checksumming on data files, \nsome form of checksumming on wal's. But why we don't have any \nchecksumming on clogs. Corruptions on clogs lead to transaction \nvisisbility problems and database co...
[ { "msg_contents": "Thanks for the review, Fabrízio.\n\nAttached is the updated patch, rebased and tested against master.\n\nI integrated feedback from your first point and am no longer\nHS_POLLUTE'ing the namespace for the new function.\n\nWith regards to your second point- I've been maintaining consistency\nwi...
[ { "msg_contents": "There appears to be a problem with how client encoding is handled in the \ncommunication from parallel workers. In a parallel worker, the client \nencoding setting is inherited from its creating process as part of the \nGUC setup. So any plain-text stuff the parallel worker sends to its \nl...
[ { "msg_contents": "Hi\n\nI am testing speed of connection to Postgres.\n\nThe ssl connection is slower, and it is expected. But when I configure\npg_hba.conf to disable ssl via hostnossl, then ssl is not used, but the\nspeed is similar to ssl.\n\nIs it expected behave?\n\nRegards\n\nPavel\n\nHiI am testing spee...
[ { "msg_contents": "Hi all,\n\nI have been working on data-at-rest encryption support for PostgreSQL.\nIn my experience this is a common request that customers make. The\nshort of the feature is that all PostgreSQL data files are encrypted\nwith a single master key and are decrypted when read from the OS. It\ndo...
[ { "msg_contents": "Hi,\n\nI wanted to test if phraseto_tsquery(), new with 9.6 could be used for\nmatching consecutive words but it won't work for us if it cannot handle\nconsecutive *duplicate* words.\n\nFor example, the following returns true: select\nphraseto_tsquery('simple', 'blue blue') @@ to_tsvector(...
[ { "msg_contents": "Attached fixes a typo:\n\ns/PG_ALL_VISIBLE/PD_ALL_VISIBLE/g\n\nThanks,\nAmit\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\n", "msg_date": "Wed, 8 Jun 2016 09:38:05 ...
[ { "msg_contents": "Hi,\n\nI'm researching the synchronous replication. I see the backend of the\nPrimary Server calls SyncRepWaitForLSN() to wait for the Standby Server to\nwrite the WAL records.\n\nIf some thing happens, such as network failure or disk failure, causes the\nStandby Server fail to receive WAL re...
[ { "msg_contents": "It appears that the new <-> operator has been made to have exactly the\nsame grammatical precedence as the existing & (AND) operator. Thus,\nfor example, 'a & b <-> c'::tsquery means something different from\n'b <-> c & a'::tsquery:\n\nregression=# select 'a & b <-> c'::tsquery;\n ...
[ { "msg_contents": "As part of my research on the parsing/planning behavior of PREPARE, I\nfound a surprising behavior --- a WHERE clause that is 50% restrictive\nis using an index. I thought only <10% restrictions used indexes. To\nsetup the test:\n\n\tDROP TABLE IF EXISTS test;\n\tCREATE TABLE test (c1 INT, ...
[ { "msg_contents": "Hello, I found that pg_basebackup from a replication standby\nfails after the following steps, on 9.3 and the master.\n\n- start a replication master\n- start a replication standby\n- stop the master in the mode other than immediate.\n\npg_basebackup to the standby will fail with the followin...
[ { "msg_contents": "Don't generate parallel paths for rels with parallel-restricted outputs.\n\nSuch paths are unsafe. To make it cheaper to detect when this case\napplies, track whether a relation's default PathTarget contains any\nnon-Vars. In most cases, the answer will be no, which enables us to\ndetermine...
[ { "msg_contents": "Hi\n\nIs there any feature in PostgreSQL where online DW (Dataware housing) is\npossible ?\n\nam looking for scenario like\n\n1. Production DB will have CURRENT + LAST 7 DAYS data only\n\n2. Archive/DW DB will have CURRENT + COMPLETE HISTORY\n\nexpecting something like streaming, but not ETL\...
[ { "msg_contents": "Update pg_stat_statements extension for parallel query.\n\nAll functions provided by this extension are PARALLEL SAFE. Given the\ngeneral prohibition against write operations in parallel queries, it is\nperhaps a bit surprising that pg_stat_statements_reset() is parallel safe.\nBut since it ...
[ { "msg_contents": "Hi all,\n\nWhen recovery_target_time is set, but recovery finishes before it reaches\nthat time, it outputs \"before 2000-01-01 00:00:00+00\" to the .history\nfile. This is because it uses recoveryStopTime, which is initialised to 0,\nbut is never set, and is then passed to timestamptz_to_st...
[ { "msg_contents": "Hello.\nIn po.ko (korean message) at psql \n#: command.c:2971\n#, c-format\nmsgid \"Watch every %lds\\t%s\"\nmsgstr \"%ld초 간격으로 지켜보기\\t%s\"\n\nthis message string is a cut string, because buffer size is small.\nAt line 2946 in src/bin/psql/command.c \nchar title[50];\n\nsize of mes...
[ { "msg_contents": "Hi,\r\n\r\nWhat is going on here?\r\n\r\npostgres=# create table logs as select generate_series(1,\r\n1000000)::text as data;\r\nSELECT 1000000\r\npostgres=# insert into logs select * from logs;\r\nINSERT 0 1000000\r\npostgres=# insert into logs select * from logs;\r\nINSERT 0 2000000\r\npost...
[ { "msg_contents": "Hi\n\nThere are lot of useful queries (views), that are on our wiki. Some queries\nare necessary for maintenance, and I am thinking these queries should be\nintegrated part of Postgres.\n\nMainly queries for detecting table bloat, index bloat, But some queries\nover pg_locks should be useful ...
[ { "msg_contents": "Hi,\n\nIt's look like bug in to_timestamp() function when format string has more whitespaces compare to input string, see below: \n\nEx.1: Two white spaces before HH24 whereas one before input time string\n\npostgres=# SELECT TO_TIMESTAMP('2016-06-13 15:43:36', 'YYYY/MM/DD HH24:MI:SS');\nto_...
[ { "msg_contents": "Is it expected that IsUnderPostmaster is true during postmaster startup\nin an extension's _PG_init() when preloading under Windows? On Linux it\nis false at this point AFAICT.\n\nThanks,\n\nJoe\n\n-- \nCrunchy Data - http://crunchydata.com\nPostgreSQL Support for Secure Enterprises\nConsulti...
[ { "msg_contents": "Hi all,\n\nI have a data store where tuples have unique identities that normally are not visible.\nI also have a FDW to work with this data store. As per the docs to implement updates\nfor this data store I have AddForeignUpdateTargets() function that adds an artificial\ncolumn to the target ...
[ { "msg_contents": "Hi,\n\nI do not think that extension SQL scripts should be using CREATE OR \nREPLACE FUNCTION like bloom--1.0.sql currently does. I suspect that this \nmight just be a typo.\n\nI have attached the tiny patch which fixes this.\n\nAndreas\n\n\n\n-- \nSent via pgsql-hackers mailing list (pgsql-h...
[ { "msg_contents": "Hi,\n\nI was working on a PgQ installation and found something odd which I'd\nlike to see if others here have bumped into regarding using pg_dump on a\ndatabase that has the pgq schema created by the extension.\n\nIf PgQ is installed as an extension (by executing CREATE EXTENSION pgq)\nall th...
[ { "msg_contents": "Digging through the sqlsmith logging db, I noticed the following errors:\n\n ERROR: cannot update SecondarySnapshot during a parallel operation\n ERROR: cannot assign XIDs during a parallel operation\n\nQueries raising the first one always contain calls to currtid() or\ncurrtid2(). Q...
[ { "msg_contents": "Amit Langote is working on supporting declarative partitioning in\nPostgreSQL [1]. I have started working on supporting partition-wise join.\nThis mail describes very high level design and some insight into the\nperformance improvements.\n\nAn equi-join between two partitioned tables can be b...
[ { "msg_contents": "Hi all,\n\nA couple of months back the $subject has been mentioned, though nobody\nactually wrote a patch to prevent that:\nhttp://www.postgresql.org/message-id/21633.1448383428@sss.pgh.pa.us\nSo here is one..\n\nTo put it short, it should not be possible to drop a NOT NULL\nconstraint on a c...
[ { "msg_contents": "Currently pg_dump doesn't turn off idle_in_transaction_session_timeout.\n\nOkay, the window of failure here is very narrow (on my machine it breaks\nwith an insane setting of 1ms only), but for the sake of reliable backups\nand protection against over motivated DBA it looks better to me to tu...
[ { "msg_contents": "Not sure if this was discussed in the past and decided it does not belong\nto pg_isready utility....\n\nI am using pg_isready in dockerized development environment as part of\ndocker-compose. Simply say I have POSTGRES container and APP container. I\nuse pg_isready inside app container and wa...
[ { "msg_contents": "Right now, the optimizer chooses the path with the cheapest cost.\n\nHowever, do we take into account the behavior of the plan in handling\nmis-estimated row counts? For example, if a path has a log(n) behavior\nfor changes in the row count, and another plan that is slightly cheaper\nhas a l...
[ { "msg_contents": "[ Changing subject line in the hopes of keeping separate issues in\nseparate threads. ]\n\nOn Mon, Jun 6, 2016 at 11:00 AM, Tom Lane <tgl@sss.pgh.pa.us> wrote:\n> Robert Haas <robertmhaas@gmail.com> writes:\n>> I'm intuitively sympathetic to the idea that we should have an option\n>> for this...
[ { "msg_contents": "Hi!\n\nI've looked at the way libpq handles TLS certificates and plaintext fallback, and I am somewhat surprised.\n\nThe default ssmode is prefer. According to the documentation, this will make libpq use an SSL connection if possible, but will use a plain text connection as a fallback. The ce...
[ { "msg_contents": "Shouldn't pg_upgrade turn off vacuum cost delay when it vacuums the new\ncluster? Not talking about the post-analyze script, but when it runs\nvacuumdb to analyze and freeze before loading the new schema, in\nprepare_new_cluster()? Those run during downtime, so it seems like you'd\nwant those...
[ { "msg_contents": "As of HEAD you can exercise quite a lot of parallel query behavior\nby running the regression tests with these settings applied:\n\nforce_parallel_mode = regress\nmax_parallel_workers_per_gather = 2 -- this is default at the moment\nmin_parallel_relation_size = 0\nparallel_setup_cost = 0\n...
[ { "msg_contents": "I believe I've narrowed down the cause of this failure [1]:\n\nregression=# explain SELECT min(col) FROM enumtest;\nERROR: type matched to anyenum is not an enum type: anyenum\n\nThe core reason for this seems to be that apply_partialaggref_adjustment\nfails to consider the possibility that ...
[ { "msg_contents": "Hi,\n\nOne of the popular queries in financial analytic systems is to calculate \nsome moving aggregate within some time interval, i.e. moving average of \ntrade price within 5 minutes window. Unfortunately this case is not \nsupported by PostgreSQL:\n\nselect symbol,date,avg(price) over (ord...
[ { "msg_contents": "Hi all,\n\nI have some very experimental code to enable dynamic memory allocation\nof shared memory for postgresql backend processes. The source code in\nthe repository is not complete yet. Moreover it is not immediately\nuseful by itself. However it might serve as the basis to implement\nhig...
[ { "msg_contents": "Try again to fix the way the scanjoin_target is used with partial paths.\n\nCommit 04ae11f62e643e07c411c4935ea6af46cb112aa9 removed some broken\ncode to apply the scan/join target to partial paths, but its theory\nthat this processing step is totally unnecessary turns out to be wrong.\nPut si...
[ { "msg_contents": "While fixing the recent unpleasantness over parallel polymorphic\naggregates, I discovered that count_agg_clauses_walker's consideration\nof an aggregate argument's typmod in estimating transition space\nconsumption has been broken since commit 34d26872e (which changed\nAggref.args from a sim...
[ { "msg_contents": "Hi hackers,\n\nSeveral times now when reading, debugging and writing code I've wished\nthat LWLockHeldByMe assertions specified the expected mode, especially\nwhere exclusive locking is required.\n\nWhat do you think about something like the attached? See also an\nexample of use. I will add...
[ { "msg_contents": "The following bug has been logged on the website:\n\nBug reference: 14199\nLogged by: Maksym Sobolyev\nEmail address: sobomax@freebsd.org\nPostgreSQL version: 9.1.22\nOperating system: FreeBSD 10.3-RELEASE amd64\nDescription: \n\nThere is a problem with pg_ctl when...
[ { "msg_contents": "In \"8.13.2. Encoding Handling\"\n\n <para>\n When using binary mode to pass query parameters to the server\n and query results back to the client, no character set conversion\n is performed, so the situation is different. In this case, an\n encoding declaration in the XML data...
[ { "msg_contents": "As of HEAD it is possible to get through all of our regression tests\nwith these settings:\n\nalter system set force_parallel_mode = regress;\nalter system set max_parallel_workers_per_gather = 2;\nalter system set parallel_tuple_cost = 0;\nalter system set parallel_setup_cost = 0;\nalter sys...
[ { "msg_contents": "Hi,\n\n~$ cat upgrade.sh\n#!/bin/bash\n\n/usr/lib/postgresql/9.3/bin/pg_upgrade \\\n -b /usr/lib/postgresql/9.1/bin/ \\\n -B /usr/lib/postgresql/9.3/bin/ \\\n -d /var/lib/postgresql/9.1/main \\\n -D /var/lib/postgresql/9.3/main \\\n -o ' -c config_file=/etc/postgresql/9.1/main/postgr...
[ { "msg_contents": "Hi all,\n\nThe new pg_stat_wal_receiver does not include primary_conninfo.\nLooking at that now, it looks almost stupid not to include it...\nAdding it now would require a catalog bump, so I am not sure if this\nis acceptable at this stage for 9.6...\n\nRegards,\n-- \nMichael\n\n\n-- \nSent v...
[ { "msg_contents": "Hi all,\n\nMy colleague noticed that the output of EXPLAIN ANALYZE doesn't work\nfine for parallel seq scan.\n\npostgres(1)=# explain analyze verbose select count(*) from pgbench_accounts ;\n QUERY PLAN\n--------------------------------------...
[ { "msg_contents": "Hi,\n\nHere is a small patch to remove an unnecessary return from \ndeparseFromExprForRel in contrib/postgres_fdw/deparse.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.postg...
[ { "msg_contents": "Thanks for the response Magnus.\nI've replied inline below.\n\nOn Mon, Jun 20, 2016 at 4:17 AM, Magnus Hagander <magnus@hagander.net>\nwrote:\n\n> On Mon, Jun 13, 2016 at 6:59 PM, Alex Malek <magicagent@gmail.com> wrote:\n>\n>>\n>> I am experiencing two problems\n>> 1) pg_stop_backup hangs un...
[ { "msg_contents": "I have just noticed that when I added the pager_min_lines psetting to \npsql in 9.5, I omitted to add it to the relevant piece of \ntab-complete.c. If no-one objects I propose to remedy that shortly and \nbackpatch it.\n\ncheers\n\nandrew\n\n\n-- \nSent via pgsql-hackers mailing list (pgsql-h...
[ { "msg_contents": "Just had a parallel worker of a memory-starved instance of sqlsmith\ncrash. plpgsql_extra_checks_check_hook forgot to check the result of\nits malloc call here:\n\nCore was generated by `postgres: bgworker: parallel worker for PID 5905 '.\nProgram terminated with signal SI...
[ { "msg_contents": "Videos from the 7th annual HITB Security Conference are being released\nthis week!\n\nHITBSecConf Youtube channel: http://youtube.com/hitbsecconf\n\nTalks from the #HITB2016AMS CommSec track have already been uploaded and\nlinked to their individual presentations:\n\nhttp://conference.hitb.or...
[ { "msg_contents": "Hi all,\n\nWhile auditing the code, I got surprised that there are a couple of\ncode paths that do nothing for this error handling:\n- pg_regress and isolationtester use malloc extensively, in case of\nfailure those would just crash crash. I think that it matters for\nbuildfarm members that a...
[ { "msg_contents": "Below query returns the wrong result when join getting pushdown to the\nremote\nserver.\n\n(PFA fdw_setup.sql, to create objects for the test)\n\npostgres=# select e, e.empno, d.deptno, d.dname from f_emp e left join\nf_dept d on e.deptno = d.deptno and e.sal > 3000 order by 2, 3 limit 10;\n ...
[ { "msg_contents": "Hi,\n\nI faced a coredump when reading the value of the parameter\n\"external_pid_file\" when it was not initialized in postgresql.conf\nThis came from the value not being specified to be initialized to en empty\nstring in guc.c in the ConfigureNamesString array.\nthe behavior can easily been...
[ { "msg_contents": "Currently creating an index on an array of UUID involves defining an\noperator class. I was wondering if this would be a valid request to add as\npart of the uuid-ossp extension? This seems like a reasonable operator to\nsupport as a default for UUIDs. Any downsides to adding this as a defaul...
[ { "msg_contents": "Hello hackers,\r\n\r\nObserve the following test case (apologies if this is a well\r\nunderstood problem):\r\n\r\ncreate temp table foo as select generate_series(1,1000000) id;\r\ncreate index on foo(id);\r\n\r\ncreate temp table bar as select id, id % 100000 = 0 as good from\r\ngenerate_seri...
[ { "msg_contents": "Hi,\n\nDuring several profile runs I've seen the division in\n\tif (action == HASH_ENTER || action == HASH_ENTER_NULL)\n\t{\n\t\t/*\n\t\t * Can't split if running in partitioned mode, nor if frozen, nor if\n\t\t * table is the subject of any active hash_seq_search scans. Strange\n\t\t * orde...
[ { "msg_contents": "Hello,\n\nI have one Primary server and one Standby server. They are doing streaming\nreplication well.\n\nI did some testing. I broke the network connection between them for a few\nminutes, and then restored the network. I found the both the WAL sender and\nWAL receiver were stopped and the...
[ { "msg_contents": "Hi,\n\nWhile looking at the module I found two mistakes in the docs:\npg_visibility_map and pg_visibility *not* taking in input a block\nnumber are SRFs, and return a set of records. The documentation is\njust listing them with \"returns record\". A patch is attached.\nThanks,\n-- \nMichael\n...
[ { "msg_contents": "Hi all,\n\nBy commit 428b1d6b, function WritebackContextInit is added but the\ncomment of this function seems to be incorrect.\n*max_coalesce variable doesn't exist at anywhere.\nAlso, I think it should be fixed that the argument name of this\nfunction does not match function declare in buf_i...
[ { "msg_contents": "Hi all\n\nWhile writing some code that takes a connstring and adds some parameters, I\nnoticed that PQconninfoParse doesn't play well with PQconnectdbParams.\n\nPQconnectdbParams takes a pair of equal-length arrays, one for keys and one\nfor values, each terminated by null elements. But PQco...
[ { "msg_contents": "Hi all,\n\nI’d like to pitch the idea of supporting “dead letter”-savepoints, similar to the way you have “dead letter”-exchanges in message-queue systems, etc. The idea is basically that a client can publish a message, but in such a away that it only ever actually gets published if the clie...
[ { "msg_contents": "Hi all,\n\n I am having jsonb as C character string received by WAL decoding and want to extract all its key and value pairs. \n \n \n Which is the best approach for extracting keys and its values? \n \n i) Converting the C string to a PostgreSQL jsonb object\n ii) Using open-s...
[ { "msg_contents": "I really dislike this aspect of the partial-aggregate patch:\n\ntypedef struct Agg\n{\n ...\n bool combineStates; /* input tuples contain transition states */\n bool finalizeAggs; /* should we call the finalfn on agg states? */\n bool serialStates; /* sho...
[ { "msg_contents": "On Tue, Apr 26, 2016 at 2:40:49PM -0700, David Fetter wrote:\n> Should we see about making a more flexible serialization\n> infrastructure? What we have is mostly /ad hoc/, and has already\n> caused real pain to the PostGIS folks, this even after some pretty\n> significant and successful eff...
[ { "msg_contents": "On Fri, Jun 24, 2016 at 2:14 AM, Umair Shahid <umair.shahid@2ndquadrant.com>\nwrote:\n\n>\n> ---------- Forwarded message ----------\n> From: Tom Lane <tgl@sss.pgh.pa.us>\n> Date: Thu, Jun 23, 2016 at 9:32 PM\n> Subject: Re: [pgsql-packagers] PG 9.6beta2 tarballs are ready\n> To: Magnus Hagan...
[ { "msg_contents": "Hey,\n\nSo this came across my twitter feed:\n\nhttps://pbs.twimg.com/media/ClqIJtmXEAA5IGt.png\n\nI have verified the oddness with a newer version:\n\npsql -U postgres\npsql (9.5.3)\nType \"help\" for help.\n\npostgres=# create domain text char(3);\nCREATE DOMAIN\npostgres=# create domain te...
[ { "msg_contents": "Commit 9f03ca915 removed the only COPYTUP() call that could reach\ncopytup_index() in practice, making copytup_index() dead code.\n\nThe attached patch removes this dead code, in line with the existing\ncopytup_datum() case, where tuplesort.c also doesn't directly support\nCOPYTUP() (due to s...
[ { "msg_contents": "On Fri, Jun 24, 2016 at 11:21 AM, Craig Ringer\n<craig(at)2ndquadrant(dot)com> wrote:\n\n>> I was helping Haroon with this last night. I don't have access to the\n>> original thread and he's not around so I don't know how much he said.\nI'll\n>> repeat our findings here.\n\nCraig, I am around...
[ { "msg_contents": "Seems there's a small error in the upgrade script for citext for 1.1\nto 1.2 which will cause min(citext) not to be parallel enabled.\n\nmax(citext)'s combinefunc is first set incorrectly, but then updated\nto the correct value. I assume it was meant to set the combine\nfunction for min(citex...