threads
listlengths
1
2.99k
[ { "msg_contents": "Hi,\n\nIs there any distinctive state that could be checked by extension code\nto determine that it has been loaded incidentally during the operation\nof pg_upgrade rather than under normal conditions?\n\nPL/Java ordinarily checks what version of its schema is around, but\nthat may be prematu...
[ { "msg_contents": "Hello,\n\n\nWhen creating an extension upgrade sql script, because the function does not have the same parameter names and/or parameters type and/or the result types changes, there is the need to drop the function because otherwise the CREATE OR REPLACE of the new signature will fail.\n\n\nSo...
[ { "msg_contents": "Hi all,\n\nIn builds where USE_ASSERT_CHECKING is not enabled, costsize.c can\ngenerate warnings. Here is for example with MSVC:\n src/backend/optimizer/path/costsize.c(4520): warning C4101: 'rte' : unreferen\nced local variable [C:\\Users\\ioltas\\git\\postgres\\postgres.vcxproj]\n src/bac...
[ { "msg_contents": "Hi all,\n\nThere is still one open item pending for SCRAM that has not been\ntreated which is mentioned here:\nhttps://www.postgresql.org/message-id/b081887e-1712-3aa4-7dbe-e012333d50e4@iki.fi\n\nWhen doing an authentication with SASL, the server decides what is the\nmechanism that the client...
[ { "msg_contents": "Hi\n\nI am still little bit unhappy with missing functionality in our generic\ntypes.\n\nIf I write function fx(anyelement, anyelement) returns anyelement\n\npostgres=# create or replace function fx(anyelement, anyelement) returns\nanyelement\nas $$ select greather($1,$2) $$ language sql;\nCR...
[ { "msg_contents": "This is a new version of the patch I presented in [1]. A new thread seems\nappropriate because the current version can aggregate both base relations and\njoins, so the original subject would no longer match.\n\nThere's still work to do but I'd consider the patch complete in terms of\nconcept....
[ { "msg_contents": "While analyzing the coverage for the prefetching part, I found an\nissue that prefetch_pages were not updated properly while executing in\nparallel mode.\n\nAttached patch fixes the same.\n\n-- \nRegards,\nDilip Kumar\nEnterpriseDB: http://www.enterprisedb.com\n\n\n\n-- \nSent via pgsql-hacke...
[ { "msg_contents": "After some discussions about what could be useful since psql scripts now \naccepts tests, this patch sets a few variables which can be used by psql \nafter a \"front door\" (i.e. actually typed by the user) query:\n\n - RESULT_STATUS: the status of the query\n - ERROR: whether the query fai...
[ { "msg_contents": "Hi,\n\nAndres nagged to me about valgrind runs taking much longer since \n9fab40ad introduced the SlabContext into reorderbuffer.c. And by \n\"longer\" I mean hours instead of minutes.\n\nAfter a bit of investigation I stumbled on this line in slab.c:\n\n VALGRIND_MAKE_MEM_DEFINED(chunk, Sl...
[ { "msg_contents": "Hi,\n\nPostgresMain() has the following blurb for fastpath functions:\n\n\t\t\t\t/*\n\t\t\t\t * Note: we may at this point be inside an aborted\n\t\t\t\t * transaction. We can't throw error for that until we've\n\t\t\t\t * finished reading the function-call message, so\n\t\t\t\t * HandleFunc...
[ { "msg_contents": "Hi,\n\nBoth launcher and worker don't handle SIGHUP signal and cannot\nreload the configuration. I think that this is a bug. Will add this as\nan open item barring objection.\n\nRegards,\n\n-- \nFujii Masao\n\n\n-- \nSent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)\nTo make ...
[ { "msg_contents": "Collect and use multi-column dependency stats\n\nFollow on patch in the multi-variate statistics patch series.\n\nCREATE STATISTICS s1 WITH (dependencies) ON (a, b) FROM t;\nANALYZE;\nwill collect dependency stats on (a, b) and then use the measured\ndependency in subsequent query planning.\n...
[ { "msg_contents": "Hi\n\nOn our servers, we are running different PostgreSQL versions because we can \nnot migrate every application at the same time to Pg 9.6…\nSince we have several disks, we use tablespaces and, for historical reasons, \nwe used the same folder for both Pg versions, say /mnt/ssd/postgres\nTh...
[ { "msg_contents": "Hi all,\n\nWhile testing table sync worker for logical replication I noticed that\nif the table sync worker of logical replication failed to insert the\ndata for whatever reason, the table sync worker process exits with\nerror. And then the main apply worker launches the table sync worker\nag...
[ { "msg_contents": "Hello,\n\nI noticed by the following report, PostgreSQL can share the same\ndirectory as tablespaces of two servers with different\npg-versions.\n\nhttps://www.postgresql.org/message-id/2008148.rxBNyNRHPZ@peanuts2\n\n8.4 checked that the tablespace location is empty, but from 9.0,\nthe check ...
[ { "msg_contents": "========\nExample:\n========\n\nFind different people using the same website at the same time:\n\ncreate table session(sessionid text, username text, during tstzrange);\nSELECT s1.username, s2.username, s1.during * s2.during\n FROM session s1, session s2\n WHERE s1.during && s2.during AND s...
[ { "msg_contents": "Hi,\nIn ExecEvalConvertRowtype(), if the input row doesn't require any\nconversion, we simply return that row as is.\n2820 /*\n2821 * No-op if no conversion needed (not clear this can happen here).\n2822 */\n2823 if (op->d.convert_rowtype.map == NULL)\n2824 return;\n...
[ { "msg_contents": "Hi,\nIn relation_excluded_by_constraints(), we do not apply constraint\nexclusion if rte->inh is true.\n\n /* Only plain relations have constraints */\n if (rte->rtekind != RTE_RELATION || rte->inh)\n return false;\n\nThus every partitioned table will not benefit from the constra...
[ { "msg_contents": "Hello. I found dubious behavior while playing with logical\nreplication.\n\nWhen we disable a subscription, replication worker immediately stops.\n\n=# ALTER SUBSCRIPTION s1 DISABLE;\n\nOn the other hand even if we enable a subscription, worker\ndoesn't start immediately. It takes 3 minutes i...
[ { "msg_contents": "Peter,\n\nCan you perhaps initialize the variable 'address' to suppress the warning? Thanks.\n\nMark Dilger\n\ntablecmds.c:5984:6: warning: variable 'address' is used uninitialized whenever 'if' condition is false [-Wsometimes-uninitialized]\n if (generatedEl)\n ^~~~~~~~~~~...
[ { "msg_contents": "apologies if someone has already reported this.\n\nsteps to reproduce.\n\ninstall PG10 rpms.\n\ncreate table.\n\nusing psql 10 \\d the table.\n\nnote the error below.\n\n\n\nm=# create table mytable (myid serial, mytext text);\nCREATE TABLE\nm=# \\d mytable\nERROR: relation \"pg_catalog.pg_s...
[ { "msg_contents": "I'm a little confused on why a SELECT policy fires against the NEW record\nfor an UPDATE when using multiple FOR policies. The ALL policy doesn't seem\nto have that restriction.\n\n\nDROP TABLE IF EXISTS t;\n\nCREATE USER simple;\nCREATE USER split;\nCREATE TABLE t(value int);\ngrant select, ...
[ { "msg_contents": "Increase parallel bitmap scan test coverage.\n\nAuthor: Dilip Kumar\nDiscussion: https://postgr.es/m/20170331184603.qcp7t4md5bzxbx32@alap3.anarazel.de\n\nBranch\n------\nmaster\n\nDetails\n-------\nhttp://git.postgresql.org/pg/commitdiff/5a5931533edd2b70bde1f069609f58998dd26fef\n\nModified Fi...
[ { "msg_contents": "The attached patch updates the hot-standby documentation (in the high\navailability section) so it explicitly mentions that certain settings\nneed to be applied to servers in a particular order. For example, it\nstates that if you increase a certain setting (e.g. max_connections) you\nneed to...
[ { "msg_contents": "Hi,\n\nI personally, and I know of a bunch of other regular contributors, find\ncontext diffs very hard to read. Besides general dislike, for things\nlike regression test output context diffs are just not well suited.\nE.g. in\nhttps://buildfarm.postgresql.org/cgi-bin/show_stage_log.pl?nm=pr...
[ { "msg_contents": "I am seeing the database fail to restart after a crash during the\nregression tests, due to a divide-by-zero fault in BRIN wal replay.\n\nCore was generated by `postgres: startup'.\nProgram terminated with signal 8, Arithmetic exception.\n#0 brinSetHeapBlockItemptr (buf=<value optimized out>...
[ { "msg_contents": "Hi All,\n\nRegarding the discussion about Autonomous transaction in below message ID,\nlong time ago, it has been specified that having a new structure \"Struct\nPGAutonomousXACT\" was rejected in PGCon hackers meeting. Can anyone know\nwhy is it been rejected? What is the disadvantage/proble...
[ { "msg_contents": "Hello,\n\nBack in pg 9.2, we hacked a copy of pg_basebackup to add a command\nline option which would allow the user to specify an arbitrary\nexternal program (potentially including arguments) to be used to\ncompress the tar backup.\n\nOur motivation was to be able to use pigz (parallel gzip\...
[ { "msg_contents": "Hi all,\n\nWhile looking at some SCRAM stuff, I have bumped into bcc32.mak and\nwin32.mak in src/interfaces/libpq. To put it short: those files are\nnot up to date. The code of SCRAM is in the tree for a bit of time\nnow, and should have updated those files to list and clean up objects,\nbut ...
[ { "msg_contents": "Hi all,\n\nI am getting the following warning with MSVC 2010 for what is a result\nof 3217327 (identity columns):\n c:\\users\\michael\\git\\postgres\\src\\backend\\catalog\\pg_depend.c(615):\nwarning C4715: 'getOwnedSequence' : not all control paths return a\nvalue [C:\\Users\\michael\\git\...
[ { "msg_contents": "Hi,\n\nThe declaration of postgresGetForeignPlan uses baserel, but\nthe actual definition uses foreignrel. It would be better to sync.\n\nPlease find attached a patch.\n\nTatsuro Yamada\nNTT Open Source Software Center\n\n\n\n-- \nSent via pgsql-hackers mailing list (pgsql-hackers@postgresql....
[ { "msg_contents": "Hi hackers,\n\nTuples can have type RECORDOID and a typmod number that identifies a\n\"blessed\" TupleDesc in a backend-private cache. To support the\nsharing of such tuples through shared memory and temporary files, I\nthink we need a typmod registry in shared memory. Here's a\nproof-of-co...
[ { "msg_contents": "Hi, I happned to notice that backend/utils/mb/Unicode directory\ncontains two encoding authority files, which I believe are not to\nbe there.\n\neuc-jis-2004-std.txt\nsjis-0213-2004-std.txt\n\nAnd what is more astonishing, make distclean didn't its work.\n\n| $ make distclean\n| rm -f \n\nThe...
[ { "msg_contents": "Hi, I found that convutils.pl contains a harmless duplicate\nassignemnt.\n\n> my $out = {f => $fname, l => $.,\n> code => hex($1),\n> ucs => hex($2),\n> comment => $4,\n> direction => BOTH,\n> f => $fname,\n> ...
[ { "msg_contents": "Hi all,\n\nAttached fixes a typo in publicationcmd.c file.\n\ns/om/on/\n\nRegards,\n\n--\nMasahiko Sawada\nNIPPON TELEGRAPH AND TELEPHONE CORPORATION\nNTT Open Source Software Center\n\n\n\n-- \nSent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)\nTo make changes to your subscr...
[ { "msg_contents": "As of b8d7f053c5c, ExecPrepareExprList is (must be?) used instead of\nExecPrepareExpr when the caller wants to initialize expressions in a list,\nfor example, FormIndexDatum. ExecPrepareExpr doesn't require the caller\nto have switched to per-query context, because it itself will. Same is\n...
[ { "msg_contents": "Hello,\n\nWe currently use psotgres 9.3 in our products. Recently we upgraded to\npostgres 9.6. But with 9.6 we have seen a drastic reduction in throughput.\nAfter analyzing carefully I found that \"planner time\" in 9.6 is very high.\nBelow are the details:\n\nScenario:\n1 Create a table wit...
[ { "msg_contents": "pg_export_snapshot() cannot be used during recovery (i.e. on standby\nservers), but it's not documented. IMO this is a bug and should be\nfixed. Patch attached.\n\nBest regards,\n--\nTatsuo Ishii\nSRA OSS, Inc. Japan\nEnglish: http://www.sraoss.co.jp/index_en.php\nJapanese:http://www.sraoss.c...
[ { "msg_contents": "Use SASLprep to normalize passwords for SCRAM authentication.\n\nAn important step of SASLprep normalization, is to convert the string to\nUnicode normalization form NFKC. Unicode normalization requires a fairly\nlarge table of character decompositions, which is generated from data\npublished...
[ { "msg_contents": "Hi.\n\nRecently I've discovered that if there are multiple values of the same\nparameter in postgresql.conf PostgreSQL will silently use the last one.\nIt looks like not the best approach to me. For instance, user can find\nthe first value in the config file and expect that it will be used, e...
[ { "msg_contents": "Hi,\n\nnewly added tests exercise parallel bitmap scans. And they trigger\nvalgrind errors:\nhttps://buildfarm.postgresql.org/cgi-bin/show_log.pl?nm=skink&dt=2017-04-07%2007%3A10%3A01\n\n\n==4567== VALGRINDERROR-BEGIN\n==4567== Conditional jump or move depends on uninitialised value(s)\n==45...
[ { "msg_contents": "Hi,\n\nThere's two machines that recently report changes in deadlock detector\noutput:\nhttps://buildfarm.postgresql.org/cgi-bin/show_log.pl?nm=hyrax&dt=2017-04-05%2018%3A58%3A04\nhttps://buildfarm.postgresql.org/cgi-bin/show_log.pl?nm=friarbird&dt=2017-04-07%2004%3A20%3A01\n\nboth just faile...
[ { "msg_contents": "--progress-timestamp is supposed to make -P report a Unix Epoch time stamp,\nfor easy correlation with the entries in other log files (like the postgres\nserver log file using %n).\n\nBut that broke in this commit:\n\ncommit 1d63f7d2d180c8708bc12710254eb7b45823440f\nAuthor: Tom Lane <tgl@sss....
[ { "msg_contents": "Apparently INSERT and SELECT on the parent partitioned table skip normal\nacl checks on the partitions. Is that intended behavior?\n\n8<---------------------------\ntest=# create user part_test;\nCREATE ROLE\ntest=#\ntest=# create table t1 (id int) partition by range ((id % 4));\nCREATE TABLE...
[ { "msg_contents": "Hi,\n\nWhen I started writing this, there were the following reamining CF\nitems, minus bugfix ones which aren't bound by the code freeze.\n\nI think it makes sense to go through those and see whether it's\nrealistic to commit any of them.\n\nReady for Committer:\n\nAdd GUCs for predicate loc...
[ { "msg_contents": "monitoring.sgml has one </row> tag missing\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": "Fri, 07 Apr 2017 22:47:55 +0200", "msg_from": "Erik Rijkers <...
[ { "msg_contents": "Hi,\n\ncompiling on linux 32 bit I get a lot of warnings due to printf format.\nI suspect most of them should just be cured by using %zd or %zu instead\nof %ld.\n\n/home/andres/src/postgresql/src/backend/statistics/mvdistinct.c: In function ‘statext_ndistinct_deserialize’:\n/home/andres/src/p...
[ { "msg_contents": "Improve 64bit atomics support.\n\nWhen adding atomics back in b64d92f1a, I added 64bit support as\noptional; there wasn't yet a direct user in sight. That turned out to\nbe a bit short-sighted, it'd already have been useful a number of times.\n\nAdd a fallback implementation of 64bit atomics...
[ { "msg_contents": "Hi,\n\ntesting master at f0e44021df with a loopback postgres_fdw installed, I\nsee lots of crashes on queries joining foreign tables with various\nexpressions. Below is a reduced recipe for the regression database and\na backtrace.\n\nregards,\nAndreas\n\n--8<---------------cut here---------...
[ { "msg_contents": "The commitfest has officially ended. I have pushed the remaining patches\nto the next commitfest or returned then with feedback as appropriate:\n\nFeatures moved to next CF:\n- new plpgsql extra_checks\n- Better estimate merging for duplicate vars in clausesel.c\n- initdb configurable wal_seg...
[ { "msg_contents": "Hi,\n\nI see the above ERROR logged a lot when testing master at eef8c0069e\nwith a postgres_fdw around. Below is a recipe to reproduce it on top of\nthe regression DB.\n\nregards,\nAndreas\n\ncreate extension postgres_fdw;\ncreate server myself foreign data wrapper postgres_fdw;\ncreate sch...
[ { "msg_contents": "Hi,\n\nI'm compiling HEAD on solaris 10 and i'm getting this warning\n\n\"\"\"\nfloat.c: In function ‘is_infinite’:\nfloat.c:201:2: warning: implicit declaration of function ‘isinf’\n[-Wimplicit-function-declaration]\n int inf = isinf(val);\n ^\ngeo_ops.c: In function ‘pg_hypot’:\ngeo_ops...
[ { "msg_contents": "Hi,\n\nFor a while I've been getting warnings like\n/home/andres/src/postgresql/src/backend/utils/adt/inet_cidr_ntop.c: In function ‘inet_cidr_ntop_ipv6’:\n/home/andres/src/postgresql/src/backend/utils/adt/inet_cidr_ntop.c:205:11: warning: left shift of negative value [-Wshift-negative-value]...
[ { "msg_contents": "Hackers,\n\nI’ve been happily using the array-to-element concatenation operator || to append a single value to an array, e.g, \n\n SELECT array || 'foo';\n\nAnd it works great, including in PL/pgSQL functions, except in an exception block. When I run this:\n\n BEGIN;\n\n CREATE OR RE...
[ { "msg_contents": "Hi all,\n\nAttached a patch for $subject.\n\nI added this parameter into \"Asynchronous Behavior\" section of\n\"RESOURCE\" section. But GUC parameter for subscriber now is written in\nthis section, in spite of there is \"REPLICATION\" section. I think that\nwe can coordinate these parameters...
[ { "msg_contents": "... and of course the other functions matching *wal*location*\n\nMy thoughts here are that we're already breaking backward\ncompatibility of these functions for PG10, so thought we might want to\nuse this as an opportunity to fix the naming a bit more.\n\nI feel that the \"location\" word not...
[ { "msg_contents": "Right now, VACUUM FULL are not reported in pgstat. That seems bad:ish. I\ncan see two reasonable ways to proceed:\n\n1. Start reporting VACUUM FULL as regular vacuums, so they count up\nvacuum_count and last_vacuum in pg_stat_*_tables.\n\n2. Create a new set of counters for CLUSTER and VACUUM...
[ { "msg_contents": "While reviewing extended stats I noticed that it was possible to\ncreate extended stats on many object types, including sequences. I\nmentioned that this should be disallowed. Statistics were then changed\nto be only allowed on plain tables and materialized views.\n\nThis should be relaxed ag...
[ { "msg_contents": "\n Hi!\n\n There's some ongoing discussion about SCRAM (like this thread \nhttps://www.postgresql.org/message-id/243d8c11-6149-a4bb-0909-136992f74b23%40iki.fi) \nbut I wanted to open a new thread that covers these topics and other, \nmore general ones. Here are some thoughts based on ...
[ { "msg_contents": "\n Hi!\n\n There's some ongoing discussion about SCRAM (like this thread \nhttps://www.postgresql.org/message-id/243d8c11-6149-a4bb-0909-136992f74b23%40iki.fi) \nbut I wanted to open a new thread that covers these topics and other, \nmore general ones. Here are some thoughts based on ...
[ { "msg_contents": "During my review and time spent working on the functional dependencies\npart of extended statistics I wondered what was the use for the\npg_stats_ext view. I was unsure why the length of the serialised\ndependencies was useful.\n\nPerhaps we could improve the view, but I'm not all that sure w...
[ { "msg_contents": "Hello, hackers!\n\n==Spatial joins==\nScientific papers from the dawn of R-trees and multidimensional\nindexes feature a lot of algorithms for spatial joins.\nI.e. you have two sets of geometries s1 and s2, you need to produce\nall colliding pairs (p1,p2) where p1 in s1 and p2 in s2. For 2 R-...
[ { "msg_contents": "The release of GCC 7 is approaching [0], and the number of warnings in\nPostgreSQL has gone up since we last looked [1]. Output attached. (My\nversion is 7.0.1 20170408.)\n\nMost of the issues have to do with concatenating two or more strings of\npotential size MAXPGPATH into another buffer...
[ { "msg_contents": "Why $subject?\n\nDoes it just need to be wired into the makefiles a bit better?\n\n-- \nPeter Eisentraut http://www.2ndQuadrant.com/\nPostgreSQL Development, 24x7 Support, Remote DBA, Training & Services\n\n\n-- \nSent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)...
[ { "msg_contents": "On 03/28/2017 06:46 AM, I wrote in pgsql-general:\n>\n> I use Postgres on Windows 64 bit (8.1,10,WS2012R2,WS2016) for quite a while.\n> I always install and upgrade from the ZIP binary distribution from\n> enterpriseDB which works like a charm.\n>\n> In a recent fresh install I noticed that P...
[ { "msg_contents": "After you've run pg_upgrade, you have to loop through all your databases\nand do an \"ALTER EXTENSION abc UPDATE\" once for each extension.\n\nIs there a reason we shouldn't have pg_upgrade emit a script that does\nthis, similar to how it emits a script to run ANALYZE?\n\n-- \n Magnus Hagande...
[ { "msg_contents": "Hi all,\n\nI was looking through the RI triggers code recently and noticed a few \nalmost identical functions, e.g. ri_restrict_upd() and \nri_restrict_del(). The following patch is an attempt to reduce some of \nrepetitive code. Yet there is still room for improvement.\n\nThanks,\n-- \nIldar...
[ { "msg_contents": "Hi,\n\n src/backend/replication/logical/launcher.c\n * Worker started and attached to our shmem. This check is safe\n * because only launcher ever starts the workers, so nobody can steal\n * the worker slot.\n\nThe tablesync patch enabled even worker to start a...
[ { "msg_contents": "The distinction between the standard representation of '{}' as an array\nwith zero dimensions and nonstandard representations as a 1-dimensional\narray with zero elements has come up in a couple of contexts on the IRC\nchannel recently.\n\nFirst is contrib/intarray, _AGAIN_ (see past bugs suc...
[ { "msg_contents": "Hi All,\n\nI created an out-db raster using the following syntax:\n\nraster2pgsql -s {srid} -c -R -I -C -F -t auto {absolute_file_path}\npublic.{table} | psql -h {host} -p {port} -d {database} -U {user}\n\nThe table was created successfully. I wanted to confirm that the actual\nfile is being ...
[ { "msg_contents": "Hi,\n\nI am trying to use the raster2pgsql tool to import raster images in MrSID\nformat to PostGIS database on a Windows system. However, I get an error\nindicating that the format is not supported which I could confirm by\nrunning:\nraster2pgsql -G\n\nPlease, could someone help with the bas...
[ { "msg_contents": "Hi,\n\nI tried to use the bytea type with ecpg, but the corresponding host variable was not described in the manual.\n\nhttps://www.postgresql.org/docs/devel/static/ecpg-variables.html#ecpg-variables-type-mapping\n\nAccording to the test code, the bytea type seems to correspond to char *.\n\n...
[ { "msg_contents": "The following commit added relkind checks to certain contrib modules so\nthat a more user-friendly error is produced if the wrong kind of relation\nis passed to its functions:\n\ncommit c08d82f38ebf763b79bd43ae34b7310ee47aaacd\nAuthor: Stephen Frost <sfrost@snowman.net>\nDate: Thu Mar 9 16:...
[ { "msg_contents": "Is there a particular reason we don't have a function to *set* the\nrestart_lsn of a replication slot, other than to drop it and recreate it?\n\nSimilarly, to create one with a fixed value for restart_lsn and not\nnecessarily the one the machine is at right now?\n\nBasically I'm doing a small...
[ { "msg_contents": "Hi,\n\nI am using Windows 7 OS and I have installed a GDAL with support for MrSID\nformat. I want to build my PostGIS with the GDAL-config-file to point to\nthis new GDAL.\n\nHow do I accomplish this in a Windows OS?\n\nHi,I am using Windows 7 OS and I have installed a GDAL with support for M...
[ { "msg_contents": "Hi,\n\nI am using Windows 7 OS and I have installed a GDAL with support for MrSID\nformat. I want to build my PostGIS with the *--with-gdalconfig=FILE* to\npoint to this new GDAL.\n\nHow do I accomplish this in a Windows OS?\n\nHi,I am using Windows 7 OS and I have installed a GDAL with suppo...
[ { "msg_contents": "Just noticed that RangeVarCallbackForRenameRule() was not updated to\nhandle partitioned tables, causing the following bug:\n\ncreate table parted_table (a int) partition by list (a);\ncreate table part partition of parted_table for values in (1);\ncreate rule parted_table_insert as on insert...
[ { "msg_contents": "This bug seems to have snuck in there with the introduction of walmethods.\nAFAICT we are testing the result of sync() backwards, so whenever a partial\nsegment exists for pg_receivewal, it will fail. It will then unlink the\nfile, so when it retries 5 seconds later it works.\n\nIt also doesn...
[ { "msg_contents": "\nI've complained about this before. Below are some timings from buildfarm\nmember nightjar as I test out the new client code.\n\nThis buildfarm run as you can see takes 33m32s, and the Tap tests take a\ncombined 19m52s of that time. That seems quite an inordinate amount of\ntime, when checki...
[ { "msg_contents": "Hi hackers,\n\nI'm struggling to understand one particular thing about Custom Scan API.\n\nAs you may know, there's a function called use_physical_tlist(), which aims \nto eliminate meaningless projections during query execution. Any scan node \n(e.g. CustomScan) aims to take advantage of phy...
[ { "msg_contents": "Hi,\n\nI observed $subject when I ran the following steps.\n\n1. start the publisher server\n2. start the subscriber server\n3. create table with primary key and publication for it\n4. insert several records into the table\n5. create table with primary key and subscription\n6. wait for table ...
[ { "msg_contents": "Hi,\n\nI would like to propose a patch that speeds up the queries of the form \n'select\ncount(*) ... where ...', where the restriction clauses can be satisfied \nby some\nindexes. At the moment, such queries use index-only scans followed by\naggregation. Index-only scans are only possible f...
[ { "msg_contents": "I've managed to clean up all but one of the open items[1] attributable\nto my v10 commits; the exception is the issue with pg_dump and\npartitioned tables, which I still hope to get resolved this week.\n\nOn Friday, I'm leaving on vacation; my first day back in the office\nwill be April 24th....
[ { "msg_contents": "I notice looking at pg_stat_activity that the logical replication launcher\nsets its application_name to \"logical replication launcher\". This seems\ninconsistent (no other standard background process sets application_name),\nredundant with other columns that already tell you what it is, an...
[ { "msg_contents": "Hi,\n\nI've attached a patch for $subject. Please check it.\n\nRegards,\n\n--\nMasahiko Sawada\nNIPPON TELEGRAPH AND TELEPHONE CORPORATION\nNTT Open Source Software Center\n\n\n\n-- \nSent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)\nTo make changes to your subscription:\nht...
[ { "msg_contents": "If PostgresNode::psql (from the TAP framework) is called with a\ntimeout set and a timed_out reference, it will attempt to do bitwise\nAND and bitshifts on the $ret value from IPC::Run, which is undef if\nthe command timed out.\n\nThis produces annoying errors in the logs.\n\nFix attached. Sh...
[ { "msg_contents": "I'd been thinking that staenabled is not the most suitable column name\nfor storing the types of statistics that are defined for the extended\nstatistics. For me, this indicates that something can be disabled,\nbut there's no syntax for that, and even if there was, if we were to\nenable/disa...
[ { "msg_contents": "Hi,\n\nWhen I shut down the publisher while I repeated creating and dropping\nthe subscription in the subscriber, the publisher emitted the following\nPANIC error during shutdown checkpoint.\n\nPANIC: concurrent transaction log activity while database system is\nshutting down\n\nThe cause of...
[ { "msg_contents": "Andres mentioned, and I've confirmed locally, that a large chunk of\ninitdb's runtime goes into regprocin's brute-force lookups of function\nOIDs from function names. The recent discussion about cutting TAP test\ntime prompted me to look into that question again. We had had some\ngrand plan...
[ { "msg_contents": "Logical replication emits logmessages like these:\n\nDETAIL: 90 transactions need to finish.\nDETAIL: 87 transactions need to finish.\nDETAIL: 70 transactions need to finish.\n\nCould we get rid of that 'need'? It strikes me as a bit off; something \nthat people would say but not a mecha...
[ { "msg_contents": "While poking at the question of parallel_safe marking for Plans,\nI noticed that max_parallel_hazard_walker() does this:\n\n /* We can push the subplans only if they are parallel-safe. */\n else if (IsA(node, SubPlan))\n return !((SubPlan *) node)->parallel_safe;\n\nThis is 100% ...
[ { "msg_contents": "Hi,\n\nIf a certain table has different schemas and the subscriber table has an\nunmatched column with a not null constraint, the logical replication\ncrashes with the above stack trace.\n\n-- publisher\nCREATE TABLE test (a integer, b varchar not null, c numeric not null,\nPRIMARY KEY(a));\n...
[ { "msg_contents": "Attached patch modifies a sentence in the inval.c header comment to\nmention that operations on a pg_index tuple also registers relcache flush\noperation.\n\nThanks,\nAmit\n\n\n\n-- \nSent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)\nTo make changes to your subscription:\nht...
[ { "msg_contents": "I wonder if trying to add a relation to a publication that it is already a\npart should be considered a no-op, instead of causing an error (which\nhappens in the ALTER PUBLICATION ADD TABLES case).\n\ncreate table bar (a int);\ncreate publication mypub for table bar;\nalter publication mypub ...
[ { "msg_contents": "Hi,\n\nThough I've read only a part of the logical rep code yet, I'd like to\nshare some (relatively minor) review comments that I got so far.\n\nIn ApplyWorkerMain(), DatumGetInt32() should be used to get integer\nvalue from the argument, instead of DatumGetObjectId().\n\nNo one resets on_co...
[ { "msg_contents": "Hi\n\nYesterday while doing a few pg_basebackup, I realized that the integer \nparameters were not properly checked against invalid input.\nIt is not a critical issue, but this could be misleading for an user who \nwrites -z max or -s 0.5…\nI've attached the patch to this mail. Should I add i...
[ { "msg_contents": "Attached patch gets rid of a \"is has\".\n\nThanks,\nAmit\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": "Fri, 14 Apr 2017 16:13:06 +0900", "msg_from"...
[ { "msg_contents": "Hi,\n\nI noticed that the logical replication launcher uses\nwal_retrieve_retry_interval as a interval of launching logical\nreplication worker process. This behavior is not documented and I\nguess this is no longer consistent with what its name means.\n\nI think that we should either introdu...
[ { "msg_contents": "Hi,\n\nATM the defines in pg_config_manual.h are largely unconditional - which\nmeans the file has to be edited instead of being able to override things\nvia CFLAGS/COPT. Is there any good reason for doing so?\n\nGreetings,\n\nAndres Freund\n\n\n-- \nSent via pgsql-hackers mailing list (pgsq...
[ { "msg_contents": "In the first statement executed after crash recovery, I sometimes get this\nerror:\n\nPANIC: XX000: could not access status of transaction 207580505\nDETAIL: Could not read from file \"pg_commit_ts/1EF0\" at offset 131072:\nSuccess.\nLOCATION: SlruReportIOError, slru.c:918\nSTATEMENT: cre...