threads listlengths 1 2.99k |
|---|
[
{
"msg_contents": "While doing more testing of [1], I realised that it has a bug, which\nreveals a pre-existing problem in transformLockingClause():\n\nCREATE TABLE t1(a int);\nCREATE TABLE t2(a int);\nCREATE TABLE t3(a int);\n\nSELECT 1\nFROM t1 JOIN t2 ON t1.a = t2.a,\n t3 AS unnamed_join\nFOR UPDATE OF u... |
[
{
"msg_contents": "Hi hackers,\n\nI found that as of a0ffa88, it's possible to set a PGC_SUSET GUC defined by\na trusted extension as a non-superuser. I've confirmed that this only\naffects v15 and later versions.\n\n\tpostgres=# CREATE ROLE testuser;\n\tCREATE ROLE\n\tpostgres=# GRANT CREATE ON DATABASE postg... |
[
{
"msg_contents": "Hi.\n\nIMO the comment (\"If no parameter given, ...\") is a bit misleading:\n\n====\n\n(gdb) list\n108 defGetBoolean(DefElem *def)\n109 {\n110 /*\n111 * If no parameter given, assume \"true\" is meant.\n112 */\n113 if (def->arg == NULL)\n114 return true;\n115\n116 /*\n117 * Allow 0, 1, \"tru... |
[
{
"msg_contents": "Hello.\n\nWhile working on a patch, I met a function with the signature of:\n\n> DropRelFileLocatorBuffers(SMgrRelation smgr_reln, ForkNumber *forkNum,\n> \t\t\t\t\t\t int nforks, BlockNumber *firstDelBlock)\n\nIt was DropRelFileNodeBuffers(), which means \"Drop buffers for a\nRelFileNode\",... |
[
{
"msg_contents": "Hi,\n\nSince an exclusive backup method was dropped in v15, in v15 or later, we need to create backup_label and tablespace_map files from the result of pg_backup_stop() when taking a base backup using low level backup API. One issue when doing this is that; there is no simple way to create th... |
[
{
"msg_contents": "Hi,\nI was able to create gin index on inet column in PG.\n\nGIN is good with points/elements in sets. Is gin a good index for inet\ncolumn ?\nIt seems gist index would be better.\n\nComments are welcome.\n\nHi,I was able to create gin index on inet column in PG.GIN is good with points/elemen... |
[
{
"msg_contents": "This patch causes wrong index scan plan with RLS. Maybe function restriction_is_securely_promotable is too strict?\r\n\r\n\r\nYou can reproduce in this way:\r\n\r\n\r\ncreate table abc (a integer, b text);\r\ninsert into abc select (random()*(10^4))::integer, (random()*(10^4))::text from gene... |
[
{
"msg_contents": "Hi,\n\nComparison of 2 values of type jsonb is allowed.\n\nComparison of 2 values of type json gives an error.\n\nThat seems like an oversight -- or is it deliberate?\n\nExample:\n\nselect '42'::json = '{}'::json;\n--> ERROR: operator does not exist: json = json\n\n(of course, easily 'solved... |
[
{
"msg_contents": "Hi, community.\n\nRecently, when I was developing some function about INSERT ... ON CONFLICT,\nI used test cases in `src/test/regress/sql/insert_conflict.sql` to evaluate\nmy function. When I copy the CREATE TABLE from this case alone, and paste\nit to psql, I got a syntax error. As I go thro... |
[
{
"msg_contents": "Hi,\nHere is the query which involves aggregate on a single column:\n\nhttps://dbfiddle.uk/?rdbms=postgres_13&fiddle=44bfd8f6b6b5aad34d00d449c04c5a96\n\nAs you can see from `Output:`, there are many columns added which are not\nneeded by the query executor.\n\nI wonder if someone has noticed ... |
[
{
"msg_contents": "Hi all, apologies if this is the wrong list to use, but I figured this is a\nlow-level enough problem that it might be the best to gain some\nunderstanding.\n\nIn PGDB 13.4 I have a simple (obscured) table;\n\nCREATE SEQUENCE tbl_id_seq START 1;\nCREATE TABLE tbl (\n a BIGINT UNIQUE NOT NUL... |
[
{
"msg_contents": "Hi,\n\nAttached are a few small changes to the JSON_TABLE section in func.sgml.\n\nThe first two changes are simple typos.\n\nThen there was this line:\n\n----\ncontext_item, path_expression [ AS json_path_name ] [ PASSING { value AS \nvarname } [, ...]]\n----\n\nthose are the parameters to J... |
[
{
"msg_contents": "We've long avoided building I/O support for utility-statement node\ntypes, mainly because it didn't seem worth the trouble to write and\nmaintain such code by hand. Now that the automatic node-support-code\ngeneration patch is in, that argument is gone, and it's just a matter\nof whether the... |
[
{
"msg_contents": "As committed, gen_node_support.pl excludes CallContext and InlineCodeBlock\nfrom getting unneeded support functions via some very ad-hoc code.\n(Right now, there are some other node types that are handled similarly,\nbut I'm looking to drive that set to empty.) After looking at the\nsituatio... |
[
{
"msg_contents": "Hi,\n\nIn one of my compilations of Postgres, I noted this warning from gcc.\n\ngcc -Wall -Wmissing-prototypes -Wpointer-arith\n-Wdeclaration-after-statement -Werror=vla -Wendif-labels\n-Wmissing-format-attribute -Wimplicit-fallthrough=3 -Wcast-function-type\n-Wformat-security -fno-strict-ali... |
[
{
"msg_contents": "Hello,\n\nI wonder how much dead code for ancient operating systems we could now\ndrop. Here are some easier cases, I think, and one tricky one that\nmight take some debate. I think it makes a lot of sense to say that\nwe expect at least POSIX-1:2001, because that corresponds to C99, with\n... |
[
{
"msg_contents": "Hi, hackers\n\nI don't know if this is an error.\nwhen I do ./initdb -D ../data and execute pg_waldump like this, In the last part I got an error.\n\n```\n./pg_waldump ../data/pg_wal/000000010000000000000001\n```\n\npg_waldump: error: error in WAL record at 0/1499990: invalid record length at... |
[
{
"msg_contents": "I'm new here, so forgive me if this is a bad idea or my lack of knowledge on\nhow to optimize PostgreSQL.\n\nI find PostgreSQL to be great with a large number of small transactions,\nwhich covers most use cases. However, my experience has not been so great\non the opposite end -- a small num... |
[
{
"msg_contents": "Hi, hackers\n\n\nI'm eager to dive into how to write wal for large object. In the code path:\n\n\nheap_insert -> heap_prepare_insert -> heap_toast_insert_or_update -> toast_save_datum -> heap_insert\n\n\nI find heap_insert is called back.\n\n\n1. At heaptup = heap_prepare_insert(relation, tup... |
[
{
"msg_contents": "Hi,\nI'm sending this to pgsql-hackers because Vik Fearing (xocolatl), the reviewer of https://commitfest.postgresql.org/30/2316 also has a repository with a pgsql implementation of said functionalities: https://github.com/xocolatl/periods.\n\nI have stumbled upon a probable issue (https://gi... |
[
{
"msg_contents": "I like the ignore-revs file, but I run into a problem with my setup:\nbecause I keep checkouts of all branches as worktrees, then all branches\nshare the same .git/config file. So if I put the recommended stanza for\n[blame] in it, then 'git blame' complains in branches older than 13,\nsince... |
[
{
"msg_contents": "Over on [1], I highlighted that 40af10b57 (Use Generation memory\ncontexts to store tuples in sorts) could cause some performance\nregressions for sorts when the size of the tuple is exactly a power of\n2. The reason for this is that the chunk header for generation.c\ncontexts is 8 bytes lar... |
[
{
"msg_contents": "Hi hackers,\n\n\nIt is often not feasible to use `REPLICA IDENTITY FULL` on the\npublication, because it leads to full table scan\n\nper tuple change on the subscription. This makes `REPLICA IDENTITY\nFULL` impracticable -- probably other\n\nthan some small number of use cases.\n\nWith this p... |
[
{
"msg_contents": "Hello,\n\nThe problem we face is excessive logging of connection information\nthat clutters the logs and in corner cases with many short-lived\nconnections leads to disk space exhaustion.\n\nCurrent connection log lines share significant parts of the\ninformation - host, port, very close time... |
[
{
"msg_contents": "Add copy/equal support for XID lists\n\nCommit f10a025cfe97 added support for List to store Xids, but didn't\nhandle the new type in all cases. Add some obviously necessary pieces.\nAs far as I am aware, this is all dead code as far as core code is\nconcerned, but it seems unacceptable not t... |
[
{
"msg_contents": "I looked into the complaint at [1] about the planner being much\nstupider when one side of a JOIN USING is referenced than the other\nside. It seemed to me that that shouldn't be happening, because\nthe relevant decisions are made on the basis of EquivalenceClasses\nand both USING columns sh... |
[
{
"msg_contents": "I was rebasing a patch which requires me to make some changes in\nget_cheapest_group_keys_order(). I noticed a few things in there that\nI think we could do a little better on:\n\n* The code uses pfree() on a list and it should be using list_free()\n\n* There's a manually coded for loop over... |
[
{
"msg_contents": "Hi,\n\nMost of the code is common between GetSubscriptionRelations and\nGetSubscriptionNotReadyRelations. Added a parameter to\nGetSubscriptionRelations which could provide the same functionality as\nthe existing GetSubscriptionRelations and\nGetSubscriptionNotReadyRelations. Attached patch h... |
[
{
"msg_contents": "I'm not sure if it fits -hackers, but seems better than -translators.\n\nI find it annoying that make update-po stops at pg_upgrade on master.\nThe cause is that a file is renamed from relfilenode.c to\nrelfilenumber.c so just fixing the name works. (attached first).\n\n\nOn the other hand, b... |
[
{
"msg_contents": "I happened to see the message below.\n\n> WARNING: new data directory should not be inside the old data directory, e.g. %s\n\nThe corresponding code is\n\n> ... the old data directory, e.g. %s\", old_cluster_pgdata);\n\nSo, \"e.g.\" (for example) in the message sounds like \"that is\", which... |
[
{
"msg_contents": "Hi hackers,\n\nI noticed that we didn't collect the ObjectAddress returned by\nATExec[Attach|Detach]Partition. I think collecting this information can make it\neasier for users to get the partition OID of the attached or detached table in\nthe event trigger. So how about collecting it like th... |
[
{
"msg_contents": "Hackers,\n\nI usually build the PostgreSQL from the sources directory. But I've\nheard a complaint that PostgreSQL can't be built in the external\ndirectory.\n\nAssuming postgres sources located in postgresql directory, the\nfollowing sequence of commands\n\nmkdir -p pgbld\ncd pgbld\n../post... |
[
{
"msg_contents": "Hi hackers,\n\nWhile I was writing a test for PSQL, I faced a weird scenario. Depending on\nhow I build PSQL (enabling or not debug options), I saw different results\nfor the following query.\n\nSteps to reproduce:\n- OS: Ubuntu 20.04\n- PSQL version 14.4\n\nCREATE TABLE test (single_byte_col... |
[
{
"msg_contents": "$ git grep 'is not supported by this build' '*c'\nsrc/backend/access/transam/xloginsert.c: elog(ERROR, \"LZ4 is not supported by this build\");\nsrc/backend/access/transam/xloginsert.c: elog(ERROR, \... |
[
{
"msg_contents": "Hi hackers,\n\nA few years ago, there was a proposal to create hash tables for long\n[sub]xip arrays in snapshots [0], but the thread seems to have fizzled out.\nI was curious whether this idea still showed measurable benefits, so I\nrevamped the patch and ran the same test as before [1]. He... |
[
{
"msg_contents": "Hackers,\n\nWe have noticed an issue when performing recovery with recovery_target = \n'immediate' when the latest timeline cannot be replayed to from the \nbackup (current) timeline.\n\nFirst, create two backups:\n\n$ pgbackrest --stanza=demo --type=full --start-fast backup\n$ pgbackrest --s... |
[
{
"msg_contents": "Hi hackers,\n\nWhile debugging some slow queries containing Bitmap Heap/Index Scans (in\nshort BHS / BIS), we observed a few issues regarding scalability:\n\n 1. The BIS always only runs in a single process, also when the parent\n BHS is parallel. The first process arriving in the BHS ser... |
[
{
"msg_contents": "Dear list,\n\ni am dealing with an application that processes fairly large arrays of \nintegers. It makes heavy use of the intarray extension, which works \ngreat in most cases. However, there are two requirements that cannot be \naddressed by the extension and are rather slow with plain SQL.... |
[
{
"msg_contents": "Hi,\n I run TPC-DS benchmark for Postgres and find the join size estimation has several problems.\n For example, Ndistinct is key to join selectivity's estimation, this value does not take restrictions\n of the rel, I hit some cases in the function eqjoinsel, nd is much larger than v... |
[
{
"msg_contents": "Hi,\n\nOne of the problems we found ([1]) when looking at spurious failures of the\nrecovery conflict test ([2]) is that a single backend can FATAL out multiple\ntimes. That seems independent enough from that thread that I thought it best\nto raise separately.\n\nThe problem is that during t... |
[
{
"msg_contents": "Hi,\nI was looking at the code in use_physical_tlist().\n\nIn the code block checking CP_LABEL_TLIST, I noticed that\nthe Bitmapset sortgroupatts is not freed before returning from the method.\n\nLooking at create_foreignscan_plan() (in the same file):\n\n bms_free(attrs_used);\n\nIt s... |
[
{
"msg_contents": "I've run into an existing behavior where xmax(), and various other system\ntables, return an error when included in the RETURNING list on a\npartitioned table.\n\nERROR: cannot retrieve a system column in this context\n`\nThis issue got a fair airing back in 2020:\n\nAW: posgres 12 bug (part... |
[
{
"msg_contents": "Default to hidden visibility for extension libraries where possible\n\nUntil now postgres built extension libraries with global visibility, i.e.\nexporting all symbols. On the one platform where that behavior is not\nnatively available, namely windows, we emulate it by analyzing the input fi... |
[
{
"msg_contents": "Hi\n\nI am trying to fix one slow query, and found that optimization of min, max\nfunctions is possible only when there is no JOIN in the query.\n\nIs it true?\n\nI need to do manual transformation of query\n\nselect max(insert_date) from foo join boo on foo.boo_id = boo.id\nwhere foo.item_id... |
[
{
"msg_contents": "It's easy to use CREATE TABLE..LIKE + ALTER..ATTACH PARTITION to avoid\nacquiring a strong lock when creating a new partition.\nBut it's also easy to forget.\n\ncommit 76c0d1198cf2908423b321cd3340d296cb668c8e\nAuthor: Justin Pryzby <pryzbyj@telsasoft.com>\nDate: Mon Jul 18 09:24:55 2022 -05... |
[
{
"msg_contents": "I got annoyed just now upon finding that pprint() applied to the planner's\n\"root\" pointer doesn't dump root->agginfos or root->aggtransinfos. That's\nevidently because AggInfo and AggTransInfo aren't proper Nodes, just bare\nstructs, which presumably is because somebody couldn't be bother... |
[
{
"msg_contents": "Move snowball_create.sql creation into perl file\n\nThis is in preparation for building postgres with meson / ninja.\n\nWe already have duplicated code for this between the make and msvc\nbuilds. Adding a third copy seems like a bad plan, thus move the generation\ninto a perl script.\n\nAs we... |
[
{
"msg_contents": "I propose to rename some of the rel truncation related constants at\nthe top of vacuumlazy.c, per the attached patch. The patch\nconsolidates related constants into a single block/grouping, and\nimposes a uniform naming scheme.\n\n-- \nPeter Geoghegan",
"msg_date": "Mon, 18 Jul 2022 20:47... |
[
{
"msg_contents": "Hi,\n\nAt times it's useful to know the last replayed WAL record's timeline\nID (especially on the standbys that are lagging in applying WAL while\nfailing over - for reporting, logging and debugging purposes). AFICS,\nthere's no function that exposes the last replayed TLI. We can either\ncha... |
[
{
"msg_contents": "Hi\n\nI think there is a newly introduced memory leak in your patch d2d3547.\nTry to fix it in the attached patch. \nKindly to have a check.\n\nRegards,\nTang",
"msg_date": "Tue, 19 Jul 2022 09:02:07 +0000",
"msg_from": "\"tanghy.fnst@fujitsu.com\" <tanghy.fnst@fujitsu.com>",
"msg... |
[
{
"msg_contents": "Most of these are new in v15.\nIn any case, I'm not sure if the others ought to be backpatched.\nThere may be additional fixes to make with the same grepping.",
"msg_date": "Tue, 19 Jul 2022 07:09:48 -0500",
"msg_from": "Justin Pryzby <pryzby@telsasoft.com>",
"msg_from_op": true,
... |
[
{
"msg_contents": "Hello all,\n\nWhile investigating a problem in a PG14 instance I noticed that autovacuum\nworkers\nstop processing other databases when a database has a temporary table with\nage\nolder than `autovacuum_freeze_max_age`. To test that I added a custom\nlogline showing\nwhich database the about ... |
[
{
"msg_contents": "I'm preparing the way for a later patch that would allow unique hash\nindexes to be primary keys. There are various parts to the problem. I\nwas surprised at how many times we hardcode BTREE_AM_OID and\nassociated BT Strategy Numbers in many parts of the code, so have been\nlooking for ways t... |
[
{
"msg_contents": "Hackers,\n\nCurrently, if we have a query such as:\n\nSELECT a,b, COUNT(*)\nFROM a\nINNER JOIN b on a.a = b.x\nGROUP BY a,b\nORDER BY a DESC, b;\n\nWith enable_hashagg = off, we get the following plan:\n\n QUERY PLAN\n---------------------------------------\n GroupAggregate\n G... |
[
{
"msg_contents": "Hi,\n\nBack in commit 4f658dc8 we gained src/port/fls.c. As anticipated by\nits commit message, we later finished up with something better in\nsrc/include/port/pg_bitutils.h. fls() (\"find last set\") is an\noff-by-one cousin of pg_leftmost_one_pos32(). I don't know why ffs()\n(\"find firs... |
[
{
"msg_contents": "Hi Michael,\n\nThank you for your feedback, I've incorporated your suggestions by scanning the logs produced from pg_rewind when asserting that certain WAL segment files were skipped from being copied over to the target server.\n\nI've also updated the pg_rewind patch file to target the Postg... |
[
{
"msg_contents": "Hi,\n\nIf you look at GetFlushRecPtr() function the OUT parameter for\nTimeLineID is optional and this is not only one, see\nGetWalRcvFlushRecPtr(), GetXLogReplayRecPtr(), etc.\n\nI think we have missed that for GetStandbyFlushRecPtr(), to be\ninlined, we should change this as follow:\n\n--- ... |
[
{
"msg_contents": "Hi,\n\nAfter the commit [1], is it correct to say errmsg(\"invalid data in file\n\\\"%s\\\"\", BACKUP_LABEL_FILE))); in do_pg_backup_stop() when we hold the\ncontents in backend global memory, not actually reading from backup_label\nfile? However, it is correct to say that in read_backup_labe... |
[
{
"msg_contents": "Hi,\n\nI'd like to propose to remove \"whichChkpt\" and \"report\" arguments in ReadCheckpointRecord(). \"report\" is obviously useless because it's always true, i.e., there are two callers of the function and they always specify true as \"report\".\n\n\"whichChkpt\" indicates where the speci... |
[
{
"msg_contents": "The GUC units are currently defined like:\n\n#define GUC_UNIT_KB 0x1000 /* value is in kilobytes */\n#define GUC_UNIT_BLOCKS 0x2000 /* value is in blocks */\n#define GUC_UNIT_XBLOCKS 0x3000 /* value is in xlog blocks */\n#define GU... |
[
{
"msg_contents": "make -C ./src/interfaces/libpq check\nPATH=... && @echo \"TAP tests not enabled. Try configuring with --enable-tap-tests\"\n/bin/sh: 1: @echo: not found\n\nmake is telling the shell to run \"@echo\" , rather than running \"echo\" silently.\n\nSince:\n\ncommit 6b04abdfc5e0653542ac5d586e639185a... |
[
{
"msg_contents": "Hi,\n\nI realized that standby_desc_running_xacts() in standbydesc.c doesn't\ndescribe subtransaction XIDs. I've attached the patch to improve the\ndescription. Here is an example by pg_wlaldump:\n\n* HEAD\nrmgr: Standby len (rec/tot): 58/ 58, tx: 0, lsn:\n0/01D0C608, prev... |
[
{
"msg_contents": "Moving the report from security to -hackers on Noah's advice. Since\nthe function(s) involved in the crash are not present in any of the\nreleased versions, it is not considered a security issue.\n\nI can confirm that this is reproducible on the latest commit on\nmaster, 3c0bcdbc66. Below is ... |
[
{
"msg_contents": "There are some duplicate code in table.c, add a static inline function\nto eliminate the duplicates.\n\n-- \nRegards\nJunwang Zhao",
"msg_date": "Thu, 21 Jul 2022 16:26:38 +0800",
"msg_from": "Junwang Zhao <zhjwpku@gmail.com>",
"msg_from_op": true,
"msg_subject": "[PATCH v1] e... |
[
{
"msg_contents": "This is a minor fix that adds a missing space in file lockdefs.h\n\n-- \nRegards\nJunwang Zhao",
"msg_date": "Thu, 21 Jul 2022 16:38:21 +0800",
"msg_from": "Junwang Zhao <zhjwpku@gmail.com>",
"msg_from_op": true,
"msg_subject": "add a missing space"
},
{
"msg_contents"... |
[
{
"msg_contents": "Hi,\n\nI found that fetch_more_data_begin() in postgres_fdw reports an error when PQsendQuery() returns the value less than 0 as follows though PQsendQuery() can return only 1 or 0. I think this is a bug. Attached is the patch that fixes this bug. This needs to be back-ported to v14 where as... |
[
{
"msg_contents": "Hi,\n\nCurrently, it's possible to remove the rolissuper bit from the\nbootstrap superuser, but this leaves that user - and the system in\ngeneral - in an odd state. The bootstrap user continues to own all of\nthe objects it owned before, e.g. all of the system catalogs. Direct\nDML on system... |
[
{
"msg_contents": "Hey,\n\nThis came up today on twitter as a claimed POLA violation:\n\npostgres=# select random(), random() order by random();\n random | random\n---------------------+---------------------\n 0.08176638503720679 | 0.08176638503720679\n(1 row)\n\nWhich was explained long ago ... |
[
{
"msg_contents": "Hi all:\nHere's a patch to add counters about planned/executed for parallelism \nto pg_stat_statements, as a way to follow-up on if the queries are \nplanning/executing with parallelism, this can help to understand if you \nhave a good/bad configuration or if your hardware is enough\n\n\n\... |
[
{
"msg_contents": "Hi,\n\nHere are some recent $SUBJECT on HEAD. Unfortunately we don't see the\nregression.diffs file :-(\n\nbfbot=> select make_snapshot_url(animal, snapshot) from run where\n'slot_creation_error' = any(fail_tests) order by snapshot desc;\n make_snapshot_... |
[
{
"msg_contents": "I notice that there are lots of *static inline functions* in header files,\nthe header file's content will go into each translation unit at preprocess\nphase, that means all the c file including the header will have a copy\nof the static inline function.\n\nThe inline keyword is a hint for co... |
[
{
"msg_contents": "Hi,\nI recently find this problem while testing PG14 with sysbench.\nThen I look through the emails from pgsql-hackers and find a previous similary bug which is https://www.postgresql.org/message-id/flat/2247102.1618008027%40sss.pgh.pa.us. But the bugfix commit(34f581c39e97e2ea237255cf75ccceb... |
[
{
"msg_contents": "Hi\n\nnow we have lot of nice json related functions and I think so can be nice\nif plpgsql's statement FOREACH can directly support json type. It can save\nsome CPY cycles by reducing some transformations.\n\nMy idea is following -\n\nnew syntax\n\nFOREACH targetvar IN JSON ARRAY json array ... |
[
{
"msg_contents": "Greetings,\n\nJack Christensen the author of the go pgx driver had suggested Default\nresult formats should be settable per session · Discussion #5 ·\npostgresql-interfaces/enhancement-ideas (github.com)\n<https://github.com/postgresql-interfaces/enhancement-ideas/discussions/5>\n\nThe JDBC d... |
[
{
"msg_contents": "Hi hackers,\n\nPresently, if a role has privileges to SET a parameter, it is able to ALTER\nROLE/DATABASE SET that parameter, provided it otherwise has permission to\nalter that role/database. This includes cases where the role only has SET\nprivileges via the new pg_parameter_acl catalog. ... |
[
{
"msg_contents": "Hi hackers,\n\nThe previous attempt to add a predefined role for VACUUM and ANALYZE [0]\nresulted in the new pg_checkpoint role in v15. I'd like to try again to\nadd a new role (or multiple new roles) for VACUUM and ANALYZE.\n\nThe primary motivation for this is to continue chipping away at ... |
[
{
"msg_contents": "This works:\n\nvagrant@vagrant:/usr/local/pgsql/bin$ echo 'value1' | ./psql -d postgres -c\n'\\copy csvimport from stdin;'\nCOPY 1\n\nHowever:\n\nFor \\copy ... from stdin, data rows are read from the same source that\nissued the command\n\nand\n\nWhen either -c or -f is specified, psql does ... |
[
{
"msg_contents": "Hi,\nI was looking at pg_regcomp():\n\n re->re_guts = VS(MALLOC(sizeof(struct guts)));\n\nI did some search trying to find where re_guts is freed but haven't\nfound it.\nCan someone enlighten me?\n\nThanks\n\nHi,I was looking at pg_regcomp(): re->re_guts = VS(MALLOC(sizeof(struct guts))... |
[
{
"msg_contents": "Hi,\n\nVariableCacheData.nextFullXid is renamed to nextXid in commit https://github.com/postgres/postgres//commit/fea10a64340e529805609126740a540c8f9daab4 <https://github.com/postgres/postgres//commit/fea10a64340e529805609126740a540c8f9daab4>\n\nFix the annotations for less confusion.\n\nRega... |
[
{
"msg_contents": "Hi,\n\nRight now, the session that starts the backup with pg_backup_start()\nhas to end it with pg_backup_stop() which returns the backup_label and\ntablespace_map contents (commit 39969e2a1). If the backups were to be\ntaken using custom disk snapshot tools on production servers,\nfollowing ... |
[
{
"msg_contents": "If you happen to have noticed that you aren't getting any email\ndirectly from me, or other people who set an SPF policy for their\ndomain, the reason might be this:\n\n<redacted>: host gmail-smtp-in.l.google.com[74.125.140.26] said:\n550-5.7.26 The MAIL FROM domain [sss.pgh.pa.us] has an SPF... |
[
{
"msg_contents": "Hi,\nCurrently, in situation such as duplicate role creation, the server log\nwould show something such as the following:\n\n2022-07-22 13:48:18.251 UTC [330] STATEMENT: CREATE ROLE test WITH LOGIN\nPASSWORD 'foobar';\n\nThe password itself should be redacted before logging the statement.\n\... |
[
{
"msg_contents": "fairywren (msys2 animal) is currently hung in the pg_basebackup tests.\nHere's the bottom of the regress log. I don't have further info as yet,\nbut can dig is someone has a suggestion.\n\n\n### Starting node \"main\"\n# Running: pg_ctl -w -D\nC:/tools/nmsys64/home/pgrunner/bf/root/REL_15_STA... |
[
{
"msg_contents": "ReadRecentBuffer() doesn't work for local buffers, i.e. for temp tables. \nThe bug is pretty clear if you look at the code:\n\n \tif (BufferIsLocal(recent_buffer))\n \t{\n-\t\tbufHdr = GetBufferDescriptor(-recent_buffer - 1);\n+\t\tbufHdr = GetLocalBufferDescriptor(-recent_buffer - 1);\n\nT... |
[
{
"msg_contents": "I found that -fsanitize causes the test to fail, going back to REL_10_STABLE,\nfor any clang in:\n\n1:11.1.0-6\n1:12.0.1-19ubuntu3\n1:13.0.1-2ubuntu2\n1:14.0.0-1ubuntu1\n\n| time ./configure --enable-cassert --enable-debug --enable-tap-tests --with-CC=clang-13 CFLAGS='-fsanitize=undefined'\n|... |
[
{
"msg_contents": "Hi, there.\n\ncopy force null git commit\n<https://git.postgresql.org/gitweb/?p=postgresql.git;a=commit;h=3b5e03dca2afea7a2c12dbc8605175d0568b5555>\ndidn't attach a discussion link. So I don't know if it's already been\ndiscussed.\n\nCurrent seem you cannot do\n COPY forcetest FROM STDIN ... |
[
{
"msg_contents": "Hello\n\nI'm working on several databases where schemas are used to differentiate the \ntenants.\nThis is great for performance, but several tools are lacking around this \nusecase by not showing the schema, one of them being log_line_prefix.\nIt is possible to work around this using the appl... |
[
{
"msg_contents": "Hi, hackers\n\nI found the misc_sanity has a SQL to check system catalogs that\ndo not have primary keys, however, in current exceptions it says\npg_depend, pg_shdepend don't have a unique key.\n\nShould we fix it?\n\n-- \nRegrads,\nJapin Li.\nChengDu WenWu Information Technology Co.,Ltd.",
... |
[
{
"msg_contents": "Hello,\n\nI have two very simple questions:\n\n1) I have an account at postgresql.org, but a link to a 'forgot password' seems to be missing on the login page. I have my password stored only on an old Fedora 32 computer. To change the password\nwhen logged in, you need to supply the old passw... |
[
{
"msg_contents": "This patch makes the backup history filename check more tight.\n\n-- \nRegards\nJunwang Zhao",
"msg_date": "Mon, 25 Jul 2022 19:31:08 +0800",
"msg_from": "Junwang Zhao <zhjwpku@gmail.com>",
"msg_from_op": true,
"msg_subject": "[PATCH v1] strengthen backup history filename chec... |
[
{
"msg_contents": "Hi,\n\nwhile working on something else i encountered a bug in the trim_array() \nfunction. The bounds check fails for empty arrays without any \ndimensions. It reads the size of the non existing first dimension to \ndetermine the arrays length.\n\n select trim_array('{}'::int[], 10);\n --... |
[
{
"msg_contents": "Hi,\n\nWhen reviewing the postgres_fdw parallel-abort patch [1], I found that\nthere are several duplicate codes in postgres_fdw/connection.c.\nWhich seems to make it harder to review the patch changing connection.c.\nSo I'd like to remove such duplicate codes and refactor the functions\nin c... |
[
{
"msg_contents": "Hi,\n\nIn tap tests for logical replication, we have the following code in many places:\n\n$node_publisher->wait_for_catchup('tap_sub');\nmy $synced_query =\n \"SELECT count(1) = 0 FROM pg_subscription_rel WHERE srsubstate NOT\nIN ('r', 's');\";\n$node_subscriber->poll_query_until('postgres'... |
[
{
"msg_contents": "Hi,\n\nI propose to acquire SI-read predicate locks on materialized views\nas the attached patch.\n\nCurrently, materialized views do not participate in predicate locking,\nbut I think this causes a serialization anomaly when `REFRESH\nMATERIALIZED VIEW CONCURRENTLY` is used.\n\nFor example, ... |
[
{
"msg_contents": "A long time ago, Tom Lane came up with the idea that when tables get\nbloated, tables might be allowed to shrink down again in size\nnaturally by altering the way FSM allocates blocks. That's a very good\nidea, but we didn't implement it back then...\n\nThis patch allows the Heap to specify w... |
[
{
"msg_contents": "On Fri, Jul 22, 2022 at 14:49 Peter Geoghegan wrote:\n> The line numbers from your stack trace don't match up with> REL_14_STABLE. Is this actually a fork of Postgres 14? (Oh, looks like\n> it's an old beta release.)\n\nYeah, I was testing on 14beta2 branch once. So I considered your\nadvices... |
[
{
"msg_contents": "Hi,\n\n\nFORCE_NOT_NULL and FORCE_NULL are only used when COPY FROM.\n\nAnd copyto.c and copyfrom.c are split in this commit https://github.com/postgres/postgres//commit/c532d15dddff14b01fe9ef1d465013cb8ef186df <https://github.com/postgres/postgres//commit/c532d15dddff14b01fe9ef1d465013cb8ef1... |
[
{
"msg_contents": "Hi hackers,\n\nI noticed that commit_ts.c has the following comment:\n\n * XLOG interactions: this module generates an XLOG record whenever a new\n * CommitTs page is initialized to zeroes. Also, one XLOG record is\n * generated for setting of values when the caller requests it; this allows\... |
[
{
"msg_contents": "Remove the restriction that the relmap must be 512 bytes.\n\nInstead of relying on the ability to atomically overwrite the\nentire relmap file in one shot, write a new one and durably\nrename it into place. Removing the struct padding and the\ncalculation showing why the map is exactly 512 by... |
[
{
"msg_contents": "Hello all,\n\nI'm making my way through some stalled patches in Waiting on Author. If\nnothing changes by the end of this CF, I'd recommend marking these\nas Returned with Feedback.\n\nPatch authors CC'd.\n\n- jsonpath syntax extensions\n https://commitfest.postgresql.org/38/2482/\n\n As a ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.