threads listlengths 1 2.99k |
|---|
[
{
"msg_contents": "Hi,\n\nAs we have many hooks in postgres that extends the postgres\nfunctionality, I'm wondering if it's a good idea to add a new\nfunction, say, pg_get_all_server_hooks, returning hook name, hook\ndeclaration and its current value (if there's any external module\nloaded implementing the hook... |
[
{
"msg_contents": "Hi Team,\n\nwe experienced pg_upgrade failing when attempted to upgrade from 12.10 to 14.2 \n(on AWS RDS)\n\nWe had this aggregate:\n\nCREATE AGGREGATE public.array_accum(anyelement) ( SFUNC = array_append, STYPE \n= anyarray, INITCOND = '{}');\n\nSyntax in version 14 is changed (we didn't tr... |
[
{
"msg_contents": "Hey,\n\nIs there a thread I'm not finding where the upcoming JSON function\ndocumentation is being made reasonably usable after doubling its size with\nall the new JSON Table features that we've added? If nothing else, the\ntable of contents at the top of the page needs to be greatly expande... |
[
{
"msg_contents": "I discovered while poking at an LDAP problem that our TAP tests are\n100% reproducibly capable of ignoring server crashes and reporting\nsuccess anyway. This problem occurs if the postmaster doesn't get\nthe child failure report until after shutdown has been initiated,\nin which case you fin... |
[
{
"msg_contents": "Would it make sense to make GetFreeIndexPage() atomic?\n\nInternally, GetFreeIndexPage() calls GetPageWithFreeSpace() and then\nRecordUsedIndexPage() in two separate operations. It's possible for two\ndifferent processes to get the same free page at the same time.\n\nTo guard against this, th... |
[
{
"msg_contents": "Hey,\n\nFor the following sequence of commands, on a newly initdb v15devel and\nmostly clean v13 I get a failure and a created table respectively.\n\nShowing v15devel:\n\npostgres=# create database testdb;\nCREATE DATABASE\npostgres=# create role testrole;\nCREATE ROLE\npostgres=# \\c testdb\... |
[
{
"msg_contents": "In [1] I complained about how SubqueryScans that get deleted from\na plan tree by setrefs.c nonetheless contribute cost increments\nthat might cause the planner to make odd choices. That turned\nout not to be the proximate cause of that particular issue, but\nit still seems like it might be ... |
[
{
"msg_contents": "Hi!\n\nDuring work on 64-bit XID patch [1] we found handy to have initdb options\nto set initial xid/mxid/mxoff values to arbitrary non default values. It\nhelps test different scenarios: related to wraparound, pg_upgrade from\n32-bit XID to 64-bit XID, etc.\n\nWe realize, this patch can be s... |
[
{
"msg_contents": "I've completed the first draft of the 14.3 release notes, see\n\nhttps://git.postgresql.org/gitweb/?p=postgresql.git;a=commitdiff;h=66ca1427a4963012fd565b922d0a67a8a8930d1f\n\nAs usual, please send comments/corrections by Sunday.\n\n\t\t\tregards, tom lane\n\n\n",
"msg_date": "Thu, 05 May... |
[
{
"msg_contents": "PSA trivial patch to fix some very old comment typo.\n\n------\nKind Regards,\nPeter Smith.\nFujitsu Australia",
"msg_date": "Fri, 6 May 2022 19:25:34 +1000",
"msg_from": "Peter Smith <smithpb2250@gmail.com>",
"msg_from_op": true,
"msg_subject": "Fix typo in code comment - ori... |
[
{
"msg_contents": "Maybe, the first letter of comments in postinit.c should be capitalized.\nAttaching a tiny patch to fix it.",
"msg_date": "Fri, 6 May 2022 20:40:33 +0800",
"msg_from": "Zaorang Yang <zaorangy@gmail.com>",
"msg_from_op": true,
"msg_subject": "Fix typo in comment"
},
{
"... |
[
{
"msg_contents": "I'm studying how the gist index works trying to improve the test coverage of gistbuild.c.\n\nReading the source code I noticed that the gistInitBuffering function is not covered, so I decided to start with it.\nReading the documentation and the source I understood that for this function to be... |
[
{
"msg_contents": "Hi,\n\nNot sure if these compiler-mutterings are worth reporting but I guess \nwe're trying to get a silent compile.\n\nSystem: Debian 4.9.303-1 (2022-03-07) x86_64 GNU/Linux\nCompiling with gcc 12.1.0 causes the below 'warning' and 'note'.\nCompiling with --enable-cassert --enable-debug is ... |
[
{
"msg_contents": "Hey,\n\nLooking again at the SELECT Reference page while helping a novice user I\nwas once again annoyed but how the most common query syntax form for the\nFROM clause is buried within a bunch of \"how to generate a table\" detail.\n\nIn this specific case I also was trying to describe why wh... |
[
{
"msg_contents": "Hi,\n\nI have a scenario where max_wal_size = 10GB and wal_recycle = on, the\npostgres starts to recycle and keep WAL files for future use,\neventually around 600~ WAL files have been kept in the pg_wal\ndirectory. The checkpoints were happening at regular intervals. But\nthe disk was about t... |
[
{
"msg_contents": "Folks,\n\nPlease find attached a patch to change the sub-second granularity of\nlog timestamps from milliseconds to microseconds.\n\nI started out working on a longer patch that will give people\nmore choices than whole seconds and microseconds, but there were a lot\nof odd corner cases, inc... |
[
{
"msg_contents": "Hi,\r\n\r\nPlease see attached draft for the 2022-05-12 release announcement.\r\n\r\nOne change: while normally we start the EOL notices for \r\n$NEXT_VERSION_EOL ~6 months from $EOL_DATE, I moved the EOL section up \r\nto be closer to the top of the announcement. This comes from feedback \r\... |
[
{
"msg_contents": "Restarting a large instance took twice as long as I expected due to not\nchecking interrupts in (at least) statext_ndistinct_build. Long enough that I\nattached (and was able to attach) a debugger to verify, which I think is too\nlong. I think it could cause issues for an high-availability ... |
[
{
"msg_contents": "\nI suppose we'll do pgindent soon.\n\nI have semi-manually gone through the various .l and .y files and fixed \nup the formatting of the C code to be more in line with pgindent style. \nMost of that code was old, so I don't expect this to be such a large \neffort going forward. I also think... |
[
{
"msg_contents": "\nprotocol.sgml has some unusual indentation that keeps getting added on \nto with new additions in that file. I have gone through and reindented \nit to be more in line with the style elsewhere, so future editing \nhopefully won't be that painful on the eye. ;-)\n\nThe diff can be seen here... |
[
{
"msg_contents": "Now that the user can specify rows and columns to be omitted from the logical\nreplication [1], I suppose hiding rows and columns from the subscriber is an\nimportant use case. However, since the subscription connection user (i.e. the\nuser specified in the CREATE SUBSCRIPTION ... CONNECTION ... |
[
{
"msg_contents": "Hi,\r\n\r\nWhile researching PG15 features, I was trying to read through the \r\ndocs[1] for the \"parallel_commit\" (04e706d4) feature in postgres_fdw to \r\nbetter understand what it does. I found myself becoming lost with the \r\nreferences to (sub)transaction and a few other items that, w... |
[
{
"msg_contents": "Example (you need up-to-the-minute HEAD for this particular test\ncase, but anything that runs a little while before failing will do):\n\nregression=# \\timing\nTiming is on.\nregression=# select * from generate_series('2022-01-01 00:00'::timestamptz,\n 'infinity'::times... |
[
{
"msg_contents": "Hi,\n\nDuring query tuning, users may want to check if GEQO is used or not\nto generate a plan. However, users can not know it by simply counting\nthe number of tables that appear in SQL. I know we can know it by\nenabling GEQO_DEBUG flag, but it needs recompiling, so I think it is\ninconveni... |
[
{
"msg_contents": "Hi,\n\nIn a couple tests I (IIRC others as well) had the problem that a config reload\nisn't actually synchronous. I.e. a sequence like\n\n$node_primary->reload;\n$node_primary->safe_psql('postgres',...)\n\nisn't actually guaranteed to observe the config as reloaded in the the\nsafe_psql(). I... |
[
{
"msg_contents": "Hi Team,\n\nI have cascade level streaming replication & WAL Apply setup .\n\n*Primary -> Secondary 1 -> Secondary 2,Secondary 3*\n*WAL Archive -> Secondary 4*\n\nI am expanding setup by adding another Replica from *Primary -> Secondary 5*\nfor logical streaming.\n\nDo I need to install and c... |
[
{
"msg_contents": "A minor issue, and patch.\n\nREINDEX DATABASE currently requires you to write REINDEX DATABASE\ndbname, which makes this a little less usable than we might like.\n\nREINDEX on the catalog can cause deadlocks, which also makes REINDEX\nDATABASE not much use in practice, and is the reason there... |
[
{
"msg_contents": "Hi All,\n\nCurrently, in postgres we have two different functions that are\nspecially used to open the WAL files for reading and writing purposes.\nThe first one is XLogFileOpen() that is just used to open the WAL file\nso that we can write WAL data in it. And then we have another function\nn... |
[
{
"msg_contents": "I have completed the first draft of the PG 15 release notes and you can\nsee the results here:\n\n https://momjian.us/pgsql_docs/release-15.html\n\nThe feature count is similar to recent major releases:\n\n release-10 195\n release-11 185\n release-12 198\n ... |
[
{
"msg_contents": "(Sorry in advance if this is off-topic of -hackers, and please head me\nto the right place if so.)\n\nI'm stuck by connection failure to gitmaster.\n\nI told that I already have the commit-bit on pgtranslation repository\nfor the community account \"horiguti\".\n\nI did the following steps.\n... |
[
{
"msg_contents": "Good day.\n\n I've found that the pg_temp schema alias is mentioned in the\ndescription of the search_path variable, but is missing from\nthe schemas documentation section.\n\n I think it would be good to have that there, as that section is\nmentioned as an extended reference for sc... |
[
{
"msg_contents": "New rmgr stuff looks interesting. I've had a detailed look through it\nand tried to think about how it might be used in practice.\n\nSpotted a minor comment that needs adjustment for new methods...\n[PATCH: rmgr_001.v1.patch]\n\nI notice rm_startup() and rm_cleanup() presume that this only wo... |
[
{
"msg_contents": "With beta1 planned for next week, we're running out of time for $SUBJECT.\nI propose to do that tomorrow, or possibly Friday if anyone needs a\nlittle more time to get bugfix patches in. Comments?\n\n\t\t\tregards, tom lane\n\n\n",
"msg_date": "Wed, 11 May 2022 15:36:59 -0400",
"msg_... |
[
{
"msg_contents": "Hello,\n\nI've noticed that \n\njsonb_hash_extended(jsonb_v,0) = jsonb_hash_extended(jsonb_build_array(jsonb_v),0)\n\nfor any jsonb value jsonb_v. \n\nAFAICT it happens because when iterating over a jsonb the hash function makes no distinction between raw scalars and arrays (it doesn't inspec... |
[
{
"msg_contents": "Hi,\n\nI was experimenting with specifying symbol visiblity for functions explicitly,\ni.e. adding PGDLLIMPORT markers for them, with the goal of getting rid of\nsrc/tools/msvc/gendef.pl (and similar AIX stuff). While doing that I compared\nthe set of exported symbols before / after, leading ... |
[
{
"msg_contents": "I just completed the v15 pre-beta pgindent run. It went reasonably\nsmoothly, but I had to hack up typedefs.list a little bit compared\nto the version downloaded from the buildfarm.\n\n* The buildfarm's list is missing\n pg_md5_ctx\n pg_sha1_ctx\n pg_sha224_ctx\n pg_sha256_ctx\n ... |
[
{
"msg_contents": "Andres drew my attention to this [1] build farm failure.\n\nLooks like a test I wrote resetting pg_stat_replication_slots is\nfailing:\n\n # Failed test 'Check that reset timestamp is later after resetting\nstats for slot 'test_slot' again.'\n # at t/006_logical_decoding.pl line 261.\n ... |
[
{
"msg_contents": "Hi,\n\nPFA, attached patch to $SUBJECT.\n\n-- \nRegards,\nAmul Sul\nEDB: http://www.enterprisedb.com\n\n\n",
"msg_date": "Fri, 13 May 2022 10:20:52 +0530",
"msg_from": "Amul Sul <sulamul@gmail.com>",
"msg_from_op": true,
"msg_subject": "Correct comment in ProcedureCreate() for... |
[
{
"msg_contents": "We didn't have any use of TransactionId as members of List, until\nRelationSyncEntry->streamed_txns was introduced (464824323e57, pg14).\nIt's currently implemented as a list of int. This is not wrong at\npresent, but it may soon be, and I'm sure it rubs some people the wrong\nway.\n\nBut is... |
[
{
"msg_contents": "\nHi, hackers\n\nI had an incident on my Postgres 14 that queries hung in wait event\nIPC / MessageQueueInternal, MessageQueueReceive. It likes [1],\nhowever, it doesn't have any discussions.\n\nThe process cannot be terminated by pg_terminate_backend(), although\nit returns true.\n\nHere is... |
[
{
"msg_contents": "Hi,\nw.r.t. v33-0001-Remove-self-joins.patch :\n\nremoves inner join of plane table -> removes inner join of plain table\nin an query plan -> in a query plan\n\n+ * Used as the relation_has_unique_index_for,\n\nSince relation_has_unique_index_for() becomes a wrapper of\nrelation_has_unique_in... |
[
{
"msg_contents": "Hi,\r\n\r\nAttached is a draft of the release announcement for the PostgreSQL 15 \r\nBeta 1 release. The goal of this announcement is to raise awareness \r\naround many of the new features appearing in PostgreSQL 15 and to \r\nencourage people to test. The success of the PostgreSQL 15 GA depe... |
[
{
"msg_contents": "Hi hackers,\n\nAt function load_relcache_init_file, there is an unnecessary function call,\nto initialize pgstat_info pointer to NULL.\n\nMemSet(&rel->pgstat_info, 0, sizeof(rel->pgstat_info));\n\nI think that intention with use of MemSet was:\nMemSet(&rel->pgstat_info, 0, sizeof(*rel->pgstat... |
[
{
"msg_contents": "notnulls discussion is forked from UniqueKey stuff, you can see the\nattachment\nfor the UnqiueKey introduction. Tom raised his opinion to track the\nnullability\ninside Var[1][2][3], this thread would start from there based on my\nunderstanding.\n\nGenerally tracking the null attributes insi... |
[
{
"msg_contents": "Currently, CREATE STATS requires you to think of a name for each stats\nobject, which is fairly painful, so users would prefer an\nautomatically assigned name.\n\nAttached patch allows this, which turns out to be very simple, since a\nname assignment function already exists.\n\nThe generated ... |
[
{
"msg_contents": "Note: I am not (currently) planning on implementing this rough idea,\njust putting it up to share and document the idea, on request of Tomas\n(cc-ed).\n\nThe excellent pgconf.de presentation on PostgreSQL's extended\nstatistics system by Tomas Vondra [0] talked about how the current\ndefault ... |
[
{
"msg_contents": "Hi,\n\nSpeaking as someone who regularly trawls through megabytes of build farm output:\n\n1. It seems a bit useless to have a load of \"FATAL: the database\nsystem is in recovery mode\" spam whenever the server crashes under\nsrc/test/regress. Any reason not to just turn that off, as we d... |
[
{
"msg_contents": "Hi,\n\nI noticed that $subject causes an error in HEAD:\n\n$ pgbench -i --partitions=0\npgbench: error: --partitions must be in range 1..2147483647\n\nHowever, it works in v13 and v14, assuming no partitions.\n\nI think the commit 6f164e6d17 may have unintentionally broken it, by\nintroducing... |
[
{
"msg_contents": "Hi all,\n\nCutting support for now-unsupported versions of Windows is in the air\nfor a couple of months, and while looking at the code a first cleanup\nthat looked rather obvious to me is the removal of support for VS\n2013, as of something to do for v16~.\n\nThe website of Microsoft has onl... |
[
{
"msg_contents": "Inspired by [0], I looked to convert more macros to inline functions. \nThe attached patches are organized \"bottom up\" in terms of their API \nlayering; some of the later ones depend on some of the earlier ones.\n\n\nNote 1: Some macros that do by-value assignments like\n\n#define PageXLogR... |
[
{
"msg_contents": "Consider:\n\ntypedef struct Memoize\n{\n Plan plan;\n\n int numKeys; /* size of the two arrays below */\n\n Oid *hashOperators; /* hash operators for each key */\n Oid *collations; /* cache keys */\n List *param_exprs; /* e... |
[
{
"msg_contents": "HI all! I wanted to share a useful tool that I built during the pandemic.\nOne of my deepest projects I’ve created in postgres, and I’m excited to\nshare it with the community and get ideas and feedback.\n\nI do a lot of functional programming and needed dynamic SQL. My personal\nbelief is th... |
[
{
"msg_contents": "Bug #17483 points out that postgres_fdw falls down pretty badly when\na potentially shippable clause contains a \"regconfig\" constant [1].\nIt doesn't check whether the constant refers to an object that's\nlikely to exist on the remote side, and it fails to ensure that\nthe printed name is p... |
[
{
"msg_contents": "027_stream_regress.pl has:\n\nif (PostgreSQL::Test::Utils::has_wal_read_bug)\n{\n # We'd prefer to use Test::More->builder->todo_start, but the bug causes\n # this test file to die(), not merely to fail.\n plan skip_all => 'filesystem bug';\n}\n\nIs the die() referenced there the one... |
[
{
"msg_contents": "Hi all,\n\nToast compression is supported for LZ4, and thanks to the refactoring\nwork done with compression methods assigned to an attribute, adding\nsupport for more methods is straight-forward, as long as we don't\nsupport more than 4 methods as the compression ID is stored within the\nfir... |
[
{
"msg_contents": "Hi,\n\nAttaching a tiny patch to fix a typo - replace primary_slotname with\ncorrect parameter name primary_slot_name in walreceiver.c code\ncomments.\n\nRegards,\nBharath Rupireddy.",
"msg_date": "Tue, 17 May 2022 10:38:23 +0530",
"msg_from": "Bharath Rupireddy <bharath.rupireddyforp... |
[
{
"msg_contents": "Hello.\n\nWhile I looked into a patch, I noticed that check_tuple_attribute does\nnot run the check for compessed data even if a compressed data is\ngiven.\n\ncheck_tuple_attribute()\n..\n\tstruct varatt_external toast_pointer;\n..\n\tVARATT_EXTERNAL_GET_POINTER(toast_pointer, attr);\n..\n\ti... |
[
{
"msg_contents": "I found it annoying that sql_help.c contains a literal parameter as a\ntranslatable string.\n\nThe cause is that create_help.pl treats <literal>match</> as a\nreplaceable. The attached excludes literals from translatable strings.\n\nBy a quick look it seems to me that the \"match\" in \"COPY.... |
[
{
"msg_contents": "This adds additional variants of palloc, pg_malloc, etc. that \nencapsulate common usage patterns and provide more type safety.\n\nExamples:\n\n- result = (IndexBuildResult *) palloc(sizeof(IndexBuildResult));\n+ result = palloc_obj(IndexBuildResult);\n\n- collector->tuples = (IndexTupl... |
[
{
"msg_contents": "Hi Team,\n\nAppreciate your time to look into this.\n\nI have a requirement, where a user has to be provided DDL access on the\nschema (which is provided to the user) and as there is some development\nwork in process the user has to be provided the read only access on system\ncatalog tables (... |
[
{
"msg_contents": "Hi,\n\nWe often hear customers/users asking questions like - How much time\ndoes it take for postgres to recover if it crashes now? How much time\ndoes it take for a PITR to finish if it's started now with a specific\nrecovery target? When will the recovery of a postgres server end? It\nwill... |
[
{
"msg_contents": "Greetings,\n\nAn ongoing issue in container environments where Kubernetes is being\nused is that setting the overcommit parameters on the base system will\nimpact all of the processes on that system and not all of them handle\nmalloc failing as gracefully as PG does and may allocate more than... |
[
{
"msg_contents": "Hello,\n\nThis is a fresh thread to continue the discussion on ALTER TABLE SET\nACCESS METHOD when applied to partition roots, as requested.\n\nCurrent behavior (HEAD):\n\nCREATE TABLE am_partitioned(x INT, y INT)\n PARTITION BY hash (x);\nALTER TABLE am_partitioned SET ACCESS METHOD heap2;... |
[
{
"msg_contents": "funcs.sgml has\n\n 42 <@ '{[1,7)}'::int4multirange\n\nand calls it true. The attached fixes that.\n\nIncluded are two more changes where actual output differs a bit from \nwhat the doc examples show.\n\nErik",
"msg_date": "Wed, 18 May 2022 03:08:32 +0200",
"msg_from": "Erik Rijker... |
[
{
"msg_contents": "Hi pg-hackers,\n\nI have written a postgres extension, and know that memory leak check can be\ndone with valgrind. With the help of postgres_valgrind_wiki\n<https://wiki.postgresql.org/wiki/Valgrind> started postgres server with\nthe valgrind(as given in the wiki)\n\nvalgrind --leak-check=no ... |
[
{
"msg_contents": "Hi,\n\n+ tup = SearchSysCache1(RELOID, ObjectIdGetDatum(relid));\n+ accessMethodId = ((Form_pg_class) GETSTRUCT(tup))->relam;\n\n- /* look up the access method, verify it is for a table */\n- if (accessMethod != NULL)\n- accessMethodId = get_table_am_oid(accessMethod, fa... |
[
{
"msg_contents": "Hi all,\n(Added Andrew in CC.)\n\nWhile working more on expanding the tests of pg_upgrade for\ncross-version checks, I have noticed that we don't expose a routine\nable to get back _pg_version from a node, which should remain a\nprivate field of Cluster.pm. We already do that for install_pat... |
[
{
"msg_contents": "Hi hackers.\n\nFYI, I saw that there was a recent Build-farm error on the \"grison\" machine [1]\n[1] https://buildfarm.postgresql.org/cgi-bin/show_history.pl?nm=grison&br=HEAD\n\nThe error happened during \"subscriptionCheck\" phase in the TAP test\nt/031_column_list.pl\nThis test file was a... |
[
{
"msg_contents": "Hi:\nI write a C function, the function is as follows:\ncreate function st_geosotgrid(geom geometry, level integer) returns geosotgrid[]\n immutable\n strict\n parallel safe\n language c\nas\n$$\nbegin\n-- missing source code\nend;\n$$;\n\n\n\n\nAt the same time, I set the releva... |
[
{
"msg_contents": "Debian unstable mips64el:\n\n2022-05-18 22:57:34.436 UTC client backend[19222] pg_regress/triggers STATEMENT: drop trigger trg1 on trigpart3;\n...\n2022-05-18 22:57:39.110 UTC postmaster[7864] LOG: server process (PID 19222) was terminated by signal 11: Segmentation fault\n2022-05-18 22:57:... |
[
{
"msg_contents": "Debian unstable mips (the old 32-bit one):\n\ntest vacuum-conflict ... ok 2170 ms\ntest vacuum-skip-locked ... ok 2445 ms\ntest stats ... FAILED 38898 ms\ntest horizons ... ok 4543 ms\ntest predicate-... |
[
{
"msg_contents": "Hi hackers,\n\nPrompted by a question on IRC, here's a patch to add a result_types\ncolumn to the pg_prepared_statements view, so that one can see the types\nof the columns returned by a prepared statement, not just the parameter\ntypes.\n\nI'm not quite sure about the column name, suggestion... |
[
{
"msg_contents": "Greetings!\n\nI was wondering if you could provide me with initial feedback on my GSoC proposal, as well as if you have any comments about it. And would it be possible to know whether I got accepted as a contributor?\n\nBest Regards,\nIsraa Odeh.\nSent from Mail<https://go.microsoft.com/fwlin... |
[
{
"msg_contents": "./tmp_install/usr/local/pgsql/bin/postgres -D ./src/test/regress/tmp_check/data -c min_dynamic_shared_memory=1MB\n\nTRAP: FailedAssertion(\"val > base\", File: \"../../../../src/include/utils/relptr.h\", Line: 67, PID: 21912)\n./tmp_install/usr/local/pgsql/bin/postgres(ExceptionalCondition+0x... |
[
{
"msg_contents": "Hackers,\n\nOver the past few days I've been gathering some benchmark results\ntogether to show the sort performance improvements in PG15 [1].\n\nOne of the test cases I did was to demonstrate Heikki's change to use\na k-way merge (65014000b).\n\nThe test I did to try this out was along the l... |
[
{
"msg_contents": "Hi\n\nRegarding the visibility of query information, the description for\n\"track_activities\" [1] says:\n\n> Note that even when enabled, this information is not visible to all users,\n> only to superusers and the user owning the session being reported on, so it\n> should not represent a sec... |
[
{
"msg_contents": "Hi hackers,\n\nThe attached patch modifies the pg_stat_statements view documentation updated in PostgreSQL 15 Beta 1.\nThe data type of the following columns in the pg_stat_statements view is bigint in the current document, \nbut it is actually double precision.\n\tjit_generation_time\n\tjit_... |
[
{
"msg_contents": "Hi,\nI was looking at the code in hash_record()\nof src/backend/utils/adt/rowtypes.c\n\nIt seems if nulls[i] is true, we don't need to look up the hash function.\n\nPlease take a look at the patch.\n\nThanks",
"msg_date": "Fri, 20 May 2022 11:41:57 -0700",
"msg_from": "Zhihong Yu <zyu... |
[
{
"msg_contents": "Hello, hackers.\n\nToday I was doing some aggregates over pg_stat_statements in order to\nfind types of queries consuming most of the CPU. Aggregates were made\non two pg_state_statement snapshots within 30 sec delay.\n\nThe sum(total_time) had the biggest value for a very frequent query\nwit... |
[
{
"msg_contents": "Hi hackers,\n\nPresently, if you want to only build trusted PL/Perl and PL/Tcl, you need\nto make a couple of code changes to compile out the untrusted parts. I\nsuspect many users (e.g., anyone who wants to disallow file system access)\nwould benefit from a better supported way to do this. ... |
[
{
"msg_contents": "Hi hackers,\nThanks to all the developers. The attached patch updates the manual for the pg_stat_recovery_prefetch view.\nThe current pg_stat_recovery_prefetch view definition is missing the stats_reset column. The attached patch adds information in the stats_reset column.\n\nhttps://www.post... |
[
{
"msg_contents": "Hi,\n\nWhile working on a feature, I came across an undefined\n(declaration-only) function CalculateMaxmumSafeLSN added by commit\nc655077 [1]. Attaching a patch to remove it.\n\n[1] commit c6550776394e25c1620bc8258427c8f1d448080d\nAuthor: Alvaro Herrera <alvherre@alvh.no-ip.org>\nDate: Tue... |
[
{
"msg_contents": "Hi,\n\nWhile working on a feature, I noticed that there are unnecessary\nincludes of \"use File::Path qw(rmtree);\" in some TAP test files and\nalso some wrong comments in 019_replslot_limit.pl. Attaching a patch\nto fix these.\n\nRegards,\nBharath Rupireddy.",
"msg_date": "Sat, 21 May 20... |
[
{
"msg_contents": ">Zhihong Yu <zyu(at)yugabyte(dot)com> writes:\n>> I was looking at the code in hash_record()\n>> of src/backend/utils/adt/rowtypes.c\n>> It seems if nulls[i] is true, we don't need to look up the hash function.\n\n>I don't think this is worth changing. It complicates the logic,\n>rendering it... |
[
{
"msg_contents": "It looks like the docs weren't updated in 6f6b99d13 for v11.\n\nThe docs also seem to omit \"FOR VALUES\" literal.\nAnd don't define partition_bound_spec (which I didn't fix here).\n\ndiff --git a/doc/src/sgml/ref/create_foreign_table.sgml b/doc/src/sgml/ref/create_foreign_table.sgml\nindex b... |
[
{
"msg_contents": "Hi,\n\nCurrently postgres allows setting any value for max_wal_size or\nmin_wal_size, not enforcing \"at least twice as wal_segment_size\" limit\n[1]. This isn't a problem if the server continues to run, however, the\nserver can't come up after a crash or restart or maintenance or\nupgrade (g... |
[
{
"msg_contents": "Greetings!Please I need to cancel my subscription to this mailing list, could you delete me from it, or tell me how to unsubscribe. Best Regards,Israa Odeh. Sent from Mail for Windows \n",
"msg_date": "Sat, 21 May 2022 21:30:33 +0300",
"msg_from": "Israa Odeh <israa.k.odeh@gmail.com>"... |
[
{
"msg_contents": "The initialization in PostmasterMain() blindly turns on LoadedSSL,\nirrespective of the outcome of secure_initialize(). I don't think\nthat's how it should behave, primarily because of the pattern followed\nby the other places that call secure_initialize().\n\nThis patch makes PostmasterMain(... |
[
{
"msg_contents": "Hi David,\n\n>Over the past few days I've been gathering some benchmark results\n>together to show the sort performance improvements in PG15 [1].\n\n>One of the test cases I did was to demonstrate Heikki's change to use\n>a k-way merge (65014000b).\n\n>The test I did to try this out was along... |
[
{
"msg_contents": "forking: <20220307191054.n5enrlf6kdn7zc42@alap3.anarazel.de>\n\nAn update.\n\nccache 4.6.1 was released which allows compiling postgres\nI submitted a request to update the package in chocolatey.\n\nBut with the existing build system, it's no faster anyway, I guess due to poor\nuse of paralle... |
[
{
"msg_contents": "PostgreSQL version:PostgreSQL 14.0 on x86_64-pc-linux-gnu, compiled by gcc\r\n(GCC) 4.8.5 20150623 (Red Hat 4.8.5-39), 64-bit\r\nPlatform information:Linux version 3.10.0-1127.el7.x86_64\r\n(mockbuild@kbuilder.bsys.centos.org) (gcc version 4.8.5 20150623 (Red Hat\r\n4.8.5-39) (GCC) ) #1 SMP T... |
[
{
"msg_contents": "Hi hackers,\nThanks to all the developers. The attached patch updates the manual for the pg_database catalog.\nThe current pg_database view definition is missing the datlocprovider column. The attached patch adds this column info.\nhttps://www.postgresql.org/docs/15/catalog-pg-database.html\n... |
[
{
"msg_contents": "Hi Team,\n\nAppreciate your time to look into this.\n\nTo select from another database I try to use dblink or fdw extension of\nPostgres, like this:\n\nmesods =>CREATE EXTENSION dblink;\n\nCREATE EXTENSION\n\nmesods => CREATE EXTENSION postgres_fdw;\n\nCREATE EXTENSION\n\nmesods=> select dbli... |
[
{
"msg_contents": "Hi,\n\nIt seems like there are some duplications of 'the' in pgstat.c and \npgstat_internal.h.\nAttaching a tiny patch to fix them.\n\n-- \nRegards,\n\n--\nAtsushi Torikoshi\nNTT DATA CORPORATION",
"msg_date": "Mon, 23 May 2022 22:46:22 +0900",
"msg_from": "torikoshia <torikoshia@oss.... |
[
{
"msg_contents": "Normal aggregate and partition wise aggregate have a big difference rows cost:\n\nbegin;\ncreate table t1(id integer, name text) partition by hash(id);\ncreate table t1_0 partition of t1 for values with(modulus 3, remainder 0);\ncreate table t1_1 partition of t1 for values with(modulus 3, rem... |
[
{
"msg_contents": "Hello hackers,\n\nThe DefineCustomStringVariable function(or any\nother DefineCustomXXXVariable) has a short_desc parameter that can be\nNULL and it's not apparent that this will lead to a segfault when SHOW ALL\nis used.\nThis happens because the ShowAllGUCConfig function expects a non-NULL\... |
[
{
"msg_contents": "Hi all,\n(Adding Andrew Dunstan in CC.)\n\nI have been toying with $subject, trying to improve the ways to test\npg_upgrade across different major versions as perl makes that easier.\nThe buildfarm does three things to allow such tests to work (see\nTestUpgradeXversion.pm):\n- Apply a filter ... |
[
{
"msg_contents": "> We try fairly hard to ensure that the row count estimate for a given relation\n> does not vary across paths, so I concur with the OP that this is a bug. Having\n> said that, I'm not sure that the consequences are significant. As you say, the\n> estimates seem to get a lot closer as soon a... |
[
{
"msg_contents": "Hi,\n\nSimon reported $subject off-list.\n\nFor triggers on partitioned tables, various enable/disable trigger\nvariants recurse to also process partitions' triggers by way of\nATSimpleRecursion() done in the \"prep\" phase. While that way of\nrecursing is fine for row-level triggers which a... |
[
{
"msg_contents": "Hi,\r\n Some databases (like Teradata) support the following syntax:\r\n\r\n select col1, col2*20 as col2_1, col2_1*200 as col3_1 from your_table;\r\n\r\n The last element in the target list can refer the second one using its alias.\r\n\r\n This feature is similar to some programm... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.