threads
listlengths
1
2.99k
[ { "msg_contents": "Hello\n\nIn Czech discussion group was reported performance regression of CTE\nquery. I wrote a test, when I can show it.\n\nExecution on 9.2, 9.3 is about 9 sec, on 8.4, 9.1 is about 30ms with\ndefault work_mem ='1MB'\n\n\noptimal plan (8.4)\n ...
[ { "msg_contents": "Recently I have started getting these confirmations for every email I send\nto the mailing lists. I think it's related to the fact that I recently\nswitched to using a new email address.\n\nHow can I turn these notifications off?\n\n---------- Forwarded message ----------\nFrom: <pgsql-hacker...
[ { "msg_contents": "I've spent the afternoon reading and documenting gistsplit.c, and\nfinally feel like I understand what's going on in there, particularly\nwith respect to the secondary-split logic of log-spam infamy. I'll be\ncommitting the results of that in a bit, but meanwhile: what I now\nrealize is that...
[ { "msg_contents": "Folks,\n\nPer suggestions and lots of help from Andrew Gierth, please find\nattached a patch to clean up the call sites for FuncCall nodes, which\nI'd like to expand centrally rather than in each of the 37 (or 38, but\nI only redid 37) places where it's called. The remaining one is in\nsrc/b...
[ { "msg_contents": "While looking at some proposed patches and pondering some questions on\nperformance, I realized I desperately needed ways to run benchmarks with\ndifferent settings without needing to edit postgresql.conf and\nrestart/reload the server each time.\n\nMost commonly, I want to run with synchrono...
[ { "msg_contents": "Hi PostgreSQL hackers,\n\nI often need to calculate time to spend for index creation and vacuum\nto analyze PostgreSQL data load performance. Index creation and vacuum\nwill take non trivial time for large scale data and it is important\ninformation of data loading benchmark.\n\nSo I would li...
[ { "msg_contents": "-----BEGIN PGP SIGNED MESSAGE-----\nHash: SHA1\n\nHi.\n\nWhat is the reason why PQsendPrepare function does not send a\nDescribe Portal message?\n\nJust as a proof of concept, I wrote a very simple patch, attached, and\nit *seems* to work.\n\nSending a Describe Portal message, make it possibl...
[ { "msg_contents": "I'm using valgrind to find a problem with materialized views, and\nran into this, which I have confirmed is present on the master\nbranch as of 7803e9327db3788f68d820c19f4081afb79edd12.\n\nMemory freed here:\n\n   at 0x76E3AF: pfree (mcxt.c:677)\n   by 0x50861E: parse_analyze (analyze.c:105)\...
[ { "msg_contents": "While reading some documentation, I noticed that we have references to\npast releases. For example,\nhttp://www.postgresql.org/docs/9.2/static/xfunc-c.html mentions \"A\nmagic block is required as of PostgreSQL 8.2\". Sure, this is true even\nas of 9.2 or even 9.3. There are a few more such r...
[ { "msg_contents": "Add noreturn attributes to some error reporting functions\n\nBranch\n------\nmaster\n\nDetails\n-------\nhttp://git.postgresql.org/pg/commitdiff/0cb1fac3b19f01025b63d2cdceabb8767185da28\n\nModified Files\n--------------\ncontrib/cube/cubescan.l | 2 +-\ncontrib/seg/segscan.l ...
[ { "msg_contents": "Create libpgcommon, and move pg_malloc et al to it\n\nlibpgcommon is a new static library to allow sharing code among the\nvarious frontend programs and backend; this lets us eliminate duplicate\nimplementations of common routines. We avoid libpgport, because that's\nintended as a place for ...
[ { "msg_contents": "Hi,\n\nI'm thinking of pgstattuple/pgstatindex enhancement.\n\nThere are a few things I need to change, but I'd like to have\nsome comments and suggestions from hackers before tackling.\n\n(1) Fix pgstatindex arguments to work same as pgstattuple.\n\nAs the document describes, pgstattuple acc...
[ { "msg_contents": "Some further thought about bug #7867 suggested that what's probably\nhappening is the submitter's installation doesn't think that any of the\nCyrillic letters are letters, so that no trigrams are identified in\neither string. Whereupon you get a 0/0 result from cnt_sml:\n\nregression=# selec...
[ { "msg_contents": "Hello Hackers,\n\nIf you dislike bike-shedding (and who does?), delete this email and the ensuing thread right now. You have been warned!\n\nI have been playing with Andrew’s JSON enhancements and really enjoying them. I am already using them in code I’m developing for production deployment i...
[ { "msg_contents": "Hackers,\n\nI've started an agenda for the cluster-hackers meeting here:\n\nhttp://wiki.postgresql.org/wiki/PgCon2013CanadaClusterSummit\n\nI've based it on last year's schedule, but of course we can change\nthings around a bit if people have ideas for a different way to organize\nit. Certai...
[ { "msg_contents": "Hello,\n\nthis review is related to Peter' proposal\nhttp://www.postgresql.org/message-id/50F55F5A.3050207@gmx.net\n\nThis patch is relatively simple - just introduce necessary interface\nto existent functionality.\n\n1) a proposal was accepted with significant agreement - there was only\none...
[ { "msg_contents": "Hello, 9.2.3 crashes during archive recovery.\n\nThis was also corrected at some point on origin/master with\nanother problem fixed by the commit below if my memory is\ncorrect. But current HEAD and 9.2.3 crashes during archive\nrecovery (not on standby) by the 'marking deleted page visible'\...
[ { "msg_contents": "Hi all,\n\nJust a curiosity I couldnt control. I was recently reading about\nFractal tree indexing\n(http://www.tokutek.com/2012/12/fractal-tree-indexing-overview/) and\nhow TokuDB engine for MySQL is really working nicely with big data.\n\nI was wondering, do we have support for fractal tree...
[ { "msg_contents": "This patch against PostgreSQL 9.1.8 takes advantage of efficient file\ncloning on Linux Btrfs file systems to make CREATE DATABASE operations\nextremely fast regardless of the size of the database used as a\ntemplate. On my system, I can create a database from a multi-gibibyte\ntemplate in a ...
[ { "msg_contents": "Here's an updated version of pg_xlogdump. This is rebased on top of the\ncommitted xlogreader, palloc restructuring and libpgcommon, PG_RMGR\nstuff, and is basically a revamped version of what Andres submitted in\nhttp://www.postgresql.org/message-id/1357672187-7693-5-git-send-email-andres@2...
[ { "msg_contents": "Hello\n\nprobably one from my top ten SQL statement will be\n\nSELECT * FROM some_relation LIMIT 10\n\nwhat do you thinking about creating special statement for this purpose?\n\npossible syntax\n\n-- ViewTable\n\\vt table_name [rows]\n\nor\n\n\\sample table_name [rows]\n\na implementation wit...
[ { "msg_contents": "The following bug has been logged on the website:\n\nBug reference: 7873\nLogged by: Dave Rolsky\nEmail address: autarch@urth.org\nPostgreSQL version: 9.2.3\nOperating system: Linux\nDescription: \n\nWhen you pass the --clean option to pg_restore it tries to drop t...
[ { "msg_contents": "You might remember this pg_upgrade bug report where the user complained\nthat user-defined tablespaces _inside_ the old cluster directory were\ndeleted by the old cluster delete script:\n\n\thttp://www.postgresql.org/message-id/E1THPDm-00018c-KT@wrigleys.postgresql.org\n\nand my reply that we...
[ { "msg_contents": "-----BEGIN PGP SIGNED MESSAGE-----\nHash: SHA1\n\nHi.\n\nSorry for the question, but where can I find the libpq test suite?\nI can not find it in the PostgreSQL sources; it seems that there are\nonly some examples, in src/test/examples.\n\n\nI'm planning to add some new features to libpq:\n\n...
[ { "msg_contents": "Hi,\n\nI am facing an unexpected behavior on a 9.2.2 cluster that I can\nreproduce on current HEAD.\n\nOn a cluster with archive enabled but failing, after a crash of\npostmaster, the checkpoint occurring before leaving the recovery mode\ndeletes any additional WALs, even those waiting to be ...
[ { "msg_contents": "Folks,\n\nOnce again, Google is holding Summer of Code. We need to assess whether\nwe want to participate this year.\n\nQuestions:\n\n- Who wants to mentor for GSOC?\n\n- Who can admin for GSOC? Thom?\n\n- Please suggest project ideas for GSOC\n\n- Students seeing this -- please speak up if...
[ { "msg_contents": "I'm trying to whack the postgres_fdw patch into committable shape, with\none eye on the writable-foreign-tables patch that's right behind it in\nthe queue. One thing I've come across is that the timing of remote\ncommits is a mess. As-is in the submitted patches, we'll issue a commit\nto th...
[ { "msg_contents": "Hi,\n\nWhile investigating an anti-wraparound shutdown issue of Peter\nH. Ezetta (cced) on IRC the issue came up that when you:\n\nCREATE TABLE foo(id int, text text);\nCREATE RULE \"_RETURN\" AS ON SELECT TO foo DO INSTEAD SELECT 1::int AS id, ''::text AS text;\n\na) the view keeps its relfr...
[ { "msg_contents": "(changing subject)\n\nOn Thu, Feb 14, 2013 at 11:48 PM, Fujii Masao <masao.fujii@gmail.com> wrote:\n> On Mon, Feb 11, 2013 at 5:46 PM, Pavan Deolasee\n>> I also noticed that the WAL file switch\n>> happens after archive_timeout seconds irrespective of whether\n>> archive_mode is turned ON or ...
[ { "msg_contents": "Hi,\n\nDuring logical decoding toast tuples are decoded separately from the\nmain tuple. Works nicely. To make the main table's HeapTuple actually\neasily useable the tuple needs to be \"reconstructed\" to not point to\ndisk anymore but to the separately reconstructed tuples.\n\nThere are two...
[ { "msg_contents": "Hello\n\nI try to play with different implementations of plpgsql deep checking.\n\nThe most important task of deep checking is creating plans for all\nqueries and expressions in function. The prerequisite for this task is\nknowledge of data types of all variables. Record and row types is\nbre...
[ { "msg_contents": "In access/transam/xlog.c we give the OS buffer caching a hint that we\nwon't need a WAL file any time soon with\n\n posix_fadvise(openLogFile, 0, 0, POSIX_FADV_DONTNEED);\n\nbefore closing the WAL file, but only if we don't have walsenders.\nThat's reasonable because the walsender will reo...
[ { "msg_contents": "==24373== Source and destination overlap in strncpy(0x28b892f5, 0x28b892f5, 64)\n==24373== at 0x402A8F2: strncpy (mc_replace_strmem.c:477)\n==24373== by 0x7D563F: namestrcpy (name.c:221)\n==24373== by 0x46DF31: TupleDescInitEntry (tupdesc.c:473)\n==24373== by 0x889EC3: resolve_pol...
[ { "msg_contents": "Hello\n\nThere was a proposal to change flag of function to immutable - should\nbe used in indexes\n\nCREATE FUNCTION unaccent(regdictionary, text)\n RETURNS text\n AS 'MODULE_PATHNAME', 'unaccent_dict'\n LANGUAGE C STABLE STRICT;\n\n\nis there any progress?\n\nRegards\n\...
[ { "msg_contents": "Please find attached the patch for some cleanup and fix bit rot in pgindent\nscript.\n\nThere were a few problems with the script.\n\n.) It failed to use the $ENV{PGENTAB} even if it was set.\n.) The file it tries to download from Postgres' ftp site is no longer\npresent.\n ftp://ftp.postg...
[ { "msg_contents": "Hopefully I am not wrong.\n\n\n+/* Size of a varlena data, excluding header */\n #define VARSIZE_ANY_EXHDR(PTR) \\\n\n\n-- \nGurjeet Singh\n\nhttp://gurjeet.singh.im/\n\nEnterprsieDB Inc.\n\n\n-- \nSent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)\nTo make changes to your sub...
[ { "msg_contents": "Hello,\n\nI have the problem to access modified data (updates and inserts) in a\nprepare transaction statement before a commit/rollback. For example consider\nthe following block:\n\nBEGIN; \ndo some update; \ndo some insert; \nPREPARE TRANSACTION 'transaction1';\n\nAfter executing th...
[ { "msg_contents": "Fix pg_dumpall with database names containing =\n\nIf a database name contained a '=' character, pg_dumpall failed. The problem\nwas in the way pg_dumpall passes the database name to pg_dump on the\ncommand line. If it contained a '=' character, pg_dump would interpret it\nas a libpq connecti...
[ { "msg_contents": "Hi,\n\nIf we want to \"add new column\" to the view - the only one way (we have\nfound) is:\n\n-drop view\n-create it again ( with new column )\n\nNow, if some other view depends on the view we want change - it will not\nallow us to drop the view - what is fine, of course - but it does not al...
[ { "msg_contents": "Hi\n\nI'm not sure if this is a documentation or hackers issue, but the\ndocumentation page for contrib module \"xml2\" refers to PostgreSQL 8.4 in\nthe future tense:\n\n \"It is planned that this module will be removed in PostgreSQL 8.4 in\nfavor of the newer standard API\"\n\nhttp://www.p...
[ { "msg_contents": "Hi all,\n\nWhile testing a bit this feature, I noticed that use_remote_explain is\navailable in the list of options for FOREIGN TABLE and SERVER but this is\nnot specified in the docs:\nhttp://www.postgresql.org/docs/devel/static/postgres-fdw.html\n\npostgres=# CREATE FOREIGN TABLE foo (a int...
[ { "msg_contents": "While building 9.2.3 on OS X 10.8.2 today:\n\nchecking ossp/uuid.h usability... no\nchecking ossp/uuid.h presence... yes\nconfigure: WARNING: ossp/uuid.h: present but cannot be compiled\nconfigure: WARNING: ossp/uuid.h: check for missing prerequisite headers?\nconfigure: WARNING: ossp/uui...
[ { "msg_contents": "Hi,\n\nIf I understand \nhttp://www.postgresql.org/docs/9.1/static/routine-vacuuming.html \ncorrectly, the autovacuum threshold in could be estimated like this in \nPostgreSQL 9.1:\n\nSELECT pg_stat_user_tables.relname,\n pg_stat_user_tables.n_dead_tup,\n CAST(current_setting('autov...
[ { "msg_contents": "Hi hackers,\n\nType info can be viewed with \"\\d mytable\", however often I'd like to see\nthe type (and typmod) info in SELECT queries with psql, similar to pgAdmin\nIII. For example:\n\nmy_db=# \\pset type\nmy_db=# SELECT * FROM my_table;\n gid | description | width\n intege...
[ { "msg_contents": "Hi,\n\nWhat do you think about adding hooks for transaction ID and snapshot\nacquisition? Those hooks could be located in AssignTransactionId:xact.c for\ntransaction ID and GetTransactionSnapshot:snapmgr.c for snapshots.\nThis is useful for multi-master applications that use external tools to...
[ { "msg_contents": "I test the postgresql_fdw extension,every thing is fine but when I add the\nremote estimate option I get a error:\n\npostgres=# alter foreign table test options (add use_remote_estimate\n'true');\nERROR: invalid option \"*use_remote_estimate*\"\nHINT: Valid options in this context are: sche...
[ { "msg_contents": "when build the head contrib,I get follow error:\n....\nmake[1]: Entering directory `/data/myenv/postgresql/contrib/pgstattuple'\nmake[1]: Nothing to be done for `all'.\nmake[1]: Leaving directory `/data/myenv/postgresql/contrib/pgstattuple'\nmake -C pg_xlogdump all\nmake: *** pg_xlogdump: No ...
[ { "msg_contents": "In the past, Robert and I have criticised the fact that our qsort\nimplementation (and the various specialisations thereof) each perform\na check for pre-sorted input. This check does not appear in the\noriginal NetBSD qsort that we lifted our implementation from, and\npresumably isn't descri...
[ { "msg_contents": "Hi Everyone,\n\nRiddle me this. I have a database column of type \"real\" that gets mapped to a Java field of type double via JDBC. We have two databases, test and production, and the test database is periodically blown away and reloaded from a copy of production. We recently noticed that som...
[ { "msg_contents": "Looks like the recent refactoring of code into common/ stopped\nPGXS builds within the PostgreSQL source tree from working, i get\n\n/Users/bernd/pgsql-dev/install/HEAD/include/server/postgres_fe.h:27:32: \nfatal error: common/fe_memutils.h: No such file or directory\n\nwhen trying to build p...
[ { "msg_contents": "Hi,\n\nCurrently guc-file.c allows the following as guc names:\n\nID\t\t{LETTER}{LETTER_OR_DIGIT}*\nQUALIFIED_ID\t{ID}\".\"{ID}\n\nThat is either one token starting with a letter followed by numbers or\nletters or exactly two of those separated by a dot.\nThose restrictions are existing for n...
[ { "msg_contents": "compat.c: In function ‘timestamptz_to_str’:\ncompat.c:56:9: error: passing argument 1 of ‘localtime’ from incompatible pointer type [-Werror]\nIn file included from compat.c:21:0:\n/usr/include/time.h:237:19: note: expected ‘const time_t *’ but argument is of type ‘pg_time_t *’\n\ngcc 4.7.2\n...
[ { "msg_contents": "I'm working on PostgreSQL 9.13 (waiting for admin to push upgrades next week), in the meanwhile, I was curious if there are any known bugs regarding large cursor fetches, or if I am to blame.\n\nMy cursor has 400 million records, and I'm fetching in blocks of 2^17 (approx. 130K). When I fetch...
[ { "msg_contents": "Hello all, I tried to use GIST_LEAF() macro in union and penalty methods of GiST and it fails with a terrible error when I run \"CREATE INDEX\" (in windows postgresql daemon shuts down). On the other hand, GIST_LEAF() works as expected in consistent, distance, and picksplit methods. My leaf n...
[ { "msg_contents": "While looking at Fujita Etsuro's patch to allow copy to/from a shell \ncommand, I noticed that the grammar currently allows these:\n\nCOPY foo FROM STDOUT\nCOPY foo TO STDIN\n\nIn other words, STDIN and STDOUT can be used completely interchangeably. \nHowever, the ecpg grammar is more strict ...
[ { "msg_contents": "Hi,\n\nWhen I compiled pg_xlogdump in HEAD, I got the following error.\n\nmake: *** No rule to make target `rmgrdesc.o', needed by `pg_xlogdump'. Stop.\n\n$ uname -a\nDarwin hrk.local 11.4.2 Darwin Kernel Version 11.4.2: Thu Aug 23\n16:25:48 PDT 2012; root:xnu-1699.32.7~1/RELEASE_X86_64 x86_...
[ { "msg_contents": "Hi,\n\nIn HEAD, when I ran \"pg_basebackup -D hoge -X stream\",\nI got the following FailedAssertion error:\n\nTRAP: FailedAssertion(\"!((wakeEvents & ((1 << 1) | (1 << 2))) != (1 <<\n2))\", File: \"pg_latch.c\", Line: 234)\n\nThis error happens after the commit 0b6329130e8e4576e97ff763f0e773...
[ { "msg_contents": "Hi,\n\nIf I'm counting correctly, we have four votes for this patch and two votes \nagainst it.\n\nAny other opinions?\n\n\nRegards,\nMarko Tiikkaja\n\n\n-- \nSent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)\nTo make changes to your subscription:\nhttp://www.postgresql.org/...
[ { "msg_contents": "Here's a happy initdb on 9.1 providing help:\n\n$ psql --version\npsql (PostgreSQL) 9.1.8\n$ /usr/pgsql-9.1/bin/initdb --help\ninitdb initializes a PostgreSQL database cluster.\nUsage:\n initdb [OPTION]... [DATADIR] ...\n\nHere's what I get on the latest repo:\n\n$ psql --version\npsql (Pos...
[ { "msg_contents": "Hello ActiveStaters,\n\nI see that the DBD::Pg build always fails:\n\n http://code.activestate.com/ppm/DBD-Pg/\n\nI'm sure this is because PostgreSQL is not installed on any of the PPM build boxes (smokers?). DBD::mysql, on the other hand, builds fine (most of the time):\n\n http://code.act...
[ { "msg_contents": "I looked into the problem described here:\nhttp://www.postgresql.org/message-id/5125087D.8090105@deriva.de\n\nThe core of the problem is that plperl's plperl_spi_prepare() sets up\ninput conversion functions for the parameters of a prepared query\nusing perm_fmgr_info(), which allocates FmgrI...
[ { "msg_contents": "Hi all,\n\nhow can I check inside C trigger function if it was fired deferred?\n\nThank you.\n\nRegards,\nMiro\n\nHi all,how can I check inside C trigger function if it was fired deferred?Thank you.Regards,\nMiro", "msg_date": "Wed, 27 Feb 2013 10:20:47 +0100", "msg_from": "=?ISO-8859...
[ { "msg_contents": "The comment says:\n\n [...]\n and the original article describing it can be found at\n http://www.cuj.com/documents/s=8038/cuj0006philips/\n\nThis link does not work any more.\n\nI tried a web search for a replacement and came up with this:\nhttp://drdobbs.com/184401251\n\nIf that link poi...
[ { "msg_contents": "Hi,\n\nThe attached patch fixes the typo in help message of pg_xlogdump.\n\nRegards,\n\n-- \nFujii Masao\n\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_date": "T...
[ { "msg_contents": "\nMy VC2012 / Windows 8 buildfarm member bowerbird is having frequent \nproblems with running the isolation tests. The symptom is that one or \nmore output files don't seem to be flushed properly to disk. The odd \nthing is that the Mingw buildfarm member jacana I have on the same \nmachine i...
[ { "msg_contents": "Regarding these prior threads:\n\nhttp://www.postgresql.org/message-id/CAC2SuRJLMtKyvCs6DbxdyUrHy+WKe-94cBuGnwCXAg914cwG7g@mail.gmail.com\nhttp://www.postgresql.org/message-id/200707101624.47885.peter_e@gmx.net\n\nIt's somewhat less than pretty, but you *can* simply:\n\n\nselect substring(pg_...
[ { "msg_contents": "Newer versions of systemtap have some C++ code in their sys/sdt.h header\nfile (guarded by #ifdef __cpluplus). cpluspluscheck ends up wrapping\nall of that into extern \"C\" { ... }, which ultimately results in\n\nIn file included from ./src/include/utils/probes.h:9:0,\n from...
[ { "msg_contents": "Hi all\n\nIt looks like the commitfest is making very slow progress. At this point\nit strikes me that it may be time to look for a line to draw between 9.3\nand post-9.3 work, defer all post-9.3 work, and then get the rest into\nshape.\n\nAs I stepped up to work on the CF and then became imm...
[ { "msg_contents": "Changed subject from \"Strange Windows problem, lock_timeout test request\"\n\nOn Thu, Jan 24, 2013 at 11:41 AM, Andrew Dunstan <andrew@dunslane.net>wrote:\n\n>\n> On 01/24/2013 01:44 PM, Jeff Janes wrote:\n>\n>> On Sat, Jan 19, 2013 at 12:15 PM, Andrew Dunstan <andrew@dunslane.net>\n>> wrote...
[ { "msg_contents": "I looked into the behavior complained of in\nhttp://www.postgresql.org/message-id/CAMkU=1xLiwDkfemkDWjznr_JmzUYbZzRZ4F22kXa3Vg6Pz9hCQ@mail.gmail.com\nI'm still not sure whether anything else is going on in the original\nproblem, but I now understand Jeff's simplified query. The planner\ndoes...
[ { "msg_contents": "Today's b^Hdiscussion on materialized views reminded me that I spent a\nlittle bit of time looking at gram.y and thinking about what we might\nbe able to do to reduce the amount of bloat it spits out. On my\nsystem, without debugging symbols, gram.o is 1019260 bytes. Using nm\ngram.o | sor...
[ { "msg_contents": "I spotted some low-hanging fruit in the pglz compression routine. It \nuses a hash table to keep track of string prefixes it has seen:\n\n#define PGLZ_HISTORY_LISTS\t\t8192\t/* must be power of 2 */\n#define PGLZ_HISTORY_SIZE\t\t4096\n\n/* ----------\n * Statically allocated work arrays for ...
[ { "msg_contents": "Hi,\n\nAs I wrote before, I'd like to clean up pgstattuple functions to\nallow the same expressions.\n\nRe: [HACKERS] [RFC] pgstattuple/pgstatindex enhancement\nhttp://www.postgresql.org/message-id/511EE19B.5010004@uptime.jp\n\nMy goal is to allow specifying a relation/index with several\nexp...
[ { "msg_contents": "In final testing and documentation today, it occurred to me to test\na materialized view with foreign data wrapper.  I picked the\nfile_fdw for convenience, but I think this should work as well with\nany other FDW.  The idea is to create an MV which mirrors an FDW so\nthat it can be indexed a...
[ { "msg_contents": "Folks,\n\nI'd like to add a new CF status, \"Pending Discussion\". This status\nwould be used for patches which have long discussions regarding syntax\nor difficult functionality on this list which must be resolved before\ncommit. Examples include SELECT INTO STRICT and Matviews WIP.\n\nCur...
[ { "msg_contents": "Craig,\n\nHere's for your summary. I stopped at --echo-hidden, working my way up\nfrom the bottom. Overall, it seems like mostly the patches which are\nstill in queue are there for good reasons, although there's probably a\nfew things we could bounce if the authors don't respond in a coupl...
[ { "msg_contents": "Hello All\n\nFirst, I am new to this great forum.\n\nI have a challenge on my hand as follows. I am a long time libpq user but\nhave never used the BYTEA data type nor its related functions until now. I\nhave am writing an interface for a web based application written in C using\nlibmcrypt ...
[ { "msg_contents": "Hi,\n\ncommit 3bf3ab8c563699138be02f9dc305b7b77a724307\n(\"Add a materialized view relations.\") added this:\n\n src/backend/rewrite/rewriteDefine.c.orig | 945 +++++++++++++...\n...\n create mode 100644 src/backend/rewrite/rewriteDefine.c.orig\n\nCommitters should be more careful if ...
[ { "msg_contents": "Committers,\n\nplease hold *all* pushes to the PostgreSQL repository until we have\nresolved the issue mentioned in\nhttp://www.postgresql.org/message-id/CABUevEzM2F8qAxVds9Me-41L5BqeEGO4DuosCQhC0C6v05HPUw@mail.gmail.com.\n\nPushing anything at this point is likely to give us more work in\ncl...
[ { "msg_contents": "Hello,\n\nWhile doing some tests, I observed that the \"ps\" command continues to\ndisplay status of the startup process as \"recovering <filename>\" even\nthough it has finished the redo and is now performing end-of-recovery\ncheckpoint. This checkpoint can take a while, a few seconds to a f...
[ { "msg_contents": "AFAICT, there's a bug in tm2timestamp(). You can't do this:\n\npostgres=# select '1999-12-31T24:00:00'::timestamptz;\nERROR: timestamp out of range: \"1999-12-31T24:00:00\"\n\nBut that's a perfectly legal date. It works fine for any other year -\nand AFAICT this is because of the POSTGRES_EP...
[ { "msg_contents": "Hi,\n\nWhen I accessed the materialized view in the standby server,\nI got the following ERROR message. Looks odd to me. Is this a bug?\n\n ERROR: materialized view \"hogeview\" has not been populated\n HINT: Use the REFRESH MATERIALIZED VIEW command.\n\nThe procedure to reproduce thi...
[ { "msg_contents": "Hello.\n\nI have a database dump file (unfortunately with proprietary information)\nwhich leads to the following error in logs during its restoration (even\nafter initdb - it is stable reproducible, at the same large table, the same\ntime):\n\n*LOG: server process (PID 18705) was terminated ...
[ { "msg_contents": "I'm getting an assertion failure in HEAD with materialized views, see\nbelow for backtrace.\n\nTo reproduce, just run make installcheck, dump the regression database\nand then restore it, the server crashes during restore.\n\n(gdb) bt\n#0 0x00007f283a366425 in raise () from /lib/x86_64-linux...
[ { "msg_contents": "One of the core problems for a writable-foreign-tables feature is how\nto identify a previously-fetched row for UPDATE or DELETE actions.\nIn an ordinary Postgres table, we use the ctid system column for that,\nbut a remote table doesn't necessarily have such a thing. (Oracle has\na \"rowid\...
[ { "msg_contents": "Hey\nI want to work towards the follwing feature in TODO list:\nPrevent index uniqueness checks when UPDATE does not modify the\ncolumnUniqueness\n(index) checks are done when updating a column even if the column is not\nmodified by the UPDATE. However, HOT already short-circuits this in comm...
[ { "msg_contents": "It looks like the recent matview patch broke pg_dump in a way, which make \nit impossible to dump 9.1 and 9.2 databases.\n\nit fails with\n\npg_dump: [Archivierer (DB)] query failed: ERROR: function \npg_relation_is_scannable(oid) does not exist\n\nLooking into this issue, it seems the versi...
[ { "msg_contents": "I found this sentence somewhat confusing:\n\n\"It is possible for a column's value to change even when the trigger\nis not fired,\"\n\nhttp://www.postgresql.org/docs/devel/static/sql-createtrigger.html#SQL-CREATETRIGGER-NOTES\n\nMore precise would be something along the lines \"It is possible...
[ { "msg_contents": "I am trying to configure PostgreSQL 8.4 to trust an intermediate CA for\nclient certificate validation -- without trusting everything signed by\nthe root CA (or a different intermediate CA). Given the following CA\nhierarchy, for example, I would like to trust *only* client certificates\nsig...
[ { "msg_contents": "Hi,\n\nif I understand things correctly REFRESH MATERIALIZED VIEW locks the\nmaterialized view with an AcessExclusiveLock even if the view already\ncontains data.\nI am pretty sure that will - understandably - confuse users, so I vote\nfor at least including a note about that in the docs.\n\n...
[ { "msg_contents": "This behavior surprised me a bit:\n\n david=# select '{\"foo\": 1, \"foo\": 2}'::json;\n json \n ----------------------\n {\"foo\": 1, \"foo\": 2}\n\nI had expected something more like this:\n\n david=# select '{\"foo\": 1, \"foo\": 2}'::json;\n json ...
[ { "msg_contents": "Hi all,\n\nWhile testing materialized views, I found the following behavior with\nunique indexes:\npostgres=# create table aa as select generate_series(1,3) as a;\nSELECT 3\npostgres=# create materialized view aam as select * from aa;\nSELECT 3\npostgres=# create unique index aam_ind on aam(a...
[ { "msg_contents": "(reposting\" apparently I used a verboten word the first\n time around <sigh>. Sorry for any duplicates)\n\nThe -t and -n options of pg_dump do not dump anything from an extension\nconfiguration table, whereas normal pg_dump will dump the user data.\n\nTo see what I mean, in psql do (tested o...
[ { "msg_contents": "While hacking on the writable-foreign-tables patch, my attention was\ndrawn to what seems to be a pre-existing bug. Consider the section\nof ExecDelete() that computes the results for DELETE RETURNING:\n\n /* Process RETURNING if present */\n if (resultRelInfo->ri_projectReturning)\n ...
[ { "msg_contents": "With 9.3devel, I can't seem to join a matview to a view; surely that should be allowed?\n\nHere is an example:\n\n-----8<----------\n#!/bin/sh\n\necho \"\ndrop table if exists t1 cascade;\ndrop table if exists t2 cascade;\ndrop materialized view if exists mv ;\ncreate table t1 as select chr(i...
[ { "msg_contents": "Hi,\n\nI was checking code-coverage of 'make check' and saw that the regression\ntests don't touch files like psql_help.c at all (read 0%).\n\nAttached is a (very small) patch to work on one ABORT help function as a\nsample.\n\nThe reason why I post this is, to know if increasing the code-cov...
[ { "msg_contents": "Hi All,\n\nConsider the following test:\n\npostgres=# select version();\n\nversion\n------------------------------------------------------------\n-----------------------------------------------------\n PostgreSQL 9.3devel on x86_64-unknown-linux-gnu, compiled by gcc (GCC)\n4.4.6 20120305 (Red...
[ { "msg_contents": "http://malumah.com/cy/vzisijs/lswplnlcejm\nhttp://malumah.com/cy/vzisijs/lswplnlcejm", "msg_date": "Mon, 11 Mar 2013 07:48:00 -0700 (PDT)", "msg_from": "MMK <bomuvi@yahoo.com>", "msg_from_op": true, "msg_subject": "Breaking news" } ]
[ { "msg_contents": "While looking for the cause of Erikjan Rijkers' recent report, my\nattention was drawn to this hunk of the matview patch:\n\ndiff --git a/src/backend/rewrite/rewriteDefine.c b/src/backend/rewrite/rewriteDefine.c\nindex a1a9808e5d94959218b415ed34c46579c478c177..896326615753f2344b466eb180080174...
[ { "msg_contents": "Hi all,\n\nWhen running some QE tests at VMware, we found an error with extract\nhandling timezones.\nPlease see below:\npostgres=# show timezone;\n TimeZone\n------------\n Asia/Tokyo\n(1 row)\npostgres=# select now();\n now\n-------------------------------\n 2013-03-12 14:54:2...