threads
listlengths
1
2.99k
[ { "msg_contents": "Hello everybody,\n\n \n\n I am trying to build libpq.dll from the source on a WIN 2003 system,\nthe make file is attached. I am using Microsoft Visual Studio 8 and\nbelow is the command and outcome I'm trying to perform:\n\n \n\nC:\\src\\PostgreSQL\\postgresql-8.3.0\\src\\interfaces\\libpq>n...
[ { "msg_contents": "The PageGetExactFreeSpace function contains following code:\n\n00486 space = (int) ((PageHeader) page)->pd_upper -\n00487 (int) ((PageHeader) page)->pd_lower;\n00488\n00489 if (space < 0)\n00490 return 0;\n\n\nIt seems to me that we should panic that data are overlaped...
[ { "msg_contents": "Dear All,\n\n I am having a backup file in tar format. While restoring it through\npg_restore instantly i am getting an following error.\n*Command - pg_restore -d cipa\n/cipa/RAJASTHAN/RAJASTHAN/CIPABACKUP01_08_2008.TAR\nError - pg_restore: [archiver] out of memory\n*I have increased shmmax ...
[ { "msg_contents": "Hello\n\nthere is some different behave between 8.3 and 8.1, 8.4 versions. 8.3\ncan't share index for like and equ op.\n\npostgres=# select version();\n version\n--------------------------------------------------------------------------------------...
[ { "msg_contents": "This is a followup for thread \"plan invalidation vs stored procedures\".\n\nThe background is that it is impossible to change function return type without\ndropping and recreating. Unfortunately dropping a function ruins all of the\nprepared statements that reference that function (including...
[ { "msg_contents": "Do we need a new API (ambulkinsert) to support optimized bulk insertion\ninto indexes?\n\nBrowsing the mailing lists I see people trying to improve bulk loading\ninto indexes. One approach is to side-step WAL, but others have looked\nat alternative indexing methods. In my application, inser...
[ { "msg_contents": "I just noticed, to my dismay, that has_table_privilege() does not allow\nme to check for usage privileges on sequences. I suspect this may have\nbeen an oversight. If so, the attached patch fixes it for me.\n\n-- ams", "msg_date": "Thu, 7 Aug 2008 13:38:03 +0530", "msg_from": "Abhijit...
[ { "msg_contents": "\nCurrently, we calculate a single OldestXmin across all snapshots on the\nassumption that any transaction might access any table.\n\nI propose creating \"Visibility Groups\" that *explicitly* limit the\nability of a transaction to access data outside its visibility group(s).\nBy default, vis...
[ { "msg_contents": "I would like to propose some changes to the infrastructure for recovery.\nThese changes are beneficial in themselves, but also form the basis for\nother work we might later contemplate.\n\nCurrently \n* the startup process performs restartpoints during recovery\n* the death of the startup pro...
[ { "msg_contents": "Here's a patch that allows CREATE OR REPLACE VIEW to add new columns\nto an existing view.\n\nAny feedback would be appreciated, especially if it meant that I could\nfix any problems before the next commitfest.\n\nThanks,\n\n...Robert", "msg_date": "Thu, 7 Aug 2008 08:03:52 -0400", "m...
[ { "msg_contents": "Hi\n\nIn HEAD, pg_stop_backup waits until the history file has been archived.\nBut, in order to ensure that the last wal file was archived, pg_stop_backup\nshould wait until not only the history file but also the backup stopping wal\nfile has been archived, I think.\n\nBecause the alphabetic ...
[ { "msg_contents": "Currently dblink allows regular users to initiate libpq connection\nto user-provided connection string. This breaks the default\npolicy that normal users should not be allowed to freely interact\nwith outside environment.\n\nIn addition to breaking standard security policy, dblink exposes\n....
[ { "msg_contents": "Simon Riggs wrote:\n> Tom's recent changes to allow hash distinct (yay!) prompted something\n> that I'd thought about previously.\n> \n> Subtle changes in the output of queries can force an application retest,\n> which then can slow down or prevent an upgrade to the latest release. We\n> alwa...
[ { "msg_contents": "postgres=# create table abc (a int, b int);\nCREATE TABLE\nTime: 492.417 ms\npostgres=# insert into abc values (1,2);\nINSERT 0 1\nTime: 16.602 ms\npostgres=# prepare ins_abc as insert into abc values(1,2);\nPREPARE\nTime: 0.248 ms\npostgres=# alter table abc alter a type numeric;\nALTER TABL...
[ { "msg_contents": "Hi all:\n\n Recently i do a test of postgresql. To get more information of the\nfunctions in PostgreSQL, i use\n\nopgprof and opannotate, which are two tools in Oprofile. But i can't work\nwith the tools correctly.\n\nPostgreSQL is compiled with -g option and the errors are like this:\n\...
[ { "msg_contents": "Hi,\n\nYesterday I needed to fiddle with PostgreSQL internals to be able to\ndebug a PL/pgSQL procedure returning a set of records. I attached the\npatch I used to increase the verbosity of error messages related with\nfunction return type checks. I'll be appreciated if any developer could\nc...
[ { "msg_contents": "Hi,\n\nHere's a patch to make autovacuum process TOAST tables separately from\nmain tables.\n\nThe most important change is that when called from autovac, vacuum does\nnot process the TOAST table at all. It will only do so when the stats\nfor the TOAST table say that it needs vacuuming. (A ...
[ { "msg_contents": "It occurred to me a while ago that our query cancel messages are sent \nunencrypted, even when SSL is otherwise used. That's not a big issue on \nits own, because the cancellation message only contains the backend PID \nand the cancellation key, but it does open us to a replay attack. After \...
[ { "msg_contents": "My client library sends Parse/Bind/Describe/Execute/Sync for each query,\nunless it's using a previously-prepared statement, in which case it can\nomit the Parse message.\n\nFor which statements can I also avoid sending Bind and Describe?\n\nAs far as I can tell, I can just send Parse/Execute...
[ { "msg_contents": "Hi,\n\nAfter the Magnus patch [1], that make it possible store statistics files \nat another (RAM-based) disk, I was thinking that would be useful to add \nan option at initdb time to do the symlink as we already do with xlog. \nMaybe it could be documented in monitoring.sgml too. Comments?\n...
[ { "msg_contents": "Current content of control file is insufficient to check if database is \ncompatible with postgres server. I think we should create footprint file which \nwill contains all page data structures and their member offset and length (and \nmaybe more).\n\nAs a first step which is useful at least ...
[ { "msg_contents": "Hello,\n\ncombination functions to_ascii and convert_to is broken now. Problem\nis in convert_to function. It doesn't support 8bit output encoding.\n\nCurrent workaround:\n\nCREATE FUNCTION to_ascii(bytea, name)\nRETURNS text AS 'to_ascii_encname' LANGUAGE internal;\n\nSELECT to_ascii(convert...
[ { "msg_contents": "Hello all,\n\nI have been digging into the database page layout (specifically the tuples)\nto ensure the unsigned integer types were consuming the proper storage.\nWhile digging around, I found one thing surprising:\n\nIt appears the heap tuples are padded at the end to the MAXALIGN distance....
[ { "msg_contents": "I'm working on improvements of orafce.\nhttp://pgfoundry.org/projects/orafce\n\nI found postgres supports only one type of anyelement at one time\nwhen I added nvl2() and decode(). I'd like to use multiple types of\nanyelement something like:\n\n template < typename Expr, typename Ret >\n C...
[ { "msg_contents": "\nI happened to be skimming the compile warnings on mongoose, an icc buildfarm\nmember and noticed two interesting warnings.\n\n----------------------------------------------------------------\nicc -O3 -xN -parallel -ip -mp1 -fno-strict-aliasing -g -fpic -I../../../src/include/snowball -I../....
[ { "msg_contents": "I finished first prototype of new page API. It contains several new functions like:\n\nPointer PageGetUpperPointer(Page page);\n\nvoid PageClearPrunable(Page page);\nbool PageIsComprimable(Page page);\n\nvoid PageReserveLinp(Page page);\nvoid PageReleaseLinp(Page page);\n\nLocationIndex PageG...
[ { "msg_contents": "Our Internet connectivity failed as this was being sent. It looks\nlike at least the list didn't get it, so here goes another try. \nApologies for any duplication.\n \n-Kevin\n \n \n>>> Tom Lane <tgl@sss.pgh.pa.us> wrote: \n \n> I chewed on that for awhile. We can certainly optimize EXISTS\...
[ { "msg_contents": "Matthew T. O'Connor wrote:\n> A few random thoughts...\n> \n> The application that comes to mind first for me when you talk plugins is \n> Firefox. They make it very easy to browse for plugins and to install, \n> update, remove them. Their plug-in system also tries to account for \n> Firefo...
[ { "msg_contents": "Here is an updated version of the \"Copy storage parameters\" patch.\nhttp://archives.postgresql.org/pgsql-hackers/2008-07/msg01417.php\n\nThis patch copies only column storage parameters and does not copy\nreloptions as a result of the discussion, in which reloptions should\nnot be copied be...
[ { "msg_contents": "\nWe're currently printing the warning about connecting to the wrong version of\nthe server *before* syncing variables. On reconnecting this results in using\nthe *old* server version before reconnecting. I'm not sure what happens for\nthe initial connection but it can't be good. connection_w...
[ { "msg_contents": "\nIf we access a 1 block table using a SeqScan then it costs\nseq_page_cost, or 1 by default.\n\nIf we access the same 1 block table using an IndexScan then the access\ncosts random_page_cost to access the index block and then\nrandom_page_cost to access to the data block.\n\nSo the same bloc...
[ { "msg_contents": "I've been working on a client application (based on the Red Hat Visual \nExplain tool) to display all plans the planner considers graphically and \nit does that. But, the trace functionality in the planner is always on \n(and thus, taking up cycles and resources) whether or not it is \nreque...
[ { "msg_contents": "Hello,\n\nHere is a patch to add duration option (-T) to pgbench instead of\nnumber of transactions (-t). -t and -T are mutually exclusive.\n\n$ pgbench -n -S -c10 -T10\ntransaction type: SELECT only\nscaling factor: 1\nquery mode: simple\nnumber of clients: 10\nnumber of transactions actuall...
[ { "msg_contents": "Hello all,\n\nI am trying to write an extension in C that returns a simple environment \nvariable. The code compiles without any complaint or warning, and it \nloads fine into the database, however, when I run the function, I get \ndisconnected from the server.\n\nHere is my C code:\n\n#inclu...
[ { "msg_contents": "Hello.\n\nHere are these functions with detailed documentation:\nhttp://en.dklab.ru/lib/dklab_postgresql_patch/\n\nintagg.int_array_append_aggregate(int[]): fast merge arrays into one large\nlist\nintarray._int_group_count_sort(int[], bool): frequency-based sorting\nintarray.bidx(int[], int):...
[ { "msg_contents": "Hackers and PG users,\n\nDoes anyone see a need for having TOAST tables be individually\nconfigurable for autovacuum? I've finally come around to looking at\nbeing able to use ALTER TABLE for autovacuum settings, and I'm wondering\nif we need to support that case.\n\n-- \nAlvaro Herrera ...
[ { "msg_contents": "Here's a snapshot of my current work on improving IN/EXISTS support,\npursuant to the discussion here:\nhttp://archives.postgresql.org/pgsql-hackers/2008-08/msg00347.php\nI'm posting it because it's a pretty large patch already, and because\nI wanted to get comments on the next step I'm plann...
[ { "msg_contents": "Hello\n\nI propose enhance current syntax that allows to specify label for any\nfunction parameter:\n\nfcename(expr [as label], ...)\nfcename(colname, ...)\n\nI would to allow same behave of custom functions like xmlforest function:\npostgres=# select xmlforest(a) from foo;\n xmlforest\n----...
[ { "msg_contents": "Hello everybody.\n\nWe have a dusty old server, FreeBSD 3.3-RELEASE, PostgreSQL 6.5.3.\nI need to migrate four DBs from old server to new server (FreeBSD 6.2, \nPostgreSQL 8.3.1).\n\nI've tried to do pg_dump on old server, transfer it to new one and do \n`psql -f dumpfile dbname`. Well, no su...
[ { "msg_contents": "Looking at the list history, I see this has been discussed in the \npast, but it has been long enough that perhaps it is time to revisit it.\n\nIt would appear from my own support queues, that one of the most \nprevalent issues with PostgreSQL installations is not a functional \none, but a...
[ { "msg_contents": "Hello all,\n\nHere is the first pass at the unsigned data type I have been working on.\n\nI am planning on adding these to the September 2008 commitfest wiki page.\nThe unsigned data type is not targeted for core, but for the uint PgFoundry\nproject.\n\nThe uint.c.gz file is the main source f...
[ { "msg_contents": "Hi,\n\nI would like to use one of the XML rendering functions like\ntable_to_xml_and_xmlschema OR table_to_xml and render the output via XSL,\npreferably in one query.\n\nI've searched the mailing lists,site, docs and Google -- to no avail. Also,\nI see that xslt_process (from xml2) will be d...
[ { "msg_contents": "Hi,\n\nCurrently, the SQL statement that causes an error condition is reported\nin the server log. On the other hand, the bind-parameter is not reported\nas following.\n\n> FATAL: terminating connection due to administrator command\n> STATEMENT: UPDATE tbl SET name = $1 WHERE id = $2\n> LOG...
[ { "msg_contents": "With this query you can view all casts involving varchar:\n\nSELECT castsource::regtype, casttarget::regtype, castfunc::regprocedure, \ncastcontext FROM pg_cast WHERE 'varchar'::regtype IN (castsource, casttarget) \nORDER BY 1, 2;\n\nNote that varchar mostly \"borrows\" the cast functions fro...
[ { "msg_contents": "An open task in replacing contrib/xml2 is the XSLT support, which the current \ncore implementation lacks altogether. I am known to often be in favor of a \nlean core, so I have so far been hesitant to push this further, but we should \neventually come up with an implementation for the users...
[ { "msg_contents": "We have got a whole bunch of functions in the system that accept\narguments of type \"internal\", where the actual meaning of \"internal\"\nvaries wildly (it's generally some non-SQL-visible data structure).\nWhile (I believe that) SQL users cannot call any such functions\ndirectly, they coul...
[ { "msg_contents": "Hi,\n\nI've been using the following set statement just fine under versions\nprior to 8.3.3:\n\n exec sql char *sm;\n ...\n sm = \"myschema\";\t// This may not always be constant\n ...\n exec sql set search_path to :sm;\n\nHowever, a recent upgrade from 8.2.7 to 8.3.3 (on FC9) cause...
[ { "msg_contents": "While noticing this one, I also noticed we don't remove probes.h when we\ndo \"clean\" in the msvc setup. We probably should, no?\n\n//Magnus\n\n\n-------- Original Message --------\nSubject: [COMMITTERS] pgsql: probes.h is generated from probes.d, not\npg_trace.d.\nDate: Sat, 16 Aug 2008 12:...
[ { "msg_contents": "I came across this bug tonight:\n\n-- Function: pre_delete_main()\n\nCREATE FUNCTION pre_delete_main()\n RETURNS TRIGGER AS\n$BODY$BEGIN\nDROP TABLE bug_referring_table;\nRETURN OLD;\nEND;$BODY$\n LANGUAGE 'plpgsql' VOLATILE\n COST 100;\n\n-- Table: bug_referenced_table\n\nCREATE TABLE bug...
[ { "msg_contents": "Hi there,\n\nis there psql static binary, which I can use on my iphone (version 1) ?\nI have no mac available, so I can't compile it myself. I heard about\ngui tool for iphone, but it's not free and is only available from \napple store, which I have no access.\n\n \tRegards,\n \t\tOleg\n_____...
[ { "msg_contents": "There's minor change against the previous one(\nhttp://archives.postgresql.org/pgsql-hackers/2008-07/msg01183.php ).\n* merge branch master(Aug 16) into the patch\n* clean code and make some comment\nPerformance result is here\nhttp://wiki.postgresql.org/wiki/Gsoc08-hashindex\n\nIt seems hash...
[ { "msg_contents": "Hi,\n\nHere is the latest WITH RECURSIVE patches against CVS HEAD. Besides\nsyncing to CVS HEAD, followings are main differences from previous\none:\n\n1) Enhance sgml docs. Patches contributed by Jeff Davis.\n\n2) Fix bug with plans using HashAggregate. Hash tables should be\n recreated if...
[ { "msg_contents": "niranjan.k@nsn.com 写道:\n> I wish to set up the Postgres-R environment, could you please let me know the steps for setting it up.\n> Thanks.\n>\n>\n> \nyeah, actually, i have not been successful to set up this, but let me \ngive some information for you.\n1. download the postgresql snapshot ...
[ { "msg_contents": "I have been hacking around for a while trying to create some example Oracle \ncompatibility types. Canonical examples: varchar2 and number. With the new \nfeatures in 8.3 and 8.4, such as user-definable typmods and type categories, \nit appears to be actually possible to create a type equiv...
[ { "msg_contents": "Howdy,\n\nA while back, thanks to feedback from RhodiumToad on #postgresql, I \nadded selectivity functions to the citext operators:\n\nCREATE OPERATOR = (\n LEFTARG = CITEXT,\n RIGHTARG = CITEXT,\n COMMUTATOR = =,\n NEGATOR = <>,\n PROCEDURE = citext_eq,\n R...
[ { "msg_contents": "Folks,\n\nAs the things stored in databases grow, we're going to start needing\nto think about database objects that 4 bytes of size can't describe.\nPeople are already storing video in lo and bytea fields. To date, the\nsizes of media files have never trended downward.\n\nWhat would need to...
[ { "msg_contents": "The second annual PostgreSQL Conference: West is being held on October\n10th through October 12th 2008 in the The Native American Student &\nCommunity Center at Portland State University. \n\nWe are currently accepting papers and you can submit your talks here:\n\nhttp://www.postgresqlconfere...
[ { "msg_contents": "The examples that Kevin Grittner put up awhile back included several\nuses of EXISTS() in places where it couldn't be turned into a semijoin,\neg in the query's targetlist. I was musing a bit about whether we could\nimprove those scenarios. I would like to get 8.4 to the point where we\ncou...
[ { "msg_contents": "For various reasons others have not been able to discuss detailed\ndesigns in public. In an attempt to provide assistance with that I'm\nproviding my design notes here - not hugely detailed, just rough\nsketches of how it can work. This may also help identify coordination\npoints and help to ...
[ { "msg_contents": "I would like to make a simple change to Resource Manager code to\nintroduce a plugin that can redefine or extend Rmgrs.\n\nProviding an rmgr plugin in this way will also allow:\n\n* filtering/control over apply of certain WAL records. We might decide\nto skip all but certain tables, indexes, ...
[ { "msg_contents": "Hello,\n\nPostgres supports to add custom GUC variables on runtime, but we\ncannot use GUC flags in them. This patch adds the flags argument\nto DefineCusomXxx() functions. The flags were always 0 until now.\n\nGUC flags are useful for variables with units. Users will be able\nto add configur...
[ { "msg_contents": "Hello\n\nI thing so Agg node doesn't set width well:\n\npostgres=# explain select a,b from twocol;\n QUERY PLAN\n----------------------------------------------------------\n Seq Scan on twocol (cost=0.00..31.40 rows=2140 width=8)\n(1 row)\n\npostgres=# explain select s...
[ { "msg_contents": "> > I do think you and others make it less likely every time you throw up big\n> > insoluble problems like above though. As a consequence every proposal has\n> > started with big overly-complex solutions trying to solve all these\n> incidental\n> > issues which never go anywhere instead of si...
[ { "msg_contents": "I seem to recall that there was general support for installing a smaller \ndefault postgresql.conf file with only, say, a dozen parameters mentioned for \ninitial tuning. The complete file can stay as a sample. Any objections to \nthat? (Let's not discuss quite yet exactly which parameters...
[ { "msg_contents": "Having recently updated my work machine to Fedora 9, I'm now getting\nblessed with all the -Winline warnings that gcc 4.3 likes to emit.\nI recall some other folk complaining of that previously. While I could\nsuppress the switch in a Makefile.custom, I'm wondering whether it's\nreally doing...
[ { "msg_contents": "Back in April we changed EXPLAIN VERBOSE to not dump the internal plan\ntree anymore, on the grounds that non-hackers didn't want that info and\nhackers could get it with debug_print_plan and related variables.\nWell, now that I've tried to do some planner development work relying on\ndebug_p...
[ { "msg_contents": "I see we recommend using the age(xid) function to check for XID\nwraparound:\n\n\thttp://www.postgresql.org/docs/8.3/static/routine-vacuuming.html#VACUUM-FOR-WRAPAROUND\n\nHowever, the function only does a subtraction with no adjustment for\noverflow, and considering it returns a signed int, ...
[ { "msg_contents": "\nEarlier we saw some bug reports from someone who had a buffer flush fail do to\nENOSPC. We asserted then that that should never happen because when we extend\nthe relation we write out the new blocks so any ENOSPC errors out to happen at\nthat point, not when a buffer is flushed.\n\nHowever...
[ { "msg_contents": "\nHm, shouldn't this query notice that random() is volatile and not make the\nsubquery an initplan?\n\n\npostgres=# select i, (select (random()*1000)::integer ) from x limit 5;\n i | ?column? \n---+----------\n 1 | 677\n 2 | 677\n 3 | 677\n 4 | 677\n 5 | 677\n(5 row...
[ { "msg_contents": "Hi,\n\nIt seems we're neglecting to copy GNUmakefile into the temporary\ndistdir:\n\n$ pwd\n/pgsql/build/83_rel\n$ make dist\nrm -rf postgresql-8.3.3* =install=\nfor x in `cd /pgsql/source/83_rel && find . -name CVS -prune -o -print`; do \\\n file=`expr X$x : 'X\\./\\(.*\\)'`; \\\n ...
[ { "msg_contents": "I try to understand why HeapTupleHeaderData structure has t_datum \nmember. This is use only on few places and from my point of view this \ninformation should be stored in the HeapTupleData structure or split \nHeapTupleHeaderData it into two structures (DatumTupleHeaderData). The \nidea behi...
[ { "msg_contents": "Hi,\n\nThanks to Brendan Jurd, who spent a lot of effort in creating useful\nMediawiki templates, we now have moved the TODO list to the Wiki site.\n\nThe new official location for the TODO list is here:\nhttp://wiki.postgresql.org/wiki/Todo:Todo\n\nI hereby kindly request the WWW team to upd...
[ { "msg_contents": "Folks,\n\nI've noticed that neither SHOW ALL nor SELECT ... FROM pg_settings\nshows the value of custom GUCs, even though SHOW will do so for any\ngiven one. For example:\n\nSHOW plperl.use_strict;\n plperl.use_strict \n-------------------\n true\n(1 row)\n\nSELECT * FROM pg_settings WHERE \...
[ { "msg_contents": "Idly thumbing through the new TODO list, I noticed that the second item\nfrom the bottom (about how we don't want optional AS) has been\nsuperseded by events ...\nhttp://archives.postgresql.org/pgsql-committers/2008-02/msg00172.php\n\n\t\t\tregards, tom lane\n", "msg_date": "Wed, 20 Aug 2...
[ { "msg_contents": "\nAnyone knows a link that has some docs about how to get that setup ?\nAlso is it stable enough for production ?\nI though getting postgreSQL from CVS and compiling was not such a good \nidea since the CVSROOT is probably not stable, is that wrong ?\n\nsince I could not find info out there ...
[ { "msg_contents": "Hi.\n\nWhen we perform \"pg_ctl -w start\", postgres try to connect to\npostgres-database until timeout.\n\nIf a user who perform \"pg_ctl -w start\" does not have authority to connect\npostgres-database, pg_ctl will return 1 and show \"could not start server\" message.\nBut, in fact server i...
[ { "msg_contents": "Here is a simple select output.\n\ndarcy=# select title_id, title_name from title;\n title_id | title_name \n----------+------------\n 2 | Mrs\n 3 | Ms\n 4 | Miss\n(3 rows)\n\nNow I change the border.\n\ndarcy=# \\pset border 2\nBorder style is 2.\ndarcy=# select title_id...
[ { "msg_contents": "These two queries produce different output, using version 8.3.3:\n\nSELECT '2008-01-01 00:00:00+00'::timestamptz AT TIME ZONE 'MDT';\n\nSELECT '2008-01-01 00:00:00+00'::timestamptz AT TIME ZONE 'America/Boise';\n\n..is this a bug?\n\nNote: \"America/Boise\"=\"MDT\" (from pg_timezone_names)\n...
[ { "msg_contents": "bruce wrote:\n> Tom Lane wrote:\n> > Currently, config.sgml still describes the new \"enum\" GUC variables\n> > as being of type \"string\" --- but pg_settings says they are \"enum\".\n> > This is not very consistent, but I wonder whether changing the docs\n> > would be more confusing or less...
[ { "msg_contents": "People, \nI am converting C++ code to Postgres.\nNeed help on how to deal with mysql_fetch_row, mysql_store_result\nfunctions in Postgres? There should be some C/C++ code available for\nthese things, I hope.\nThanks,\nAlex.\n\n", "msg_date": "Fri, 22 Aug 2008 14:20:53 -0400", "msg_fr...
[ { "msg_contents": "Recently Postgres has added a data type 'xml' which allows for\na well formed document to be inserted as a column in a Postgres database.\nAt the moment it doesnot have much utility, you can *almost* get the\nsame thing done with a text column. It's obviously the first step.\n\nIs there a do...
[ { "msg_contents": "We currently have the ability to generate error location pointers, such\nas\n\nregression=# select nosuchcolumn from int8_tbl;\nERROR: column \"nosuchcolumn\" does not exist\nLINE 1: select nosuchcolumn from int8_tbl;\n ^\n\nfor grammar-detected syntax errors and for errors dur...
[ { "msg_contents": "I was looking just now at gram.y's handling of various peculiar SQL\nconstructs, and was reminded of a point that's bothered me before,\nbut I don't recall if it's ever been discussed explicitly on -hackers.\n\nAs an example, take the production for BETWEEN ASYMMETRIC:\n\n a_expr B...
[ { "msg_contents": "I'd like to stop autovac by changing the conf file then sending the \nserver a HUP\n\nThis \"appears\" to work, the logs show autovac terminated by \nadministrative command. Then a few minutes later I see a vacuum \nprocess spawned.\n\nIs it possible that there are timers that aren't being...
[ { "msg_contents": "So I was starting to implement an exprLocation() function according to\nprevious discussion\nhttp://archives.postgresql.org/pgsql-hackers/2008-08/msg01131.php\nand I wondered where to put it. One idea is next to exprType() in\nparser/parse_expr.c, but that seems a bit unsatisfactory because ...
[ { "msg_contents": "Folks,\n\nWhile initdb allows you to choose a directory for transaction logs, it\ncan't already exist, so it can't be in its usual place under $PGDATA.\nI'd like to propose that this be allowed by having an alternate syntax\nfor the -X option, namely, \"existing.\"\n\nWhen -X is set to \"exis...
[ { "msg_contents": "Hello,\n\nI'd like to have a stab at implementing cost delays, for regular\nINSERT/DELETE/UPDATE/SELECT. The motivation is roughly the same as for\nVACUUM and the autovacuum limits; one may have application specific\nbulk operations that need executing without adverseley affecting\nlatency/th...
[ { "msg_contents": "Hi,\n\nIn the manual for SET ROLE, it's noted that an invocation of SET ROLE\nwill leave the session_user unchanged, but will change the current_user.\n\nInvoking pg_stat_activity after the SET ROLE is changed will however\nleave the usename unchanged. (Also from the manual we note that a\nsn...
[ { "msg_contents": "So, if you edit the current version of the TODO page, you get this stern\nwarning:\n\n> WARNING: This page is 106 kilobytes long; some browsers may have\n> problems editing pages approaching or longer than 32kb. Please consider\n> breaking the page into smaller sections.\n\nHmm ... my browser...
[ { "msg_contents": "Folks,\n\nThe september commit fest starts in one week. The goal, this time, is \nto start reviewing on day 1 of the commit fest and not spend the first 3 \ndays collecting extra patches.\n\nSo if your patch isn't on the list *on* September 1, it may get pushed \ninto November. So get it on...
[ { "msg_contents": "I happened to be looking at nodes.h and started wondering just how\nsane this coding really is:\n\nextern PGDLLIMPORT Node *newNodeMacroHolder;\n\n#define newNode(size, tag) \\\n( \\\n AssertMacro((size) >= sizeof(Node)), /* need the tag, at least */ \\\n newNodeMacroHolder = (No...
[ { "msg_contents": "Folks,\n\nIt looks to me like there should be more links, maybe even\nbidirectional ones, between the TODO wiki and commitfest pages. Does\nmediawiki have a bidirectional link capability?\n\nCheers,\nDavid.\n-- \nDavid Fetter <david@fetter.org> http://fetter.org/\nPhone: +1 415 235 3778 AIM...
[ { "msg_contents": "I've attached a patch that allows the generation of code coverage \nstatistics. To test it, apply the patch, then:\n\nautoconf\n./configure --enable-coverage\nmake\nmake check (or execute any other application against the database to see \nthe coverage of that app)\nmake coverage\nmake covera...
[ { "msg_contents": "--On Mittwoch, August 27, 2008 09:35:03 +0200 Grant Finnemore \n<grant@guruhut.com> wrote:\n\n> I have a session pool, where all connections to the database are\n> obtained as a superuser. On issuing connections to the client, we\n> invoke either SET ROLE or SET SESSION AUTHORIZATION and swit...
[ { "msg_contents": "I've used above function to construct OpExpr expressions with equality \noperators in the past, but it seems it was removed and there's no \nreplacement for it?\n\n-- \n Thanks\n\n Bernd\n", "msg_date": "Thu, 28 Aug 2008 12:07:25 +0200", "msg_from": "Bernd Helmle <...
[ { "msg_contents": "Hi,\n\nHere's a patch to add source file and line numbers to GUC variables.\nBasically this makes pg_settings look like this:\n\nalvherre=# select name, setting, sourcefile, sourceline from pg_settings where name like '%work%';\n name | setting | sourcefile ...
[ { "msg_contents": "I've been working away at the project I mentioned here:\nhttp://archives.postgresql.org/pgsql-hackers/2008-08/msg01131.php\nAttached is a patch that's not quite ready to commit, but getting\nclose. Basically it implements the infrastructure of adding a location\nfield to nearly all Node type...
[ { "msg_contents": "Hello,\n\nSorry for the new thread on this topic, I did not have a copy in my inbox I\ncould replay to :(\n\nI am not sure of the status of the patch, but I did read through the thread\nat:\n http://archives.postgresql.org/pgsql-hackers/2008-08/msg00054.php\n\n\nI just wanted to throw out a...
[ { "msg_contents": "The way my rewritten FSM works at the moment is that pages are handed \nout of the FSM in random order, to spread the load of multiple backends \nto different pages. That's good for spreading the load, but it occurred \nto me while observing a test case that inserts a lot of rows to an \nalmo...
[ { "msg_contents": "Here's an updated FSM patch. Changes since last patch:\n\n- Per comments and discussion with Simon, I've changed the \"bubble up\" \nbehavior so that when a bottom-level page is updated, if the amount of \nfree space was decreased, the change is not immediately bubbled up to \nupper page. Ins...