threads
listlengths
1
2.99k
[ { "msg_contents": "Log Message:\n-----------\nFix one more cast for _open_osfhandle().\n\nTsutomu Yamada\n\nModified Files:\n--------------\n pgsql/src/backend/postmaster:\n postmaster.c (r1.597 -> r1.598)\n (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/backend/postmaster/postmaster.c?r1=...
[ { "msg_contents": "When trying to build plpython on win64, it fails because ssize_t is\ndefined differently.\n\nPostgreSQL has it as\ntypedef long ssize_t;\n\nAnd python has it as:\ntypedef __int64 ssize_t;\n\nThe postgresql deifnition comes from include/port/win32.h, which leads\nme to think that we should jus...
[ { "msg_contents": "Command:\n\nselect to_char(DATE'2009-1-1','FMDD.FMMM.FMYY')\n\nResult observed:\n\n1.1.09\n\nResult expected:\n\n1.1.9\n\nHow to fix ?\n\nAndrus.\n", "msg_date": "Sat, 2 Jan 2010 20:14:07 +0200", "msg_from": "\"Andrus\" <kobruleht2@hot.ee>", "msg_from_op": true, "msg_subject":...
[ { "msg_contents": "Folks,\n\nPlease find enclosed a patch which adds tab completion for DO blocks.\nThanks to Andrew Gierth and Stefan Kaltenbrunner for help putting it\ntogether :)\n\nCheers,\nDavid.\n-- \nDavid Fetter <david@fetter.org> http://fetter.org/\nPhone: +1 415 235 3778 AIM: dfetter666 Yahoo!: dfet...
[ { "msg_contents": "\nIt is possible to get an invalid byte sequence into a text field via pl,\nin this case pl/perl :\n\n---8<------8<------8<------8<------8<------8<---\nCREATE TABLE utf_test\n(\n id serial PRIMARY KEY,\n data character varying\n);\n\nCREATE OR REPLACE FUNCTION invalid_utf_seq()\n RETURNS c...
[ { "msg_contents": "This evening's argument about DO completion caused me to look a bit\ncloser at tab-complete.c than I ever had before. I am now wondering\nexactly why we bother with all the logic like\n\n\" WHERE substring(pg_catalog.quote_ident(rolname),1,%d)='%s'\"\n\nin the SQL queries that it issues. I...
[ { "msg_contents": "Jeff Davis wrote:\n \n> I started a wiki page here:\n>\n> http://wiki.postgresql.org/wiki/Serializable\n \nI've filled it in with all relevant information which came to mind.\nIf you can spot something I missed, please feel free to correct that\nor let me know so that I can.\n \n-Kevin\n\n\n...
[ { "msg_contents": "This was a random attempt to figure something out about min/max on row\ntypes:\n\n=> select min(a) from (values (row(1,2,3)), (row(3,4,5))) as x(a);\nERROR: 42809: record type has not been registered\nLOCATION: lookup_rowtype_tupdesc_internal, typcache.c:341\n\nI don't know whether it's sup...
[ { "msg_contents": "Log Message:\n-----------\nWhen estimating the selectivity of an inequality \"column > constant\" or\n\"column < constant\", and the comparison value is in the first or last\nhistogram bin or outside the histogram entirely, try to fetch the actual\ncolumn min or max value using an index scan ...
[ { "msg_contents": "Hi all,\n\n\nI would like to work on \"Allow substring/replace() to get/set bit values\", since it looks like a simple task.\n\nThe item is not marked as \"easy\" on the TODO though. Before proceding to a discussion on how this functions should be implemented (I got from the messages on the m...
[ { "msg_contents": "Re-reading the docs it looks like the only thing missing is get/set_bit for bit string.\n\n\nSubstring is already implemented for bit string, and I don't really know if replace is useful at all.\n\n\n(sorry if the other mail came with a different sender name)\n\n\nLeonardo\n\n\n\n> I would li...
[ { "msg_contents": "To make this patch apply cleanly, the copyright date has been synced\nwith master. Previous version:\n\nhttp://archives.postgresql.org/pgsql-hackers/2009-12/msg02509.php\n\nMost recent discussion:\n\nhttp://archives.postgresql.org/pgsql-hackers/2009-12/msg01814.php\n\nJohn Naylor", "msg_d...
[ { "msg_contents": "Hello\n\nI am looking for some quoting implementation in PostgreSQL. I cannot\nto understand, why we can to use multibyte unsafe functions\nquote_identifier or fmtId, and we have to use multibyte safe functions\nquote_literal (and similar). Can somebody explain it?\n\nThank you\n\nPavel Stehu...
[ { "msg_contents": "I realize this is a very platform-specific thing, but should we\nconsider setting the value of /proc/<pid>/oom_adj when running on\nlinux? See:\n\nhttp://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=blob;f=Documentation/filesystems/proc.txt;h=220cc6376ef80e0c9bcfec162d45552e729...
[ { "msg_contents": "It seems like VPATH building is broken at the moment, at least if you\nare working from a maintainer-clean source tree.\n\nmake -C bootstrap all\nmake[3]: Entering directory `/home/postgres/build/src/backend/bootstrap'\n/usr/local/bin/bison -o bootparse.c /home/postgres/pgsql/src/backend/boo...
[ { "msg_contents": "Log Message:\n-----------\nGet rid of the need for manual maintenance of the initial contents of\npg_attribute, by having genbki.pl derive the information from the various\ncatalog header files. This greatly simplifies modification of the\n\"bootstrapped\" catalogs.\n\nThis patch finally kil...
[ { "msg_contents": "Log Message:\n-----------\nRemove too-smart-for-its-own-good optimization of not overwriting the output\nfiles when they haven't changed. This confuses make because the build fails\nto update the file timestamps, and so it keeps on doing the action over again.\n\nModified Files:\n-----------...
[ { "msg_contents": "The old Gen_fmgrtab.sh script used temporary file names that included\nits process PID. It had this comment about that:\n\n# We use the temporary files to avoid problems with concurrent runs\n# (which can happen during parallel make).\n\nThe new implementation uses temp files that just have ...
[ { "msg_contents": "In talking to developers, it appears that index-only scans will not be\nimplemented in Postgres 8.5 due to development time being spend on hot\nstandby and streaming replication. The current index-only scan status\nis summarized here:\n\n\thttp://archives.postgresql.org/pgsql-hackers/2009-07...
[ { "msg_contents": "Hi,\nI want to add some hard-wired extra authentication codes in my PG. The only\nproblem is how to access tables to get/change information from core\n(auth.c)?\nI have changed the SPI functions to use them but it was not effective (lots\nof different errors!)\nIn fact, i want to add a table ...
[ { "msg_contents": "On Wed, Dec 9, 2009 at 6:25 PM, Fujii Masao <masao.fujii@gmail.com> wrote:\n> Here is the patch:\n>\n> - Write an XLOG UNLOGGED record in WAL if WAL-logging is skipped for only\n>  the reason that WAL archiving is not enabled and such record has not been\n>  written yet.\n>\n> - Cause archive...
[ { "msg_contents": "http://buildfarm.postgresql.org/cgi-bin/show_log.pl?nm=jaguar&dt=2010-01-05%2004:00:03\n(and the same a couple times before this...)\n\nCore was generated by `postgres: autovacuum worker process regression '.\nProgram terminated with signal 6, Aborted.\n[New pro...
[ { "msg_contents": "Hi all!\n\nThere will be planned downtime on tribble.postgresql.org Jan 6(tomorrow)\nfrom 10:00-12:30 GMT(estimated) affecting the following services:\n\ncvs.postgresql.org\nwwwmaster.postgresql.org\nwww.pgadmin.org\ndoxygen.postgresql.org\n\nDowntime is necessary to implement some OS level u...
[ { "msg_contents": "Hi,\nWhy PG uses a flat file (global\\pg_auth) for md5 authentication!? Is it\nforced to do it instead of accessing relevant table is system catalog?\n\nThanks - B. L.\n\nHi,Why PG uses a flat file (global\\pg_auth) for md5 authentication!? Is it forced to do it instead of accessing relevant ...
[ { "msg_contents": "As part of a research project I would like to change the source code of\nPostgres. There, I want to do the following: I want to stop the optimizer at\nsome place, issue a query from the optimizer and use the result of the query\nto continue the optimization process.\n\nIs there a good and cle...
[ { "msg_contents": "There is likely to be a long period where many Windows packages for\nPostgreSQL are 32 bit only. Due to the way Windows searches for DLLs,\nWindows installations of PostgreSQL tend to install libpq.dll into the\nbin/ directory of the installation. This will cause obvious problems\nwith 32 bit...
[ { "msg_contents": "Looking at the latest streaming replication patch, I don't much like the\nsignaling between WAL sender and postmaster. It seems complicated, and\nas a rule of thumb postmaster shouldn't be accessing shared memory. The\ncurrent signaling is:\n\n1. A new connection arrives. A new backend proces...
[ { "msg_contents": "As pointed out here\nhttp://archives.postgresql.org/pgsql-general/2010-01/msg00145.php\nthe current zic code doesn't cope gracefully with lack of working\nint64. Considering the trouble we've gone to throughout the rest\nof the system to support such compilers, it's a bit annoying to\nhave t...
[ { "msg_contents": "Hi,\n\nAttached is a patch where I've taken into account the problems Tom \npointed out in his review [1]. It still needs a bit cleaning up, but \nI'm not planning on any big changes. Any feedback welcome.\n\nOne thing I only noticed now is this:\n\n=> select * from foo;\n a\n---\n 0\n(1 ...
[ { "msg_contents": "One of the problem with shredding XML is that it is very kludgy to get a \nscalar value back from xpath. The xpath function always returns an array \nof XML. So for example, to extract a numeric value you need to:\n1) use xpath to get the node\n2) get the first element of the XML array\n3) ca...
[ { "msg_contents": "\nI have a question regarding true serializability and predicate locking.\nThere's some context on the wiki page:\n\nhttp://wiki.postgresql.org/wiki/Serializable\n\nunder the heading \"Predicate Locking\".\n\nIf you have the following DDL:\n\n create table mytable(mycircle circle);\n create...
[ { "msg_contents": "Log Message:\n-----------\nSupport ALTER TABLESPACE name SET/RESET ( tablespace_options ).\n\nThis patch only supports seq_page_cost and random_page_cost as parameters,\nbut it provides the infrastructure to scalably support many more.\nIn particular, we may want to add support for effective_...
[ { "msg_contents": "Hi all,\n\nWell I had to burn some midnight oil trying to figure out why a \nconstruct like\nSELECT xpath('name()','<a/>');\ndoesn't give the expected result. Kept getting an empty array:\n xpath\n-------------\n{}\ninstead of the expected \"{a}\"\nBugID 4294 and the TODO item \"better han...
[ { "msg_contents": "I am seeing a compile failure in current CVS because my operating\nsystem, BSD/OS, does not have inttypes.h:\n\n\tccache gcc -O2 -Wall -Wmissing-prototypes -Wpointer-arith\n\t-fno-strict-aliasing -O1 -Wall -Wmissing-prototypes\n\t-Wmissing-declarations -Wpointer-arith -Wcast-align -pthread\n\...
[ { "msg_contents": "On Sat, Dec 26, 2009 at 10:55 AM, Fujii Masao <masao.fujii@gmail.com> wrote:\n> On Fri, Dec 25, 2009 at 9:56 PM, Andrew Dunstan <andrew@dunslane.net> wrote:\n>> I don't see the use case for it - .pgpass is for single users, not a whole\n>> cluster. And it does support wildcards, which takes c...
[ { "msg_contents": "Hi,\n\nI'm trying to use DOMAIN as just synonym types for database migration.\nFor example,\n =# CREATE DOMAIN varchar2 AS pg_catalog.varchar;\n =# CREATE DOMAIN number AS pg_catalog.numeric;\n\nDomains were created successfully, but I cannot use type modifiers for them.\n =# CREATE ...
[ { "msg_contents": "Hi,\nI can access to system catalog using syscache functions. How can i change\nthe values of cache (e.g. change an attribute in pg_authid)? Are syscache\nfunctions readonly?\n\nThanks - B. L.\n\nHi,I can access to system catalog using syscache functions. How can i change the values of cache ...
[ { "msg_contents": "The fastgetattr() attempts to make provision for the case where isnull\nis a NULL pointer, but it doesn't seem to work. I tried it and got:\n\nrelcache.c:494: error: invalid use of void expression\nrelcache.c:494: error: invalid use of void expression\nrelcache.c:494: warning: left-hand oper...
[ { "msg_contents": "Looks like somebody broke the snapshot generation script again:\n\n\nNote: meta manvol : see http://docbook.sf.net/el/manvolnum \ndblink_build_sql_delete\nNote: Writing man1/dblink_build_sql_delete.1\nNote: meta manvol : no refentry/refmeta/manvolnum \ndblink_build_sql_update\nNote: meta manv...
[ { "msg_contents": "Over the past few months, I've been attempting to keep tracks of which\npostings on pgsql-bugs have not gotten a response and to respond to\nthose where I have a clue what the issue might be. However, there are\na few that I don't really have an idea about which look like they\nmight be real...
[ { "msg_contents": "Is there a reason tablespace.c::set_short_version() uses PG_VERSION, and\nnot the simpler PG_MAJORVERSION? initdb.c::get_short_version() does the\nsame thing.\n\n-- \n Bruce Momjian <bruce@momjian.us> http://momjian.us\n EnterpriseDB http://enterprisedb....
[ { "msg_contents": "I was investigating a bug in an 8.4.1 production system and distilled a\ntest case down to this:\n\n CREATE OR REPLACE FUNCTION bar() RETURNS integer AS $$\n #die 'BANG!'; # causes server process to exit(2)\n # alternative - causes server process to exit(255)\n spi_exe...
[ { "msg_contents": "Andrew Dunstan wrote:\n> Robert Haas wrote:\n \n>> Doing this without DBI is going to be ten times harder than doing\n>> it with DBI. Are we really sure that's not a viable option?\n \n> In the buildfarm? Yes, I think so. The philosophy of the buildfarm\n> is that it should do what you would...
[ { "msg_contents": "Tom Lane wrote:\n \n> We have not yet fully accepted the notion that you must have Perl\n> to build (and, in fact, I am right now trying to verify that you\n> don't). I don't think that requiring Perl to test is going to fly.\n \nWell, if that's the consensus, I have to choose between tryin...
[ { "msg_contents": "Robert Haas wrote:\n \n> I'm not exactly sure what Kevin's goal is here.\n \nI think it would be insane to try to do something like serializable\nisolation mode without having regression tests. I would want more\ntests than could reasonably go into the 'make check' suite to support\ndevelop...
[ { "msg_contents": "Having concluded I really need to start playing with hot standby, I started\nlooking for documentation on the subject. I found what I was looking for; I\nalso found this page[1], which, it seems, ought to mention hot standby.\nComments?\n\n[1] http://developer.postgresql.org/pgdocs/postgres/h...
[ { "msg_contents": "By popular request, I've set up a job that will push a mirror of the\nmaster branch of our git repository\n(git.postgresql.og/git/postgresql.git) to github. The main reason is\nvisibility, and the ability for \"github folks\" to work with their\ntools. (Trivial job, literally two lines in an ...
[ { "msg_contents": "On Wed, Jan 6, 2010 at 11:14 PM, Tom Lane <tgl@sss.pgh.pa.us> wrote:\n> Robert Haas <robertmhaas@gmail.com> writes:\n>> On Wed, Jan 6, 2010 at 10:13 PM, Tom Lane <tgl@sss.pgh.pa.us> wrote:\n>>> Robert Haas <robertmhaas@gmail.com> writes:\n>>>> What tools do we have for identifying memory leak...
[ { "msg_contents": "Hi all,\n\n\nattached a patch that adds the following functions for bit string:\n\n- overlay\n- get_bit\n- set_bit\n\n\nSome info:\n\n1) overlay is implemented as calls to substring; given the different way substring behaves when used with strings vs bit strings:\n\ntest=# SELECT substring(B'...
[ { "msg_contents": "Hello\n\ncan somebody explain advantages of new vacuum?\n\nThank you\n\nPavel Stehule\n", "msg_date": "Thu, 7 Jan 2010 13:37:01 +0100", "msg_from": "Pavel Stehule <pavel.stehule@gmail.com>", "msg_from_op": true, "msg_subject": "advantage of new vacuum" }, { "msg_conten...
[ { "msg_contents": "Hi all,\n\nI have a deja vu or I had this very problem before.\n\nNow I use 8.4.2 and it happened again.\n\nAfter dropping a column from table, there is still entry in pg_attribute\n\nfilip@la_dev=# select * from pg_attribute where attrelid = (select oid from\npg_class where relname='thetable...
[ { "msg_contents": "Howdy folks, \n\nDoing some testing with 8.5alpha3, my standby crashed this morning whilst \ndoing some testing. Seems I have a core file, so thought I would send a report.\n\nVersion: PostgreSQL 8.5alpha3 on i386-pc-solaris2.10, compiled by GCC gcc \n(GCC) 3.4.3 (csl-sol210-3_4-branch+sol_rp...
[ { "msg_contents": "Hackers,\n\nI've posted a [plan] to implement PGAN][], a CPAN for PostgreSQL extensions. I've tried to closely follow the [CPAN philosophy][] to come up with a plan that requires a minimum-work implementation that builds on the existing PostgreSQL tools and the examples of the [CPAN][] and [J...
[ { "msg_contents": "I've a .git/info/exclude file I pulled from a link on the dev wiki.\n\nSome of the changes I'm making create new files that ought to be added\nto the excluded files. I can easily add them to my .git/info/exclude\nfile but it's much more work for me and others to spread those changes.\n\nIs th...
[ { "msg_contents": "On Thu, Jan 7, 2010 at 4:23 PM, Tom Lane <tgl@sss.pgh.pa.us> wrote:\n> Robert Haas <robertmhaas@gmail.com> writes:\n>> On Thu, Jan 7, 2010 at 3:36 PM, Tom Lane <tgl@sss.pgh.pa.us> wrote:\n>>> Robert Haas <robertmhaas@gmail.com> writes:\n>>>> I am tempted to say we should clamp down and go int...
[ { "msg_contents": "Hi Heikki,\n\nhttp://git.postgresql.org/gitweb?p=users/heikki/postgres.git;a=commit;h=ebaa89ce8906e0ec45f105d083a0360b1f8bc7ca\n\nYou dropped all the ACKs from walreceiver to walsender. I have no objection\nto that, but I think that walsender should handle at least 'X' (which means\nthat the ...
[ { "msg_contents": "Hi,\n\nI am kinda puzzled as to why the query_tree_walker() function does not\nexamine the intoClause field? I do see another function\nraw_expression_tree_walker() which does walk that entry. So what is\nthe exact reason here? Or we just missed it for the earlier function?\n\nRegards,\nNikhi...
[ { "msg_contents": "Log Message:\n-----------\nAlso update ChangerLog file.\n\nModified Files:\n--------------\n pgsql/src/interfaces/ecpg:\n ChangeLog (r1.403 -> r1.404)\n (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/interfaces/ecpg/ChangeLog?r1=1.403&r2=1.404)\n", "msg_date": "Fri, ...
[ { "msg_contents": "Hello\n\nI am testing vacuum changes, and I found some strange behave:\n\nautovacuum off\n\n[pavel@nemesis src]$ /usr/local/pgsql/bin/pgbench -i -F 10 -s 10 test\nNOTICE: table \"pgbench_branches\" does not exist, skipping\nNOTICE: table \"pgbench_tellers\" does not exist, skipping\nNOTICE:...
[ { "msg_contents": "The trigger file logic feels a bit backwards. As the patch stands, when\nthe standby starts up, it retries connecting to the master server\nindefinitely, until a connection is successfully established. Then it\nstreams until the connection breaks. If the connection is dropped\nabruptly, becau...
[ { "msg_contents": "I didn't get any significant feedback from the earlier draft so here's\nthe finished 'feature patch 1' for plperl. (This builds on my earlier\nplperl refactoring patch, and the follow-on ppport.h patch.)\n\nSignificant changes from the first draft:\n- New GUC plperl.on_perl_init='...perl...'...
[ { "msg_contents": "The attached patch implements the idea of Heikki / Simon published in\n\nhttp://archives.postgresql.org/pgsql-hackers/2009-11/msg00271.php\n\nSince nobody objected to the idea in general, I have implemented it.\n\nAs this is not currently used anywhere it doesn't give immediate benefit, it\ni...
[ { "msg_contents": "I've gone through the patch in detail now. Here's my list of remaining\nissues:\n\n* If there's no WAL to send, walsender doesn't notice if the client has\nclosed connection already. This is the issue Fujii reported already.\nWe'll need to add a select() call to the walsender main loop to che...
[ { "msg_contents": "Hi all, when trying to insert/update a NOT NULL column with a null-values (in this case the \"created\"-column), we get this error:\n\nERROR: null value in column \"created\" violates not-null constraint\n\nUsing JDBC this error-message is what appears in the SQLException.getMessage() which m...
[ { "msg_contents": "\nTim Bunce's recent patch has been mangled apparently by the list \narchives. He sent it as an attachment, and that's how I have it in my \nmailbox, so why isn't it appearing as such in the web archive so that it \ncan be nicely downloaded? See \n<http://archives.postgresql.org/message-id/20...
[ { "msg_contents": "I mentioned earlier that buildfarm member jaguar (that's the one that\nbuilds with CLOBBER_CACHE_ALWAYS) was showing suspicious intermittent\nfailures. There's another one today:\nhttp://buildfarm.postgresql.org/cgi-bin/show_log.pl?nm=jaguar&dt=2010-01-08%2004:00:02\nand I also managed to re...
[ { "msg_contents": "Log Message:\n-----------\nTidy up and refactor plperl.c.\n\n- Changed MULTIPLICITY check from runtime to compiletime.\n No loads the large Config module.\n- Changed plperl_init_interp() to return new interp\n and not alter the global interp_state\n- Moved plperl_safe_init() call into c...
[ { "msg_contents": "\nDoes anyone know how to contact Gevik Babakhani? He has not been \nresponding to email, and his buildfarm member has been failing for over \n6 months due to an out of date version of flex. If I don't hear from him \nsoon I'm going to stop it from reporting.\n\ncheers\n\nandrew\n", "msg_...
[ { "msg_contents": "Hi all!\n\nIn order to install some OS security upgrades we are going to execute \nplanned maintainance one the following hosts affecting the mentioned \nservices tomorrow (10th January 13:00-14:00 GMT). Actual expected \ndowntime will be a few minutes at most so this is just a heads up.\n\n\...
[ { "msg_contents": "Alvaro, one of our hackers and committers and my colleague more than 4\nyears, had a new baby today. \n\nCongrats Alvaro for his second daughter !\n\t\n-committers, please commit your patches for our new baby elephant!\n-- \nDevrim GÜNDÜZ, RHCE\nCommand Prompt - http://www.CommandPrompt.com \...
[ { "msg_contents": "Hi!\n\nThe ecpg patch at\nhttp://git.postgresql.org/gitweb?p=postgresql.git;a=commit;h=2f567552\ncauses a compile warning on win64 (andi think win32, but I didn't\nrecheck that). Specifically, line 140 of typename.c has:\n return (-type);\n\nWhere type is of type Oid, which is unsi...
[ { "msg_contents": "The attached patch implements RADIUS authentication (RFC2865-compatible).\n\nThe main usecase for me in this is the ability to use (token based)\none-time-password systems easily with PostgreSQL. These systems almost\nalways support RADIUS, and the implementation is fairly simple. RADIUS\ncan...
[ { "msg_contents": "PFA a revised attoptions patch. This may still be a little rough\naround the edges, but I wanted to get it out there for feedback. This\nwould replace ALTER TABLE ... SET STATISTICS DISTINCT.\n\nI am not very happy with ATPrepSetOptions(). I basically just\nretained the logic from ATPrepSe...
[ { "msg_contents": "pg_dump sorts its output first by object type, then by object name, and\nthen processes all that for dependencies. This works well, but for\noverloaded functions this still gives a random sort order that can\nproduce annoying diffs in the dump.\n\nWould it be acceptable to introduce a second...
[ { "msg_contents": "Well, folks, it's that time again! CommitFest 2010-01 will begin in\njust a few days (specifically, Fri Jan 15 00:00:00 UTC) and we are in\nneed of reviewers. If you're willing to help out, please drop me an\nemail and I'll assign you a patch; if you have a preference, please\nlet me know t...
[ { "msg_contents": "Thanks for all the feedback!\n\nI'm going to try to summarize and address the issues raised.\n\n(Meanwhile I've started spliting the patch into at least three parts,\nper Andrew's suggestion: utility functions, the GUCs, the rest.)\n\n\n* Long GUC values\n\nI think the underlying assumption t...
[ { "msg_contents": "Hi,\n\nThe topic came on IRC and it might be that the later attempts at using\nanother library missed one of the offering, namely FastLZ. It's made for\nbeing quick rather than minimize size, it's MIT licenced, 551 lines of\nportable ansi-C code, already tested on a host of systems and compil...
[ { "msg_contents": "Hi guys,\n\nI get the dbt2 project from the git tree. And i'm trying to make it work\nwith postgres. The problem is in one of the dbt2 shell scripts. Since I dont\nunderstand of Shell Script Programing, here is my problem: (I will post the\nscript on the end)\n\n1 - I executed:\n dbt2-pgsql-...
[ { "msg_contents": "pagila=# select * from information_schema.table_privileges;\nTRAP: FailedAssertion(\"!(idx[0] < (((int *) (((char *) (acl)) + \nsizeof(ArrayType)))[0]))\", File: \"acl.c\", Line: 1740)\nserver closed the connection unexpectedly\n This probably means the server terminated abnormally\n ...
[ { "msg_contents": "There is a memory leak in dblink when we cancel a query during\nreturning tuples. It could leak a PGresult because memory used\nby it is not palloc'ed one. I wrote a patch[1] before, but I've\nbadly used global variables to track the resource.\n\nThe attached is a cleaned up patch rewritten t...
[ { "msg_contents": "Hello\n\nI checked query and I was surprised with very strange plan:\n\npostgres=# create table a(a int primary key);\nNOTICE: CREATE TABLE / PRIMARY KEY will create implicit index\n\"a_pkey\" for table \"a\"\nCREATE TABLE\npostgres=# create table b(b int primary key);\nNOTICE: CREATE TABLE...
[ { "msg_contents": "Psql shows too many parentheses when it prints triggers with WHEN clause.\n\npostgres=# \\d t1\n Table \"public.t1\"\n Column | Type | Modifiers\n--------+---------+-----------\n c1 | integer |\nTriggers:\n mytrig AFTER UPDATE ON t1 FOR EACH ROW\n WHEN ((old.c1 <> new.c1)) E...
[ { "msg_contents": "Hello\n\nit doesn't support EXPLAIN as possible begin of SQL statement:\n\npostgres=# create or replace function foo(_a int) returns void as\n$$declare s varchar; begin for s in explain select * from omega where\na = _a loop raise notice '%', s; end loop; return; end; $$ language\nplpgsql;\nC...
[ { "msg_contents": "hi,\n\nthis patch implements SQL side tracing / tracking of statements and \nstatement execution times.\nit is primarily intended to allow programmers to gather information \nabout the runtime behavior of a program and to figure out easily where \nthe bottlenecks are.\ni used the ECPG prep...
[ { "msg_contents": "Hopefully this won't digress into a top-to-bottom discussion of all\naspects of implementing serializable transactions again, but I have\nwhat I hope is a quick question.\n \nThe \"easy\" part of implementing SIREAD level predicate locking\nshould be to get a lock on each visible tuple which ...
[ { "msg_contents": "Tom Lane wrote:\n\"Kevin Grittner\" writes:\n \n>> It's obviously too low level to be the right place to check\n>> whether we're in serializable mode and take out locks, but if I\n>> look at the callers (like IndexNext or TidNext) which use a valid\n>> buffer in a call to ExecStoreTuple, sh...
[ { "msg_contents": "Reporting as requested, there are two things our projects\ncontinue to need xml2 for, and a third which we conceptually\nneed xml2 for:\n\n(1) We need some way to do xslt processing.\n\n(2) We need the equivalent of xml_is_well_formed(text), e.g.\na documented way to call XMLPARSE speculative...
[ { "msg_contents": "I found following strange error on gothic moth:\n\n\n================== pgsql.22658/src/test/regress/regression.diffs \n===================\n*** \n/zfs_data/home/postgres/buildfarm/gothic_moth/HEAD/pgsql.22658/src/test/regress/expected/vacuum.out \nTue Jan 12 22:06:13 2010\n--- \n/zfs_data/ho...
[ { "msg_contents": "Our documentation suggests that you can take a base backup of a warm\nstandby server while it's running:\n\n> If we take a backup of the standby server's data directory while it is processing logs shipped from the primary, we will be able to reload that data and restart the standby's recovery...
[ { "msg_contents": "README.bloom:\n\ncontrib/bloom provides signature file based index.\n\nAuthors: Teodor Sigaev (teodor@sigaev.ru) and Oleg Bartunov (oleg@sai.msu.su)\n\nNotes: This is a *working* prototype, which can be finishing up to production\nin case of interest. Particularly, it misses wal support, beca...
[ { "msg_contents": "We've been chewing around query cancel on Hot Standby and I think things\nhave got fairly confusing, hence a new thread.\n\nI enclose a patch that includes all the things that we all agree on so\nfar, in my understanding\n\n* Recovery conflict processing uses SIGUSR1 rather than shmem per Tom...
[ { "msg_contents": "Hello all,\n\nI am a student-magister and I'm writting my magister work. I realized gist\nindex TPR tree - it is like a simple R tree but moving :)\nEverything is compiling ok, I creating table and index, but after whese code\n- DB is restarting :(((\n*\n*\n*set enable_seqscan = false\nselect...
[ { "msg_contents": "January 13, 2010\n\nPostgreSQL Conference East, The PostgreSQL Conference for Decision\nMakers, End Users and Developers, is being held at the Radisson Plaza,\nWarwick Hotel in Philadelphia on March 25th through 28th.\n\nThis is the second call for papers for this conference. You can review\n...
[ { "msg_contents": "This is the first of the patches to be split out from the former 'plperl\nfeature patch 1'.\n\nChanges in this patch:\n\n- Added utility functions: quote_literal, quote_nullable, quote_ident,\n encode_bytea, decode_bytea, looks_like_number,\n encode_array_literal, encode_array_construct...
[ { "msg_contents": "I am realizing gist index and get a bug, that crashes DB. I' debugged my\nprogram as Robert(thanks !) advised me and I know which procedure crashed.\n\n*Datum gist_mov_consistent(PG_FUNCTION_ARGS)*\n*{*\n* GISTENTRY *entry = (GISTENTRY *)PG_GETARG_POINTER(0);*\n* BOX *query = PG_GETARG_...
[ { "msg_contents": "When you look at a table definition with psql \\d, one of the arguably\nmost important pieces of information -- the primary key -- is hidden\nsomewhere below under \"indexes\":\n\n Table \"public.test2\"\n Column | Type | Modifiers\n--------+---------+-----------\n a | integer | no...
[ { "msg_contents": "I was surprised/annoyed to find out that there is no way to have\nper-user pg_service.conf, something like ~/.pg_service.conf (well,\nexcept by export PGSYSCONFDIR). That would be easy to add. Comments?\n\n", "msg_date": "Wed, 13 Jan 2010 23:49:59 +0200", "msg_from": "Peter Eisentra...
[ { "msg_contents": "Patch authors, please make sure your patches are listed on\ncommitfest.postgresql.org.\n\nhttps://commitfest.postgresql.org/action/commitfest_view/open\n\nAll, we still need reviewers for the following patches.\n\nNew XLOG record indicating WAL-skipping\nFix large object support in pg_dump\nk...
[ { "msg_contents": "I noticed odd stuff showing up when I fired up an 8.3 psql after using psql in HEAD. It shows up in .psql_history as well:\n\ndecibel@platter.1[20:32]~:5%tail -n 2 .psql_history\n\\134df+\\040tools.raise_exception\n\\df+ tools.raise_exception\ndecibel@platter.1[20:35]~:6%\n\n(last entry is fr...
[ { "msg_contents": "Hi,\n\nWe support several methods for logging server messages. The \"native\" methods\n(stderr, csvlogs) has poor management. We can't compress logs, send them to\nanother location/server, or just remove old ones. Another problem is that we\ncan't remove (automatically) old logs based on the ...