threads
listlengths
1
2.99k
[ { "msg_contents": "Hi, \n\ncould anyone please enlighten me whether this function is still needed?\nAFAICT check_escape_warning() only has significant action if\nwarn_on_first_escape is true. This variable is set to true only on label\nxqstart, but to false on xestart. However, check_escape_warning() and\ncheck...
[ { "msg_contents": "Version: PostgreSQL 8.2.5 on i686-pc-mingw32\n\nI recently started getting this error message randomly, \"could not open\nrelation 42904/42906/42985: Invalid argument\". I also got it for a couple\nof other files. All three files are related to tables that have just a\nsingle row each.\n\nI...
[ { "msg_contents": "Now that we have a txid_snapshot datatype, it seems easy to imagine that\nwe might use that to pass snapshot information around between sessions.\n\nIf we had a function \n\treplace_serializable_snapshot(master_xid, txid_snapshot)\n\nthis would allow us to use the txid_snapshot values to repl...
[ { "msg_contents": "We have put up a new version of our extensions to the libpq api, here:\n\nhttp://www.esilo.com/projects/postgresql/libpq/typesys-beta-0.9.tar.gz\n\nFour functions are getting dropped and will be replaced with a generic\nversion taking a va_list. Also, in some functions result format is\nbein...
[ { "msg_contents": "Hi all,\n\nMany of you will have read the dynamic partitioning thread here:\n\nhttp://archives.postgresql.org/pgsql-hackers/2008-01/msg00028.php\n\nI've proposed an alternative approach, which we've called declarative\npartitioning which is grammar based. This grammar was developed by Jeff\nC...
[ { "msg_contents": "In CVS HEAD, why does exec_simple_query() pass an empty cursorOptions to\npg_plan_queries() at postgres.c:903? If we're planning DECLARE CURSOR,\nISTM we ought to be passing down the DECLARE CURSOR's cursorOptions.\n\n-Neil\n\n\n", "msg_date": "Fri, 11 Jan 2008 17:03:00 -0800", "msg_f...
[ { "msg_contents": "If you've paid any attention to our signal handling and shutdown\nprocedures, you know that there is a whole lot of design and logic\nbased on the assumption that during a forced system shutdown,\nwe will see SIGTERM delivered to all PG processes, with a little bit\nof grace time before we ge...
[ { "msg_contents": "Dear Friends,\n\nIn my past development projects, I always used the concept of\nMaterialized VIEW to speed-up SELECTs over INSERTs.\n\nYou are well aware of Jonathan Gardner preliminary work:\nhttp://www.varlena.com/varlena/GeneralBits/Tidbits/matviews.html\n\nWhen do you plan to add MATERIAL...
[ { "msg_contents": "Hello all,\n\nI am using pg advisory locks in my application using libpq. When lock is\nobtained, the result set contains boolean value for the row locked in result\nset.\n\nWhen i iterate over the result set, i am unable to get the return boolean\nvalue in my code. The ptr returned by PQGetV...
[ { "msg_contents": "It was pointed out to me off-list that pg_dump fails if a user-defined\ndatatype's output routine is silly enough to emit NOTICE messages:\nthe rest of the table data simply disappears without any warning.\n\nWhat is happening is that libpq's pqGetCopyData3() drops out of COPY_OUT\nstate upon...
[ { "msg_contents": "About two weeks ago we had a discussion that concluded that notice\nmessages put out by GUC assign hooks should be logged when there's\na problem with a postgresql.conf setting, leading to this patch:\nhttp://archives.postgresql.org/pgsql-committers/2007-12/msg00298.php\n\nI noticed today tha...
[ { "msg_contents": "There was some discussion today about restoring pg_dump output as a\nnon-superuser:\nhttp://archives.postgresql.org/pgsql-admin/2008-01/msg00128.php\n\nIn 8.3 we have eliminated one of the major roadblocks to doing that,\nwhich is that we now allow non-superuser database owners to create\ntru...
[ { "msg_contents": "Hi All,\n\n We were trying to move a big database from one machine to the other\nusing PITR mechanism. We hit the following LOG message in during the\nrecovery (WAL replay) process\"\n\nLOG: incorrect resource manager data checksum in record at 111/A7738C8\n\n I had used this procedure...
[ { "msg_contents": "I was just noticing that $SUBJECT is hard --- the entry in current_query\nlooks exactly like a manual vacuum command, and there's not anything in\nthe other fields that looks different either.\n\nSince autovacuum.c is making up its pgstat_report_activity string\nanyway, it would be easy to ma...
[ { "msg_contents": "Hi to all.\n\nIt seems that the current PostgreSQL implementation of the Replacement Selection (RS) algorithm [Knuth] changes a logical tape for each run built.\nI'm trying to implement that refinement to RS using 2 heaps instead of just one (2Way RS). Recall each heap is aimed at building it...
[ { "msg_contents": "\n\n> -----Original Message-----\n> From: Tom Lane [mailto:tgl@sss.pgh.pa.us]\n> Sent: Sunday, January 13, 2008 8:18 PM\n> To: Sean Utt\n> Cc: Andrew Dunstan; Joshua D. Drake; pgsql-hackers@postgresql.org\n> Subject: Re: [HACKERS] Postgresql Materialized views\n> \n> \"Sean Utt\" <sean@strate...
[ { "msg_contents": "> -----Original Message-----\n> From: pgsql-hackers-owner@postgresql.org [mailto:pgsql-hackers-\n> owner@postgresql.org] On Behalf Of Alvaro Herrera\n> Sent: Monday, January 14, 2008 8:20 AM\n> To: Mark Mielke\n> Cc: Jean-Michel Pouré; pgsql-hackers@postgresql.org\n> Subject: Re: [HACKERS] Po...
[ { "msg_contents": "Hi there,\nas you now is plJava broken with the actual security releases.\nThere is a pljava.dll at http://www.ejurka.com/pgsql/pljava/83rc1/ to\nfix it for version 8.3RC1.\n\nIs a pljava.dll for version 8.2.6 out?\nIt's very important for me, need it for my office.\n\nJuergen\n\n\n", "ms...
[ { "msg_contents": "Log Message:\n-----------\nFix an ancient oversight in libpq's handling of V3-protocol COPY OUT mode:\nwe need to be able to swallow NOTICE messages, and potentially also\nParameterStatus messages (although the latter would be a bit weird),\nwithout exiting COPY OUT state. Fix it, and adjust...
[ { "msg_contents": "Log Message:\n-----------\nMost recent Postgres version is 8.2.6, per report from Robert Treat.\n\nModified Files:\n--------------\n pgsql/doc:\n FAQ (r1.448 -> r1.449)\n (http://developer.postgresql.org/cvsweb.cgi/pgsql/doc/FAQ?r1=1.448&r2=1.449)\n pgsql/doc/src/FAQ:\n ...
[ { "msg_contents": " \n> > You'll have to explain to Oracle and their customers that Oracle's\n> > security model is not a great idea then.\n> \n> I'd love to, and in fact *do* whenever I'm given the chance.\n> \n> In fact, Oracle's security model is pretty bad; the reason why Oracle\n> advertises \"Unbreakable\...
[ { "msg_contents": "On Windows XP, using Process Explorer with the lower pane showing Handles, not all postgres.exe processes are including an \"Event\" type with a description of what the process is doing.\r\n\r\nAt the moment, I have ten postgres processes shown as being at the bottom of the tree, three of whi...
[ { "msg_contents": "In reading our array documentation I came across two unusual behaviors. \nThe issue relates to slices:\n\n We can also access arbitrary rectangular slices of an array, or\n subarrays. An array slice is denoted by writing\n <literal><replaceable>lower-bound</replaceable>:<replaceable>upper...
[ { "msg_contents": "Hi,\n\nI found a bug in ts_headline(). Here is a reproducible sql.\n\n-- sql ---\nSELECT substring(version(), 0, 20);\nCREATE TEXT SEARCH PARSER dummy_parser (\n START = prsd_start,\n GETTOKEN = prsd_nexttoken,\n END = prsd_end,\n\n--\n-- HEADLINE = prsd_headline,\n--\n\n LEXTYPE...
[ { "msg_contents": "I need to set a basic password policy for accounts but I don't see any\ndocumentation on how to do it. I'm assuming there is a way to do this,\nmaybe even with a trigger.\n\nThe policy would be something like this:\n1. Must contain letters and numbers\n2. Must be at least 8 characters long...
[ { "msg_contents": "\nIn helping someome on IRC it has become apparent that unless I am \nmistaken \"COPY foo from 'filename'\" is reading the file according to the \nclient encoding.\n\nIs that the expected behaviour? The client might have no influence at \nall on the contents of the file. Offhand, I would have...
[ { "msg_contents": "http://archives.postgresql.org/pgsql-hackers/2007-10/msg01468.php,\n\n\"... I very much want to encourage authors of new Resource Managers and it\nlooks like we may be getting at least 3 new RMs that produce WAL\nrecords: hash indexes (currently not WAL-logged), bitmap indexes and\nclustered ...
[ { "msg_contents": "Hi,\n I have submitted a new patch against thick indexes(indexes with snapshot)\nhttp://archives.postgresql.org/pgsql-hackers/2007-10/msg00220.php.<http://archives.postgresql.org/pgsql-hackers/2007-10/msg00220.php>\n\nI did look closely at improving the performance of count(1) queries. It\n...
[ { "msg_contents": "\n> -----Original Message-----\n> From: D'Arcy J.M. Cain [mailto:darcy@druid.net]\n> Sent: Wednesday, January 16, 2008 9:39 AM\n> To: Andrew Dunstan\n> Cc: Roberts, Jon; pgsql-hackers@postgresql.org\n> Subject: Re: [HACKERS] Password policy\n> \n> On Wed, 16 Jan 2008 08:32:12 -0500\n> Andrew ...
[ { "msg_contents": "Here (@sophos.com) we run machine cluster tests using FreeBSD jails. A\njail is halfway between a chroot and a VM. Jails blow a number of\nassumptions about a unix environment: sysv ipc's are global to all\njails; but a process can only \"see\" other processes also running in the\njail. In fa...
[ { "msg_contents": "Just to conclude on the issue we had here.\n\nAs far as I can see, the ulimits are set up as they should; and on a\n64-bit machine with 16GB RAM, I don't see there should be a problem with\nallocating 2 GB maintenance work memory. In any case, I have serious\ndifficulty believing that the uli...
[ { "msg_contents": "There was some discussion last week on -bugs about how renaming an index\nthat belongs to a unique or primary key constraint is allowed, but can\nlead to situations that can't be dumped/restored properly. This isn't\nreally pg_dump's fault, IMHO. We should rather make the backend enforce\nt...
[ { "msg_contents": "Hello\n\nI found so PL/SQL support CASE statement\nhttp://download-east.oracle.com/docs/cd/B10500_01/appdev.920/a96624/04_struc.htm#484\n\nI propose add this statement to PL/pgSQL too.\n\nReasons:\n\na) it's useful construct,\nb) this statement is defined in SQL/PSM - better conformance with ...
[ { "msg_contents": "-----BEGIN PGP SIGNED MESSAGE-----\r\nHash: SHA1\r\n\r\nHello,\r\n\r\n\r\n Table \"pg_catalog.pg_autovacuum\"\r\n Column | Type | Modifiers \r\n- ------------------+---------+-----------\r\n vacrelid | oid | not null\r\n enabled | boolean | not null\r\n va...
[ { "msg_contents": "Dear all,\n\nI have some questions about PostgreSQL's modularity.\nWe know that PostgreSQL is famous for its good modularity, which allows users to select which part they need. It also allow developers to easily replace one part without affecting other parts. However, as I know, most dat...
[ { "msg_contents": "Hello \nI tried to find soultion for this problem on -cygwin list , but there they sent me to teh list -win32. \nBut I foun on the site that this is that list (also -hacker-win32),so I came here to -hackers.\nMy problem is as follows , maybe you can help me....: \nI ma working on\na server-si...
[ { "msg_contents": "Hello\n\nI propose two kinds of functions:\n\na) generic functions - this function allows any params without any\nimplicit casting (it can implemented only in C language). This\nfunction have to have specified return type. It usable for constructor\nfunction and for some other. It allows unsp...
[ { "msg_contents": "Who decided this part of pg_regress.c was a good idea?\n\n\t/* try to create the test tablespace dir if it doesn't exist */\n\tsnprintf(testtablespace, MAXPGPATH, \"%s/testtablespace\", abs_builddir);\n\tif (directory_exists(testtablespace))\n\t\trmtree(testtablespace, true);\n\tmake_director...
[ { "msg_contents": "FYI, I am leaving for London tomorrow/Saturday to do training for\nEnterpriseDB and a breakfast event:\n\n\thttp://momjian.us/main/events.html\n\nI return next Friday, January 25. I will try to keep current on email\nwhile I am away.\n\n-- \n Bruce Momjian <bruce@momjian.us> http://...
[ { "msg_contents": "Hi,\n\nHas anyone tried to use the huge tlb support of the Linux 2.6 kernel?\nIf you compile the kernel with support for it (CONFIG_HUGETLBFS), you\ncan call shmget() with a SHM_HUGETLB parameter so that it will use\nlarger pages.\n\nHas anyone tried to use it? Is it worth trying to set it u...
[ { "msg_contents": "Hi all,\n\nI'm surprised no one mentioned here that Sun was ready to buy Mysql for $1\nbillion.\nCould it change something for postresql? if yes, what?\n\nBest regards,\n\n-- \nOlivier PRENANT \t Tel: +33-5-61-50-97-00 (Work)\n15, Chemin des Monges +33-5-61-50-97-...
[ { "msg_contents": "Hi,\n\nWhile translating the backend's message catalog I found several things\nthat should probably be improved.\n\nFor example, in regis.c there are several strings talking about \"regis\npattern\". I had never heard of regis patterns. Turns out they are a\nfast regex subset, used AFAICT o...
[ { "msg_contents": "Greetings,\n\nAttached is a rather small change to src/bin/psql/describe.c to\nshow database size and permissions when using the psql \\l command.\n\nTypical output would be:\n\n List of databases\n Name | Owner | Encoding | Size | Access ...
[ { "msg_contents": "I am trying to port a MySQL db to postgres 8.3rc1.\nIn MySQL I have a function SHA1, which is critical for storing and\nauthenticating passwords.\nI see some old posts on how to add this function myself. see:\nhttp://raveica.comdurav.com/blog/programming/how-do-i-add-sha1-to-postgresql/\n\nH...
[ { "msg_contents": "I'm trying to determine if a select statement:\n1 - causes execution of a Volatile function\n\t- or -\n2 - causes execution of a nextval function (same/similar as #1 above?)\nfrom within tcop / postgres.c ??\n\nThings like QueryIsReadOnly imply that select nextval('some_sequence') are \nread-...
[ { "msg_contents": "Why not run help when someone enters \"help\" (or \"HELP ME!\") on the\ncommand line? \\? is hardly an easy thing to remember (and some people\ncan't be bothered to actually read the screen...)", "msg_date": "Sun, 20 Jan 2008 12:56:30 -0500", "msg_from": "Greg Sabino Mullane <greg@tur...
[ { "msg_contents": "Is the bgwriter_lru_multiplier parameter a limit on the number to scan\nor to write? GUC and docs seem to contradict one another. GUC says\n\n#: utils/misc/guc.c:1834\n#, fuzzy\nmsgid \"Background writer multiplier on average buffers to scan per round.\"\n\nThe docs say\n\n Unless l...
[ { "msg_contents": "I've already read this\n\nhttp://people.planetpostgresql.org/xzilla/index.php?/archives/149-out-parameter-sql-plpgsql-examples.html#extended\n\nbut I still can't get it clear.\n\nI thought I could write something like\n\ncreate or replace testA(out setof record) as...\n\nbut it seems I can't....
[ { "msg_contents": "Hi everyone,\n\nI believe that there is a small bug in src/port/rint.c when the input\nparameter has a fractional part of 0.5 which is demonstrated by the\nattached program. It appears that the PG version of rint() rounds in the\nwrong direction with respect to glibc.\n\nmca@mca-desktop:~$ ./...
[ { "msg_contents": "Folks,\n\n8.3's psql is ponderously unhelpful when getting the type description\nof an enum, so I'd like to propose a new column in the \\dT output\nwhich can contain those values in an array format. Yes, I know it\nlooks like a new feature, but it's really a bug fix.\n\nCheers,\nDavid.\n-- ...
[ { "msg_contents": "I read that Perl 5.10 is about to hit Fedora rawhide. Anyone know if\nit will work with plperl and/or DBD::Pg? If there are fixes needed\nin plperl, it'd sure be nice if they were in 8.3 ...\n\n\t\t\tregards, tom lane\n", "msg_date": "Sun, 20 Jan 2008 23:06:19 -0500", "msg_from": "T...
[ { "msg_contents": "Hi Simon, and Dave,Magnus.\n\nAbout pg_standby, a link option cause a problem in windows(XP and 2k,2k3).\nIt is because the call of mklink is needed. Then, they are the new programs of \nVISTA and 2008. It is CreateSymbolicLink of API of kernel32.lib is equipped \nwith mklink.\nhttp://msdn2.m...
[ { "msg_contents": "Hello\n\nis any chance to share standard Makefile and RH Makefile? I am sorry.\nI don't understand to Makefile absolutely. It's look so global\nMakefile need some changes.\n\nAny help is welcome.\n\nRegards\nPavel Stehule\n\n\nOn 21/01/2008, Devrim GÜNDÜZ <devrim@commandprompt.com> wrote:\n> ...
[ { "msg_contents": "I'm trying to refine the sorting module of tuplesort.c\n\nDuring run creations I use two heaps instead of just one (yeah, it's still me... the one of the two heaps still trying to get some answer/help from -hackers)\n\nThose two runs are built in a way such that if we would concatenate one of...
[ { "msg_contents": "Hello,\n\nSomeplace I recall hearing about a benchmark/performance farm... is \nanyone working on that? It sounds kinda fun and I have a little time to \nhelp.\n\nI'm a perl/C/Java/Lua guy, hopefully there is something there I can help \nwith.\n\n-Andy\n\n", "msg_date": "Mon, 21 Jan 2008...
[ { "msg_contents": "I came across some rather strange choices of lock levels in pg_shdepend.c.\n\nWhy does shdepDropOwned() take AccessExclusiveLock on pg_shdepend?\nSeems like RowExclusiveLock should be sufficient. If it isn't\nsufficient, I wonder whether the other functions in here are taking\nstrong enough ...
[ { "msg_contents": "Steven Flatt's report in this thread:\nhttp://archives.postgresql.org/pgsql-bugs/2008-01/msg00138.php\nexposes two more-or-less-independent flaws.\n\nOne problem is that we allow operations like TRUNCATE on tables that are\nopen in the current backend. This poses a risk of strange behavior,\...
[ { "msg_contents": "would the community accept a patch that would allow the making of 4-way fat\nbinaries on Mac OS X 10.5+? (Obviously for 8.4+).\n\nI'm thinking about attempting it for an inside project here at work, but\nwas wondering if there was community interest?\n\nThanks!\n\n-- \nLarry Rosenman ...
[ { "msg_contents": "Hi,\n\nI just came across objdump -W which dumps the DWARF info from a object\nfile. This is useful to build a typedef file for pgindent. It can be\nused like this:\n\nobjdump -W $object_file | \\\nawk '/DW_TAG_/ { grab=0 } /DW_TAG_typedef/ { grab=1 } /DW_AT_name/ { if (grab) { print $0 } ...
[ { "msg_contents": "Hi All, \n\nI was running the run_Build.pl script that is specific\nto Buildfarm and encountered errors. I am listing out\nthe names of the logfiles and the errors that I have\nseen.\nCan anyone give me some clarity on these errors?\nEven though these errors are existing, at the end the\nlate...
[ { "msg_contents": "I suggest make a distinction between DDL and DML locks. A DDL lock would be\nrequired for a TRUNCATE, CREATE, ALTER, DROP, REPLACE, etc while DML is just\ninsert, update, and delete.\n\nA TRUNCATE (or any DDL activity) should wait until all DML activity is\ncommitted before it can acquire an...
[ { "msg_contents": "I really needed this functionality in PostgreSQL. A common use for\nautonomous transactions is error logging. I want to log sqlerrm in a\nfunction and raise an exception so the calling application knows there is an\nerror and I have it logged to a table. \n\n \n\nI figured out a way to \"h...
[ { "msg_contents": "Hi -hackers,\n\nWhile testing RC2 on the new servers of one of our customers, I found\na query really slow on the new server which is quite fast on the old\nbox currently in production (production is 8.1 at the moment).\nIf I set enable_nestloop to off, the query is fast (the plan is\ndiffere...
[ { "msg_contents": "> On Tue, 2008-01-22 at 10:02 -0600, Roberts, Jon wrote:\n> > Maybe someone could enhance this concept to include it with the core\n> > database to provide autonomous transactions.\n> \n> I agree that autonomous transactions would be useful, but doing them via\n> dblink is a kludge. \n\nKludg...
[ { "msg_contents": "I added TimeOffset and DateOffset typedefs to get rid of the instances\nusing the HAVE_INT64_TIMESTAMP define being used to determine the\ntypes of variables or functions in timestamp.c.\n---\n src/backend/utils/adt/timestamp.c | 77 +++++++------------------------------\n src/include/utils/...
[ { "msg_contents": "\nHere is a fixed patch for the timestamp refactor. I apologize for sending the\nwrong patch earlier.\n\nI would like to get some comments on if this patch is heading in the right\ndirection. Here's the proposal for what I am doing:\n\n\nProposal for Refactoring of Timestamp Datatype\n\n\nGoa...
[ { "msg_contents": "This doesn't work because '\\' is turned into '\\\\' by PostgreSQL, and\nnot '\\134':\n\n my $arg = shift;\n $arg =~ s!\\\\(\\d{3})!chr(oct($1))!ge;\n\nSomething like this might be better:\n\n my $arg = shift;\n $arg =~ s!\\\\(?:\\\\|(\\d{3}))!$1 ? chr(oct($1)) : \"\\\\\"!ge;\n\nY...
[ { "msg_contents": "(for 8.4 ...)\nI'd like to introduce triggers that fire when we issue a truncate:\n\nCREATE TRIGGER name [BEFORE | AFTER ] TRUNCATE ON table\nFOR EACH STATEMENT EXECUTE PROCEDURE function (arguments);\n\nThe truncate trigger would fire separately from a statement-level DELETE\nstatement, to a...
[ { "msg_contents": "What about a feature to set a default tablespace just for indexes? I have \nbeen told that this was originally proposed when tablespaces where designed, \nbut did not end up being implemented. Does anyone recall the details? I \nhave had people ask me about this feature.\n\n-- \nPeter Eise...
[ { "msg_contents": "Regarding to Robert Mach's work during Google SOC on data integrity \ncheck. I would like to improve storage module and implement some \nRobert's code into the core.\n\nI would like to make following modification:\n\n1) Add ReadBuffer_noerror (recommend me better name) function which will \na...
[ { "msg_contents": "Hello,\n\nhave to have any node read function?\n\nRegards\nPavel Stehule\n", "msg_date": "Sat, 26 Jan 2008 00:22:16 +0100", "msg_from": "\"Pavel Stehule\" <pavel.stehule@gmail.com>", "msg_from_op": true, "msg_subject": "we have out func for typecast, but we missing this read f...
[ { "msg_contents": "Hi,\n\nI was wondering how accurate there books are (perhaps not so much) , if one\nwants to learn more about the internals?\nhttp://www.postgresql.org/docs/7.3/static/programmer.html\nhttp://www.cs.helsinki.fi/u/laine/postgresql/programmer/\n\n\nRegards,\nGevik\n\n\n", "msg_date": "Sat, ...
[ { "msg_contents": "Hello,\n\nthere is one implementation of variadic functions. The base premis is\ntransformation type:\n\nanyparams -> n x any\nanyelements -> n x anyelement\n\nCurrently variadic functions can be only in C language. PL/pgSQL\ncannot access to array of params. I implented some JSON functions\n...
[ { "msg_contents": "Hi,\n\nI'd like to implement some simple data logging via triggers on a small \nnumber of infrequently updated tables and I'm wondering if there are \nsome helpful functions, plugins or idioms that would serialize a row \n(received for example in a AFTER INSERT trigger) into a string that I'd...
[ { "msg_contents": "\nIt occurred to me the other day that synchronized scans could play havoc with\nclustered tables. When you dump and reload a table even if it was recently\nclustered if any other sequential scans are happening in the system at the\ntime you dump it the dump could shuffle the records out of o...
[ { "msg_contents": "Hi,\n\nI get the following error when: build.bat DEBUG\n\nsomehow dumpbin is not called.\n\n analyze.c\n Compiling resources...\n Generate DEF file\n Generating POSTGRES.DEF from directory Debug\\postgres\n ...........Could not call dumpbin at src\\tools\\msvc\\g...
[ { "msg_contents": "Per today's -hackers discussion, add a GUC variable to allow clients to\ndisable the new synchronized-scanning behavior, and make pg_dump disable\nsync scans so that it will reliably preserve row ordering. This is a\npretty trivial patch, but seeing how late we are in the 8.3 release\ncycle,...
[ { "msg_contents": "Hello,\n\nis it means \" some PostgreSQL specific\"?\n\nregards\n\nPavel Stehule\n", "msg_date": "Sun, 27 Jan 2008 21:10:31 +0100", "msg_from": "\"Pavel Stehule\" <pavel.stehule@gmail.com>", "msg_from_op": true, "msg_subject": "what is suffix _P in gram.y" }, { "msg_co...
[ { "msg_contents": "Whilst trying to reproduce bug #3902 I noticed that the code doesn't\nwork with an abbreviated host name:\n\n$ psql -l -h rh2.sss.pgh.pa.us\n List of databases\n ... everything's fine ...\n\n$ psql -l -h rh2 \npsql: GSSAPI continuation error: Unspecified GSS failure. ...
[ { "msg_contents": "If you do a manual \"kill -9\" (for testing purposes) on its connected\nserver process, psql normally recovers nicely:\n\nregression=# select 1;\n ?column? \n----------\n 1\n(1 row)\n\n-- issue kill here in another window\nregression=# select 1;\nserver closed the connection unexpected...
[ { "msg_contents": "Greetings,\n\n In doing some test on 8.3RC2, I was dismayed to discover that the\n pl/pgsql plan invalidation logic added doesn't consider changing the\n search_path to invalidate a plan.\n\n Our case is where we have a number of schemas with identical table\n structures but differing ta...
[ { "msg_contents": "Does not virtual transaction IDs in 8.3 help us to shorten vacuum threshold?\n\nI think we can remove recently dead tuples even if non-serializable read-only\ntransactions are still alive, because those transactions will not see older\nversions of tuples.\n\nAnother strange thing is that if a...
[ { "msg_contents": "I recently noticed that SQL:200n[1] defines a new aggregate function,\narray_agg(). The relevant portions of the spec are:\n\np. 66: \"If ARRAY_AGG is specified, then an array value with one element\nformed from the <value expression> evaluated for each row that\nqualifies.\"\n\np. 556: <arra...
[ { "msg_contents": "Dear All,\n \nI am currently using PostgreSQL database version 8.0.13. My problem relates to a slow result when a query using a defined view joins to another table for a result.\n \nBackground: I have 7 tables of invoice transactions. The tables are slightly different in that they record d...
[ { "msg_contents": "Hi,\n\nIs there a way to query the column constraints between the tables of system\ncatalog.\nFor example pg_attribute.atttypid---->pg_type.oid. This is described in the \ndocs of course , but does the system use something like pg_constaint \nor the system catalog constraints are enforced onl...
[ { "msg_contents": "\nThe following bug has been logged online:\n\nBug reference: 3909\nLogged by: Pavel Golub\nEmail address: pavel@gf.microolap.com\nPostgreSQL version: 8.3RC2\nOperating system: WinXP\nDescription: src\\tools\\msvc\\clean.bat clears parse.h file\nDetails: \n\nExecut...
[ { "msg_contents": "I had a mail issue on my end which resulted in a number of outbound\nemails getting stuck in a queue. They all just went out; sorry for the\nflood.\n-- \nDecibel!, aka Jim C. Nasby, Database Architect decibel@decibel.org \nGive your computer some brain candy! www.distributed.net Team #1828",...
[ { "msg_contents": "Is there any reason that int2_sum, int4_sum, and int8_sum are not marked as\nbeing strict? All the other transition functions for sum, and every other\nbuilt in aggregation function is marked as strict, as demonstrated with:\n\nselect x.proname, t.proname, t.proisstrict\nfrom ((pg_aggregate ...
[ { "msg_contents": "Hi Magnus,\n Would you take a look at the patch I just committed in fe-connect.c?\n\nI found out today that PQreset() wasn't working on a GSSAPI connection,\nbecause closePGconn hadn't been patched to clear out the GSSAPI state\n(resulting in \"duplicate GSS authentication request\" failure)...
[ { "msg_contents": "\nIs it possible to authenticate using GSSAPI over the V2 protocol? Is \nthere any documentation on the message formats for V2?\n\nKris Jurka\n", "msg_date": "Tue, 29 Jan 2008 03:34:19 -0500 (EST)", "msg_from": "Kris Jurka <books@ejurka.com>", "msg_from_op": true, "msg_subjec...
[ { "msg_contents": "Dear All,\n \nHave you ever store image to postgresql using VB6? Could you give me an example?\n \nThank you,\n \nPremsun\n\nNETsolutions Asia Limited\n+66 (2) 237 7247\nhttp://www.nsasia.co.th", "msg_date": "Tue, 29 Jan 2008 16:27:47 +0700", "msg_from": "\"Premsun Choltanwanich\" <Pr...
[ { "msg_contents": "\nHello all,\n\nI have a ~150GB sized server, containing two databases that are active in \nmostly read mode. I have noticed lately that the global/pgstat.stat file \nis somewhere around 1MB freshly after a restart, but at some point it \nbaloons to 74MB in size for no apparent reason, after ...
[ { "msg_contents": "When building with MSVC 2005 (Express) and the Longhorn Platform SDK\n(version 6.0a), it seems that IPPROTO_IPV6 is only defined when\n_WIN32_WINNT >= 0x0501. This results in a compiler error when trying to\nbuild pqcomm.c (line 389). According to [1], building for Windows 2000\n(that is, _WI...
[ { "msg_contents": "In the recent discussion of bug #3883 we decided that for safety's sake,\nTRUNCATE, CLUSTER, and REINDEX ought to error out if there are any\nactive scans on the table (or index in the case of REINDEX). This is\nessentially the same as the test currently applied by ALTER TABLE,\nwhich uses t...
[ { "msg_contents": "We've had a couple of discussions recently revolving around the\ninefficiency of using hashjoin/hashaggregation output to update a target\ntable, because of the resulting very random access pattern. I believe\nthis same mechanism is underlying the slowness of Stephen Denne's\n\"alternate que...
[ { "msg_contents": "http://www.scientificcomputing.com/ShowPR~PUBCODE~030~ACCT~3000000100~IS\nSUE~0801~RELTYPE~HPCC~PRODCODE~00000000~PRODLETT~C.html\n\nhttp://www.nvidia.com/object/cuda_learn.html\n\nhttp://www.nvidia.com/object/cuda_get.html\n\n \n\n \n\n\n\n\n\n\n\n\n\n\nhttp://www.scientificcomputing.com/Sho...
[ { "msg_contents": "http://www.pgbuildfarm.org/cgi-bin/show_log.pl?nm=mastodon&dt=2008-01-30%2020:00:00\n\n/D\n", "msg_date": "Wed, 30 Jan 2008 20:29:26 +0000", "msg_from": "\"Dave Page\" <dpage@postgresql.org>", "msg_from_op": true, "msg_subject": "Oops - BF:Mastodon just died" }, { "msg...
[ { "msg_contents": "Hi,\n\nWe are testing PostGreSQL 8.3 RC2 on our beta plateform and we are\nfacing some problems with plpgsql function.\n\nHere's a failing test case, which worked well on postgresql 8.1 :\n\n\nCreate this function :\n\nCREATE OR REPLACE FUNCTION test(param integer)\n RETURNS text AS\n$BODY$D...
[ { "msg_contents": "select to_char(date, 'yyyy-mm-dd hh24:mi:ss.ms') as char, \n date \n from (select timestamp'2008-01-30 15:06:21.560' as date) sub\n\n\n\"2008-01-30 15:06:21.560\";\"2008-01-30 15:06:21.56\"\n\nWhy does the timestamp field truncate the 0 but when I show the\ntimestamp as a character in ...
[ { "msg_contents": "> -----Original Message-----\n> From: Kevin Grittner [mailto:Kevin.Grittner@wicourts.gov]\n> Sent: Thursday, January 31, 2008 9:48 AM\n> To: Roberts, Jon; pgsql-hackers@postgresql.org\n> Subject: Re: [HACKERS] timestamp format bug\n> \n> >>> On Thu, Jan 31, 2008 at 9:34 AM, in message\n> <1A...