threads listlengths 1 2.99k |
|---|
[
{
"msg_contents": "Hi\n\nMain goal of this patch is to avoid repeated calls of immutable/stable\nfunctions.\nThis patch is against version 10.10.\nI guess same logic could be implemented up till version 12.",
"msg_date": "Sun, 3 Nov 2019 21:56:31 +0100",
"msg_from": "Andrzej Barszcz <abusinf@gmail.com>"... |
[
{
"msg_contents": "Buildfarm member drongo has been failing the pg_ctl regression test\npretty often. I happened to look closer at what's happening, and\nit's this:\n\ncould not read \"C:/prog/bf/root/HEAD/pgsql.build/src/bin/pg_ctl/tmp_check/t_004_logrotate_primary_data/pgdata/current_logfiles\": Permission d... |
[
{
"msg_contents": "For parallel vacuum [1], we were discussing what is the best way to\ndivide the cost among parallel workers but we didn't get many inputs\napart from people who are very actively involved in patch development.\nI feel that we need some more inputs before we finalize anything, so\nstarting a n... |
[
{
"msg_contents": "Hello, hackers!\n\nI`d like to propose a new argument for recovery_target parameter, which \nwill stand to recovering until all available WAL segments are applied.\n\nCurrent PostgreSQL recovery default behavior(when no recovery target is \nprovided) does exactly that, but there are several s... |
[
{
"msg_contents": "It's time to start the next commitfest. I seem to recall somebody\nsaying back in September that they'd run the next one, but I forget\nwho. Anyway, we need a volunteer to be chief nagger.\n\n\t\t\tregards, tom lane\n\n\n",
"msg_date": "Mon, 04 Nov 2019 10:54:52 -0500",
"msg_from": ... |
[
{
"msg_contents": "Hi!\n\nThread [1] about support for .datetime() jsonpath method raises a\nquestion about standard-conforming parising for Y, YY, YYY and RR\ndatetime template patterns.\n\nAccording to standard YYY, YY and Y should get higher digits from\ncurrent year. Our current implementation gets higher d... |
[
{
"msg_contents": "Deal Hackers.\n\nThe value of ssl_passphrase_command is set so that an external command\nis called when the passphrase for decrypting an SSL file such as a\nprivate key is obtained.\nTherefore, easily set to work with echo \"passphrase\" or call to\nanother get of passphrase application.\n\nI... |
[
{
"msg_contents": "While messing around, I noticed that SET CONSTRAINTS ... DEFERRED\ndoes not work with partitioned tables. I had some code to cover this\ncase, but it has a bug that prevents it from working at all: the sanity\ncheck that verifies whether triggers exist fails.\n\nThe attached patch fixes this... |
[
{
"msg_contents": "Hi,\n\nThere's a few errors that we issue that are, often, much less bad than\nthey sound. The most common cases I immediately can recall are:\n\n\n1) Mentioning crash, once for each backend, when shutting down\nimmediately. Currently the log output for that, with just two sessions\nconnected... |
[
{
"msg_contents": "Hackers,\n\nplease find attached a patch fixing a problem previously discussed [1] \nabout the code inappropriately ignoring the return value from SPI_execute.\n\nI will be adding this to https://commitfest.postgresql.org/26/ shortly.\n\nMark Dilger\n\n[1] https://www.postgresql.org/message-i... |
[
{
"msg_contents": "Hi,\n\nI found couple of crashes in reorderbuffer while review/testing of\nlogical_work_mem and logical streaming of large in-progress\ntransactions. Stack trace of the same are given below:\nIssue 1:\n#0 0x00007f985c7d8337 in raise () from /lib64/libc.so.6\n#1 0x00007f985c7d9a28 in abort (... |
[
{
"msg_contents": "Hello\n\nIn several queries relying on views, I noticed that the optimizer miss a quite \nsimple to implement optimization. My views contain several branches, with \ndifferent paths that are simplified by the caller of the view. This \nsimplification is based on columns to be null or not.\n\n... |
[
{
"msg_contents": "Having ExprContext is it possible to know which ExprState is linked with it\n?\n\nHaving ExprContext is it possible to know which ExprState is linked with it ?",
"msg_date": "Wed, 6 Nov 2019 22:12:28 +0100",
"msg_from": "Andrzej Barszcz <abusinf@gmail.com>",
"msg_from_op": true,
... |
[
{
"msg_contents": "Every once in awhile we get failures like this one:\n\nhttps://buildfarm.postgresql.org/cgi-bin/show_log.pl?nm=gull&dt=2019-11-05%2008%3A27%3A27\n\ndiff -U3 /home/pgsql/build-farm/buildroot-clang/HEAD/pgsql.build/../pgsql/src/test/regress/expected/vacuum.out /home/pgsql/build-farm/buildroot-c... |
[
{
"msg_contents": "Hackers,\n\nWhile working on cleaning up the SPI interface, I found that one of the \nSPI error codes, SPI_ERROR_COPY, is never encountered in any test case \nwhen running `make check-world`. This case is certainly reachable by a \nuser, as is shown in the attached patch. Is this tested fro... |
[
{
"msg_contents": "Hi Amit,\n\nI am reading about this feature and reviewing it.\nTo start with, I reviewed the patch:\n0005-Doc-changes-describing-details-about-logical-decodin.patch.\n\n>prevent VACUUM from removing required rows from the system catalogs,\n>hot_standby_feedback should be set on the standby. I... |
[
{
"msg_contents": "The docs currently say\n\n The language named <literal>plpythonu</literal> implements\n PL/Python based on the default Python language variant, which is\n currently Python 2. (This default is independent of what any\n local Python installations might consider to be\n ... |
[
{
"msg_contents": "Hackers,\n\nAs discussed with Tom in [1] and again with Pavel and Alvaro in [2], \nhere is a partial WIP refactoring of the SPI interface. The goal is to \nremove as many of the SPI_ERROR_xxx codes as possible from the \ninterface, replacing them with elog(ERROR), without removing the abilit... |
[
{
"msg_contents": "Hello hackers,\n\nHere's a draft patch that teaches PostgreSQL how to ask for collation\nversions on Windows. It receives a pair of DWORDs, which, it displays\nas hex. The values probably have an internal structure that is\ndisplayed in a user-friendly way by software like Active Directory ... |
[
{
"msg_contents": "Hi all\n\nI recently found the need to pretty-print the contents of pg_locks. So\nhere's a little helper to do it, for anyone else who happens to have that\nneed. pg_identify_object is far from adequate for the purpose. Reckon I\nshould turn it into C and submit?\n\n CREATE FUNCTION describe... |
[
{
"msg_contents": "Monitoring the available disk space is the topmost thing on the\npriority for PostgreSQL operation, yet this metric is not available\nfrom the SQL level.\n\nThe attached patch implements a function pg_tablespace_statfs(tblspc)\nto report disk space numbers per tablespace:\n\n# select * from p... |
[
{
"msg_contents": "Hello all,\n\nI would like to direct your attention to the queries of following type,\nselect <some_column(s)>\nfrom <table_name>\nwhere <some_column> IN (<a_list_of_some_values>)\n\nthe plan for such a query uses index scan (or index-only), now in our\nexperiments, if the provided list is so... |
[
{
"msg_contents": "Folks,\nWe've been seeing nearly daily crashes from a PostgreSQL 9.6 application that is heavily\ndependent on the HLL extension (v 2.10.2). All these crashes are from inside the HLL\nbitstream_unpack function. Usually they're from an INSERT VALUES statement, but\noccasionally they are from a... |
[
{
"msg_contents": "Hi,\nPlease can anybody review and commit this patch.\n\nThanks.\n\nRanier Vilela\n\n--- \\dll\\postgresql-12.0\\a\\backend\\libpq\\auth.c\tMon Sep 30 17:06:55 2019\n+++ auth.c\tFri Nov 08 14:27:17 2019\n@@ -1815,6 +1815,7 @@\n \tchar\t\tident_user[IDENT_USERNAME_MAX + 1];\n \tpgsocket\tsock_... |
[
{
"msg_contents": "Page on disk has empty lp 1\n* Insert into page lp 1\n\ncheckpoint START. Redo eventually starts here.\n** Delete all rows on page.\nautovac truncate\nDropRelFileNodeBuffers - dirty page NOT written. lp 1 on disk still empty\ncheckpoint completes\ncrash\nsmgrtruncate - Not reached\n\nheap_... |
[
{
"msg_contents": "See\n\nhttps://git.postgresql.org/gitweb/?p=postgresql.git;a=commitdiff;h=1add2e09b9a4c2d2c72ce51991fa4efaf577a29f\n\nPlease send any corrections by Sunday.\n\n\t\t\tregards, tom lane\n\n\n",
"msg_date": "Fri, 08 Nov 2019 20:21:46 -0500",
"msg_from": "Tom Lane <tgl@sss.pgh.pa.us>",
... |
[
{
"msg_contents": "Hi Mark,\nAnother example, can you take a look?\n\n--- \\dll\\postgresql-12.0\\a\\backend\\tsearch\\spell.c\tMon Sep 30 17:06:55 2019\n+++ spell.c\tSat Nov 09 05:55:23 2019\n@@ -186,7 +186,7 @@\n #define MAX_NORM 1024\n #define MAXNORMLEN 256\n \n-#define STRNCMP(s,p)\tstrncmp( (s), (p), strl... |
[
{
"msg_contents": "Commits a7145f6bc et al. added a test to verify integer overflow\ndetection in interval_mul. The buildfarm has now reminded me that\nyou're not going to get integer overflow if timestamps ain't integers,\ncf\nhttps://buildfarm.postgresql.org/cgi-bin/show_log.pl?nm=mandrill&dt=2019-11-08%2019... |
[
{
"msg_contents": "Hi,\n\nfour years ago Marko Tiikkaja send a patch for numeric_trim functions. This\nfunctions removed ending zeroes from numeric value. This is useful feature,\nbut there was not any progress on this patch. I think so this feature can\nbe interesting, so I would to revitalize this patch.\n\nO... |
[
{
"msg_contents": "Hi,\n\nhttps://buildfarm.postgresql.org/cgi-bin/show_log.pl?nm=moonjelly&dt=2019-11-09%2010%3A17%3A06\n\nshows a failure, including a backtrace:\n\n======-=-====== stack trace: pgsql.build/src/test/regress/tmp_check/data/core ======-=-======\n[New LWP 42902]\n[Thread debugging using libthread... |
[
{
"msg_contents": "in src/backend/replication/walsender.c, there is the section quoted below.\nIt looks like nothing interesting happens between the GetFlushRecPtr just\nbefore the loop starts, and the one inside the loop the first time through\nthe loop. If we want to avoid doing CHECK_FOR_INTERRUPTS(); etc.... |
[
{
"msg_contents": "While composing the release note entry for commits 8d48e6a72 et al\n(handle recursive type dependencies while checking for unsupported\ntypes in pg_upgrade), I realized that there's a huge hole in\npg_upgrade's test for such cases. It looks for domains containing\nthe unsupported type, and f... |
[
{
"msg_contents": "We have some very wide tables (historically, up to 1600 columns ; this is\nimproved now, but sometimes still several hundred, with numerous pages output\nto psql pager). Is is reasonable to suggest adding a psql command to show a\ntable's definition, without all the columns listed?\n\nOr lim... |
[
{
"msg_contents": "Hi Hackers,\n\nTable AM routine already provided two custom functions to fetch sample\nblocks and sample tuples,\nhowever, the total blocks the ANALYZE can scan are still restricted to the\nnumber of physical blocks\nin a table, this doesn't work well for storages which organize blocks in\ndi... |
[
{
"msg_contents": "Hi hackers.\n\nI made a patch fixing build and install problems under MSYS2, including\nllvmjit.\n\nI have tested this in my environment and it works, of course need more\nextensive testing.\nAttached is a patch that fixes it. Tag REL_11_5. Easy to adapt for other\nversions.\n\n-- \nBest rega... |
[
{
"msg_contents": "Hello. While looking a patch, I found that PHJ sometimes complains for\nfile leaks if accompanied by LIMIT.\n\nRepro is very simple:\n\ncreate table t as (select a, a as b from generate_series(0, 999999) a);\nanalyze t;\nselect t.a from t join t t2 on (t.a = t2.a) limit 1;\n\nOnce in several ... |
[
{
"msg_contents": "Hi,\nCan anyone check this bug fix?\n\nThanks.\nRanier Vilela\n\n--- \\dll\\postgresql-12.0\\a\\backend\\commands\\event_trigger.c Mon Sep 30 17:06:55 2019\n+++ event_trigger.c Mon Nov 11 13:52:35 2019\n@@ -171,7 +171,7 @@\n HeapTuple tuple;\n Oid ... |
[
{
"msg_contents": "I happened to notice that find_expr_references_walker has not\nbeen taught anything about TableFunc nodes, which means it will\nmiss the type and collation OIDs embedded in such a node.\n\nThis can be demonstrated to be a problem by the attached script,\nwhich will end up with a \"cache looku... |
[
{
"msg_contents": "I am developed my own PostgreSQL extension for learning purpose and it is working correctly but I want to know to which components of the database is my own extension components communicate. For example I have c code, make file sql script, and control file after compiling the make file to whi... |
[
{
"msg_contents": "The following bug has been logged on the website:\n\nBug reference: 16108\nLogged by: Haiying Tang\nEmail address: tanghy.fnst@cn.fujitsu.com\nPostgreSQL version: 12.0\nOperating system: Windows\nDescription: \n\nHello\r\n\r\nI found the following release notes in ... |
[
{
"msg_contents": "Hi,\nExecClearTuple don't check por NULL pointer arg and according\nTupIsNull slot can be NULL.\n\nCan anyone check this buf fix?\n\n--- \\dll\\postgresql-12.0\\a\\backend\\executor\\nodeUnique.c\tMon Sep 30 17:06:55 2019\n+++ nodeUnique.c\tTue Nov 12 09:54:34 2019\n@@ -74,7 +74,8 @@\n \t\tif... |
[
{
"msg_contents": "Hi,\nVar TargetEntry *tle;\nHave several paths where can it fail.\n\nCan anyone check this bug fix?\n\n--- \\dll\\postgresql-12.0\\a\\backend\\parser\\parse_expr.c\tMon Sep 30 17:06:55 2019\n+++ parse_expr.c\tTue Nov 12 12:43:07 2019\n@@ -349,6 +349,7 @@\n \t\t\t\t\t errmsg(\"DEFAULT is not a... |
[
{
"msg_contents": "Hi,\n\nAt the bottom of\nhttps://www.postgresql.org/message-id/20191112192716.emrqs2afuefunw6v%40alap3.anarazel.de\n\nI mused about the somewhat odd coding pattern at the end of WalSndShutdown():\n\n/*\n * Handle a client's connection abort in an orderly manner.\n */\nstatic void\nWalSndShutd... |
[
{
"msg_contents": "The following bug has been logged on the website:\n\nBug reference: 16109\nLogged by: Mukesh Chhatani\nEmail address: chhatani.mukesh@gmail.com\nPostgreSQL version: 10.10\nOperating system: AWS RDS\nDescription: \n\nHello Team,\r\n\r\nI am experiencing weird issue ... |
[
{
"msg_contents": "Hi,\n\nAttached is a draft of the press release for the update release going\nout on 2010-11-14. Please provide feedback, particularly on the\ntechnical accuracy of the statements.\n\nThanks!\n\nJonathan",
"msg_date": "Tue, 12 Nov 2019 17:17:37 -0500",
"msg_from": "\"Jonathan S. Katz\... |
[
{
"msg_contents": "Hello hackers,\n\n From the advanced bikeshedding department: I'd like my psql\ntranscripts to have the usual alignment, but be easier to copy and\npaste later without having weird prompt stuff in the middle. How\nabout a prompt format directive %w that means \"whitespace of the same\nwidth ... |
[
{
"msg_contents": "Dear Hackers\r\n\r\nI've been using SPI to execute some queries and this time I've tried to \r\nissue CREATE TABLE commands through SPI. I've been getting the message \r\n\"ERROR: CREATE TABLE AS is not allowed in a non-volatile function\".\r\n\r\nI'm a bit confused because my functions are s... |
[
{
"msg_contents": "Is there any one who help me what the architecture of an extension should looks like in PostgreSQL database.\n\n\nRegards,\n____________________________________\nYonathan Misgan\nAssistant Lecturer, @ Debre Tabor University\nFaculty of Technology\nDepartment of Computer Science\nStudying MSc ... |
[
{
"msg_contents": "Hi,\nTrivial patch:\n- remove a gcc warning (since commit 7a0574b5)\nexpression which evaluates to zero treated as a null pointer constant of\n type 'HeapTuple' (aka 'struct HeapTupleData *')\n\n- always use \"if (newtuple == NULL)\" rather than mixing !newtuple and\nnewtuple == NULL\n\n... |
[
{
"msg_contents": "Hi,\nSurely that \"s->nChildXids > 0\", protects s->childXids to be NULL!\nBut, when we exchange the test (s->nChildXids > 0) by (s->childXids != NULL), I believe we have the same protection, because, if \"s->childXids\" is not NULL, \"s->nChildXids\" is > 0, naturally.\n\nThat way we can imp... |
[
{
"msg_contents": "I realized only today that if role A is a member of role B,\nA can ALTER and DROP objects owned by B.\n\nI don't have a problem with that, but the documentation seems to\nsuggest otherwise. For example, for DROP TABLE:\n\n Only the table owner, the schema owner, and superuser can drop a ta... |
[
{
"msg_contents": "Hi Hackers,\r\n\r\nI'm sending an updated patch:\r\n1. add GUC enable_not_in_transform to guard the optimization/transformation, the guc is on by default.\r\n2. fix a bug: bail out NOT IN transformation early in convert_ANY_sublink_to_join so that parse->rtable doesn't get appended conditions... |
[
{
"msg_contents": "I have seen the error\n\n could not stat promote trigger file \"...\": Permission denied\n\nbecause of a misconfiguration (for example, setting promote_trigger_file \nto point into a directory to which you don't have appropriate read or \nexecute access).\n\nThe problem is that because th... |
[
{
"msg_contents": "Hello friends,\n \nI am not sure if I am right here bcz its my forst post so..\n \nI am using the Provider=MSDASQL.1 through psqlODBC as Data Source(created user DSN).\nPostgresversion is 12.\nProgramming language is C++.\nOS = Windows 10.\n \nSo my problem is when I call a sql function which... |
[
{
"msg_contents": "Hi,\nLast time, I promise.\n\nIt's probably not happening, but it can happen, I think.\n\nBest regards.\nRanier Vilela\n\n--- \\dll\\postgresql-12.0\\a\\backend\\access\\brin\\brin_validate.c\tMon Sep 30 17:06:55 2019\n+++ brin_validate.c\tFri Nov 15 08:14:58 2019\n@@ -57,8 +57,10 @@\n \n \t/... |
[
{
"msg_contents": "Hello hackers,\n\nI don't like this:\n\n -> Parallel Hash (... rows=416667 ...) (... rows=333333 ...)\n\nI think the logic in get_parallel_divisor() only makes sense for\nqueries like this (output with nearby patch to show leader\ncontribution):\n\npostgres=# set parallel_tuple_cost = 0;\nS... |
[
{
"msg_contents": "I am researching whether an postgres installation can be done on Unix system services(USS) in z/OS. USS is a POSIX compliant OS on z/OS and i wonder if you have any experience with installing it there that you can share with me. I would be highly appreciative of your comments and thoughts.\nT... |
[
{
"msg_contents": "Hi,\n\nI noticed that some of the source files does not include the copyright\ninformation. Most of the files have included it, but few files have\nnot included it. I felt it should be included. The attached patch\ncontains the fix for including the copyright information in the source\nfiles.... |
[
{
"msg_contents": "Folks,\n\nPlease find attached a patch for $Subject.\n\nMotivation:\n\nWhen people are doing keyset pagination, the simple cases redound to\nadding a WHERE that looks like\n\n (a, b, c) > (most_recent_a, most_recent_b, most_recent_c)\n\nwhich corresponds to an ORDER BY clause that looks li... |
[
{
"msg_contents": "Hi Hackers,\n\nThe planner will use big table as inner table in hash join if small table\nhave fewer unique values.\nBut this plan is much slower than using small table as inner table. This\nproblem occurs on master\nbranch without parallel scan.\n\nFor example\n\ncreate table t_small(a int);... |
[
{
"msg_contents": "Dear Hackers,\n\nA customer reported a strange behaviour on a PITR restoration. \nAfter a drop database, he tried to recover the data on the last inserted\ntransaction by using the recovery_target_time.\nThe issue is the database is present in the system catalog but the\ndirectory was still d... |
[
{
"msg_contents": "We had a scenario today that was new to us. We had a logical replication\nslot that was severely far behind. Before dropping this logical slot, we\nmade a physical point-in-time-recovery snapshot of the system with this\nlogical slot.\n\nThis logical slot was causing severe catalog bloat. ... |
[
{
"msg_contents": "I (finally) noticed this morning on a server running PG12.1:\n\n< 2019-11-15 22:16:07.098 EST >PANIC: could not fsync file \"base/16491/1731839470.2\": No such file or directory\n< 2019-11-15 22:16:08.751 EST >LOG: checkpointer process (PID 27388) was terminated by signal 6: Aborted\n\n/d... |
[
{
"msg_contents": "Hi,\n\nWhile checking initdb code, I found one segmentation fault, stack\ntrace for the same is:\nCore was generated by `./initdb -D data6'.\nProgram terminated with signal 11, Segmentation fault.\n#0 0x000000000040ea22 in main (argc=3, argv=0x7ffc82237308) at initdb.c:3340\n3340 prin... |
[
{
"msg_contents": "Tom implemented \"Planner support functions\":\nhttps://git.postgresql.org/gitweb/?p=postgresql.git;a=commitdiff;h=a391ff3c3d418e404a2c6e4ff0865a107752827b\nhttps://www.postgresql.org/docs/12/xfunc-optimization.html\n\nI wondered whether there was any consideration to extend that to allow\npr... |
[
{
"msg_contents": "To mitigate the need for per-table tuning of autovacuum configuration, I'd\nlike to propose a new GUC for autovacuum_vacuum_threshold_max.\n\nCurrently, it seems that I can either set autovacuum_vacuum_scale_factor\nmuch smaller than default on tables with millions of rows, or set a value\ngl... |
[
{
"msg_contents": "Hi hackers,\n\nWorking on global temporary table I need to define function which \nreturns set of pg_statistic records.\nUnfortunately I failed to declare such function!\nType pg_statistic is defined in postgres.bki so I was not able to refer \nto it in pg_proc.dat file.\nAnd if I explicitly ... |
[
{
"msg_contents": "Hi Hackers:\n\n First I found the following queries running bad on pg.\n\n select count(*) from part2 p1 where p_size > 40 and p_retailprice >\n(select avg(p_retailprice) from part2 p2 where p2.p_brand=p1.p_brand);\n\nthe plan is\n QUERY PLAN\n-------------... |
[
{
"msg_contents": "On Wed, Aug 07, 2019 at 04:51:54PM -0700, Andres Freund wrote:\nhttps://www.postgresql.org/message-id/20190807235154.erbmr4o4bo6vgnjv%40alap3.anarazel.de\n| Ugh :(\n| \n| We really need to add a error context to vacuumlazy that shows which\n| block is being processed.\n\nI eeked out a minimal... |
[
{
"msg_contents": "I noticed that the nbtree README has an obsolete reference to the\nformer design of get_actual_variable_range() in the \"Scans during\nRecovery\" section. It used to use a dirty snapshot, but doesn't\nanymore. These days, get_actual_variable_range() uses\nSnapshotNonVacuumable -- see commits ... |
[
{
"msg_contents": "Hi,\n\nAs noted by Amit Khandhekar yesterday[1], BufFileLoad() silently eats\npread()'s error and makes them indistinguishable from EOF.\n\nSome observations:\n\n1. BufFileRead() returns size_t (not ssize_t), so it's an\nfread()-style interface, not a read()-style interface that could use\n-... |
[
{
"msg_contents": "Hello.\n\nI happened to find that the commit 71dcd74 added the function\n\"network_sortsupport\" with OID = 8190. Is it right? Otherwise we\nshould we move it to, say, 4035.\n\n(I understand that OID [8000, 9999] are development-use.)\n\nregards.\n\n-- \nKyotaro Horiguchi\nNTT Open Source So... |
[
{
"msg_contents": "Hi all,\n\nAfter working on dc816e58, I have noticed that what we are doing with\nattribute mappings is not that good. In a couple of code paths of the\nrewriter, the executor, and more particularly ALTER TABLE, when\nworking on the creation of inherited relations or partitions an\nattribute... |
[
{
"msg_contents": "Hi\n\nisn't src/tutorial/func.c obsolete? There is not any benefit for users.\n\nRegards\n\nPavel\n\nHiisn't src/tutorial/func.c obsolete? There is not any benefit for users.RegardsPavel",
"msg_date": "Thu, 21 Nov 2019 19:58:13 +0100",
"msg_from": "Pavel Stehule <pavel.stehule@gmail.c... |
[
{
"msg_contents": "Hackers,\n\nI stumbled upon an assertion while testing master for possible\nbugs. I am reporting it here in the hope that this report will\nbe useful. The attached small regression test patch consistently\ntriggers an assert in predicate.c:\n\n TRAP: FailedAssertion(\"!isCommit || \nSxact... |
[
{
"msg_contents": "Hi all\n\nI find a situation that WAL archive file is lost but any WAL segment file is not lost.\nIt causes for archive recovery to fail. Is this behavior a bug?\n\nexample:\n\n WAL segment files\n 000000010000000000000001\n 000000010000000000000002\n 000000010000000000000003\n\n Archive... |
[
{
"msg_contents": "Hi all\n\nLibpq may be blocked by recv without checking data arrival\nwhen libpq could not send data enough.\nI think it should check by pqReadReady() for avoiding blocking.\n\n Note: I didn't encounter any issue that the pqReadData is blocked.\n\n[src/interfaces/libpq/fe-misc.c]\n pqSendSo... |
[
{
"msg_contents": "Hi,\nTypo mystake?\nMemset only fill a pointer size, not the size of struct.\n\nBest regards.\nRanier Vilela\n\n--- \\dll\\postgresql-12.0\\a\\backend\\access\\rmgrdesc\\xactdesc.c\tMon Sep 30 17:06:55 2019\n+++ xactdesc.c\tFri Nov 22 13:40:13 2019\n@@ -35,7 +35,7 @@\n {\n \tchar\t *data = ... |
[
{
"msg_contents": "Hi,\nPointer addition with NULL, is technically undefined behavior.\n\nBest regards.\nRanier Vilela\n\n--- \\dll\\postgresql-12.0\\a\\backend\\access\\transam\\xlog.c\tMon Sep 30 17:06:55 2019\n+++ xlog.c\tFri Nov 22 13:57:17 2019\n@@ -1861,7 +1861,7 @@\n \t{\n \t\tAssert(((XLogPageHeader) ca... |
[
{
"msg_contents": "Hi,\nTypo mystake?\nPointer var initilialized with boolean.\n\nBest regards.\nRanier Vilela\n\n--- \\dll\\postgresql-12.0\\a\\backend\\commands\\trigger.c\tMon Sep 30 17:06:55 2019\n+++ trigger.c\tFri Nov 22 14:20:56 2019\n@@ -2536,7 +2536,7 @@\n \t\t\t\t\t TupleTableSlot *slot)\n {\n \tTrigg... |
[
{
"msg_contents": "Hi,\nMaybe it doesn't matter, but, I think it's worth discussing.\nThe expression \"if(pstate)\" is redundant or is possible null dereference.\n\nBest regards.\nRanier Vilela\n\n--- \\dll\\postgresql-12.0\\a\\backend\\commands\\copy.c\tMon Sep 30 17:06:55 2019\n+++ copy.c\tFri Nov 22 18:33:05... |
[
{
"msg_contents": "Hi,\nMaybe this is a real bug.\n\nThe assignment has no effect, or forget dereferencing it?\n\nBest regards.\nRanier Vilela\n\n--- \\dll\\postgresql-12.0\\a\\backend\\commands\\lockcmds.c\tMon Sep 30 17:06:55 2019\n+++ lockcmds.c\tFri Nov 22 18:45:01 2019\n@@ -285,7 +285,7 @@\n \n \tLockViewR... |
[
{
"msg_contents": "Hi,\nRemove redutant test.\n\nbest regards.\nRanier Vilela\n\n--- \\dll\\postgresql-12.0\\a\\backend\\executor\\execExpr.c\tMon Sep 30 17:06:55 2019\n+++ execExpr.c\tFri Nov 22 18:50:32 2019\n@@ -2426,7 +2426,7 @@\n \t{\n \t\tdesc = parent->scandesc;\n \n-\t\tif (parent && parent->scanops)\n+... |
[
{
"msg_contents": "Hi,\nThis is real bug? firsttupleslot == NULL.\n\n\\backend\\executor\\nodeGroup.c\n\tif (TupIsNull(firsttupleslot))\n\t{\n\t\touterslot = ExecProcNode(outerPlanState(node));\n\t\tif (TupIsNull(outerslot))\n\t\t{\n\t\t\t/* empty input, so return nothing */\n\t\t\tnode->grp_done = true;\n\t\t\... |
[
{
"msg_contents": "Hi,\nHi,\nMaybe this is a real bug.\n\nThe assignment has no effect, or forget dereferencing it?\n\nBest regards.\nRanier Vilela\n\n--- \\dll\\postgresql-12.0\\a\\backend\\optimizer\\plan\\initsplan.c\tMon Sep 30 17:06:55 2019\n+++ initsplan.c\tFri Nov 22 19:48:42 2019\n@@ -1718,7 +1718,7 @@\... |
[
{
"msg_contents": "In connection with a different issue, I wrote:\n\n> * The point of calling asyncQueueReadAllNotifications in\n> Exec_ListenPreCommit is to advance over already-committed queue entries\n> before we start sending any events to the client. Without this, a\n> newly-listening client could be sent... |
[
{
"msg_contents": "I ran into a couple of issues while trying to devise a regression test\nillustrating the LISTEN-in-serializable-transaction issue Mark Dilger\nreported. The first one is that an isolation test in which we expect\nto see a cross-process NOTIFY immediately after a COMMIT turns out to\nbe not v... |
[
{
"msg_contents": "Hi,\nFix function declaration .\n\nBest regards,\nRanier Vilela\n\n--- \\dll\\postgresql\\a\\backend\\utils\\adt\\mac8.c\t2019-11-23 13:19:20.000000000 -0300\n+++ mac8.c\t2019-11-24 09:41:34.200458700 -0300\n@@ -35,7 +35,7 @@\n #define lobits(addr) \\\n ((unsigned long)(((addr)->e<<24) | ((... |
[
{
"msg_contents": "Hi,\nAccording to specification of scanf: %x argument must be unsigned.\nhttp://www.cplusplus.com/reference/cstdio/scanf/\nI think that sscanf must follow scanf specification.\n\nBest regards.\nRanier Vilela\n\n--- \\dll\\postgresql\\a\\backend\\utils\\adt\\mac.c\t2019-11-23 13:19:20.00000000... |
[
{
"msg_contents": "Hi,\nOf course, I don't know if it's the best solution, but it's the most obvious.\nOr the test at line 3326 is irrelavant.\n\n\\backend\\tcop\\postgres.c\n\tif (stack_depth > max_stack_depth_bytes &&\n\t\tstack_base_ptr != NULL)\n\t\treturn true;\n\nOtherwise, if is relevant, substraction wi... |
[
{
"msg_contents": "Hi,\nThe test \"if (zeropadlen > 0)\" is redundant and can be salely removed.\nIt has already been tested in the same path.\n\nBest regards,\nRanier Vilela\n\n--- \\dll\\postgresql\\a\\port\\snprintf.c\t2019-11-23 13:19:20.000000000 -0300\n+++ snprintf.c\t2019-11-24 13:02:45.510806400 -0300\n... |
[
{
"msg_contents": "Hi,\nThe var OffsetNumber maxoff it's like uint16, see at include/storage/off.h\ntypedef uint16 OffsetNumber;\n\nWithin the function _bt_afternewitemoff, at line 641, maxoff is used in an dangerous expression,\nwithout protection.: (maxoff - 1)\n\nThe function: PageGetMaxOffsetNumber that in... |
[
{
"msg_contents": "Hi,\n\nWhen reading the syntax documentation for SELECT I noticed a missing \nspace in \"[ OVERRIDING { SYSTEM | USER} VALUE ]\".\n\nAndreas",
"msg_date": "Sun, 24 Nov 2019 20:53:37 +0100",
"msg_from": "Andreas Karlsson <andreas@proxel.se>",
"msg_from_op": true,
"msg_subject":... |
[
{
"msg_contents": "Hi,\n\n>I see no problem with fixing this kind of inconsistency for\n>readability, so applied the change.\nThank you.\n\n>Anyway, when sending a patch there are a couple of things which can\n>make the life of people looking at what you send easier:\n>https://wiki.postgresql.org/wiki/Submittin... |
[
{
"msg_contents": "In logical decoding, while sending the changes to the output plugin we\nneed to arrange them in the LSN order. But, if there is only one\ntransaction which is a very common case then we can avoid building the\nbinary heap. A small patch is attached for the same.\n\n-- \nRegards,\nDilip Kuma... |
[
{
"msg_contents": "Right now JIT provides about 30% improvement of TPC-H Q1 query:\n\nhttps://www.citusdata.com/blog/2018/09/11/postgresql-11-just-in-time/\n\nI wonder why even at this query, which seems to be ideal use case for \nJIT, we get such modest improvement?\nI have raised this question several years a... |
[
{
"msg_contents": "Hi,\n\nWe are still on the process to migrate our applications from proprietary RDBMS to PostgreSQL.\n\nHere is a simple query executed on various systems (real query is different but this one does not need any data) :\n\n\nConnected to:\n\nOracle Database 19c Standard Edition 2 Release 19.0.... |
[
{
"msg_contents": "The optimizer cost model usually needs 2 inputs, one is used to represent\ndata distribution and the other one is used to represent the capacity of\nthe hardware, like cpu/io let's call this one as system stats.\n\nIn Oracle database, the system stats can be gathered with\ndbms_stats.gather_... |
[
{
"msg_contents": "Hi,\nI know it's very hard, but is possible. Just someone with the knowledge to do.\n\nHere a proof of concept:\n#include <stdlib.h>\n#include <string.h>\n\n#define MAXPGPATH 256\n\nint main(int argc, char ** argv)\n{\n\tchar\t\ttbsoid[MAXPGPATH];\n\tchar\t\tstr[MAXPGPATH];\n\tint\t\t\tch,\n\... |
[
{
"msg_contents": "Hi,\nThe var pageop has twice assigment, maybe is a mistake?\nThe assigned in the line 593, has no effect?\n\nRanier Vilela",
"msg_date": "Tue, 26 Nov 2019 12:13:16 +0000",
"msg_from": "Ranier Vilela <ranier_gyn@hotmail.com>",
"msg_from_op": true,
"msg_subject": "[PATCH] Remov... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.