threads
listlengths
1
2.99k
[ { "msg_contents": "Please find attached a first version of a patch to allow additional\n\"dynamic\" shared memory segments; that is, shared memory segments that\nare created after server startup, live for a period of time, and are\nthen destroyed when no longer needed. The main purpose of this patch\nis to fac...
[ { "msg_contents": "in 9.3 and 9.4, pgstat_reset_remove_files uses the global variable\npgstat_stat_directory rather than the argument it is passed, \"directory\".\n On crash recovery, this means the tmp directory gets cleared twice and the\npermanent pg_stat doesn't get cleared at all.\n\nIt seems like the obvi...
[ { "msg_contents": "ISTM the README contains incorrect information and requires revision to reflect\nthe current code. Please find attached a patch. ISTM the patch needs to be\napplied to all active branches.\n\nThanks,\n\nBest regards,\nEtsuro Fujita\n\n\n\n-- \nSent via pgsql-hackers mailing list (pgsql-hack...
[ { "msg_contents": "Hi,\n\nWhile working on something I come across this issue. Consider following\ntest:\n\npostgres=# select version();\n version\n\n--------------------------------------------------------------------------------------------------------------...
[ { "msg_contents": "psql is missing tab completion for \\dx (or more usfully, for \\dx+).\n\nAttached patch fixes this.\n\nDo we consider this a bugfix and backpatch (at least to 9.3? even\nthough the problem goes back further), or head only?\n\n-- \n Magnus Hagander\n Me: http://www.hagander.net/\n Work: http:/...
[ { "msg_contents": "Taking a look at PostgreSQL HEAD today, I noticed that pg_ctl\ndocuments that pg_ctl initdb takes OPTIONS but doesn't document them\n(unlike for start and others).\n\nIs this intentional?\n\n\n-- \nJon\n\n\n-- \nSent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)\nTo make chang...
[ { "msg_contents": "Hi,\n\nWhile testing performance of PG9.2.4 using DBT5, I am getting error in \n\n<dbt5_output_result>/bh/bh.out     file as :\n\n*BrokerageHouseMain: symbol lookup error: BrokerageHouseMain: undefined symbol: PQescapeLiteral*\n\n\nSo i tried with CPP code as follow\n-------------------------...
[ { "msg_contents": "Hello all,\nbefore writing this message, I wrote about this in other mailing lists without solving my problem.\nMaybe some of you can help me.\n\nI have problems with a DB in postgres, when i try to insert Chinese strings in UTF-8 format.\nIf I insert the data using a C++ program I have empty...
[ { "msg_contents": "Thanks for your answer.\nYes, the client is also UTF8:\n\nMyDB=# show \nclient_encoding;\n client_encoding\n-----------------\n UTF8\n(1 row)\n\n\nCheers\nFrancesco\n----Messaggio originale----\nDa: hannu@2ndQuadrant.com\n\nData: 16/08/2013 14.16\nA: \"ciifrancesco@tiscali.it\"\n<ciifrancesco...
[ { "msg_contents": "[I reply to both in one email]\n\nSong:\nthat C++ program has a log file. \nIn the log file the queries look like this:\nUPDATE MY_table SET \nUTF8_field = \n'<e5><8f><b0><20><31><32><33><34><27><20><57><48><45><52><45><20><49><44><20><3d><20><31>\n\n\nstarting from the first chinese letter, ...
[ { "msg_contents": "I started a thread on the general list so read that for more info.\n\nhttp://www.postgresql.org/message-id/520A6E55.40901@cchtml.com\n\nI'm also going to submit the patch to CommitFest.\n\nThanks,\nMichael\n\n\n\n-- \nSent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)\nTo make...
[ { "msg_contents": "Greetings all: \nI spoke to Josh B and company at OSCON about a feature we really need for PostgreSQL extensions on OpenShift (Red Hat's Platform as a Service). \n\nWhat we need is the ability for Postgresql to load extensions from a users file space. For example, if, as a developer on a mach...
[ { "msg_contents": "1>.\\src\\backend\\utils\\cache\\relfilenodemap.c(213) : warning C4101:\n'isnull' : unreferenced local variable\n\nIt seems this variable is used only under macro USE_ASSERT_CHECKING,\nso it is better to declare under this macro only.\n\nWith Regards,\nAmit Kapila.\nEnterpriseDB: http://www.e...
[ { "msg_contents": "Hi all!\n\n\nWhile working on upgrading the database of the search system on\npostgresql.org to 9.2 I noticed that the dumps that pg_dump generates on\nthat system are actually invalid and cannot be reloaded without being\nhacked on manually...\n\nSimple way to reproduce is using the followin...
[ { "msg_contents": "Hello\n\nis any specific reason why permissions are checked in top lo_* API and not\nin inv_* API?\n\nI am trying to write extension for bytea <-> LO conversions, but It is not\npossible without code duplication due placing a permission check in top API.\n\nRegards\n\nPavel\n\nHellois any spe...
[ { "msg_contents": "Hi,\n\nI'm running some tests comparing benchmarks on a range of versions,\ngoing back to 8.0 (mostly because of curiosity, but actually for\npractical reasons too).\n\nI've decided to use the pgbench from 9.3, mostly to make the results\nmore comparable and because of features not available ...
[ { "msg_contents": "Hi,\n\nISTM that we shouldn't use GetTransactionSnapshot() in enum.c but\nGetLatestSnapshot() in <= 9.3 and NULL/GetCatalogSnapshot() > 9.3.\n\ntypecache.c's usage was converted to GetLatestSnapshot() but enum.c's\nwas not.\n\nI don't seem to have full mental capacity right now, but I think t...
[ { "msg_contents": "Hi,\n\nI don't see indication that the capability described below exists in\nPostgres (or any RDBMS), so this is likely a feature request --\n\nFor column types that are frequently defined in tables, and which are\ntypically indexed, it would be helpful to be able to specify in the type\ndefi...
[ { "msg_contents": "Is it reasonable to note in the documentation that ereport does not return if the error severity is greater than or equal to ERROR?\n\n--\n-- Christophe Pettus\n xof@thebuild.com\n\n\n\n-- \nSent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)\nTo make changes to your subscrip...
[ { "msg_contents": "I will be taking a long (and long-overdue) vacation from Sep 10 to Oct 20.\nI expect to have email access, but won't be doing much more than minimally\nkeeping up with my inbox.\n\nThis means I'll be pretty much AWOL for the September commitfest :-(.\nThat's unfortunate, but the dates for thi...
[ { "msg_contents": "Hello\n\nwe support syntax for INSERT and DELETE statements, that allows a simple\ntriggers for these statements.\n\nCREATE FUNCTION trg_insert()\nRETURNS trigger AS $$\nBEGIN\n INSERT INTO target_tbl VALUES(NEW.*)\n RETURN NULL;\nEND;\n$$ LANGUAGE plpgsql;\n\n* is not allowed in DELETE, bu...
[ { "msg_contents": "Hi all,\n\nTaking a look at PostgreSQL HEAD today, I noticed that currently\nPostgreSQL allows \"of\" value as bool type value.\nSo user can execute the following SQL.\n\n=# SET enbale_seqscan TO of;\n\nAnd I read the source code related to parsing bool value.\nIt compare TWO characters \"off...
[ { "msg_contents": "Hackers,\n\nThis seems reasonable:\n\n david=# DO $$\n david$# BEGIN\n david$# WITH now AS (SELECT now())\n david$# SELECT * from now;\n david$# END;\n david$# $$;\n ERROR: query has no destination for result data\n HINT: If you want to discard the results of...
[ { "msg_contents": "Hackers,\n\nI am trying to do something like this:\n\n CREATE TYPE source AS ENUM(\n 'fred', 'wilma', 'barney', 'betty'\n );\n\n CREATE EXTENSION btree_gist;\n\n CREATE TABLE things (\n source source NOT NULL,\n within tstzrange NOT NULL,\n EXCLUDE USIN...
[ { "msg_contents": "Hello!\n\n From time to time when investigating different locking issues using \npostgres log i have thought that \"process x is still waiting for\" \nmessage could be more informative, for example at the moment it is quite \npainful to find out which session was actually holding that particu...
[ { "msg_contents": "In a thread over in pgsql-performance, Tomas Vondra pointed out that\nchoose_hashed_distinct was sometimes making different choices than\nchoose_hashed_grouping, so that queries like these:\n\n\tselect distinct x from ... ;\n\tselect x from ... group by 1;\n\nmight get different plans even th...
[ { "msg_contents": "\nEureka.\nThe problem is solved.\n\nBambo:\n> I guess you forget to convert \nyou string to UTF-8 before insert.\n\nNo, too many conversions :)\n\nThe \nfact is that in the source code the query was casted to UnicodeString, \nbecause of previous requirements on the project:\n\n//tmp is a cha...
[ { "msg_contents": "Hi,\n\nBy default, PL/pgSQL does not print the error context of a RAISE \nstatement, for example:\n\n=# create function foof() returns void as $$ begin raise exception \n'foo'; end $$ language plpgsql;\nCREATE FUNCTION\n\n=# create function bar() returns void as $$ begin perform foof(); end $...
[ { "msg_contents": "Hello,\n\nOne of my colleagues, who is relatively new to PostgreSQL, asked me if \nPostgreSQL supports Solaris 11. The reason why he had this question is that \nthe following page says \"Solaris 10\" instead of \"Solaris 10 and later\".\n\nhttp://www.postgresql.org/docs/devel/static/kernel-r...
[ { "msg_contents": "After someone in IRC asked if there was an equivalent to MySQL's\nserver_id, it was noted that we do have a system identifier but it's not\nvery accessible.\n\nThe attached patch implements a pg_system_identifier() function that\nexposes it.\n\nShall I add this to the next commitfest?\n\n-- \...
[ { "msg_contents": "Disable -faggressive-loop-optimizations in gcc 4.8+ for pre-9.2 branches.\n\nWith this optimization flag enabled, recent versions of gcc can generate\nincorrect code that assumes variable-length arrays (such as oidvector)\nare actually fixed-length because they're embedded in some larger stru...
[ { "msg_contents": "Hey everyone,\n\nI'm looking for feedback on a contrib/hstore patch.\n\nWe've been experiencing slow \"@>\" queries involving an hstore column that's\ncovered by a Gin index. At the current postgresql git HEAD, the hstore <->\ngin interface produces the following text items to be indexed:\n\n...
[ { "msg_contents": "Hi all,\n\nI have some questions about backup on PostgreSQL:\n\n1) pg_dumpall\nI am sure that this is asked in somewhere: why the pg_dumpall does not support custom or tar format like pg_dump.\nI have heard that the custom format could be faster and may generate a smaller dump file.\nIs the f...
[ { "msg_contents": "Currently a child table has to have all the columns the parent table has:\n\ncreate table foo1 (x integer, y text, z bool);\ncreate table foo2 (x integer, y text, q text);\nalter table foo2 inherit foo1 ;\nERROR: child table is missing column \"z\"\n\nIn theory it seems like this could be al...
[ { "msg_contents": "Hello,\n\nA few days before, I got a question as described in the subject line on\na discussion with my colleague.\n\nIn general, larger i/o size per system call gives us wider bandwidth on\nsequential read, than multiple system calls with smaller i/o size.\nProbably, people knows this heuris...
[ { "msg_contents": "Hi all,\n\nI understand that setting synchronous_standby_name to '*' means that\nall priority of standby server are same.\nand the standby server, which connected to the master server at first,\nbecome SYNC standby, another server become\nASYNC standby as potential server.\n\nSo, how to set t...
[ { "msg_contents": "Hi guys,\n\nI was wondering if there is a proposal for parallelize pg_basebackup (sorry\nif there is already one, I looked into the inbox and did not find any).\n\nI made a simple test and the performance gain is pretty considerable using\nparallel rsync processes vs. single pg_basebackup.\n\...
[ { "msg_contents": "I looked into the problem reported here:\nhttp://www.postgresql.org/message-id/E1VCmgF-0001uF-9I@wrigleys.postgresql.org\n\nWhat's happening is that the Var that represents \"my_col\" in the outer\nquery has typmod -1, but after we inline the SQL function we can see that\nwhat it returns is v...
[ { "msg_contents": "All,\n\nPer -performance, we're trying to isolate and reproduce a customer issue\nwhere on 9.2 BINDs get progressively slower (as much as 2000% slower)\nover the course of a long test run, in a way they *don't* in 8.4.\n\nSo I'm looking for a cause for this. One thing would help is a clearer...
[ { "msg_contents": "In anticipation of the release of PostgreSQL 9.3, it is once again time\nto update the message translations. We are now in a string freeze, which has \ntraditionally been associated with the first release candidate, so it's a \ngood time to do this work now.\n\nIf you want to help, see <http...
[ { "msg_contents": "Per report of Armin Ronacher, it's not clear how to take a scalar JSON\nstring and unquote it into a regular Postgres \"text\" value, given what\nI can see here:\nhttp://www.postgresql.org/docs/9.3/static/functions-json.html\n\nExample:\n\nSELECT '\"a json string\"'::json;\n\n(Although this s...
[ { "msg_contents": "As an initial attempt to try hands-on with postgresql, I've learned on user\ncreated functions and some other internals of postgresql.\n\nFew materials on postgresql indicate that the aggregate functions are slow\ndue to some internal reasons (index covering, null etc).\n\nI'm looking forward...
[ { "msg_contents": "I've come across lookup tables, Hamming weights and Brain Kernighan's Algo.\nAre they used (combined or separately) in bitmap counting?\n\nWhere can I find the coding and please explain the flow a count function\n(for a bit counting) via coding rather than the high level architectural\ndiagra...
[ { "msg_contents": "Hello\n\nThree years ago we worked on implementation of median function.\n\nhttp://www.postgresql.org/message-id/AANLkTimRksUOgGsK7-gTXnvJJGL-1QvuqxidusZQwep6@mail.gmail.com\n\n\nCan we implement this function now?\n\nThere are a few opened questions:\n\n* immutable parameters of aggregate fu...
[ { "msg_contents": "pg_dump and pg_restore don't behave very nicely when the client and \nserver encodings don't match. Below are three issues that arise from \nthat. All the examples below use a console with a UTF-8 locale, and the \n'latin1db' database uses ISO-8859-1 as the database encoding. In that \ndataba...
[ { "msg_contents": "Hi,\n\nWhile looking at the pg_restore code, I noticed that while it supports \nspecifying multiple --table options to restore several tables, it does \nnot support multiple --function options. Or --index, --schema, or --trigger.\n\nThe support for multiple --table options was added in 9.3, i...
[ { "msg_contents": "Peter Eisentraut,\r\n \r\n My name is Minmin,I come from China.At present,I am responsible for translation work.From the site,I see some information about calling for translations.I have great interest in this job,\r\nand have time to do it.I hope that have opportunity to do this...
[ { "msg_contents": "Heikki wrote that it might be useful to allow formatting in the\nlog_line_prefix here\nhttp://www.postgresql.org/message-id/5187CADB.50306@vmware.com\n\nI thought I'd take a bash at implementing space padding part on\nlog_line_prefix options.\n\nIt's been a while since I worked with the Postg...
[ { "msg_contents": "Hi All,\nI want to create a materialized view as the output of a plpgsql function\nreturning a set of rows. But that function creates temporary tables and\nthus can not be used for creating materialized view as per the\ndocumentation at\nhttp://www.postgresql.org/docs/9.3/static/sql-createmat...
[ { "msg_contents": "Hi,\n\npg_xlogdump cannot properly be built with pgxs since it needs a\nsourcetree around. That already has confused some users...\n\nHow about the attached patch which will tell it's not supported instead\nof an ominous build error about files that have no rules?\n\nGreetings,\n\nAndres Freu...
[ { "msg_contents": "Hi,\n\nThanks to the valgrind instrumentation I found a small oversight in the\nrelfilenodemap patch which is fixed in the attached patch.\n\nGreetings,\n\nAndres Freund\n\n-- \n Andres Freund\t http://www.2ndQuadrant.com/\n PostgreSQL Development, 24x7 Support, Training & S...
[ { "msg_contents": "Here's a patch to move src/port/pgcheckdir.c to src/common/checkdir.c\nand add the shareable part of postmaster's current checkDataDir code\ninto it, as pg_check_dir_permissions. This is in the spirit of using it\nin pgstat to check the directory defined by stats_temp_directory.\n\n(This is ...
[ { "msg_contents": "I'm currently implementing commit sequence number (CSN) based\nsnapshots and I hit a design decision that I would like to resolve\nbefore I have too much code to rewrite.\n\nThe issue is commit visibility ordering on slaves. As a couple of\nthreads on hackers have already noted, currently com...
[ { "msg_contents": "So I was hacking away at supporting variadic aggregates (per an internal\nrequest at Salesforce), and had it pretty much working, when I came across\nthis old comment in opr_sanity.sql:\n\n-- Check that there are not aggregates with the same name and different\n-- numbers of arguments. While...
[ { "msg_contents": "On 2013-08-30 01:10:40 +0300, Ants Aasma wrote:\n> On Fri, Aug 30, 2013 at 12:33 AM, Andres Freund <andres@2ndquadrant.com> wrote:\n> > FWIW, WAL is still the major bottleneck for INSERT heavy workloads. The\n> > per CPU overhead actually minimally increased (at least in my tests), it\n> > ju...
[ { "msg_contents": "Hi hackers,\n\n In order to achieve enable/disable constraint name,I made ​​a few \nmodifications to the code.\n\n First, someone used to build the constraints while building \ntable. Then inserting data must follow a certain order.\n And people usually like to insert the da...
[ { "msg_contents": "Hi,\n\nAttached patch adds new GUC parameter 'compress_backup_block'.\nWhen this parameter is enabled, the server just compresses FPW\n(full-page-writes) in WAL by using pglz_compress() before inserting it\nto the WAL buffers. Then, the compressed FPW is decompressed\nin recovery. This is ver...
[ { "msg_contents": "Hello\n\nA perform keyword is semantically useless for VOID functions. So it can be\noptional for start of any function. The function type cannot be checked in\ncompile time - so result will be checked in execution time.\n\nI hope so 9.4 will be support deep checking in some step between\ncom...
[ { "msg_contents": "Hi hackers,\n\n In order to achieve enable/disable constraint name,I made ​​a few \nmodifications to the code.\n\n First, someone used to build the constraints while building \ntable. Then inserting data must follow a certain order.\n And people usually like to insert the da...
[ { "msg_contents": "Hi,\n\nI add checkpoint option to pgbench.\n\npgbench is simple and useful benchmark for every user. However, result of\nbenchmark greatly changes by some situations which are in executing checkpoint,\nnumber of dirty buffers in share_buffers, and so on. For such a problem, it is\ncustom to c...
[ { "msg_contents": "Hi,\n\nFor the logical decoding patch I added support for pegging\nRecentGlobalXmin (and GetOldestXmin) to a lower value. To avoid causing\nundue bloat & cpu overhead (hot pruning is friggin expensive) I split\nRecentGlobalXmin into RecentGlobalXmin and RecentGlobalDataXmin where\nthe latter ...
[ { "msg_contents": "For many years now, MySQL has a feature called INSERT IGNORE [1];\nSQLite has INSERT ON CONFLICT IGNORE [2]; SQL Server has an option\ncalled IGNORE_DUP_KEY and Oracle has a hint called\nIGNORE_ROW_ON_DUPKEY_INDEX (they acknowledge that it's a bit odd that\na hint changes the semantics of a D...
[ { "msg_contents": "I noticed this while poking at the variadic-aggregates issue:\n\nregression=# create function nth_value_def(anyelement, integer = 1) returns anyelement language internal window immutable strict as 'window_nth_value';\nCREATE FUNCTION\nregression=# SELECT nth_value_def(ten) OVER (PARTITION BY ...
[ { "msg_contents": "Hackers,\n\nThe operator precedence rules seem hard wired to not be able to be\nworked around, not matter what. The pain point for me has always been\nthe division operator -- once in a while I end up in a situation where\nI want to override it so that it wraps the divisor with NULLIF. Ther...
[ { "msg_contents": "I recently could not shift a plan off of using a materialize, to see\nwhat other options were out there, by setting enable_material to off.\n\n From src/backend/optimizer/path/costsize.c:\n\n\n * We don't test the value of enable_material here, because\n * materialization is required ...
[ { "msg_contents": "\nThe other day I followed the docs and ran this query:\n\n SELECT relname, age(relfrozenxid) FROM pg_class WHERE relkind = 'r';\n\n\nThen after identifying some tables that were close to triggering an \nautomatic vacuum, we vacuumed them only to find that the age of the \ndatabase's datfr...
[ { "msg_contents": "Now that I've had a little break from the big XLogInsert scaling patch, \nI went back to do some testing and profiling of it. I saw a lot of \ncontention on the first access of RedoRecPtr and force/fullPageWrites, \nwhich made me realize that I put those variables right next to the \nheavily-...
[ { "msg_contents": "Hackers,\n\nWe need a Commit Fest manager for the September CF. I'm not going to do\nit; this month is a heavy travel month for me (3 conferences and a\nwedding).\n\nFor help, here's the Commitfest Checklist Mike and I assembled:\n\nhttps://wiki.postgresql.org/wiki/CommitFest_Checklist\n\nMi...
[ { "msg_contents": "This is 9.3 RC1 on a Fedora 7 system. Why does \\l report the encoding\nas SQL_ASCII\nand \\set report it as UTF8?\n\npsql (9.3rc1)\nType \"help\" for help.\n\npostgres=# \\l\n List of databases\n Name Owner Encoding Collate Ctype Access privileges\n--------- ...
[ { "msg_contents": "There is a significant amount of code supporting the changing of\nfull_page_writes while the server is running, including an\nXLOG_FPW_CHANGE wal record. But I don't see the use-case; surely almost\nnobody changes this on a running server, because either your filesystem\nguarantees atomic pag...
[ { "msg_contents": "Hi,\n\nAs part of my job I started developing in-core support for the UTF8\nNational Character types (national character/national character\nvariable).\nI attached current WIP patch (against HEAD) to community review.\n\nTarget usage: ability to store UTF8 national characters in some\nselect...
[ { "msg_contents": "Hi,\n\nPostgreSQL is released under \"the PostgreSQL License\".\nhttp://www.postgresql.org/about/licence/\n\nI've checked the PostgreSQL License,\nand had a question.\nhttp://opensource.org/licenses/PostgreSQL\n\nIt seems that the license requres a \"LICENSE\" file\nin the target product\n[qu...
[ { "msg_contents": "Hi,\n\nI'm considering overhauling pgstat.stat, and would like to know how many\npeople are interested in this topic.\n\nAs you may know, this file could be handreds of MB in size, because\npgstat.stat holds all access statistics in each database, and it needs\nto read/write an entire pgstat....
[ { "msg_contents": "The maintainer-check target never really caught on, I think. Most\npeople don't run it, and that in turn annoys those who do. Also, it\ndoesn't provide much functionality.\n\nI propose that we get rid of it and roll the functionality into the\nregular build.\n\nSpecifically:\n\n- Running du...
[ { "msg_contents": "Hi, Hackers!\n\nI find that it takes a long time when I increase the scale of a numeric \ndatatype.\nBy checking the code, I found that's because it needs to rewrite that \ntable's file.\nAfter checking that table's data file, I found only parameter n_header \nchanged.\nAnd, I found the data ...
[ { "msg_contents": "Hi,\n\nIn the following page, statistics are kept across server restarts:\n\nhttp://www.postgresql.org/docs/current/static/monitoring-stats.html\n\n\"When the server shuts down, a permanent copy of the statistics data is stored in the global subdirectory, so that statistics can be retained ac...
[ { "msg_contents": "This was previously discussed here:\n\nhttp://www.postgresql.org/message-id/flat/24836.1370713481@sss.pgh.pa.us#24836.1370713481@sss.pgh.pa.us\n\nThe attached patch implements what I think we agreed on.\n\nTo recap, ev_attr was present in pg_rewrite at the point that\nPostgres95 version 1.01 ...
[ { "msg_contents": "I received a complaint that each backend consumes a lot of \nbackend-private memory, even if it's completely idle. \"a lot\" is of \ncourse very subjective and how much memory is actually used depends \nheavily on the application. In this case, the database is fairly small, \nbut they have 25...
[ { "msg_contents": "I am working on a research project that looks at an entire database access\nlayer written against a normalized database and suggests de-normalizations\nto be done to the database structure. In effect looking at de-normalizations\nas a kind of cache. I am looking for any code I can leverage to...
[ { "msg_contents": "Hello All,\n\nI am trying to revive the discussion about exposing queryid in\npg_stat_statements.\n\nI did find the same request posted on hackers @\nhttp://www.postgresql.org/message-id/CABUevExLnb6xJwS=8rTaLOfDOS-tFm09==Z2M_vz5hhFkgWBTg@mail.gmail.com\n\nand\n\nhttp://www.postgresql.org/mes...
[ { "msg_contents": "Can we consider getting rid of the SQL_ASCII server-side \"encoding\"? I\ndon't see any good use for it, and it's often a support annoyance, and\nit leaves warts all over the code. This would presumably be a\nmulti-release effort.\n\nAs a first step in accommodating users who have existing ...
[ { "msg_contents": "OidFunctionCall7 is called from costsize.c, in function void cost_index. From\nthe comments, I understand that there is an indirection mechanism here to\nallow for different index access methods. Looking at fmgr.h where it is\ndeclared is not clear to me where I would ultimately find the code...
[ { "msg_contents": "I was scrolling heapgettup() and heapgettup_pagemode() in parallel, and\nnoticed that the former calls CheckForSerializableConflictOut() for\ntuples read, and the latter doesn't. Is there a reason for this\ndiscrepancy? If so, I think it warrants a comment about the missing\ncheck.\n\nThank...
[ { "msg_contents": "Hi,\n\nThe attached patch adds a new plan node type; CustomPlan that enables\nextensions to get control during query execution, via registered callbacks.\nRight now, all the jobs of the executor are built-in, except for foreign scan,\nthus we have no way to run self implemented code within ex...
[ { "msg_contents": "Hi,\n\nHeikki's catcache rehashing stuff reminded me that I'd posted an\noptimization to catcache (20121220153555.GH4303@awork2.anarazel.de) some\ntime back which I didn't have energy to pursue at that point.\n\nI've brushed the patch up a bit and verified it still gives be a\nperformance imp...
[ { "msg_contents": "Hi,\n\n I don't see the regression tests running any index-hash operations.\nWhat am I missing?\n\n-- \nCheers,\n Jeremy\n\n\n-- \nSent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)\nTo make changes to your subscription:\nhttp://www.postgresql.org/mailpref/pgsql-hackers...
[ { "msg_contents": "Hi everyone:\n\nI want to know if exists a postgres function or some easy way to know if a\nPK in a table is already referenced in another table/tables.\n\ne.g.\nI want to delete a row but first I've got to change or delete in the\ntable/tables where is referenced, and I have many table where...
[ { "msg_contents": "Hello,\n\nI've been suffering from PostgreSQL's problems related to character encoding \nfor some time. I really wish to solve those problems, because they make \ntroubleshooting difficult. I'm going to propose fixes for them, and I would \nappreciate if you could help release the official ...
[ { "msg_contents": "Hackers,\n\nPostGIS spotted that picksplit algorithm freezes in infinite loop when\ndealing with nan values. I discovered same bug is present in core\nopclasses. Attached patch fixes this issue interpreting nan as value\ngreater than infinity like btree comparison function does.\nThis patch c...
[ { "msg_contents": "Hello\n\nwhen I checked \"psql and pset without any arguments\" patch, I found so only\npopt->topt.line_style is initialized to NULL as default. All other popt\nvariables are not null.\n\nCan we fixed?\n\nRegards\n\nPavel\n\nHellowhen I checked \"psql and pset without any arguments\" patch, I...
[ { "msg_contents": "Hello\n\n* patch is cleanly patchable and compilation is without warnings\n* all regression tests passed\n* no impact on dump, performance or any current features\n* no comments to programming style\n* we would this feature - it is consistent with \\set and it gives a fast\nresume about psql ...
[ { "msg_contents": " Hi,\n\nWhen a superuser creates a foreign table with file_fdw, the target file\ncan belong to any user, as long as postgres can read it.\nThis is useful when the data files are handed by non-postgres tools,\nsuch as a spreadsheet.\nIn such a case, it makes sense that the superuser would add...
[ { "msg_contents": "The attached patch implements INSERT...ON DUPLICATE KEY LOCK FOR\nUPDATE. This is similar to INSERT...ON DUPLICATE KEY IGNORE (which is\nalso proposed at part of this new revision of the patch), but\nadditionally acquires a row exclusive lock on the row that prevents\ninsertion from proceedin...
[ { "msg_contents": "\nHello PostgreSQL gurus,\n\n(I have already posted a very similar message to comp.mail.sendmail\nnewsgroup on August 22nd, but I haven't received any responses there. I\nhave also tried pgsql-interfaces@postgresql.org but to no avail. Solving\nthis problem requires some Sendmail/Postfix expe...
[ { "msg_contents": "Hello, Josh, all,\n\nCould you explain why the following paragraph is necessary? I'm afraid this \nis not correct and we need to remove it, because:\n1. One PostgreSQL instance only needs one shmid.\n2. The calculation of the number of semids is shown before, so we don't say \n4096.\n3. Post...
[ { "msg_contents": "pg_upgrade reserves 5 times MAXPGPATH, or 5120 characters, for the\ntablespace name of every object (table, toast table, index) in the\ndatabase being upgraded. This adds up pretty quickly when there is a\nvery large number of objects. It could be changed to char* to a\nseparately allocated...
[ { "msg_contents": "One of our customers seems to be running into exactly the issue\nhypothesized about by Tom here:\n\nhttp://www.postgresql.org/message-id/8040.1314403175@sss.pgh.pa.us\n\nThat is, the server is in low-memory conditions, and the client\noccasionally issues an error saying it can't complete a ce...
[ { "msg_contents": "Hi,\n\n \n\nThis is a proposal to implement support for 'OR REPLACE' in 'CREATE\nTRIGGER' command as an optional clause. \n\n \n\nThe aim of this proposal is to present a way to support replace trigger\nfunctionality. \n\nAdding the optional clause 'OR REPLACE' in CREATE TRIGGER syntax gives\...
[ { "msg_contents": "Hi,\n\nThe subject says it all.\n\nGreetings,\n\nAndres Freund\n\n-- \n Andres Freund\t http://www.2ndQuadrant.com/\n PostgreSQL Development, 24x7 Support, Training & Services\n\n\n\n-- \nSent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)\nTo make changes to ...
[ { "msg_contents": "Hello.\n\nI wanted to know what it would take to implement triggers on foreign tables. \nIt seems that statement-level triggers can work provided they are allowed in \nthe code.\n\nPlease find attached a simple POC patch that implement just that.\n\nFor row-level triggers, it seems more compl...