threads
listlengths
1
2.99k
[ { "msg_contents": "Hi\n\nHere is an updated patch, following the discussion.\nThe patch can be found at: http://soc.phlo.org/lazyxidassign.v4.patch\n(I seems I still can't get attachments through to this list)\n\nMost changes are just small fixes and tweaks. Those are\n.) Introduced %v for log_line_prefix\n.) I...
[ { "msg_contents": "\nI would like to add an argument to pg_regress that allows us to set some \nconfig options for the temp install. Specifically right now I am \ninterested in setting the following:\n\n log_line_prefix = '[%c] '\n log_statement = 'all'\n log_connections = 'true'\n\nBut I think it makes more...
[ { "msg_contents": "Trying to build 8.3 from the stable snapshot again (yes, I'm a glutten for \npunishment), and using the following config options:\n\n./configure --prefix=/home/rob/devel/postgresql/83snapshot20070904/pgsql/ \n--enable-cassert --with-perl --enable-debug --with-pgport=5483 --with-libxml\n\nI ge...
[ { "msg_contents": "I was thinking about pl/pgsql and comparing it with pl/sql function\nresult cache, featured in Oracle 11g - see\nhttp://www.oracle.com/technology/oramag/oracle/07-sep/o57plsql.html\n\nIs it possible to get pl/pgsql function result cache functionality into PostgreSQL real soon?\n\nBest,\nPeter...
[ { "msg_contents": "Hi!\n\nI found two queries which do the same thing but they is very different in time. \nFor test suite it's about 10^3 times, but on real data it can be 10^5 times. \nIt's observed on 8.1-current, 8.2-current and CVS HEAD versions. Interesting \nthat even without LIMIT clause they take appro...
[ { "msg_contents": "I have a database where I'd created a copy of pg_class in public.\npgAdmin shows that the table exists, but \\d doesn't. This is because of\nhow pg_table_is_visible works, specifically this comment:\n\n/*\n * If it is in the path, it might still not be visible; it could be\n * hidden by anoth...
[ { "msg_contents": "I've committed Florian's patch, but there remain a couple of things\nthat need work:\n\n* Should CSV-mode logging include the virtual transaction ID (VXID) in\naddition to, or instead of, XID? There will be many situations where\nthere is no XID.\n\n* As things stand, when a two-phase transa...
[ { "msg_contents": "There are a bunch of places where we do things like\n\n\t\tPGPROC\t *proc = arrayP->procs[index];\n\t\t/* Fetch xid just once - see GetNewTransactionId */\n\t\tTransactionId pxid = proc->xid;\n\n\t\t... use pxid several times ...\n\nIn the case where \"use pxid\" involves a function call, t...
[ { "msg_contents": "The SQL:2003 standard definition of SET TRANSACTION differs in major\nways from PostgreSQL's, which produces some interesting behaviour. \n\nWe currently claim conformance, though this is not accurate.\n\n...\n<SQL2003>\nIf a <set transaction statement> that does not specify LOCAL is\nexecute...
[ { "msg_contents": "Tom gets credit for naming the attached patch, which is my latest attempt to \nfinalize what has been called the \"Automatic adjustment of \nbgwriter_lru_maxpages\" patch for 8.3; that's not what it does anymore but \nthat's where it started.\n\nBackground on testing\n---------------------\n\...
[ { "msg_contents": "Hi Hackers,\n\nIn my Project i have to handle a Database with 600 GByte Text only, \ndistributed on 4 Tablespaces\non multiple Harddisks and Remote SAN's connected via Gigaethernet to the \nRemote SAN-Storage.\n\nI need more flexibility by doing Backups of my big Database, but the \nbuilt in ...
[ { "msg_contents": "Hi Korry,\n\nI am having problems with getting the debugger to work. Setup:\n\nOS: Windows XP\nPostgresql Version: 8.2.4 compiled with VC++ 2005\n\nSince my version of pg is built with VC++ I thought it wise to also use \nVC++ for the debugger plugin. So I converted the Makefile into 3 \ndi...
[ { "msg_contents": "Simon was complaining a bit ago that we still have problems with\nexcessive contention for the ProcArrayLock, and that much of this stems\nfrom the need for transaction exit to take that lock exclusively.\nThe lazy-XID patch, as committed, doesn't help that situation at all,\nsaying\n\n ...
[ { "msg_contents": "While reading one of the recent -perform threads, it occurred to me to\ncheck, and the 8.2.4 Win32 release binaries aren't marked \"large\naddress aware\". This means the process gets a 2GB VM space, which is\nnormal for 32bit Windows. On x64, my understanding is that each 32\nbit process c...
[ { "msg_contents": "I'm running Vista x64 and while I can successfully install PG, I \ncan't seem to get PL/JAVA installed. The installer doesn't recognize \nthat I have a JRE installed (I do) and the option is grayed out \nduring installation.\n\nSo a couple of questions:\n\n1) Should PL/JAVA be able to be inst...
[ { "msg_contents": "access/gin/README describes the Gin interface, but it hasn't been\nupdated since the change to extractQuery interface to allow \"no query\ncan match\" return value.\n\nSince that interface documentation has been copied to the manual,\ngin.sgml, section 52.2, which is up to date, how about we ...
[ { "msg_contents": "Hi,\n\nI'm asking for advice and hints regarding terms in database replication, \nespecially WRT Postgres-R. (Sorry for crossposting, but I fear not \nreaching enough people on the Postgres-R ML alone)\n\nI'm struggling on how to classify the Postgres-R algorithm. Up until \nrecently, most pe...
[ { "msg_contents": "\nI notice we sort the stop word list after we read it into memory.\n\nWouldn't it be easier to\n\n1. Sort the stopword lists in the main distribution\n\n2. Require them to be sorted\n\n3. Remove the sort from readstoplist()\n\nWe should at very least do (1) to improve the sort speed at start...
[ { "msg_contents": "Hello\n\nlast time I checked utf8 database. Now I checked latin2 encoding\ndatabase. I used dictionaries from last test.\n\nclient_encoding | utf8\nlc_collate | cs_CZ.iso-8859-2\nlc_ctype | cs_CZ.iso-8859-2\nlc_messages ...
[ { "msg_contents": "Be forewarned - this is probably a very long post, and I'm just a mere \nmortal (ie. admin) who doesn't write copious amounts of C code. Take \nthe following posts and suggestions with a grain of salt.\n\nSo I've been seeing/hearing all of the hoopla over vertical databases \n(column stores)...
[ { "msg_contents": "Just wondering if it is already in 8.3 with a new name, or if not if there are \nplans to add it? TIA\n\n-- \nRobert Treat\nBuild A Brighter LAMP :: Linux Apache {middleware} PostgreSQL\n", "msg_date": "Fri, 07 Sep 2007 17:52:01 -0400", "msg_from": "Robert Treat <xzilla@users.sourcef...
[ { "msg_contents": "In hindsight, I did miss quite a bit in my last post. Here's a summary \nthat might clear it up:\n\nAdd a single keyword that specifies that the storage format changes \nslightly. The keyword should not affect SQL compliancy while still \nextending functionality. It can be specified as eit...
[ { "msg_contents": "\n\n\n\nAvery,\n\n<my ramblings snipped>\n\n>If someone writes the rest of the code, I doubt the syntax will be the \n>holdup. But writing an efficient C-store table mechanism is much harder \n>than I think you think it is; Vertica worked on it for a year and failed, \n>and Paraccel took two...
[ { "msg_contents": "This patch implements Florian's idea about how to manage snapshot xmax\nwithout the ugly and performance-losing tactic of taking XidGenLock and\nProcArrayLock at the same time. I had to do a couple of slightly klugy\nthings to get bootstrap and prepared transactions to work, but on the\nwhol...
[ { "msg_contents": "On my x86_64 machine, CVS HEAD is throwing the following scary-looking\nwarnings:\n\nto_tsany.c: In function 'pushval_morph':\nto_tsany.c:247: warning: cast from pointer to integer of different size\nto_tsany.c: In function 'to_tsquery_byid':\nto_tsany.c:306: warning: cast to pointer from int...
[ { "msg_contents": "Hi all,\n\nRealizing that the mentioned TODO item discussed at\nhttp://archives.postgresql.org/pgsql-hackers/2006-12/msg00255.php<http://archives.postgresql.org/pgsql-hackers/2006-12/msg00255.php>can\nbe useful for myself and others as well, I would like to go ahead and\nimplement it.\n\nSyno...
[ { "msg_contents": "\nI have been looking at fixing the issue of accepting strings that are \nnot valid in the database encoding. It appears from previous discussion \nthat we need to add a call to pg_verifymbstr() to the relevant input \nroutines and ensure that the chr() function returns a valid string. That \...
[ { "msg_contents": "Hi there,\n\nseems something is broken in ispell dictionary (CVS HEAD).\n\nevent=# CREATE TEXT SEARCH DICTIONARY en_ispell (\n TEMPLATE = ispell,\n DictFile = english,\n AffFile = english,\n StopWords = english\n);\nCREATE TEXT SEARCH DICTIONARY\nevent=# selec...
[ { "msg_contents": "I brought back clownfish(still a bit dubious about the unexplained\nfailures which seem vmware emulation bugs but this one seems to be\neasily reproduceable) onto the buildfarm and enabled --with-openssl\nafter the the recent openssl/pgcrypto related fixes but I'm still\ngetting a backend cra...
[ { "msg_contents": "Attached is the patch for the TODO item mentioned at\nhttp://archives.postgresql.org/pgsql-hackers/2007-09/msg00352.php\n\nThe command has the following synopsis:\n\n\\#: displays the command history. Like \\s but prefixes the lines with line\nnumbers\n\n\\# <line_no>: executes the command(if...
[ { "msg_contents": "When I was playing with pgbench testing yesterday, one thing that seemed\na bit odd was that turning off synchronous_commit didn't change the\nresults noticeably. It took till today for the reason to penetrate\nmy cranium: it was off already.\nhttp://archives.postgresql.org/pgsql-hackers/200...
[ { "msg_contents": "Hi\n\nI've already posted this idea, but I feel that I did explain it\nrather badly. So here comes a new try.\n\nCurrently, we do not assume that either the childXids array, nor\nthe xid cache in the proc array are sorted by ascending xid order.\nI believe that we could simplify the code, fur...
[ { "msg_contents": "It seems possible to write your own functions to support various\npossibilities with text search.\n\nOne of the more common thoughts is to have a list of words that you\nwould like to include, i.e. the opposite of a stop word list. \n\nThere are clear indications that indexing too many words ...
[ { "msg_contents": "More random thoughts:\n\n- Hash-Indices are best for unique keys, but every table needs a new hash \nkey, which means one more random page access. Is there any way to build \nmulti-_table_ indices? A join might then fetch all table rows with a given \nunique key after one page fetch for the c...
[ { "msg_contents": "Hi,\n\nI tried to understand how ts_rank works, but I failed. What does Cover\nfunction do? How does it work? What is the DocRepresentation data\nstructure like? I can see the definition of the struct, and the\nget_docrep function to convert to that format, but by reading those I\ncan't figur...
[ { "msg_contents": "\n\n\n\n\n\n>ISTM we would be able to do this fairly well if we implemented\n>Index-only columns. i.e. columns that don't exist in the heap, only in\n>an index. \n\n>Taken to the extreme, all columns could be removed from the heap and\n>placed in an index(es). Only the visibility information ...
[ { "msg_contents": "I have just noticed that a column \"txn_start\" has appeared in\npg_stat_activity since 8.2. It's a good idea, but who chose the name?\nWe do not use that abbreviation for \"transaction\" anywhere else in\nPostgres, certainly not in any user-exposed places.\n\nI'm inclined to rename it to \"...
[ { "msg_contents": "dugong has been failing contribcheck repeatably for the last day or so,\nwith a very interesting symptom: CREATE DATABASE is failing with\n\nERROR: could not fsync segment 0 of relation 1663/40960/41403: No such file or directory\nERROR: checkpoint request failed\nHINT: Consult recent mess...
[ { "msg_contents": "I've completed a review of all of the LWlocking in the backends. This is\ndocumented in the enclosed file. I would propose that we use this as\ncomments in lwlock.h or in the README, if people agree.\n\nA number of points emerge from that analysis:\n\n1. The ProcArrayLock is acquired Exclusiv...
[ { "msg_contents": "Since the money type has a locale dependent input and output format, there has \nto be some context saved when a database dump is created. For example, if \nyour environment uses a locale that uses the opposite point-vs-comma \nconventions from English (e.g., de_DE), then the following will ...
[ { "msg_contents": "There is a problem in PL/TCL that can cause the postgres backend to \nbecome multithreaded. Postgres is not designed to be multithreaded, so \nthis causes downstream errors in signal handling. We have seen this \ncause a number of \"unexpected state\" errors associated with notification \n...
[ { "msg_contents": "Preparations are being made for PostgreSQL releases 8.2.5, 8.1.10,\n8.0.14, 7.4.18, 7.3.20. The CVS branches are nearly ready. The\nreleases will happen sometime early next week. The packagers have been\ncontacted.\n\n-- \n Bruce Momjian <bruce@momjian.us> http://momjian.us\n E...
[ { "msg_contents": "While editing Bruce's README.HOT documentation I ran into a problem.\nI had idly added the following text after thinking about the different\nsorts of snapshots we use:\n\n---\nAnother unpleasant consequence is that it is no longer very meaningful to\nuse SnapshotAny in an index scan: if the ...
[ { "msg_contents": "I found CVS HEAD is broken and the following error is reported.\nMy environment is RHEL4 Update 2 x86_64 with gcc 3.4.4 and flex 2.5.33.\n\nIn file included from ../../../src/include/port.h:17,\n from ../../../src/include/c.h:841,\n from ../../../src/include/po...
[ { "msg_contents": "I just saw that my buildfarm member (running ICC 9.0 on linux) failed\nafter the latest change to configure\n\nhttp://www.pgbuildfarm.org/cgi-bin/show_log.pl?nm=mongoose&dt=2007-09-11%2020:45:01\n\nI was the one who sent in the first patch to configure to add the check\nfor ICC, and as I reca...
[ { "msg_contents": "Hi hackers,\n\nI note that we currently expose the usefulness of the quote_identifier\nfunction to the user with quote_ident(text).\n\nIs there any reason we shouldn't do the same with quote_qualified_identifier?\n\nWe could just add a quote_qualified_ident(text, text) ... it would\nmake form...
[ { "msg_contents": "All windows boxes are failed on tsdicts test:\nhttp://www.pgbuildfarm.org/cgi-bin/show_log.pl?nm=mastodon&dt=2007-09-12%2007:00:00\nhttp://www.pgbuildfarm.org/cgi-bin/show_log.pl?nm=skylark&dt=2007-09-12%2003:00:01\nhttp://www.pgbuildfarm.org/cgi-bin/show_log.pl?nm=baiji&dt=2007-09-11%2022:00...
[ { "msg_contents": "Hi\n\nWhen I initially proposed to use the latest *committed* xid as the xmax instead\nof ReadNewTransactionId(), I believed that this would cause tuples created by a\nlater aborted transaction not to be vacuumed until another transaction (with a\nhigher xid) commits later. The idea was there...
[ { "msg_contents": "All,\n\nA Hibernate developer pointed out the following odd behavior to me in 8.2.1:\n\ncreate table test ( test1 text );\ncreate table test2 ( test_col text );\ncreate rule test_insert as on insert to test do instead insert into test2 \nvalues ( NEW.test1 ) RETURNING test2.test_col;\n\npostg...
[ { "msg_contents": "I find the HOT patch's representation of redirected line pointers pretty\nklugy. It's got a magic offset number to mean one thing, and a magic\nlength number to mean something else, and the assumption that either of\nthese can't correspond to a real offset or length seems pretty weak.\n(It w...
[ { "msg_contents": "Why is there a limitation of 256 positions per lexeme in a tsvector?\nThere doesn't seem to be a technical reason for that. WordEntryPosVector\nuses a uint16 to store the number of positions, so it go up to 65535.\n\n-- \n Heikki Linnakangas\n EnterpriseDB http://www.enterprisedb.com\n", ...
[ { "msg_contents": "We know that HOT can cause line pointer bloat because of redirect dead\nline pointers. In the worst case there could be MaxHeapTuplesPerPage\nredirect-dead line pointers in a page. VACUUM can reclaim these line\npointers and mark them ~LP_USED (what is now called LP_UNUSED).\nBut we don't re...
[ { "msg_contents": "Hi,\n\nDarcy Buskermolen noticed that when one has many databases, the autovac\nlauncher starts eating too much CPU.\n\nI tried it here with 200 databases and indeed it does seem to eat its\nshare. Even with the default naptime, which I wouldn't have thought\nthat was too high (it does make ...
[ { "msg_contents": "Hello,\nI am a developer, I am working in the creation of hypothetical index in the\ndata base postgresql 8.2.4. I have a problem, the data base init normally\nbut when I try to connect to the database it shows the following error:\nTRAP: FailedAssertion(\"!(!isnull)\", File: \"relcache.c\", ...
[ { "msg_contents": "AFAICS, the whole indcreatexid and validForTxn business is a waste of\ncode. By the time CREATE INDEX CONCURRENTLY is ready to set indisvalid,\nsurely any transactions that could see the broken HOT chains are gone.\nThere might have been some reason for this contraption before we had\nplan i...
[ { "msg_contents": "I am now satisified with the tsearch2 documentation in SGML and have\nmarked the item as complete for 8.3.\n\n-- \n Bruce Momjian <bruce@momjian.us> http://momjian.us\n EnterpriseDB http://www.enterprisedb.com\n\n + If your life is a hard drive, Chri...
[ { "msg_contents": "Hi,\n\nI wonder why all messages going through errcontext function are not\ntranslatable. I found this when working on PL/pgsql but it seems other\nfunctions (like COPY, see backend/commands/copy.c) call errcontext and\nnone propose translatable messages.\n\nCan I send a patch so we can trans...
[ { "msg_contents": "Hi,\n\nI'm going to be away until next Thursday, because of our National\nfestivity on 17-19 Sept (normally it's just 18-19 but this year they\ngave the Monday off as well, just to annoy bosses and to try to calm\ndown the rather revolted climate).\n\nI hope I applied all patches that needed ...
[ { "msg_contents": "I'm in the process of converting some C functions written for another system\ninto C functions in a shared library that will be used by PostgreSQL, The\nkey function will be the state transition function for a user-defined\naggregate. From what I've read in the documentation:\n\n1. the state ...
[ { "msg_contents": "Hi.\nIn 8.2 this produces an error:\n\nSELECT headline('default', 'a b c', 'c'::tsquery,\n'StartSel=<span class=\"style1\">, StopSel=</span>');\nERROR: syntax error\nDETAIL: Syntax error in position 15.\n\nwhile this works:\nSELECT headline('default', 'a b c', 'c'::tsquery,\n'StartSel=<b>, ...
[ { "msg_contents": "I have updated the patches queue to show all open items:\n\n\thttp://momjian.us/cgi-bin/pgpatches\n\nI am looking for guidance on applying patches or keeping items for 8.4.\nI will keep this URL updated from now until we release 8.3.\n\n-- \n Bruce Momjian <bruce@momjian.us> http:/...
[ { "msg_contents": "While looking at the HOT patch I suddenly started to question the sanity\nof vacuumlazy.c's count_nondeletable_pages(). It sits there and does a\nHeapTupleSatisfiesVacuum on any tuples it finds, and is willing to\ntruncate away a page that contains only DEAD tuples. The problem with\nthis t...
[ { "msg_contents": "hi,\n\nI use postgresql 8.2 and I cant see database diagram on pgAdmin III, I think it can be . it is there , isnt it ?\n\n\n \n____________________________________________________________________________________\nGot a little couch potato? \nCheck out fun summer activities for kids.\...
[ { "msg_contents": "\nI think the change to the hash functions needs to be called out in the release\nnotes.\n\nIf anyone stored any results of hashintN, hashfloat8, etc in their database or\noutside the database those results will have changed. It's fairly unlikely but\nthere could be someone out there doing th...
[ { "msg_contents": "Hi,\n\nIs there a way to have access to PostgreSQL query plan and/or predicates\ninside a function using spi (or any other way)?\nFor example:\n\nexplain select * from my_func() as (code int, name varchar) where name like\n'a%';\n QUERY PLAN\n-------------------------...
[ { "msg_contents": "Just for information. Venezuela is going to have new timezone change \n(30minutes shift) on this weekend. This change is not yet integrated in \nthe last version in Olson database. (Original announcement said it \nhappens on 1.1.2008)\n\nMore info:\n\nhttp://www.reuters.com/article/oddlyEnoug...
[ { "msg_contents": "Hello,\n\nI am a graduate student of computer science and I have been looking at \nPostgreSQL for my master's thesis work.\n\nI am looking into implementing raw device I/O for large objects into \nPostgreSQL (maybe for all storage, I'm not sure which would be \neasier/better). I am extremely ...
[ { "msg_contents": "I have finished a first review pass over all of the HOT patch\n(updated code is posted on -patches). I haven't found any showstoppers,\nbut there seem still several areas that need discussion:\n\n* The patch makes undocumented changes that cause autovacuum's decisions\nto be driven by total ...
[ { "msg_contents": "Index organized tables would do this and it would be a generic capability.\n\n- Luke\n\nMsg is shrt cuz m on ma treo\n\n -----Original Message-----\nFrom: \tGeorgi Chulkov [mailto:godji@metapenguin.org]\nSent:\tMonday, September 17, 2007 11:50 PM Eastern Standard Time\nTo:\tTom Lane\nCc:\tpgs...
[ { "msg_contents": "FYI, I am speaking in Moscow twice in the next week. I leave tomorrow\n(Wednesday), and return the following Thursday, 9/27. I am staying with\nTeodor so will have internet access and will try to address any major\nissues while I am away.\n\n-- \n Bruce Momjian <bruce@momjian.us> ...
[ { "msg_contents": "Hi all,\n\nAs we will soon enter beta, I decided to give a try to 8.3devel. The\nfirst step is of course to load a dump from an existing database.\n\nThe dump is a text dump of 1.6 GB (database is approximately 4 GB).\n\nThe restore is far slower than with 8.2. From time to time ALTER TABLE\n...
[ { "msg_contents": "Log Message:\n-----------\nClose previously open holes for invalidly encoded data to enter the \ndatabase via builtin functions, as recently discussed on -hackers. \n\nchr() now returns a character in the database encoding. For UTF8 encoded databases\nthe argument is treated as a Unicode code...
[ { "msg_contents": "Hello,\n\n\"pg_ctl -w -D ... start\" doesn't work when unix_socket_directory is set\nto somewhere else than the compiled in default (\"/tmp\"). Having this is\nuseful for the startup scripts, so the status \"DONE\" actually means\nsuccess, instead of \"maybe\".\n\nJeff Davis wrote about it a...
[ { "msg_contents": "Hello,\nI am with a problem. When I am using debugger, breakpoints that they are\ninside of main function (stop the execution in the marked point) but when\nbreakpoint is marked in another archive (index.c for example) breakpoint\ndoes not function (the execution in the point does not stop), ...
[ { "msg_contents": "Hi,\n The Current architecture of Updates in PostgreSQL is\n1) Make a select query out of update. It involves a READ lock/BUFFER_SHARE\n2) Get the tupleid\n3) Goto the buffer containing the tupleid, make a BUFFER_EXCLUSIVE lock on\nit\n4) update it\n5) Repeat the above process for subsequen...
[ { "msg_contents": "while rebuilding pgsql with msvc 2005 I noticed this compiler warning:\n\n.\\src\\interfaces\\ecpg\\ecpglib\\execute.c(1495): warning C4700: \nuninitialized local variable 'prepname' used\n\nECPGfree(prepname) is called in line 1495, prepname was not\nunitialized befor. Below the line 1495 EC...
[ { "msg_contents": "while rebuilding postgres with msvc 2005 I noticed some minor compiler \nwarnings:\n\n.\\src\\backend\\utils\\adt\\tsrank.c(24): warning C4305: 'initializing' : \ntruncation from 'double' to 'float'\n.\\src\\backend\\utils\\adt\\tsrank.c(24): warning C4305: 'initializing' : \ntruncation from ...
[ { "msg_contents": "I've committed the HOT patch. I'd still like to think about whether we\ncan be smarter about when to invoke pruning, but that's a small enough\nissue that the patch can go in without it.\n\n\t\t\tregards, tom lane\n", "msg_date": "Thu, 20 Sep 2007 13:59:43 -0400", "msg_from": "Tom La...
[ { "msg_contents": "Hi,\n\nI am Sri Ramadoss from, Chennai, India interested in forming & taking up the \nresponsibility of Localising Postgre into my native language Tamil.\n\nI am also interested in forming a Community for Postgre in TamilNadu, a State \nof India. Tamil is spoken by around 70 million people ac...
[ { "msg_contents": "Hi,\n\nI encountered segfaults in a multi-threaded ecpg application. It uses\nPREPARE statements concurrently in several threads. The cause seems to\nbe the global variable 'prep_stmts' in ecpg/ecpglib/prepare.c .\nIt is accessed without any locks.\n\nI'm trying to fix it, but there are some ...
[ { "msg_contents": "Hi \n \nI have just installed PostgreSQL 8.1 on a Windows XP system with a \nNTFS filesystem. Everything seemed to work fine until I executed the \ncommand promt option from the PostgreSQL start button. \n \nI wanted to create my first database by typing \"createdb mydb\" and \nwas asked for ...
[ { "msg_contents": "Regarding this item in the TODO:\n\n SQL*Net listener that makes PostgreSQL appear as an Oracle database\n to clients\n\nI recently had (an unrelated) reason to look into the SQL*Net protocol\nand discovered that no documentation for it is publicly available, and\nreverse-engineering it...
[ { "msg_contents": "I was wondering how to access the schema of a type in PL/PGSQL\n\nBasically, we've created some custom objects in the database, which\nare somewhat similar to database/composite types (i.e. Create type..)-\nessentially a named list of name/type pairs.\n\nIn PL/PGSQL you can define variables t...
[ { "msg_contents": "Ok, this removes what should be most if not all of the call sites where we're\ndetoasting text or byteas. In particular it gets all the regexp/like functions\nand all the trim/pad functions. It also gets hashtext and hash_any.\n\n\n$ zcat packed-varlena-efficiency_v0.patch.gz | diffstat\n bac...
[ { "msg_contents": "Hi hackers,\n\nI've noticed that there is a lot of code, particularly in src/backend,\nthat goes through the motions of making a text datum into a cstring to\nperform some work on it, and likewise for making a cstring into a text\ndatum.\n\nIs there not a nice macro somewhere to handle this c...
[ { "msg_contents": "Log Message:\n-----------\nTemporarily modify tsearch regression tests to suppress notice that comes\nout at erratic times, because it is creating a totally unacceptable level\nof noise in our buildfarm results. This patch can be reverted when and if\nthe code is fixed to not issue notices d...
[ { "msg_contents": "[ just when you thought it was safe to go back in the water ]\n\nIn threads starting here and here:\nhttp://archives.postgresql.org/pgsql-hackers/2007-07/msg00874.php\nhttp://archives.postgresql.org/pgsql-hackers/2007-08/msg00043.php\nI believe we had reached consensus on the following points...
[ { "msg_contents": "Hi\n\nWhen reading Tom's comment about the bug in my \"use latestCompletedXid \nto slightly speed up TransactionIdIsInProgress\" patch, I remembered that \nI recently stumbled across GCC builtins for atomic test-and-test and\nread/write reordering barriers...\n\nHas anyone looked into those? ...
[ { "msg_contents": "I was trying out the msvc support, and ran into a minor problem in the\ninstall.bat/install.pl\n\n \n\nIf any files that are going to be installed are marked read-only, they\ncarry the read-only attribute with them when they get copied to the\ninstall dir.\n\n \n\nThen, if you try to run inst...
[ { "msg_contents": "It seems like there isn't any good reason the perl scripts for the MSVC\nbuild don't support readline\n\n \n\nReadline for windows is available as part of the GnuWin32 project. \n\n \n\nhttp://gnuwin32.sourceforge.net/packages/readline.htm\n\n \n\nIt normally installs to \"c:\\Program Files\\...
[ { "msg_contents": "Log Message:\n-----------\nReduce the size of memory allocations by lazy vacuum when processing a small\ntable, by allocating just enough for a hardcoded number of dead tuples per\npage. The current estimate is 200 dead tuples per page.\n\nPer reports from Jeff Amiel, Erik Jones and Marko Kr...
[ { "msg_contents": "Hi hackers,\n\nIn the process of trying to unify the various text/cstring conversions\nin the backend, I came across some stuff that seemed weird in\npg_convert().\n\n>From src/backend/utils/mb/mbutils.c:345:\n\nDatum\npg_convert(PG_FUNCTION_ARGS)\n{\n bytea *string = PG_GETARG_TE...
[ { "msg_contents": "I get the above error message when creating a database in pgAdmin now:\n\nCREATE DATABASE demo\n WITH ENCODING='SQL_ASCII'\n TABLESPACE=pg_default;\nCOMMENT ON DATABASE demo IS 'This is the demo database';\nGRANT ALL ON DATABASE demo TO public;\nALTER DATABASE demo SET search_path=demo...
[ { "msg_contents": "Hello folks :)\n\nI am working on a system that is possible to configure to work with\nseveral DBMSes, including PG.\n\nMy problem is that PG behaves differently than other supported DBMSes\n(MSSQL and MySQL) - when I'm passing a query containing LIKE phrase to\nit, a double amount of '/' lit...
[ { "msg_contents": "\n\nWe previously discussed compressing the numeric data type for small values:\n\nhttp://archives.postgresql.org/pgsql-hackers/2007-06/msg00715.php\n\nWe didn't do this for 8.3 but in any case Tom did suggest we ought to reverse\nthe weight and sign/dscale so we could do this sometime withou...
[ { "msg_contents": "\nI have reduced the build and regress .bat files to one liners:\n\nbuild.bat:\n@perl build.pl %*\n\nvcregress.bat:\n@perl vcregress.pl %*\n\nThese mirror exactly what the buildfarm will do when it's modified.\n\nIn fact, an unmodified buildfarm client run goes through cleanly with \nthese fi...
[ { "msg_contents": "Hi everyone,\n\nI was playing with converting unixtop (the version of top used in\nFreeBSD) to only show PostgreSQL processes pulled from the\npg_stat_activity table. I have a version that kind of works here:\n\nhttp://pgfoundry.org/frs/download.php/1468/ptop-3.6.1-pre6.tar.gz\n\nI've tried ...
[ { "msg_contents": "Hello\n\nCurrent result from xpath function isn't indexable. It cannot be\nproblem with possibility cast it to some base types.\n\nCREATE OR REPLACE FUNCTION xml_list_to_int(xml[])\nRETURNS int[] AS $$\nSELECT ARRAY(SELECT to_number(($1[i])::text,'999999.99')::int\n FROM genera...
[ { "msg_contents": "Hi,\n\nNow that PostgreSQL 8.3 enables autovacuum by default, I think pgbench\nshould stop issuing vacuum in pgbench -i since an ordinary vacuum will\ntake very long time under autovacuum running. If there's no objection,\nI will remove vacuum from pgbench.\n--\nTatsuo Ishii\nSRA OSS, Inc. Ja...
[ { "msg_contents": "What do these output lines in pg_resetxlog of 8.3 mean?\n\n First log file ID for new XLOG:\n First log file segment for new XLOG:\n\nWhat does it mean to have a \"new XLOG\"?\n\n-- \nPeter Eisentraut\nhttp://developer.postgresql.org/~petere/\n", "msg_date": "Tue, 25 Sep 2007 16:54:...