threads listlengths 1 2.99k |
|---|
[
{
"msg_contents": "tableam: basic documentation.\n\nThis adds documentation about the user oriented parts of table access\nmethods (i.e. the default_table_access_method GUC and the USING clause\nfor CREATE TABLE etc), adds a basic chapter about the table access\nmethod interface, and adds a note to storage.sgml... |
[
{
"msg_contents": "Hello.\n\nWhen I tried to start server just putting recovery.signal, I got\nthe following message.\n\n> FATAL: must specify restore_command when standby mode is not enabled\n\nI got a bit confused to see the message. Formerly this message\nwas shown when recovery.conf that is setting standby... |
[
{
"msg_contents": "Hello,\n\nI propose that in v13 we redefine \"MD\" (from md.c) to mean \"main data\"\n(instead of \"magnetic disk\"). That's the standard storage layout for\ntypical table and index AMs. As opposed to the proposed undo and SLRU\nSMGRs that provide layouts specialised for different life cycl... |
[
{
"msg_contents": "Hi All,\n\nI'm getting a server crash in *_bt_check_unique*() when running the\nfollowing test-case.\n\n*Steps to reproduce the crash:*\n*Step1:* Create a test table with primary key and insert some data in it.\n\ncreate table t1 (a integer primary key, b text);\n\ninsert into t1 values (1, '... |
[
{
"msg_contents": "Hi hackers,\n\nRight now isolation test alter-table-4.spec fails if prepared statement \nis used:\nWhats going on:\n- There are two inherited tables \"p\" and \"c1\".\n- Session 1 starts transactions and drops inheritance\n- Session 2 prepares and executes statement which selects data from \n... |
[
{
"msg_contents": "Hi hackers,\n\n I run the following sql on the latest master branch (head commit:\n6f0e19005) of Postgres:\n\n ```sql\n\n gpadmin=# create table t(c int);\nCREATE TABLE\ngpadmin=# create rule myrule as on insert to t do instead select * from t\nfor update;\nCREATE RULE\ngpadmin=# insert i... |
[
{
"msg_contents": "Announcing Release 10 of the PostgreSQL Buildfarm client\n\nPrincipal feature: support for non-standard repositories:\n\n. support multi-element branch names, such as “dev/featurename” or\n“bug/ticket_number/branchname”\n. provide a get_branches() method in SCM module\n. support regular expre... |
[
{
"msg_contents": "Or rather, why does the reloption allow values below the compile-time constant?\n\nIt looks like we currently allow values as low as 128. The problem\nthere is that heap_update() and heap_prepare_insert() both only bother\ncalling toast_insert_or_update() when the tuple's length is above\nTO... |
[
{
"msg_contents": "Hi,\n\nThis is a strange failure:\n\nhttps://buildfarm.postgresql.org/cgi-bin/show_log.pl?nm=loach&dt=2019-04-05%2005%3A15%3A00\n\ntest _int ... FAILED 649 ms\n\n================= pgsql.build/contrib/intarray/regression.diffs\n===================\ndiff -U3 /usr/ho... |
[
{
"msg_contents": "Given some of the recent hubbub and analysis of CVE entries, one part of\nthe documentation[1] that could be further clarified is what initdb does\nby default, i.e. creates a cluster where users can connect with trust\nauthentication. While this may be great for people who are hacking or\nrun... |
[
{
"msg_contents": "Hello,\n\nI noticed a small typo (word 'the' is repeated twice) in the recent tableam doc.\n\nThe patch remove the typo in the doc ('/doc/src/sgml/tableam.sgml').\n\nRegard,\nAlexis",
"msg_date": "Fri, 5 Apr 2019 16:26:16 +0000",
"msg_from": "Alexis Andrieu <andrieu.alexis@hotmail.com... |
[
{
"msg_contents": "Hi,\n\nIn this email I want to give a brief status update of the table access\nmethod work - I assume that most of you sensibly haven't followed it\ninto all nooks and crannies.\n\nI want to thank Haribabu, Alvaro, Alexander, David, Dmitry and all the\nothers that collaborated on making table... |
[
{
"msg_contents": "Hi,\n\nJust now, and also once 5-and-a-bit days ago, flaviventris failed like\nthis, as did filefish 41 days ago[1] (there may be more, I just\nchecked a random sample of InstallCheck-C failures accessible via the\nweb interface):\n\n WHERE relname like 'trunc_stats_test%' order by relname;\... |
[
{
"msg_contents": "Hi\n\nWhen using a functional index on a table, we realized that the permission \ncheck done in pg_stats was incorrect and thus preventing valid access to the \nstatistics from users.\n\nHow to reproduce:\n\ncreate table tbl1 (a integer, b integer);\ninsert into tbl1 select x, x % 50 from gen... |
[
{
"msg_contents": "Hackers,\n\n While working on an application, the need arose to be able \nefficiently differentiate v4/v5 UUIDs (for use in partial indexes, among \nothers)\n\n... so please find attached a trivial patch which adds the \nfunctionality. The \"uuid_version_bits()\" function (from the test s... |
[
{
"msg_contents": "Hello devs,\n\nThe attached patch adds minimal stats during the initialization phase. \nSuch a feature was already submitted by Doug Rady two years ago,\n\n \thttps://commitfest.postgresql.org/15/1308/\n\nbut it needed to be adapted to the -I custom initialization approach \ndeveloped in the ... |
[
{
"msg_contents": "Hello devs,\n\nthe attached patch adds some more control on the initialization phase.\nIn particular, ( and ) allow to begin/commit explicitely, and G generates \nthe data server-side instead of client side, which might be a good idea \ndepending on the available bandwidth.\n\nTogether with t... |
[
{
"msg_contents": "It seems that the fire-the-triggers code path in\nvalidateForeignKeyConstraint isn't being exercised; at least, that's\nwhat coverage.postgresql.org says right now, and I'm afraid that may\nhave been true for quite some time. The attached regression-test\naddition causes it to be exercised, ... |
[
{
"msg_contents": "This test script works fine in HEAD:\n\ndrop table if exists parttbl cascade;\nCREATE TABLE parttbl (a int, b int) PARTITION BY LIST (a);\nCREATE TABLE parttbl_1 PARTITION OF parttbl FOR VALUES IN (NULL,500,501,502);\nUPDATE parttbl SET a = NULL, b = NULL WHERE a = 1600 AND b = 999;\n\nIn v11... |
[
{
"msg_contents": "Should we change the default of the password_encryption setting to\n'scram-sha-256' in PG12?\n\n-- \nPeter Eisentraut http://www.2ndQuadrant.com/\nPostgreSQL Development, 24x7 Support, Remote DBA, Training & Services\n\n\n",
"msg_date": "Sun, 7 Apr 2019 10:01:16 +0200",
"... |
[
{
"msg_contents": "Hi,\n\nWhile working on unrelated documentation change, I noticed some\ntrailing whitespaces in various documentation files. PFA a simple\npatch to get rid of them (I didn't removed the one corresponding to\npsql output), if that helps.",
"msg_date": "Sun, 7 Apr 2019 18:51:10 +0200",
... |
[
{
"msg_contents": "Hi,\n\nWhile fixing the report at https://postgr.es/m/19321.1554567786@sss.pgh.pa.us\nI noticed that our behaviour for deleting (or updating albeit less\ndrastically) a row previously modified in the same query isn't\nparticularly useful:\n\nDROP TABLE IF EXISTS blarg;\nCREATE TABLE blarg(dat... |
[
{
"msg_contents": "Cleanup/remove/update references to OID column...\n\n..in wake of 578b229718e8f.\n\nSee also\n93507e67c9ca54026019ebec3026de35d30370f9\n1464755fc490a9911214817fe83077a3689250ab\n---\n doc/src/sgml/ddl.sgml | 9 ++++-----\n doc/src/sgml/ref/insert.sgml | 12 +++++-------\n doc/src/sg... |
[
{
"msg_contents": "Hi,\n\nlazy_scan_heap() contains the following block:\n\n\t\t/*\n\t\t * If the all-visible page is turned out to be all-frozen but not\n\t\t * marked, we should so mark it. Note that all_frozen is only valid\n\t\t * if all_visible is true, so we must check both.\n\t\t */\n\t\telse if (all_vi... |
[
{
"msg_contents": "Hi all\r\n\r\nzh_CN.po has not been updated for three years.\r\nThe source has changed a lot.\r\nI want to do something for postgresql.\r\nI think I can update the zh_CN.po file.\r\n\r\nI plan to translate and update the following zh_CN.po\r\npostgresql/src/bin/initdb/po/zh_CN.po ... |
[
{
"msg_contents": "Hello devs,\n\nThe minor attached patch $SUBJECT, so that it can be inspected easily, \ninstead of having to look at the source code or whatever.\n\n sh> pgbench --list select-only\n -- select-only: <builtin: select only>\n \\set aid random(1, 100000 * :scale)\n SELECT abalance FROM p... |
[
{
"msg_contents": "Hello devs,\n\nThe attached patch does $SUBJECT, as a showcase for recently added \nfeatures, including advanced expressions (CASE...), \\if, \\gset, ending SQL \ncommands at \";\"...\n\nThere is also a small fix to the doc which describes the tpcb-like \nimplementation but gets one variable ... |
[
{
"msg_contents": "Hi,\n\nThe following case\n\n-- test.sql --\nCREATE TABLE test (a text PRIMARY KEY, b text) PARTITION BY HASH (a);\nCREATE TABLE test_p0 PARTITION OF test FOR VALUES WITH (MODULUS 2, \nREMAINDER 0);\nCREATE TABLE test_p1 PARTITION OF test FOR VALUES WITH (MODULUS 2, \nREMAINDER 1);\n-- CREATE... |
[
{
"msg_contents": "Hello devs,\n\nA long time ago I submitted a pgbench \\into command to store results of \nqueries into variables independently of the query being processed, which \ngot turn into \\gset (;) and \\cset (\\;), which got committed, then \\cset \nwas removed because it was not \"up to standard\",... |
[
{
"msg_contents": "I notice that a number of contrib modules call PageGetFreeSpace()\nwhere they should really call PageGetExactFreeSpace() instead.\nPageGetFreeSpace() assumes that the overhead for one line pointer\nshould be pro-actively subtracted, which is handy for plenty of nbtree\ncode, but doesn't quite... |
[
{
"msg_contents": "Howdy folks,\n\nI noticed that the docs currently state \"A different order of columns\nin the target table is allowed, but the column types have to match.\"\nThis is untrue, as you can replicate between any two data types as\nlong as the data can be coerced into the right format on the\nsubs... |
[
{
"msg_contents": "Heikki and I have been hacking recently for few weeks to implement\nin-core columnar storage for PostgreSQL. Here's the design and initial\nimplementation of Zedstore, compressed in-core columnar storage (table\naccess method). Attaching the patch and link to github branch [1] to\nfollow alon... |
[
{
"msg_contents": "Continuing the discussion at:\nhttps://www.postgresql.org/message-id/26571.1554741097%40sss.pgh.pa.us\n\nTom wrote:\n> It struck me just as I was pushing it that this test doesn't exercise\n> EPQ with any of the interesting cases for partition routing (ie where\n> the update causes a move to ... |
[
{
"msg_contents": "Dear PostgreSQL community,\n\nI am a GSoC 2019 applicant and am working on 'WAL-G safety features'. I\nhave finished an initial draft of my proposal and I would appreciate your\ncomments and advice on my proposal. I know it is pretty late for the\nimprovement of my proposal, but I will be gla... |
[
{
"msg_contents": "Hi,\n\nSeveral companies, including EnterpriseDB, NTT, and Postgres Pro, have\ndeveloped technology that permits a block-level incremental backup to\nbe taken from a PostgreSQL server. I believe the idea in all of those\ncases is that non-relation files should be backed up in their\nentirety... |
[
{
"msg_contents": "I've lost count of the number of gripes I've seen where somebody\ntried to write something like \"SELECT TIMESTAMP something\", modeling\nthis on what you can do if the something is a literal constant, but\nit didn't work because they were working with client infrastructure\nthat put a $n par... |
[
{
"msg_contents": "Hi, hackers!When we create/alter object we already add dependency row to pg_depend (or, pg_shdepend) table for object that is depends (e.g. trigger depends on table which it created).But when I add comment on table, no one dependency row is added. Why?\n",
"msg_date": "Tue, 09 Apr 2019 22... |
[
{
"msg_contents": "Horiguchi-san,\n\n> -----Original Message-----\n> From: Kyotaro HORIGUCHI [mailto:horiguchi.kyotaro@lab.ntt.co.jp]\n> Sent: Tuesday, April 09, 2019 5:37 PM\n> To: hosoya.yuzuko@lab.ntt.co.jp\n> Cc: Langote_Amit_f8@lab.ntt.co.jp; thibaut.madelaine@dalibo.com; \n> imai.yoshikazu@jp.fujitsu.com;... |
[
{
"msg_contents": "Hi all,\n\nI was wondering if there exists either a test suite of pathological failure\ncases for postgres, or a dataset of failure scenarios. I'm not exactly sure\nwhat such a dataset would look like, possibly a bunch of snapshots of test\ndatabases when undergoing a bunch of different failu... |
[
{
"msg_contents": "Hi all,\n\nI understood that v11 includes predicate locking for gist indexes, as per\nhttps://git.postgresql.org/gitweb/?p=postgresql.git;a=commit;h=3ad55863e9392bff73377911ebbf9760027ed405\n.\n\nI tried this in combination with an exclude constraint as following:\n\ndrop table if exists t;\n... |
[
{
"msg_contents": "Over at https://www.postgresql.org/message-id/CA%2BTgmobFVe4J4AA7z9OMUzKnm09Tt%2BsybhxeL_Ddst3q3wqpzQ%40mail.gmail.com\nI mentioned parsing the WAL to extract block references so that\nincremental backup could efficiently determine which blocks needed to\nbe copied. Ashwin replied in\nhttp:/... |
[
{
"msg_contents": "Back in [1] I wrote\n\n> I've wondered for some time whether we couldn't make a useful\n> reduction in the run time of the PG regression tests by looking\n> for scripts that run significantly longer than others in their\n> parallel groups, and making an effort to trim the runtimes of\n> those... |
[
{
"msg_contents": "Hello,\n\nI have some questions about the different types of extended statistics\nthat were introduced in Postgres 10.\n- Which types of queries are each statistic type supposed to improve?\n- When should one type of statistic be used over the other? Should they\n both always be used?\n\nWe ... |
[
{
"msg_contents": "Hi, Hackers\n\nI noticed something strange. Does it cause nothing?\nI didn't detect anything, but feel restless.\n\nStep:\n- There are two standbys that connect to primary.\n- Kill primary and promote one standby.\n- Restart another standby that is reset primary_conninfo to connect new primar... |
[
{
"msg_contents": "Hi all,\n\nRecent commit bfc80683 has added some documentation in pg_rewind about\nthe fact that it is possible to do the operation with a non-superuser,\nassuming that this role has sufficient grant rights to execute the\nfunctions used by pg_rewind.\n\nPeter Eisentraut has suggested to have... |
[
{
"msg_contents": "Hi,\n\nIs it possible to have commit-message or at least git hash in\ncommitfest. It will be very easy to track commit against commitfest\nitem.\n\n-- \nIbrar Ahmed\n\n\n",
"msg_date": "Thu, 11 Apr 2019 14:36:22 +0500",
"msg_from": "Ibrar Ahmed <ibrar.ahmad@gmail.com>",
"msg_from_... |
[
{
"msg_contents": "Hi,\n\nI have a table with two dates, timeframe_begin and timeframe_end.\n\nI'd like to use daterange operators on this table, and an easy way would be to set up an index using gist on daterange(timeframe_begin, timeframe_end, '[]');\n\nI noticed some bad data where end < begin, so I modified... |
[
{
"msg_contents": "Hi,\n\n(added Alvaro, Amit, and David)\n\nWhile working on an update-tuple-routing bug in postgres_fdw [1], I\nnoticed this change to ExecCleanupTupleRouting() made by commit\n3f2393edefa5ef2b6970a5a2fa2c7e9c55cc10cf:\n\n+ /*\n+ * Check if this result rel is one belonging to the ... |
[
{
"msg_contents": "Hello hackers,\n\nFollowing test-sequence causing an error \"cache lookup failed for collation\n0\";\n\npostgres:5432 [42106]=# create table foobar(a bytea primary key, b int);\nCREATE TABLE\npostgres:5432 [42106]=# insert into foobar\nvalues('\\x4c835521685c46ee827ab83d376cf028', 1);\nINSERT... |
[
{
"msg_contents": "While working on the instance encryption I found it annoying to apply\ndecyption of XLOG page to three different functions. Attached is a patch that\ntries to merge them all into one function, XLogRead(). The existing\nimplementations differ in the way new segment is opened. So I added a poin... |
[
{
"msg_contents": "Currently pg_stat_replication view does not tell useful information\nregarding client connections if UNIX domain sockets are used for\ncommunication between sender and receiver. So it is not possible to\ntell which row corresponds to which standby server.\n\ntest=# select client_addr, client_... |
[
{
"msg_contents": "I find the dependency is complex among header files in PG. At the same\ntime, I find the existing code still can use the header file very\ncleanly/alphabetically. so I probably missed some knowledge here.\n\nfor example, when I want the LOCKTAG in .c file, which is defined in\n\"stora... |
[
{
"msg_contents": "Hi,\n\nI found some minor grammar mistake while reading reloptions.c code comments.\nAttached is the fix.\nI just changed \"affect\" to \"effect\", for both n_distinct and vacuum_truncate.\n - * values has no affect until the ...\n + * values has no effect until the ...\n\nRegards,\nKirk Ja... |
[
{
"msg_contents": "Hello devs,\n\nI'm looking at psql's use of PQexec for implementing some feature.\n\nWhen running with multiple SQL commands, the doc is not very helpful.\n\n From the source code I gathered that PQexec returns the first COPY results \nif any, and if not the last non-empty results, unless all... |
[
{
"msg_contents": "Hi Hackers,\n\nI read many mail discussions in supporting data at rest encryption support\nin\nPostgreSQL.\n\nI checked the discussions around full instance encryption or tablespace or\ntable level encryption. In my observation, all the proposals are trying to\nmodify\nthe core code to suppor... |
[
{
"msg_contents": "Hi,\n\nThere are something like the following code in many places in PostgreSQL code.\n\npgstat_report_wait_start(WAIT_EVENT_xxx);\nif (write(...) != len)\n{\n ereport(ERROR, ...);\n}\npgstat_report_wait_end();\n\nAlmost of these places don't call pgstat_report_wait_end() before\nereport(E... |
[
{
"msg_contents": "Hackers,\n\nI will use as an example the code in the regression test\n'collate.linux.utf8'.\nThere you can find:\n\nSET lc_time TO 'tr_TR';\nSELECT to_char(date '2010-04-01', 'DD TMMON YYYY');\n to_char\n-------------\n 01 NIS 2010\n(1 row)\n\nThe problem is that the locale 'tr_TR' uses the... |
[
{
"msg_contents": "Hi All,\n\nWe build Postgres on Power and x86 With the latest Postgres 11 release (11.2) we get error on\npower8 ppc64le (Redhat and CentOS). No error on SUSE on power8\n\nNo error on x86_64 (RH, Centos and SUSE)\n\nfrom the log file\n2019-04-09 12:30:10 UTC pid:203 xid:0 ip: LOG: listen... |
[
{
"msg_contents": "While looking at the pending patch to clean up management of\nrd_partcheck, I noticed that RelationCacheInitializePhase3 has code that\npurports to reload rd_partkey and rd_partdesc, but none for rd_partcheck.\nHowever, that reload code is dead code, as is easily confirmed by\nchecking the co... |
[
{
"msg_contents": "Hello devs,\n\nThe attached patch implements a new SHOW_ALL_RESULTS option for psql, \nwhich shows all results of a combined query (\\;) instead of only the last \none.\n\nThis solves a frustration that intermediate results were hidden from view \nfor no good reason that I could think of.\n\n... |
[
{
"msg_contents": "Hi,\n\nI'm trying to use the SPI to save the executed plans in the ExecutorEnd. When the plan involves multiple workers, the insert operations would trigger an error: cannot execute INSERT during a parallel operation.\n\nI wonder if there's a different hook I can use when there's a gather nod... |
[
{
"msg_contents": "Hi,\n\nBoth tables in $subject (in datatype.sgml and xfunc.sgml, respectively)\ncontain similar information (though the xfunc one mentions C structs and\nheader files, and the datatype one does not, but has a description column)\nand seem similarly out-of-date with respect to the currently su... |
[
{
"msg_contents": "Identity columns don't work if they own more than one sequence.\n\nSo if one tries to convert a \"serial\" column to an identity column,\nthe following can happen:\n\ntest=> CREATE TABLE ser(id serial);\nCREATE TABLE\ntest=> ALTER TABLE ser ALTER id ADD GENERATED ALWAYS AS IDENTITY;\nERROR: ... |
[
{
"msg_contents": "Hi all,\n\nAfter all the great work that was done on partitioning over the past months, I wanted to take a closer look at the performance. I prepared some performance tests for use cases that I often encounter on partitioned tables. My goal was to test the performance and stability of the rec... |
[
{
"msg_contents": "Hi\n\nIs there reason why following code should not to work?\n\ndo $$\ndeclare r record; result int;\nbegin\n select 10 as a, 20 as b into r;\n raise notice 'a: %', r.a;\n execute 'select $1.a + $1.b' into result using r;\n raise notice '%', result;\nend;\n$$\n\nbut it fails\n\nNOTICE: a... |
[
{
"msg_contents": "Hi,\n\nI am not able to access the mailing list archive. Is the mailing list\nserver down or something?\n\n-- \nCheers\nRam 4.0\n\nHi,I am not able to access the mailing list archive. Is the mailing list server down or something?-- CheersRam 4.0",
"msg_date": "Mon, 15 Apr 2019 10:36:19 +0... |
[
{
"msg_contents": "StartupDecodingContext() initializes ctx->reader->private_data with ctx, and\nit even does so twice. I couldn't find a place in the code where the\n(LogicalDecodingContext *) pointer is retrieved from the reader, and a simple\ntest of logical replication works if the patch below is applied. T... |
[
{
"msg_contents": "I just noticed the following:\n\nCREATE TABLE foo (a int, b int);\nINSERT INTO foo SELECT x/10, x/100 FROM generate_series(1, 100) x;\nCREATE STATISTICS foo_s ON a,b FROM foo;\nANALYSE foo;\n\nSELECT pg_mcv_list_items(stxmcv) from pg_statistic_ext WHERE stxname = 'foo_s';\n\nwhich fails with\... |
[
{
"msg_contents": "In connection with the issue discussed at [1], I tried to run\nthe core regression tests with extremely aggressive autovacuuming\n(I set autovacuum_naptime = 1s, autovacuum_vacuum_threshold = 5,\nautovacuum_vacuum_cost_delay = 0). I found that the timestamp\ntest tends to fail with diffs cau... |
[
{
"msg_contents": "In the wake of the discussion at [1] I went looking for structs that\nshould be using FLEXIBLE_ARRAY_MEMBER and are not, by dint of grepping\nfor size calculations of the form \"offsetof(struct,fld) + n * sizeof(...)\"\nand then seeing how \"fld\" is declared. I haven't yet found anything\nl... |
[
{
"msg_contents": "Hi!\n\nCurrently we amcheck supports lossy checking for missing parent\ndownlinks. It collects bitmap of downlink hashes and use it to check\nsubsequent tree level. We've experienced some large corrupted indexes\nwhich pass this check due to its looseness.\n\nHowever, it seems to me we can ... |
[
{
"msg_contents": "Using HEAD,\n\ncreate table t1 as select generate_series(1,40000000) id;\nvacuum analyze t1;\nexplain select * from t1, t1 t1b where t1.id = t1b.id;\n-- should indicate a hash join\nexplain analyze select * from t1, t1 t1b where t1.id = t1b.id;\n\n... watch the process's memory consumption bl... |
[
{
"msg_contents": "Hi all,\n\nThis is a continuation of the following thread, but I prefer spawning\na new thread for clarity:\nhttps://www.postgresql.org/message-id/20190416064512.GJ2673@paquier.xyz\n\nThe buildfarm has reported two similar failures when shutting down a\nnode:\nhttps://buildfarm.postgresql.org... |
[
{
"msg_contents": "Hi, hackers.\n\nI'm trying to build 64-bit windows binaries with kerberos support.\nI downloaded latest kerberos source package from here:\nhttps://kerberos.org/dist/index.html\nI followed the the instructions in src\\windows\\README, and executed the\nfollowing script in 64-bit Visual Studio... |
[
{
"msg_contents": "Hi all,\n\nI found a runtime pruning test case which may be a problem as follows:\n\n----\ncreate table t1 (id int, dt date) partition by range(dt);\ncreate table t1_1 partition of t1 for values from ('2019-01-01') to ('2019-04-01');\ncreate table t1_2 partition of t1 for values from ('2019-0... |
[
{
"msg_contents": "Hi,\n\nI'm somewhat unhappy in how much the no-fsm-for-small-rels exposed\ncomplexity that looks like it should be purely in freespacemap.c to\ncallers.\n\n\n extern Size GetRecordedFreeSpace(Relation rel, BlockNumber heapBlk);\n-extern BlockNumber GetPageWithFreeSpace(Relation rel, Size spac... |
[
{
"msg_contents": "I have found that log_planner_stats only outputs stats until the generic\nplan is chosen. For example, if you run the following commands:\n\n\tSET client_min_messages = 'log';\n\tSET log_planner_stats = TRUE;\n\t\n\tPREPARE e AS SELECT relkind FROM pg_class WHERE relname = $1 ORDER BY 1;\n\n... |
[
{
"msg_contents": "Hello postgres hackers,\n\nRecently my colleagues and I encountered an issue: a standby can\nnot recover after an unclean shutdown and it's related to tablespace.\nThe issue is that the standby re-replay some xlog that needs tablespace\ndirectories (e.g. create a database with tablespace),\nb... |
[
{
"msg_contents": "Hi all,\r\n\r\npg_test_timing accepts the following command-line options:\r\n-d duration\r\n--duration=duration\r\n\r\n Specifies the test duration, in seconds. Longer durations give slightly better accuracy, and are more likely to discover problems with the system clock moving backwards. ... |
[
{
"msg_contents": "We just had another complaint (bug #15767) about parallel dump's\ninability to cope with concurrent lock requests. The problem is\nwell described by the comments for lockTableForWorker():\n\n * Acquire lock on a table to be dumped by a worker process.\n *\n * The master process is already ho... |
[
{
"msg_contents": "Fix unportable code in pgbench.\n\nThe buildfarm points out that UINT64_FORMAT might not work with sscanf;\nit's calibrated for our printf implementation, which might not agree\nwith the platform-supplied sscanf. Fall back to just accepting an\nunsigned long, which is already more than the d... |
[
{
"msg_contents": "What on God's green earth are these functions doing in\nsrc/include/catalog/index.h?\n\nThey don't have any obvious connection to indexes, let alone\ncatalog operations on indexes, which is what that file is for.\n\nThey weren't there before 2a96909a4, either.\n\n\t\t\tregards, tom lane\n\n\n... |
[
{
"msg_contents": "Hi all,\n\nFujii-san has sent me a report offline about REINDEX. And since 9.6,\ntrying to REINDEX directly an index of pg_class fails lamentably on an\nassertion failure (mbsync failure if bypassing the assert):\n#2 0x000055a9c5bfcc2c in ExceptionalCondition\n (conditionName=0x55a9c5ca9750... |
[
{
"msg_contents": "I thought of a case that results in pathological performance due to a\nbehavior of my nbtree patch series:\n\nregression=# create table uniquenulls(nully int4, constraint pp unique(nully));\nCREATE TABLE\nTime: 10.694 ms\nregression=# insert into uniquenulls select i from generate_series(1, 1... |
[
{
"msg_contents": "Hi\n\nI wrote a pspg pager https://github.com/okbob/pspg\n\nThis pager is designed for tabular data. It can work in fallback mode as\nclassic pager, but it is not designed for this purpose (and I don't plan do\nit). Can we enhance a set of psql environment variables about\nPSQL_TABULAR_PAGER ... |
[
{
"msg_contents": "Up until quite recently, it worked to do \"make installcheck\" in\nsrc/test/recovery, following the instructions in the README\nfile there:\n\n NOTE: You must have given the --enable-tap-tests argument to configure.\n Also, to use \"make installcheck\", you must have built and installed... |
[
{
"msg_contents": "when I fetch from holdable cursor, I found the fact is more complex than I\nexpected.\n\nsuppose we fetched 20 rows.\n\n1). It will fill a PortalStore, the dest is not the client, it is the\nDestTupleStore, called ExecutePlan once and receiveSlot will be call 20\ntimes.\n\n2). the portal f... |
[
{
"msg_contents": "Hello. As mentioned before [1], read_page callback in\nXLogReaderState is a cause of headaches. Adding another\nremote-controlling stuff to xlog readers makes things messier [2].\n\nI refactored XLOG reading functions so that we don't need the\ncallback. In short, ReadRecrod now calls XLogPag... |
[
{
"msg_contents": "Hi,\n\nFor not the first time I was trying to remember why and when the whole\nnodeIndexscan.c:IndexNextWithReorder() business is needed. The comment\nabout reordering\n\n *\t\tIndexNextWithReorder\n *\n *\t\tLike IndexNext, but this version can also re-check ORDER BY\n *\t\texpressions, and ... |
[
{
"msg_contents": "Can we include the CustomScan node in the list of nodes that do not \nsupport projection?\nReason is that custom node can contain quite arbitrary logic that does \nnot guarantee projection support.\nSecondly. If planner does not need a separate Result node, it just \nassign tlist to subplan (... |
[
{
"msg_contents": "Hi, Hackers\n\npg_logical_emit_message() can be used by any user,\nbut the following document says that it can be used by only superuser.\n\n> Table 9.88. Replication SQL Functions\n> Use of these functions is restricted to superusers.\n\nI think that pg_logicl_emit_message() should be used b... |
[
{
"msg_contents": "\nHello Tom,\n\n>> Yep, but ISTM that it is down to 32 bits,\n>\n> Only on 32-bit-long machines, which are a dwindling minority (except\n> for Windows, which I don't really care about).\n>\n>> So the third short is now always 0. Hmmm. I'll propose another option over\n>> the week-end.\n>\n> I... |
[
{
"msg_contents": "Dear PostgreSQL Community: I want to add a feature in PostgreSQL, and I need use map structure and set structure(like STL in C++). Do PostgreSQL have realized these structures? Where can I find the functions?\r\n What I need in the code is just like this:\r\n map<char*, set<char*> >\... |
[
{
"msg_contents": "Folks,\n\nAny interest in this?\n\nBest,\nDavid.\n-- \nDavid Fetter <david(at)fetter(dot)org> http://fetter.org/\nPhone: +1 415 235 3778\n\nRemember to vote!\nConsider donating to Postgres: http://www.postgresql.org/about/donate",
"msg_date": "Sun, 21 Apr 2019 20:31:15 +0200",
"msg_fr... |
[
{
"msg_contents": "While fooling around with the patch shown at\n<12166.1555559689@sss.pgh.pa.us>, I noticed this rather strange\npre-existing behavior (tested on v11 as well as HEAD):\n\nregression=# create table idxpart (a int) partition by range (a);\nCREATE TABLE\nregression=# create table idxpart0 (like id... |
[
{
"msg_contents": "Hey everyone,\n\nI am writing a plpgsql function that (to greatly simplify) raises an\nexception with a formatted* message. Ideally, I should be able to call\nit with raise_exception('The person %I has only %I bananas.', 'Fred',\n8), which mimics the format(text, any[]) calling convention.\n\... |
[
{
"msg_contents": "Andres has suggested that I work on teaching nbtree to accommodate\nvariable-width, logical table identifiers, such as those required for\nindirect indexes, or clustered indexes, where secondary indexes must\nuse a logical primary key value instead of a heap TID. I'm not\ncurrently committed ... |
[
{
"msg_contents": "Hi,\n\nISTM show_plan_tlist()'s rule of whether to the show range table prefix\nwith displayed variables contradicts the description of the VERBOSE option\nin EXPLAIN documentation, which is as follows:\n\n=======\nVERBOSE\n\nDisplay additional information regarding the plan. Specifically, in... |
[
{
"msg_contents": "Hello hackers,\n\nWith a master-standby setup configured on the same machine, I'm\ngetting a panic in tablespace test while running make installcheck.\n\n1. CREATE TABLESPACE regress_tblspacewith LOCATION 'blah';\n2. DROP TABLESPACE regress_tblspacewith;\n3. CREATE TABLESPACE regress_tblspace... |
[
{
"msg_contents": "It's deliberate that \\dt doesn't show toast tables.\n\\d shows them, but doesn't show their indices.\n\nIt seems to me that their indices should be shown, without having to think and\nknow to query pg_index.\n\npostgres=# \\d pg_toast.pg_toast_2600\nTOAST table \"pg_toast.pg_toast_2600\"\n ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.