threads listlengths 1 2.99k |
|---|
[
{
"msg_contents": "In\nhttp://archives.postgresql.org/message-id/52CCAA8F414BA8anzai-naoya@mxu.nes.nec.co.jp\nit's pointed out that our documentation claims the WITH [NO] DATA option\nworks for all variants of CREATE TABLE AS. But in fact it's only\nimplemented for the SelectStmt variant, not for the ExecuteSt... |
[
{
"msg_contents": "Modify pg_dump to use error-free memory allocation macros. This avoids\nignoring errors and call-site error checking.\n\nBranch\n------\nmaster\n\nDetails\n-------\nhttp://git.postgresql.org/pg/commitdiff/3c0afde11a12bb3ca7c68a30ad0dedaa0d1adef5\n\nModified Files\n--------------\nsrc/bin/pg_... |
[
{
"msg_contents": "http://git.postgresql.org/gitweb/?p=postgresql.git;a=commit;h=5df1403b0f2b44235c8f401bd49dab9a8cf6bf90\n\nThis patch doesn't do what it says. What it does is allow downgrades.\nUpgrades to the same catversion already worked.\n\n",
"msg_date": "Sat, 26 Nov 2011 01:02:45 +0200",
"msg_f... |
[
{
"msg_contents": "I think it would be useful to have separate initdb -A options for local\nand host entries. In 9.1, we went out of our way to separate the \"peer\"\nand \"ident\" methods, but we have moved the confusion into the initdb -A\noption, where \"ident\" sometimes means \"peer\", and \"peer\" someti... |
[
{
"msg_contents": "I propose that we change createuser so that it does not prompt for\nanything by default. We can arrange options so that you can get prompts\nfor whatever is missing, but by default, a call to createuser should\njust run CREATE USER with default options. The fact that createuser\nissues prom... |
[
{
"msg_contents": "Hello all,\n\nI am sending updated patch, that implements a CHECK FUNCTION and CHECK\nTRIGGER statements.\n\nThis patch is significantly redesigned to previous version (PL/pgSQL\npart) - it is more readable, more accurate. There are new regress\ntests.\n\nPlease, can some English native speak... |
[
{
"msg_contents": "Hi there!\n\nI built the current PostgreSQL 9.1.1 sources under Ubuntu 11.04 (in a \nVMware under Win7).\nI followed the steps in this guide: \nwww.thegeekstuff.com/2009/04/linux-postgresql-install-and-configure-from-source\n\nIt seems to work (I can run the server and connect to it with PgAd... |
[
{
"msg_contents": "On some recent benchmarks and profile data, I saw GetSnapshotData\nfigures at the very top or near top. For lesser number of clients, it\ncan account for 10-20% of time, but more number of clients I have seen\nit taking up as much as 40% of sample time. Unfortunately, the machine\nof which I ... |
[
{
"msg_contents": "I started to wonder why the test in range_gist_consistent_int() for\nRANGESTRAT_CONTAINED_BY was \"return true\" (ie, search the entire index)\nrather than range_overlaps, which is what is tested in the comparable\ncase in rtree_internal_consistent(). The regression tests showed me\nhow come... |
[
{
"msg_contents": "There is a long-standing oddity in psql that running\n\npsql -f foo.sql\n\nreturns error messages with file name and line number, like\n\npsql:foo.sql:1: ERROR: syntax error at or near \"foo\"\n\nbut running\n\npsql < foo.sql does not. I suggest we change the latter to print\n\npsql:<stdin>... |
[
{
"msg_contents": "Andres Freund wrote:\n \n> All current x86 cpus use 64bytes.\n \nThat matches what I found in recent research on the topic.\n \n-Kevin\n\n",
"msg_date": "Sat, 26 Nov 2011 17:58:44 -0600",
"msg_from": "\"Kevin Grittner\" <Kevin.Grittner@wicourts.gov>",
"msg_from_op": true,
"ms... |
[
{
"msg_contents": "Move pg_dump memory routines into pg_dumpmem.c/h and restore common.c\nwith its original functions. The previous function migration would\ncause too many difficulties in back-patching.\n\nBranch\n------\nmaster\n\nDetails\n-------\nhttp://git.postgresql.org/pg/commitdiff/9a7d49d1fba666c8bfb9... |
[
{
"msg_contents": "I noticed that a bulk INSERT into an empty table (which has been\nTRUNCATEd in the same transaction, for good measure) results in a\ncurious number of open(2) calls for the FSM resource fork:\n\nopen(\"base/657862/16554373_fsm\", O_RDWR) = -1 ENOENT (No such file or directory)\nlseek(17, 0, S... |
[
{
"msg_contents": "Hello,\n\nfunction exec_set_found uses a PointerGetDatum, should be BoolGetDatum\n\n*** pl_exec.c.orig\t2011-11-24 12:51:45.000000000 +0100\n--- pl_exec.c\t2011-11-27 18:07:46.983118326 +0100\n***************\n*** 5860,5866 ****\n \tPLpgSQL_var *var;\n\n \tvar = (PLpgSQL_var *) (estate->dat... |
[
{
"msg_contents": "Try this:\n\n create function foo(int) returns int as $$ select $1 $$ language sql;\n\n select * from information_schema.routine_privileges;\n\nThis ought to show EXECUTE privilege on the new function, but it\ndoesn't, because proacl is null, and nothing in the information schema\nhandl... |
[
{
"msg_contents": "It would be helpful if variable length catalog fields (except the first\none) would not be visible on the C level in the Form_pg_* structs. We\nkeep them listed in the include/catalog/pg_*.h files so that the BKI\ngenerating code can see them and for general documentation, but the\nfields ar... |
[
{
"msg_contents": "Hi,\n\nI know I'm late for the ongoing commitfest, but I thought I might as well\nbe early for the next one.\n\nAttached is a patch against master that implements timing of shared buffer\nfills and per relation stats collection of said timings. Buffer flushes are\ntimed as well but aren't exp... |
[
{
"msg_contents": "Make pg_dumpall build with the right object files under MSVC.\n\nThis fixes a longstanding but up to now benign bug in the way pg_dumpall\nwas built. The bug was exposed by recent code adjustments. The Makefile\ndoes not use $(OBJS) to build pg_dumpall, so this fix removes their source\nfiles... |
[
{
"msg_contents": "With plenty of people in the US returning to work on Monday after a \nmodest break last week, I wanted to put out an updated on the active \nCommitFest. I just sent out several pleas for help with specific patches \nwhere only a limited chunk of the community is really in a good position \nto... |
[
{
"msg_contents": "Hi,\n\nAs discussed few days ago it would be beneficial if we could change the v3 backend<->client protocol without breaking backwards compatibility.\n\nHere is a working patch that exports a supported_binary_minor constant and a binary_minor session variable and a that can be used by clients... |
[
{
"msg_contents": "Andres Freund wrote:\n \n> I would like to see somebody running a benchmark on a machine with\n> higher concurrency...\n \nYeah, me too. I don't find it at all hard to believe that we will\nsee significant performance benefit by changing the PGPROC structure\nso that all parts of it can be ... |
[
{
"msg_contents": "I was wondering why we mark to_date() as stable and not immutable? It\nseems to have been set to stable in 2006 with this patch:\n\n\thttp://archives.postgresql.org/pgsql-committers/2006-11/msg00264.php\n\n\tAlso, mark to_date() and to_char(interval) as stable; although these\n\tappear not t... |
[
{
"msg_contents": "There was a question recently on a user list about how to configure an\neditor to handle psql's editor temp files as SQL files. While this is\ndoable with an advanced editor by reverse-engineering the file pattern\nthan psql uses, it would be easier if psql just added an extension\n\".sql\".... |
[
{
"msg_contents": "One thing that bothered me while looking at the range types patch is\nthat it seemed you'd been mighty conservative about creating built-in\nrange types. In particular, I don't understand why there's not a\nstandard float8range type; that seems like a pretty common case.\nI'd have also expec... |
[
{
"msg_contents": "I was doing some tests recently with default_transaction_isolation set\nto 'serializable' in postgresql.conf when I noticed pg_locks filling up\nwith SIReadLocks rather more quickly than I expected.\n\nAfter some investigation, I found that an autovacuum worker was\nstarting a transaction at ... |
[
{
"msg_contents": "Hi,\n\nA few months ago, I got an email related to Pyrseas\n(http://lists.pgfoundry.org/pipermail/pyrseas-general/2011-August/000003.html)\nwhere the user reported he had a table named \"user\" and reported a\nfailure in the dbtoyaml utility. I eventually implemented a simple\nquote_id funct... |
[
{
"msg_contents": "Reviving a thread that has hit its second birthday:\n\nhttp://archives.postgresql.org/pgsql-hackers/2009-11/msg00024.php\n\nIn our case not being able to restart Postgres when it has been taken\ndown in the middle of a base backup is starting to manifest as a\nserious source of downtime: basi... |
[
{
"msg_contents": "Hi\n\nI have a \"feeling\" that the internal query-plans (or alternative) \nquery-plans when executing GIN-searches are not being exhausted as much as\nthey generally are in PG.\n\nMore specifically a query like:\n\nselect id from table where fts @@ to_tsquery('english','verycommon &\nveryrar... |
[
{
"msg_contents": "Hi,\n\nAs you know, LISTEN/NOTIFY is broken in the Java client library. You have\nto do a SELECT 1 in a while-loop to receive the notifications.\n\nhttp://jdbc.postgresql.org/documentation/head/listennotify.html\n\nIs there some other library with a proper implementation where you don't\nhave... |
[
{
"msg_contents": "Hello\n\n2011/11/28 Greg Smith <greg@2ndquadrant.com>:\n> I'm trying to find someone for the \"[PL/pgSQL] %TYPE and array declaration -\n> second patch\" patch submitted recently:\n> https://commitfest.postgresql.org/action/patch_view?id=666\n>\n> Not too many people work on the PL/pgSQL cod... |
[
{
"msg_contents": "Hi list.\n\nI have currently hit a problem which I dug into finding the cause for, in\nparticular, searching in GIN indices seems in some situations to\nun-fairly favor Sequential Scans.\n\nGoogling a bit I found this page:\nhttp://postgis.refractions.net/docs/ch06.html#id2635817\n\nDescribin... |
[
{
"msg_contents": "----- Цитат от Stephen Frost (sfrost@snowman.net), на 01.12.2011 в 15:56 -----\n\n> * Robert Haas (robertmhaas@gmail.com) wrote:\n>> On Wed, Nov 30, 2011 at 3:58 PM, Stephen Frost <sfrost@snowman.net> wrote:\n>> > Erm, isn't there a contrib type that already does all that for you..?\n>> > ip4... |
[
{
"msg_contents": "All,\n\nI have a large PG 9.1.1 server (over 1TB of data) and replica using log shipping. I had some hardware issues on the replica system and now I am getting the following in my pg_log/* files. Same 2 lines over and over since yesterday.\n\n2011-12-01 07:46:30 EST >LOG: restored log fil... |
[
{
"msg_contents": "\nHi,\n\nI just noticed in gdb that TupleDescInitEntry does not initialize\nattacl, attoptions, attfdwoptions. This is probably not very serious\n(otherwise we'd have bugs about it), but it is noticeable in tupdescs\nconstructed by the executor, at least ExecTypeFromTL:\n\n(gdb) print *tupDe... |
[
{
"msg_contents": "----- Цитат от Tom Lane (tgl@sss.pgh.pa.us), на 02.12.2011 в 05:21 -----\n\n> Robert Haas <robertmhaas@gmail.com> writes:\n>> On Thu, Dec 1, 2011 at 7:56 PM, Stephen Frost <sfrost@snowman.net> wrote:\n>>> I don't have any particular care about if cidr has indexing support or\n>>> not. I'm ce... |
[
{
"msg_contents": "In Postgres 8.4, pg_upgrade preserved pg_class relfilenodes by creating\nfiles in the file system. In Postgres 9.0, we changed this by creating\npg_upgrade_support functions which allow us to directly preserve\npg_class.oids. \n\nUnfortunately, check.c was not updated to reflect this and clu... |
[
{
"msg_contents": "Heikki tipped me off to a possible problem with CLOG contention that\nhe noticed while doing some benchmarking, and so I (you know what's\ncoming, right?) tried to reproduce it on Nate Boley's 32-core AMD\nmachine. It turns out that increasing NUM_CLOG_BUFFERS from 8 to 32\ndelivers a signif... |
[
{
"msg_contents": "Hi,\n\nwhy the libraries loaded using local_preload_libraries need to be placed\nin a different subdirectory than libraries loaded using\nshared_preload_libraries?\n\nAnd why it does not use dynamic_library_path but a hardcoded path\n'$libdir/plugins'?\n\nI do understand that leaving the user... |
[
{
"msg_contents": "The patch is in context format, includes docs and additional\nregression tests, applies cleanly, passes \"world\" regression tests.\nThe parser changes don't cause any \"backing up\".\n \nDiscussion on the list seems to have reached a consensus that this\npatch implements a useful feature. A... |
[
{
"msg_contents": "I noticed the following object types don't have support for an ALTER ...\nRENAME command:\n\nDOMAIN (but ALTER TYPE works)\nFOREIGN DATA WRAPPER\nOPERATOR\nRULE\nSERVER\n\nAre there any restrictions why these couldn't be added?\n\n(I stumbled upon this while trying to rename a foreign server,... |
[
{
"msg_contents": "Hi,\n\nI've written a simple extension that limits number of connection by\nIP/db/user, and I do receive this exception:\n\npsql: FATAL: cannot read pg_class without having selected a database\n\nI've found this happens because the extension defines a client auth hook\nthat reads pg_stat_act... |
[
{
"msg_contents": "While doing some pgbench testing on a new server with 9.1.1, I noticed \nquite a lot of $subject in the logs. I did some Googling and found this \nprevious thread: \nhttp://archives.postgresql.org/pgsql-hackers/2010-01/msg02897.php It \ndoesn't seem like the issue was resolved?\n\nI did:\n# p... |
[
{
"msg_contents": "Do we have any documentation about how to move a tablespace to a new\ndirectory? If not, I think we should write some.\n\n-- \n Bruce Momjian <bruce@momjian.us> http://momjian.us\n EnterpriseDB http://enterprisedb.com\n\n + It's impossible for everythin... |
[
{
"msg_contents": "Hello\n\nI have a relative simple query\n\nSELECT q.object_id\n FROM queue q\n JOIN\n outgoing.cps_forms f\n ON f.id = q.object_id AND q.object_type = 'cp'\n JOIN\n flat_file_ex fe\n ON fe.id = q.rejected_flat_file_id\n WHER... |
[
{
"msg_contents": "Debian's package policy and quality check tool lintian reports the\nfollowing (among other things) on the postgresql-9.1 (and earlier)\npackages:\n\nX: libpq5: shlib-calls-exit usr/lib/libpq.so.5.4\nX: libecpg6: shlib-calls-exit usr/lib/libecpg.so.6.3\n\nwhich is explained as\n\nI: shlib-call... |
[
{
"msg_contents": "plpython: Add SPI cursor support\n\nAdd a function plpy.cursor that is similar to plpy.execute but uses an\nSPI cursor to avoid fetching the entire result set into memory.\n\nJan Urbański, reviewed by Steve Singer\n\nBranch\n------\nmaster\n\nDetails\n-------\nhttp://git.postgresql.org/pg/com... |
[
{
"msg_contents": "Where are we with adding JSON for Postgres 9.2? We got bogged down in\nthe data representation last time we discussed this.\n\n-- \n Bruce Momjian <bruce@momjian.us> http://momjian.us\n EnterpriseDB http://enterprisedb.com\n\n + It's impossible for ever... |
[
{
"msg_contents": "Pg_upgrade has the following check to make sure the cluster is safe for\nupgrading:\n\n res = executeQueryOrDie(conn,\n \"SELECT n.nspname, c.relname, a.attname\n\"\n \"FROM pg_catalog.pg_class c, \"\n ... |
[
{
"msg_contents": "While working on KaiGai's \"leaky views\" patch, I found myself\nscrutinizing the behavior of the function named in the subject line;\nand specifically the retest of is_simple_subquery(). I've been unable\nto make that fail. For example, the following patch fails to break\nthe regression te... |
[
{
"msg_contents": "Hi,\n\nA while ago when blogging about WAL [1], I noticed a function to deal with\nxlog location arithmetic is wanted. I remembered Depez [2] mentioning it and\nafter some questions during trainings and conferences I decided to translate\nmy shell script function in C.\n\nThe attached patch i... |
[
{
"msg_contents": "Dear PostgreSQL hackers,\n\n[ please CC to me as I'm not subscribed to the list ]\n\nFor my projects, I find it very handy to apply XSLT\ntransformations directly on database side. Unfortunately,\nthis is only available in contrib/xml2 with an unpleasant\ninterface.\n\nThe documentation of co... |
[
{
"msg_contents": "\nHi,\n\nSorry, I am resending this email.. there was spelling mistake in earlier\nemail...\n\n\nPlease help me.....\n\nDue to some unknown reason all contents of PostGresql data folder (\nD:\\Program Files\\PostgreSQL\\8.4\\data) got deleted except base and global\nfolder.\nPlease let me If ... |
[
{
"msg_contents": "Makefile.custom is currently looked for in the source directory. This\ntripped me up recently when doing a vpath build. Should it be looked\nfor in the build tree instead? Or both?\n\n\n",
"msg_date": "Tue, 06 Dec 2011 21:06:57 +0200",
"msg_from": "Peter Eisentraut <peter_e@gmx.net... |
[
{
"msg_contents": "Hi there,\n\nI'm looking for the picture of PostgreSQL 9.1 poster, which we all signed\nat Developers Meeting. Anybody knows where it's now ?\n\n \tRegards,\n \t\tOleg\n_____________________________________________________________\nOleg Bartunov, Research Scientist, Head of AstroNet (www.astr... |
[
{
"msg_contents": "Over in the \"add timing of buffer I/O requests\" thread I mentioned \nhaving a system where EXPLAIN ANALYZE of a modest COUNT(*) takes 10X as \nlong as just executing the statement. Attached is a bit of SQL and a \nscript that runs it multiple times that demonstrate the problem on \nsystems... |
[
{
"msg_contents": "Hello\n\nI am trying to create simple extension according to doc\nhttp://www.postgresql.org/docs/9.1/interactive/extend-extensions.html\n\nI have a problem with line that contains backslash statement\n\n-- complain if script is sourced in psql, rather than via CREATE\nEXTENSION\n\\echo Use \"... |
[
{
"msg_contents": "Hi list,\n\nI found a 'pg_test_fsync.out' file in my $PGDATA, which was probably\nleft around because I aborted pg_test_fsync with ^C back when setting\nup the server.\n\nHere's a patch to delete that file via a signal handler for\nSIGINT/SIGTERM/SIGHUP.\n\nNot tested on Windows, but should w... |
[
{
"msg_contents": "Joseph Shraibman reported some rather unpleasant behavior that\nseems to be due to trying to drop a table whose FSM file has got\nno permissions:\nhttp://archives.postgresql.org/pgsql-general/2011-12/msg00246.php\n\nOne question is how the file got that way, and whether Postgres did\nanything... |
[
{
"msg_contents": "While reviewing the SP-Gist patch I noticed an error that I've seen\nbefore, notably in the rangetypes patch: cross-type operators should\nnot be included in an opclass merely because their commutators are.\nTo be useful in an index opclass, an operator has to take the indexed\ncolumn's datat... |
[
{
"msg_contents": "Recently I attempted to build an external package (pg_bulkload) against \nthe latest Fedora packages. Unfortunately this fails, as pgxs adds \n\"-lpgport\" to any link line for an executable, and the corresponding \nlibpgport.a isn't there. And in fact, pg_bulkload does use some of the \nfunc... |
[
{
"msg_contents": "As of commit fc6d1006bda783cc002c61a5f072905849dbde4b, the regression\ntests leave an unused role sitting around, because that commit removed\n\tDROP ROLE regress_test_role_super;\nfrom foreign_data.sql. Was that intentional? If so, why?\n\n\t\t\tregards, tom lane\n",
"msg_date": "Fri, ... |
[
{
"msg_contents": "All of the information on the CommitFest app is as accurate as I could \nmake it now, I made a pass over every open thread there to look for \nmajor changes that hadn't gotten message ID archive links. Since the \nofficial start 13 patches have been committed and 6 bounced out. \nReminder n... |
[
{
"msg_contents": "Hi guys,\n\n I have added the '-n' option to pg_archivecleanup which performs a \ndry-run and outputs the names of the files to be removed to stdout \n(making possible to pass the list via pipe to another process).\n\n Please find attached the small patch. I submit it to the CommitFest.\n... |
[
{
"msg_contents": "Hello folks,\n\nI just bumped into a situation where I wanted to do a little macaddr\narithmetic in postgres. I note that the inet type has support for\nbitwise AND, OR and NOT, as well as subtraction, but macaddr has none\nof the above.\n\nThese operations are easy to perform in C, but rela... |
[
{
"msg_contents": "Hi,\n\nI am reading code about cursor and fetch ...\nHere is a test:\n\ncreate table t (a int);\ninsert into t values (1),(3),(5),(7),(9);\ninsert into t select a+1 from t;\nbegin;\ndeclare c cursor for select * from t order by a;\nfetch 3 in c;\nfetch 3 in c;\nfetch 3 in c;\n\nIn func \"Port... |
[
{
"msg_contents": "We're either pretty inconsistent with our output in psql, or I'm not\ncompletely understanding it.. I was trying to implement a switch that\nwould let me put all the output in the query output channel controlled\nby \\o, and not just the output of the query itself. Because that would\nmake it... |
[
{
"msg_contents": "Back in 2007 (commit a8d539f12498de52453c8113892cbf48cc62478d), we\nreduced the maximum number of backup blocks per WAL record from 4 to 3,\nin order to permit addition of an XLR_BKP_REMOVABLE flag bit that\npurports to show whether it's safe to suppress full-page-image backup\nblocks in an e... |
[
{
"msg_contents": "Yeb Havinga wrote:\n \n> Forgot to copy regression output to expected - attached v7 fixes\n> that.\n \nThis version addresses all of my concerns. It applies cleanly and\ncompiles without warning against current HEAD and performs as\nadvertised. I'm marking it Ready for Committer.\n \n-Kevi... |
[
{
"msg_contents": "Hello Hackers,\n\nAttached is a work-in-progress patch for URI connection string syntax support in libpq. The recent discussion (also pointing to the original one) is here: \n\n http://archives.postgresql.org/message-id/1321899990-sup-1235@moon\n\nThe patch adds support for the following sy... |
[
{
"msg_contents": "Hi,\n\nI've revived the old moribund / bitrotten OpenOffice driver for\nPostgreSQL (originally at\nhttp://dba.openoffice.org/drivers/postgresql/index.html). As you may\nalready know, OpenOffice was forked into LibreOffice. Barring any\nunforeseen disaster, LibreOffice 3.5 (to be released in e... |
[
{
"msg_contents": "(See part 1 for general introduction)\n\nLibreOffice currently - when it rebuilds libpq, such as for our\nofficial MS Windows binaries - links libpq against only the MS\nWindows built-in SSPI stuff, which if I understand well is an \"embrace\nand extend\" Kerberos 5 implementation.\n\nI want... |
[
{
"msg_contents": "(See part 1 for general introduction)\n\nLibreOffice currently - when it rebuilds libpq, such as for most of\nour official binaries - links statically against libpq.\n\nI noticed that pg_config does not give the information of what\nadditional libraries to include in the link to resolve all s... |
[
{
"msg_contents": "Compare:\n\n int PQntuples(const PGresult *res)\n\nReasonable: doesn't modify 'res'.\n\nWith:\n\n char *PQcmdStatus(PGresult *res);\n char *PQcmdTuples(PGresult *res);\n\nUnreasonable:\n\n a. What, these two can modify 'res' I pass in?..\n\n b. Oh, yes, because they return 'char *' point... |
[
{
"msg_contents": "Merlin Moncure wrote:\n \n> Postgres would in fact make a wonderful 'nosql' backend with some\n> fancy json support -- document style transmission to/from the\n> backend without sacrificing relational integrity in storage.\n> Properly done this would be a fabulous public relations coup\n> (P... |
[
{
"msg_contents": "Hi,\n\nI've used LISTEN/NOTIFY in a few apps with great success (both\nthe new and the old implementation) but I've found myself\nwondering why I couldn't use a richer payload, and wondered if\nanyone already had plans in this direction.\n\nIt seems there are number of academic and commercial... |
[
{
"msg_contents": "If you add this Assert to lock.c:\n\ndiff --git a/src/backend/storage/lmgr/lock.c b/src/backend/storage/lmgr/lock.c\nindex 3ba4671..d9c15e0 100644\n*** a/src/backend/storage/lmgr/lock.c\n--- b/src/backend/storage/lmgr/lock.c\n*************** GetRunningTransactionLocks(int *nlocks)\n*** 3195,3... |
[
{
"msg_contents": "Hello\n\nFor join of encoded text should be useful fast concat aggregation. The\nbehave should be very similar to string_agg, only separator is useless\nin this case.\n\na) This allow a fast only sql expressions on encoded texts\nb) our interface will be more orthogonal\n\nRegards\n\nPavel\n"... |
[
{
"msg_contents": "I started reading the spgist vacuum code last night, and didn't like it\nat all. I found a number of smaller issues, but it seems to me that\nthe design is just fundamentally wrong. Unless I'm misunderstanding it,\nthe approach is to recursively traverse the tree in sort of the same way\nth... |
[
{
"msg_contents": "It would not take very much at all to make the SP-GiST stuff support\nindex-only scans, except for one thing: it's conceivable that an opclass\nmight choose to store only a lossy version of the original indexed\ndatum, in which case it'd not be able to reconstruct the datum on\ndemand.\n\nI'm... |
[
{
"msg_contents": "Hi everyone,\n\nI found this several days ago when I try to debug a \"fetch\" of cursor.\nAnd I have sent a mail to this list, but no one reply...\nMaybe this is a very simple problem, please help me, thanks a lot...\n\nHere is the example:\n create table t (a int);\n insert into t valu... |
[
{
"msg_contents": "I've been looking at various ways to make WALInsertLock less of a \nbottleneck on multi-CPU servers. The key is going to be to separate the \ntwo things that are done while holding the WALInsertLock: a) allocating \nthe required space in the WAL, and b) calculating the CRC of the record \nhea... |
[
{
"msg_contents": "Hi,\n\nI am having a scenario where I get consistent warnings in the pglog folder:\n\n2011-12-11 00:00:03 JST WARNING: pgstat wait timeout\n2011-12-11 00:00:14 JST WARNING: pgstat wait timeout\n2011-12-11 00:00:24 JST WARNING: pgstat wait timeout\n2011-12-11 00:00:31 JST WARNING: pgstat w... |
[
{
"msg_contents": "HI,\n\nI had a question about the cursor internals implementation. When you Fetch next 'n' results without moving the cursors, is this kind of functionality implemented by firstly executing the whole query and then moving the cursor over the results, or are the movements done on active databa... |
[
{
"msg_contents": "If a field(attribute) in a type is declared to be an array. Then is it always the case that the array will be packed into a single tuple that resides in the database. There is the TOAST mechanism for oversized tuples but that is still considered to be a single tuple. Is there any circumstance... |
[
{
"msg_contents": "According to the docs [1], you should escape embedded colons in .pgpass \n(fair enough). Below is PG 9.1.1\n\nuser = \"te:st\", db = \"te:st\", password = \"te:st\"\n\n $ cat ~/.pgpass\n *:*:te:st:te:st:te:st\n $ psql91 -U \"te:st\" -d \"te:st\"\n te:st=>\n\n $ cat ~/.pgpa... |
[
{
"msg_contents": "archive_command and restore_command describe how to ship WAL files\nto/from an archive.\n\nWhen there is nothing to ship, we delay sending WAL files. When no WAL\nfiles, the standby has no information at all.\n\nTo provide some form of keepalive on quiet systems the\narchive_keepalive_command... |
[
{
"msg_contents": "Attached is a patch that addresses the todo item \"Improve relation\nsize functions such as pg_relation_size() to avoid producing an error\nwhen called against a no longer visible relation.\"\n\nhttp://archives.postgresql.org/pgsql-general/2010-10/msg00332.php\n\nInstead of returning an error... |
[
{
"msg_contents": "Folks,\n\nWhat:\n\n Please find attached a patch for 9.2-to-be which implements page\n checksums. It changes the page format, so it's an initdb-forcing\n change.\n\nHow: \n In order to ensure that the checksum actually matches the hint\n bits, this makes a copy of the page, ca... |
[
{
"msg_contents": "Dear Hackers,\n\nI have written some notes about autonomous subtransactions, which have\nalready been touched (at least) in two separate threads; please find\nthem at\n\n http://wiki.postgresql.org/wiki/Autonomous_subtransactions\n\nIt is meant to be an ongoing project, requesting comments a... |
[
{
"msg_contents": "Hi,\n\nThe extensions work we began in 9.1 is not yet finished entirely\n(*cough*), so I'm opening a new patch series here by attacking the\ndependency problems.\n\nSome people want us to manage extension version numbers with sorting\nsemantics so that we are able to depend on foo >= 1.2 and ... |
[
{
"msg_contents": "Hello\n\nI am working on quiet dumps now. i found a small issue.\n\npg_dump produces a statements\n\nALTER TABLE ONLY public.b DROP CONSTRAINT b_fk_fkey;\nALTER TABLE ONLY public.a DROP CONSTRAINT a_pkey;\n\nDROP TABLE IF EXISTS public.b;\nDROP TABLE IF EXISTS public.a;\n\nActually there is n... |
[
{
"msg_contents": "Hi list,\n\nAs discussed on the pgsql-general list, the bool_and() and bool_or()\naggregate functions behave exactly like min() and max() would over\nbooleans. While it's not likely that people would have an appropriate\nindex on a boolean column, it seems it wouldn't cost us anything to\ntak... |
[
{
"msg_contents": "Upgrading an instance containing plpython from <=8.4 to >=9.0 is broken\nbecause the module plpython.so was renamed to plpython2.so, and so the\npg_upgrade check for loadable libraries fails thus:\n\n Your installation references loadable libraries that are missing from the\n new instal... |
[
{
"msg_contents": "I recently upgraded my postgres server from 9.0 to 9.1.2 and I am\nfinding a peculiar problem.I have a program that periodically adds rows\nto this table using INSERT. Typically the number of rows is just 1-2\nthousand when the table already has 500K rows. Whenever the program is\nadding rows... |
[
{
"msg_contents": "A client has again raised with me the ugliness of \"pretty printed\" \nviewdefs. We looked at this a couple of years ago, but discussion went \noff into the weeds slightly, so I dropped it, but as requested I'm \nrevisiting it.\n\nThe problem can be simply seen in the screenshot here: \n<http... |
[
{
"msg_contents": "Greg Smith <greg@2ndQuadrant.com> wrote:\n \n> 2) Rework hint bits to make the torn page problem go away. \n> Checksums go elsewhere? More WAL logging to eliminate the bad\n> situations? Eliminate some types of hint bit writes? It seems\n> every alternative has trade-offs that will require s... |
[
{
"msg_contents": "Hi list,\n\nSince PostgreSQL 9.1, GIN has new cost estimation code. This code\nassumes that the only expression type it's going to see is OpExpr.\nHowever, ScalarArrayOpExpr has also been possible in earlier versions.\nEstimating col <op> ANY (<array>) queries segfaults in 9.1 if there's\na G... |
[
{
"msg_contents": "Hello everybody,\n\nthis patch adds two counters to pg_stat_database to track temporary\nfiles - number of temp files and number of bytes. I see this as a useful\nfeature, as temporary files often cause a lot of IO (because of low\nwork_mem etc.). The log_temp_files is useful, but you have to... |
[
{
"msg_contents": "Hackers,\n\nFor better GiST indexing of range types it's important to have real-life\ndatasets for testing on. Real-life range datasets would help to proof (or\nreject) some concepts and get more realistic benchmarks. Also, it would be\nnice to know what queries you expect to run fast on that... |
[
{
"msg_contents": "Is there any reason why the setting synchronize_seqscans is in the\nsection \"version/platform compatibility\" in postgresql.conf? Is it\njust because nobody could find a better place for it? ;) It seems a\nbit wrong to me...\n\n-- \n Magnus Hagander\n Me: http://www.hagander.net/\n Work: htt... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.