threads listlengths 1 2.99k |
|---|
[
{
"msg_contents": "As explained in the comments for generate_orderedappend_paths, we don't\ncurrently support parameterized MergeAppend paths, and it doesn't seem\nlike going to change anytime soon. Based on that, we could simplify\ncreate_merge_append_path a bit, such as set param_info to NULL directly\nrath... |
[
{
"msg_contents": "While reviewing other threads I have been looking more closely at the\nthe logicalrep_worker_launch() function. IMO the logic of that\nfunction seems not quite right.\n\nHere are a few things I felt are strange:\n\n1. The function knows exactly what type of worker it is launching, but\nstill,... |
[
{
"msg_contents": "Hi All,\nPostgreSQL code uses Assert() as a way to\n1. document the assumption or conditions which must be true at a given\nplace in code\n2. make sure that some bug elsewhere does not break these assumptions or rules\n3. conditions which can not be (easily) induced by user actions\n\nE.g. fo... |
[
{
"msg_contents": "Hi,\n\nwhile working on some logical replication stuff, I noticed that on PG16\nI often end up with a completely idle publisher (no user activity), that\nhowever looks like this in top:\n\n ... %CPU COMMAND\n\n\n ... 17.9 postgres: walsender user test ::1(43064) START_REPLICATION\n\n\n ..... |
[
{
"msg_contents": "Hi\n\nCommit 31966b15 invented a way for functions dealing with relation\nextension to accept a Relation in online code and an SMgrRelation in\nrecovery code (instead of using the earlier FakeRelcacheEntry\nconcept). It seems highly likely that future new bufmgr.c interfaces\nwill face the s... |
[
{
"msg_contents": "The attached patch implements a new SEARCH clause for CREATE FUNCTION.\nThe SEARCH clause controls the search_path used when executing\nfunctions that were created without a SET clause.\n\nBackground:\n\nControlling search_path is critical for the correctness and security of\nfunctions. Right... |
[
{
"msg_contents": "Hello hackers,\n\nThis issue was discussed some time ago as a possible security problem, but\nit was concluded that it is not something extraordinary from the security\npoint of view and it may be a subject for a public discussion.\n\nThe issue is that during the backend initialization proced... |
[
{
"msg_contents": "The attached 010_zero.pl, when run as part of the pg_waldump test suite, fails\nat today's master (c36b636) and v15 (1bc19df). It passes at v14 (5a32af3).\nCommand \"pg_waldump --start 0/01000000 --end 0/01000100\" fails as follows:\n\n pg_waldump: error: WAL segment size must be a power of... |
[
{
"msg_contents": "Hello devs,\n\nPgbench is managing clients I/Os manually with select or poll. Much of \nthis could be managed by libevent.\n\nPros:\n\n1. libevent is portable, stable, and widely used (eg Chromium, Memcached, PgBouncer).\n\n2. libevent implements more I/O wait methods, which may be more effic... |
[
{
"msg_contents": "Suppose that I create the following index on the tenk1 table from the\nregression tests:\n\ncreate index on tenk1 (two, four, hundred, thousand, tenthous);\n\nNow the following query will be able to use index quals for each\ncolumn that appear in my composite index:\n\nselect * from tenk1\nwh... |
[
{
"msg_contents": "Hi,\n\nSMgrRelationData objects don't currently have a defined lifetime, so\nit's hard to know when the result of smgropen() might become a\ndangling pointer. This has caused a few bugs in the past, and the\nusual fix is to just call smgropen() more often and not hold onto\npointers. If you... |
[
{
"msg_contents": "Hi\n\nNow, there is no native functionality for conversion from json(b) value to\nsome array.\n\nhttps://stackoverflow.com/questions/76894960/unable-to-assign-text-value-to-variable-in-pgsql/76896112#76896112\n\nIt should not be too hard to implement native function jsonb_populate_array\n\njs... |
[
{
"msg_contents": "\nHi, hackers\n\nI find when I compile PG 14 with --with-icu, collate.icu.utf8 and foreign_data\nregression tests will failed. However it is OK on REL_15_STABLE and master.\nI also test this on REL_13_STABLE, and it also failed. Here is the regression\ndiffs.\n\ndiff -U3 /home/japin/Codes/p... |
[
{
"msg_contents": "Hello, my name is Satwik Sharma, and I'm an enthusiast in the fields of\ndata science and new to open source development. I presently use Python,\nSQL, MongoDB, PowerBI, Tableau, and am currently studying Scala. I came\nacross the repository maintained by your company, and I want to contribut... |
[
{
"msg_contents": "Hi\nI have a modified version of ECPG, to which I gave the ability to do\nsemantic analysis of SQL statements. Where i can share it or with whom can\nI discuss it?\n\nAtte.\nJRBM\n\nHiI have a modified version of ECPG, to which I gave the ability to do semantic analysis of SQL statements. Whe... |
[
{
"msg_contents": "Hi all,\n\nWhile playing with pg_logical_emit_message() and WAL replay, I have\nnoticed that LogLogicalMessage() inserts a record but forgets to make\nsure that the record has been flushed. So, for example, if the system\ncrashes the message inserted can get lost.\n\nI was writing some TAP t... |
[
{
"msg_contents": "Hi,\nHas anyone tried generating a dynamic memory trace of a backend Postgres\nprocess while it's running a query?\n\nI want to characterize the memory access pattern of the Postgres database\nengine when it's running any given query. The usual way to do this would be\nto attach a dynamic ins... |
[
{
"msg_contents": "Hi:\n\nIn the test case of xmlmap.sql, we have the query below\nunder schema_to_xml.\n\nexplain (costs off, verbose)\nSELECT oid FROM pg_catalog.pg_class\nWHERE relnamespace = 28601\nAND relkind IN ('r','m','v')\nAND pg_catalog.has_table_privilege (oid, 'SELECT')\nORDER BY relname;\n\nIf th... |
[
{
"msg_contents": "Hi,\n\nWhile working on the join pushdown issue, I noticed this bit in commit\ne4106b252:\n\n--- parameterized remote path\n+-- parameterized remote path for foreign table\n EXPLAIN (VERBOSE, COSTS false)\n- SELECT * FROM ft2 a, ft2 b WHERE a.c1 = 47 AND b.c1 = a.c2;\n+ SELECT * FROM \"S 1\... |
[
{
"msg_contents": "Hi there\n\nI am trying to convert a SQL Anywhere database to postgres. Within SQL anywhere a field can have a default value of 'last user'. This means that when you perform an update on a table, if the field is not explicitly set then the current user is used. So for instance if I have a fie... |
[
{
"msg_contents": "Hi everyone,\n\nThis started as a conversation on Discord. Someone asked if Postgres\nlogs which line in pg_hba.conf matched against a certain login\nattempt, and I said no. That's not quite right, as enabling\nlog_connections includes a line like this:\n\n2023-08-15 13:26:03.159 PDT [692166]... |
[
{
"msg_contents": "Hi,\n\nI know that this will probably get a staunch \"No\" as an answer, but...\nI'm still going to ask: Would it be possible to backport 28b5726 to\nthe PG16 branch? Even though it's clearly a new feature?\n\nI'm working on named prepared statement support in PgBouncer:\nhttps://github.com/p... |
[
{
"msg_contents": "Here is a patch set with some straightforward code cleanup in index.c \nand indexcmds.c and some adjacent places.\n\nFirst, I have added const qualifiers to all the function prototypes as \nappropriate. This didn't require any additional casts or tricks.\n\nThen, I have renamed some function... |
[
{
"msg_contents": "Hi, \n\nThe Chinese words there are ok, but the `Unix-domian` should be `Unix-domain`.\n\n\nZhang Mingli\nHashData https://www.hashdata.xyz",
"msg_date": "Wed, 16 Aug 2023 15:34:56 +0800",
"msg_from": "Zhang Mingli <zmlpostgres@gmail.com>",
"msg_from_op": true,
"msg_subject"... |
[
{
"msg_contents": "Hello,\n\nThe following surprised me enough to think it might be a bug:\n(17devel)\n\nselect\n regexp_replace('Abc Def'\n , '([a-z]) ([A-Z])'\n , '\\1 ' || lower('\\2') );\n\nregexp_replace\n----------------\n Abc Def\n(1 row)\n\n-- 'Abc Def' got\n-- 'Abc def' expected\n\nWhat do you... |
[
{
"msg_contents": "Hi hackers,\n\nEarlier this year I proposed a small change for the pg_stat_subscription view:\n\n------\n...it would be very useful to have an additional \"kind\" attribute for\nthis view. This will save the user from needing to do mental\ngymnastics every time just to recognise what kind of ... |
[
{
"msg_contents": "This warning comes from parse_expr.c transformJsonValueExpr() and is \ntriggered for example by the following test case:\n\nSELECT JSON_OBJECT('foo': NULL::json FORMAT JSON);\nWARNING: FORMAT JSON has no effect for json and jsonb types\n\nBut I don't see anything in the SQL standard that wou... |
[
{
"msg_contents": "Hi,\r\n\r\nThe date for PostgreSQL 16 Release Candidate 1 (RC1) is August 31, 2023. \r\nPlease ensure all open items[1] are completed and committed before \r\nAugust 26, 2023 12:00 UTC.\r\n\r\nThis means the current target date for the PostgreSQL 16 GA release is \r\nSeptember 14, 2023. While... |
[
{
"msg_contents": "Respected Sir/Ma'am,\nI have a doubt regarding the storage of the data directory path of\nPostgreSQL. I'm using PostgreSQL server 15 in which I want to give a path\nto an external drive RAID Memory Storage. Which is on the LAN Network? Is\nit compatible or not? If it is then which file system... |
[
{
"msg_contents": "Hi hackers,\n\nWhile working on [1] it has been noticed by Masahiro-san that the description field\nin the new pg_wait_event view contains 2 blanks for one row.\n\nIt turns out that it comes from wait_event_names.txt (added in fa88928).\n\nAttached a tiny patch to fix this entry in wait_event... |
[
{
"msg_contents": "Hi hackers,\n\nI'm developing an index AM for a specific user defined type. Details\nabout LIMIT clause can lead to different strategy during scan. So\n\"SELECT * FROM tbl ORDER BY col LIMIT 5\" will have a different\ncode path to \"SELECT * FROM tbl ORDER BY col LIMIT 500\".\nIt's still the ... |
[
{
"msg_contents": "The following bug has been logged on the website:\n\nBug reference: 18059\nLogged by: Pavel Kulakov\nEmail address: paul.kulakov@systematica.ru\nPostgreSQL version: 15.4\nOperating system: Debian GNU/Linux 11\nDescription: \n\nSteps to reproduce:\r\n1. Create store... |
[
{
"msg_contents": "I started digging into a warning I noticed on my FDW builds where \nPostgres is built with meson, e.g. \n<https://buildfarm.postgresql.org/cgi-bin/show_stage_log.pl?nm=crake&dt=2023-08-16%2018%3A37%3A25&stg=FileTextArrayFDW-build> \nwhich has this:\n\ncc1: warning: ‘-Wformat-security’ ignored... |
[
{
"msg_contents": "Hi,\n\nRecently, the API to define custom wait events for extension is \nsupported.\n* Change custom wait events to use dynamic shared hash tables(af720b4c5)\n\nSo, I'd like to rethink the wait event names for modules which use\n\"WAIT_EVENT_EXTENSION\" wait events.\n* postgres_fdw\n* dblink\... |
[
{
"msg_contents": "In the following sentence, I believe either 'the' or 'a' should be kept, not\nboth. I here keep the 'the', but feel free to change.\n\n---\n src/backend/storage/ipc/dsm_impl.c | 2 +-\n 1 file changed, 1 insertion(+), 1 deletion(-)\n\ndiff --git a/src/backend/storage/ipc/dsm_impl.c\nb/src/back... |
[
{
"msg_contents": "\nHi hackers,\n\nJust a FYI: Started building daily snapshot RPMs using the tarball at:\n\nhttps://download.postgresql.org/pub/snapshot/dev/postgresql-snapshot.tar.bz2\n\nPackages are available on these platforms:\n\n* RHEL 9 (x86_64 & aarch64)\n* RHEL 8 (x86_64, aarch64 and ppc64le)\n* Fedor... |
[
{
"msg_contents": "The attached patch adds some special names to prevent pg_temp and/or\npg_catalog from being included implicitly.\n\nThis is a useful safety feature for functions that don't have any need\nto search pg_temp.\n\nThe current (v16) recommendation is to include pg_temp last, which does\nadd to the... |
[
{
"msg_contents": "It's entirely possible for a logical slot to have a confirmed_flush\nLSN higher than the last value saved on disk while not being marked as\ndirty. It's currently not a problem to lose that value during a clean\nshutdown / restart cycle but to support the upgrade of logical slots\n[1] (see l... |
[
{
"msg_contents": "Hi,\r\n\r\nAttached is the first draft of the PostgreSQL 16 release announcement, \r\nauthored by Chelsea Dole & myself.\r\n\r\nTo frame this up, the goal of the GA release announcement is to help \r\nfolks discover the awesome new features of PostgreSQL. It's impossible \r\nto list out every... |
[
{
"msg_contents": "Hi,\n\nThread [1] concerns (generalizing slightly) the efficient casting\nto an SQL type of the result of a jsonb extracting operation\n(array indexing, object keying, path evaluation) that has ended\nwith a scalar JsonbValue.\n\nSo far, it can efficiently rewrite casts to boolean or numeric\... |
[
{
"msg_contents": "If we have a hash join with an Append node on the outer side, something\nlike\n\n Hash Join\n Hash Cond: (pt.a = t.a)\n -> Append\n -> Seq Scan on pt_p1 pt_1\n -> Seq Scan on pt_p2 pt_2\n -> Seq Scan on pt_p3 pt_3\n -> Hash\n -> Seq Scan on t\n\nWe ... |
[
{
"msg_contents": "Hi all,\n\nCurrently PostgreSQL has three different variants of a 32-bit CRC calculation: CRC-32C, CRC-32(Ethernet polynomial),\nand a legacy CRC-32 version that uses the lookup table. Some ARMv8 (AArch64) CPUs implement the CRC32 extension which\nis equivalent with CRC-32(Ethernet polynomial... |
[
{
"msg_contents": "Is there any piece of code I could see how to achieve $subject ? \nI haven’t found anything in the standard library or contrib modules.\n\nI’m trying to build ArrayType ** of sorts and return a Datum of those but I can’t seem to manage memory correctly. \n\n\n\n\n\n",
"msg_date": "Mon, 21... |
[
{
"msg_contents": "This is part of the larger project of allowing all test suites to pass \nin OpenSSL FIPS mode. We had previously integrated several patches that \navoid or isolate use of MD5 in various forms in the tests. Now to \nanother issue.\n\nOpenSSL in FIPS mode rejects several encrypted private key... |
[
{
"msg_contents": "The list of acknowledgments for the PG16 release notes has been \ncommitted. It should show up here sometime: \n<https://www.postgresql.org/docs/16/release-16.html#RELEASE-16-ACKNOWLEDGEMENTS>. \n As usual, please check for problems such as wrong sorting, duplicate \nnames in different vari... |
[
{
"msg_contents": "Hi,\n\nWhile testing the logical snapshot restore functionality, I noticed the\ndata size reported in the error message seems not correct.\n\nI think it's because we used a const value here:\n\nSnapBuildRestoreContents(int fd, char *dest, Size size, const char *path)\n...\n\treadBytes = read(... |
[
{
"msg_contents": "This started out as a small patch to make pg_controldata use the logging \nAPI instead of printf statements, and then it became a larger patch to \nadjust error and warning messages about invalid WAL segment sizes \n(IsValidWalSegSize()) across the board. I went through and made the \nprimar... |
[
{
"msg_contents": "Hi,\n\nA couple of times a day, cfbot reports an error like this:\n\nhttps://cirrus-ci.com/task/6424286882168832\n\nI didn't study it closely but it looks like there might be a second\ndeadlock, after the one that is expected by the test? Examples from\nthe past couple of weeks:\n\ncfbot=> s... |
[
{
"msg_contents": "Hi,\r\n\r\nI Recently encountered a situation on the field in which the message\r\n“could not truncate directory \"pg_serial\": apparent wraparound”\r\nwas logged even through there was no danger of wraparound. This\r\nwas on a brand new cluster and only took a few minutes to see\r\nthe messa... |
[
{
"msg_contents": "Hi hackers.\n\nDuring a recent review of nearby code I noticed that there was a shadowing\nof the 'new_cluster' global variable by a function parameter:\n\nHere:\nstatic void check_for_new_tablespace_dir(ClusterInfo *new_cluster);\n\n~~~\n\nIt looks like it has been like this for a couple of ... |
[
{
"msg_contents": "I've been having some problems running the regression tests using\nmeson on Windows. This seems to be down to initdb being compiled with\na version of pg_config_paths.h left over from the msvc build which had\nbeen used on that source tree previously.\n\nGenerally when there are files left o... |
[
{
"msg_contents": "I was about to push a quick patch to replace the use of heap_getattr()\nin get_primary_key_attnos() with SysCacheGetAttrNotNull(), because that\nmakes the code a few lines shorter and AFAICS there's no downside.\nHowever, I realized that the commit that added the function\n(d435f15fff3c) did ... |
[
{
"msg_contents": "Somewhere at PGCon, I forgot exactly where, maybe in the same meeting \nwhere we talked about getting rid of distprep, we talked about that the \ndocumentation builds are not reproducible (in the sense of \nhttps://reproducible-builds.org/). This is easily fixable, the fix is \navailable ups... |
[
{
"msg_contents": "Hi\n\nI was playing around with \"pg_stat_get_backend_subxact()\" (commit 10ea0f924)\nand see it emits NULL values for some backends, e.g.:\n\n postgres=# \\pset null NULL\n Null display is \"NULL\".\n\n postgres=# SELECT id, pg_stat_get_backend_pid(id), s.*,\n ... |
[
{
"msg_contents": "I suggest we rename this setting to something starting with debug_. \nRight now, the name looks much too tempting for users to fiddle with. I \nthink this is similar to force_parallel_mode.\n\nAlso, the descriptions in guc_tables.c could be improved. For example,\n\n gettext_noop(\"Cont... |
[
{
"msg_contents": "During some refactoring I noticed that the field \nIndexInfo.ii_OpclassOptions is kind of useless. The IndexInfo struct is \nnotionally an executor support node, but this field is not used in the \nexecutor or by the index AM code. It is really just used in DDL code in \nindex.c and indexcm... |
[
{
"msg_contents": "Hi\n\nIn the function heapgetpage. If a table is not updated very frequently. \nMany actions in tuple loops are superfluous. For all_visible pages, \nloctup does not need to be assigned, nor does the \"valid\" variable. \nCheckForSerializableConflictOutNeeded from \nHeapCheckForSerializableCo... |
[
{
"msg_contents": "Hi!\n\nRecently, I've been playing around with pg_lists and realize how annoying\n(maybe, I was a bit tired) some stuff related to the lists.\nFor an example, see this code\nList *l1 = list_make4(1, 2, 3, 4),\n *l2 = list_make4(5, 6, 7, 8),\n *l3 = list_make4(9, 0, 1, 2);\... |
[
{
"msg_contents": "The first patch on my \"Refactoring backend fork+exec code\" thread [0] \nchanges the allocations of BackgroundWorkerList from plain malloc() to \nMemoryContextAlloc(PostmasterContext). However, that actually caused a \nsegfault in worker_spi tests in EXEC_BACKEND mode.\n\nBackgroundWorkerLis... |
[
{
"msg_contents": "Hi, i am trying to mutate a plan for a T_CreateTableAsStmt before it executes.\n\nI've created a planner_hook_type hook, where i can see the plan that gets executed as part of the AS of the query, where the CmdType is CMD_SELECT, and its subplans are the plans for the actual select itself.\n\... |
[
{
"msg_contents": "Hi,\n\nnFreeBlocks stores the number of free blocks and\nyour type is *long*.\n\nAt Function ltsGetFreeBlock is locally stored in\nheapsize wich type is *int*\n\nWith Windows both *long* and *int* are 4 bytes.\nBut with Linux *long* is 8 bytes and *int* are 4 bytes.\n\npatch attached.\n\nbest... |
[
{
"msg_contents": "Currently, psql exits if a database connection is not established when\npsql is launched.\n\nSometimes it may be useful to launch psql without connecting to the\ndatabase. For example, a user may choose to start psql and then pipe\ncommands via stdin, one of which may eventually perform the \... |
[
{
"msg_contents": "Hi\n\ntoday build is broken on my Fedora 39\n\nRegards\n\nPavel\n\nmake[2]: Opouští se adresář\n„/home/pavel/src/postgresql.master/src/bin/initdb“\nmake -C pg_amcheck check\nmake[2]: Vstupuje se do adresáře\n„/home/pavel/src/postgresql.master/src/bin/pg_amcheck“\necho \"# +++ tap check in src... |
[
{
"msg_contents": "Hi,\n\nI've just noticed this warning when building on Debian 12:\n\nIn file included from /usr/lib/llvm-14/include/llvm/Analysis/ModuleSummaryAnalysis.h:17,\n from llvmjit_inline.cpp:51:\n/usr/lib/llvm-14/include/llvm/IR/ModuleSummaryIndex.h: In constructor ‘llvm::ModuleSumma... |
[
{
"msg_contents": "I noticed another missing fsync() with unlogged tables, similar to the \none at [1].\n\nRelationCopyStorage does this:\n\n> \t/*\n> \t * When we WAL-logged rel pages, we must nonetheless fsync them. The\n> \t * reason is that since we're copying outside shared buffers, a CHECKPOINT\n> \t * o... |
[
{
"msg_contents": "I propose to reformat the catalog lists in src/backend/catalog/Makefile \nto be more vertical, one per line. This makes it easier to keep that \nlist in sync with src/include/catalog/meson.build, and visually compare \nboth lists. Also, it's easier to read and edit in general.\n\nIn passing... |
[
{
"msg_contents": "The cached plan for a prepared statements can get invalidated when DDL\nchanges the tables used in the query, or when search_path changes. When\nthis happens the prepared statement can still be executed, but it will\nbe replanned in the new context. This means that the prepared statement\nwil... |
[
{
"msg_contents": "Hi Hackers,\r\n\r\nWhen I tried to select a big amount of rows, psql complains a error \"Cannot add cell to table content: total cell count of 905032704 exceeded.\"\r\n\r\nHere are the reproduce steps:\r\n```\r\ninterma=# select version();\r\n version\r... |
[
{
"msg_contents": "Hello Pgperffarm Community,\n\nI'm Anil, a GSoC'23 contributor to Pgperffarm. I'm excited to share our\nprogress as the program approaches its culmination.\n\nYou can view the latest benchmark results at http://140.211.168.145/\n\nNow, I'm inviting you to be a part of our effort. Could you te... |
[
{
"msg_contents": "Hi,\n\nThis is reopening of thread:\nhttps://www.postgresql.org/message-id/flat/2ef6b491-1946-b606-f064-d9ea79d91463%40gmail.com#14e0bdb6872c0b26023d532eeb943d3e\n\nThis is a PoC patch which implements distinct operation in window\naggregates (without order by and for single column aggregatio... |
[
{
"msg_contents": "Hi,\n\nHere are a couple of changes that got FreeBSD down to 4:29 total, 2:40\nin test_world in my last run (over 2x speedup), using a RAM disk\nbacked by a swap partition, and more CPUs. It's still a regular UFS\nfile system but FreeBSD is not as good at avoiding I/O around short\nlived fil... |
[
{
"msg_contents": "Hi all,\n(Heikki in CC.)\n\nAfter b0bea38705b2, I have noticed that the syslogger is generating a\nlot of dummy LOG entries:\n2023-08-28 09:40:52.565 JST [24554]\nLOG: could not close client or listen socket: Bad file descriptor \n\nThe only reason why I have noticed this issue is because I... |
[
{
"msg_contents": "Hi,\n\nEvery time we run a SQL query, we fork a new psql process and a new\ncold backend process. It's not free on Unix, and quite a lot worse on\nWindows, at around 70ms per query. Take amcheck/001_verify_heapam for\nexample. It runs 272 subtests firing off a stream of queries, and\ncompl... |
[
{
"msg_contents": "I normally pull from\n https://git.postgresql.org/git/postgresql.git/\n\nbut for a few hours now it's been failing (while other git repo's are \nstill reachable).\n\nIs it me or is there a hiccup there?\n\nthanks,\n\nErik Rijkers\n\n\n\n",
"msg_date": "Mon, 28 Aug 2023 08:09:44 +0200",
... |
[
{
"msg_contents": "While translating a message, I found a questionable behavior in \\d+,\nintroduced by a recent commit b0e96f3119. In short, the current code\nhides the constraint's origin when \"NO INHERIT\" is used.\n\nFor these tables:\n\ncreate table p (a int, b int not null default 0);\ncreate table c1 (a... |
[
{
"msg_contents": "PQputCopyEnd returns 1 or -1, never 0, I guess the comment was\ncopy/paste from PQputCopyData's comment, this should be fixed.\n\n-- \nRegards\nJunwang Zhao",
"msg_date": "Mon, 28 Aug 2023 17:58:43 +0800",
"msg_from": "Junwang Zhao <zhjwpku@gmail.com>",
"msg_from_op": true,
"m... |
[
{
"msg_contents": "Hi\n\nI workin with protocol and reading related code.\n\nI found in routine EndCommand one strange thing\n\nvoid\nEndCommand(const QueryCompletion *qc, CommandDest dest, bool\nforce_undecorated_output)\n{\n<-->char<--><-->completionTag[COMPLETION_TAG_BUFSIZE];\n<-->Size<--><-->len;\n\n<-->sw... |
[
{
"msg_contents": "When looking at pg_regress I noticed that the --use-existing support didn't\nseem to work. ISTM that the removal/creation of test databases and roles\ndoesn't run since the conditional is reversed. There is also no support for\nusing a non-default socket directory with PG_REGRESS_SOCK_DIR. ... |
[
{
"msg_contents": "I would like to be the commitfest manager for CF 2023-09.\n\n\n",
"msg_date": "Mon, 28 Aug 2023 15:46:35 +0200",
"msg_from": "Peter Eisentraut <peter@eisentraut.org>",
"msg_from_op": true,
"msg_subject": "Commitfest manager for September"
},
{
"msg_contents": "Hi Peter... |
[
{
"msg_contents": "Hi,\r\n\r\nAttached is the PostgreSQL 16 RC1 release announcement draft.\r\n\r\nCurrently there is only one item in it, as there was only one open item \r\nmarked as closed. If there are any other fixes for the RC1 that were \r\nspecific to v16 and should be included in the announcement, plea... |
[
{
"msg_contents": "On Debian 12, gcc version 12.2.0 (Debian 12.2.0-14) generates a warning\non PG 13 to current, but only with -O1 optimization level, and not at\n-O0/-O2/-O3:\n\n\tclauses.c: In function ‘recheck_cast_function_args’:\n\tclauses.c:4293:19: warning: ‘actual_arg_types’ may be used uninitialized [-... |
[
{
"msg_contents": "While working on a set of patches to combine the freeze and visibility\nmap WAL records into the prune record, I wrote the attached patches\nreusing the tuple visibility information collected in heap_page_prune()\nback in lazy_scan_prune().\n\nheap_page_prune() collects the HTSV_Result for ev... |
[
{
"msg_contents": "Hello,\n\nThe Postgresql docs on object privileges,\n https://www.postgresql.org/docs/14/ddl-priv.html\nsay this in regard to the output of the psql \\dp command:\n\n | If the “Access privileges” column is empty for a given object, it\n | means the object has default privileges (that is... |
[
{
"msg_contents": "Hi,\n\nAttached various patches to implement a few more jsonpath item methods.\n\nFor context, PostgreSQL already has some item methods, such as .double()\nand\n.datetime(). The above new methods are just added alongside these.\n\nHere are the brief descriptions for the same.\n\n---\n\nv1-00... |
[
{
"msg_contents": "Hello.\n\npg_resetwal and initdb has an error message like this:\n\nmsgid \"argument of --wal-segsize must be a power of 2 between 1 and 1024\"\n\nIn other parts in the tree, however, we spell it as \"power of two\". I\nthink it would make sense to standardize the spelling for\nconsistency. S... |
[
{
"msg_contents": "Hi,\n\nThe VS and MinGW Windows images are merged on Andres' pg-vm-images\nrepository now [1]. So, the old pg-ci-windows-ci-vs-2019 and\npg-ci-windows-ci-mingw64 images will not be updated from now on. This\nnew merged image (pg-ci-windows-ci) needs to be used on both VS and\nMinGW tasks.\nI ... |
[
{
"msg_contents": "The -Wshadow compiler option reported 3 shadow warnings within the\nlogical replication files. (These are all in old code)\n\nPSA a patch to address those.\n\n======\n\nlogicalfuncs.c:184:13: warning: declaration of ‘name’ shadows a\nprevious local [-Wshadow]\n char *name = TextDatumGet... |
[
{
"msg_contents": "Recently \\watch got the following help message.\n\n> \\watch [[i=]SEC] [c=N] [m=MIN]\n> execute query every SEC seconds, up to N times\n> stop if less than MIN rows are returned\n\nThe \"m=MIN\" can be a bit misleading. It may look like i... |
[
{
"msg_contents": "Synopsis:\n\n Publisher:\n\n CREATE TABLE x(i INT);\n CREATE TABLE y(i INT);\n INSERT INTO x VALUES(1);\n INSERT INTO y VALUES(-1);\n CREATE PUBLICATION pub1 FOR TABLE x;\n CREATE PUBLICATION pub2 FOR TABLE y;\n\n Subscriber:\n\n CREATE SERVER myserver FOR CONNECTION ON... |
[
{
"msg_contents": "Dear hackers,\n\nWhile testing pg_upgrade for [1], I found a bug related with logical replication\nslots. \n\n# Found bug\n\nStatus of logical replication slots are still \"reserved\", but they are not usable.\n\n```\ntmp=# SELECT slot_name, slot_type, restart_lsn, confirmed_flush_lsn, wal_st... |
[
{
"msg_contents": "I am seeing a new gcc 12.2.0 compiler warning from\nsrc/backend/commands/sequence.c:\n\n\tsequence.c: In function ‘DefineSequence’:\n\tsequence.c:196:35: warning: ‘coldef’ may be used uninitialized [-Wmaybe-uninitialized]\n\t 196 | stmt->tableElts = lappend(stmt->tableElts, c... |
[
{
"msg_contents": "Hi everyone,\n\nI just release a logfmt log collector for PostgreSQL :\nhttps://pgxn.org/dist/logfmt/1.0.0/ . This works quite well but I have\na few issues I would like to share with hackers.\n\nFirst, what do you think of having logfmt output along json and CSV ?\nPostgreSQL internal syslog... |
[
{
"msg_contents": "I noticed that pg_resetwal has poor test coverage. There are some TAP \ntests, but they all run with -n, so they don't actually test the full \nfunctionality. (There is a non-dry-run call of pg_resetwal in the \nrecovery test suite, but that is incidental.)\n\nSo I added a bunch of more tes... |
[
{
"msg_contents": "Hi,\n\nI have inspected the performance of the GROUP BY and DISTINCT queries for the sorted data streams and found out, that Group node (produced by GROUP BY) works faster then the Unique node (produced by DISTINCT). The flame graph should out the reason - Unique palloc`s tuples for the resu... |
[
{
"msg_contents": "Hi,\n\ncstring_to_text has a small overhead, because call strlen for\npointer to char parameter.\n\nIs it worth the effort to avoid this, where do we know the size of the\nparameter?\n\nbest regards,\nRanier Vilela",
"msg_date": "Wed, 30 Aug 2023 15:00:13 -0300",
"msg_from": "Ranier V... |
[
{
"msg_contents": "Hi,\n\nCurrently PostgreSQL reads (and writes) data files 8KB at a time.\nThat's because we call ReadBuffer() one block at a time, with no\nopportunity for lower layers to do better than that. This thread is\nabout a model where you say which block you'll want next with a\ncallback, and then... |
[
{
"msg_contents": "pg_stats_export is a view that aggregates pg_statistic data by relation\noid and stores all of the column statistical data in a system-indepdent\n(i.e.\nno oids, collation information removed, all MCV values rendered as text)\njsonb format, along with the relation's relname, reltuples, and re... |
[
{
"msg_contents": "While working on a bug in expandRecordVariable() I noticed that in the\nswitch statement for case RTE_SUBQUERY we initialize struct ParseState\nwith {0} while for case RTE_CTE we do that with MemSet. I understand\nthat there is nothing wrong with this, just cannot get away with the\ninconsis... |
[
{
"msg_contents": "Commitfest 2023-09 (https://commitfest.postgresql.org/44/) starts in \nless than 28 hours.\n\nIf you have any patches you would like considered, be sure to add them \nin good time.\n\nAll patch authors, and especially experienced hackers, are requested to \nmake sure the patch status is up to... |
[
{
"msg_contents": "With PgBouncer in the middle PQbackendPID can return negative values\ndue to it filling all 32 bits of the be_pid with random bits.\n\nWhen this happens it results in pg_basebackup generating an invalid slot\nname (when no specific slot name is passed in) and thus throwing an\nerror like this... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.