threads
listlengths
1
2.99k
[ { "msg_contents": "-----Original Message-----\n\tFrom: pgsql-hackers-owner@postgresql.org\n[mailto:pgsql-hackers-owner@postgresql.org] On Behalf Of robert kernell\n\tSent: Thursday, July 08, 2004 4:23 PM\n\tTo: pgsql-hackers@postgresql.org\n\tSubject: [HACKERS] Want to Contribute\n\t\n\t\n\tHi. I want to begin ...
[ { "msg_contents": "docs?\n\n\n----------- Trend GateLock 嚙篆嚙緝嚙踝蕭嚙瑾嚙緬嚙踝蕭 (嚙瘩嚙踝蕭嚙瘦higp7.gatelock.com.tw)\n\n** 嚙踝蕭嚙緝嚙褕殷蕭 friend_incest.pif 嚙緩嚙磋嚙踝蕭嚙瘠\n\n---------------------------------------------------------\n----------- Trend GateLock 嚙篆嚙緝嚙踝蕭嚙瑾嚙緬嚙踝蕭 (嚙瘩嚙踝蕭嚙瘦higp7.gatelock.com.tw)\n\n** 嚙箭嚙褕殷蕭 friend_incest.pif...
[ { "msg_contents": "How come I default to Antartica in CVS?\n\ntest=# show time zone;\n TimeZone\n------------------\n Antarctica/Casey\n(1 row)\n\ntest=#\n\nChris\n\n", "msg_date": "Fri, 09 Jul 2004 11:49:08 +0800", "msg_from": "Christopher Kings-Lynne <chriskl@familyhealth.com.au>", "msg_from...
[ { "msg_contents": "\n> My proposal would be:\n> \n> 1. Begin main transaction: BEGIN { TRANSACTION | WORK }\n> 2. Commit main (all) transaction: COMMIT { TRANSACTION | WORK }\n> 3. Rollback main (all) transaction: ROLLBACK { TRANSACTION }\n> \n> 4. Begin inner transaction: BEGIN NESTED { TRANSACTION | WORK }\n>...
[ { "msg_contents": "\n> As far as implementing only savepoints, look at this:\n> \n> BEGIN;\n> \tBEGIN;\n> \tINSERT INTO ...;\n> \tCOMMIT;\n> \tBEGIN;\n> \tINSERT INTO ...;\n> \tCOMMIT;\n> \tBEGIN;\n> \tINSERT INTO ...;\n> \tCOMMIT;\n> \n> With savepoints, it looks pretty strange:\n> \t\n> BEGIN;\n> \tSAVEPOINT ...
[ { "msg_contents": "\n> I'd opt for BEGIN as a start of a subtransaction (no need for special \n> semantics in plpgsql), the corresponding END simply changes the \n> transaction context to the parent level.\n\nBut 'BEGIN' in plpgsql does not start a [sub]transaction, it starts a \nstatement block. Are we intendi...
[ { "msg_contents": "-----BEGIN PGP SIGNED MESSAGE-----\nHash: SHA1\n\nHi, I've prepared a patch(against CVS HEAD of today) to pg_dump.c to\nmake pg_dump understand multiple -t options for dumping multiple tables\nin one command.\nEks:\npg_dump -t table1 -t table2 -t table3 <dbname>\n\nThe patch is here:\nhttp://...
[ { "msg_contents": "\n> >But 'BEGIN' in plpgsql does not start a [sub]transaction, it starts a \n> >statement block. Are we intending to change that ? I think not.\n> >\n> > \n> >\n> There are two possibilities:\n> Either BEGIN *does* start a subtransaction, or BEGIN does not. I don't \n> see how two nesting le...
[ { "msg_contents": "I have an intermittent problem with PostgreSQL 7.3.2 on Solaris 8.\nThe backend process crashes once in a while, with this in the database log:\n\n... ...\n2004-07-05 22:43:54 LOG: database system is ready\nIpcSemaphoreInitialize: semctl(id=65615, 14, SETVAL, 0) failed:\nInvalid argument\n20...
[ { "msg_contents": "We have user-defined aggregates written in C running inside the server. \n We are running into some memory management issues and wondering what \nis the best way to solve the problem.\n\nThe state of the aggregates is a structure with a pointer to allocated \nmemory. The structure and memor...
[ { "msg_contents": "Jonah,\n\n> I have seen some discussion about using OS-level quotas on a user or \n> group level, however, like our Oracle system, not all database users \n> have a system account.  This is why I needed to implement user-specific \n> quota functionality within the database itself.\n\nAgreed. ...
[ { "msg_contents": "At 12:19 PM 29/06/2004, Christopher Kings-Lynne wrote:\n>It's hacky (although officially hacky :) ) in regards that it parses the \n>dropStmt on each object to get the objects name. This is necessary \n>because of an oversight in the initial design of the binary format.\n\nIf there's somethi...
[ { "msg_contents": "while playing with the OSCON CD's, I noticed that the current version of \nplperl installs the same function handler for both, plperl and plperlu. \nI was wondering how it implements the important security difference or, \nin case it is not handled and both are in fact the same, who ignored \...
[ { "msg_contents": "Bruce Momjian <pgman@candle.pha.pa.us> writes:\n> Do we change tags in any other commands?\n\nMOVE, FETCH, EXECUTE ...\n\n\t\t\tregards, tom lane\n", "msg_date": "Sat, 10 Jul 2004 15:33:14 -0400", "msg_from": "Tom Lane <tgl@sss.pgh.pa.us>", "msg_from_op": true, "msg_subject": ...
[ { "msg_contents": "I am still going through my mailbox, trying to address all the open\npatches so we can move toward beta. Of course, many of the patches I\nkept need some adjustment to get applied (e.g. configuration file\nlocation) so it is slow going.\n\nHowever, we still have PITR unapplied, autovacuum un...
[ { "msg_contents": "The new plperl returns sets by having \nthe function return an array.\n\nThis requires that the entire array be\nbuilt before anything is returned.\n\nIt seems to me that that does not scale\nvery well. The technique of RETURN NEXT;\nscales much better.\n\nFor example, you maybe selecting ro...
[ { "msg_contents": "I have caught up with my email and have loaded the patches queue with\neverything that was submitted before the feature freeze:\n\n\thttp://momjian.postgresql.org/cgi-bin/pgpatches\n\nIt is going to take some time to work through these patches and get them\nall applied, but we are working on ...
[ { "msg_contents": "Are we removing initlocation in 7.5 now that we have tablespaces?\n\n-- \n Bruce Momjian | http://candle.pha.pa.us\n pgman@candle.pha.pa.us | (610) 359-1001\n + If your life is a hard drive, | 13 Roberts Road\n + Christ can be your backup. ...
[ { "msg_contents": "#timezone = unknown # actually, defaults to TZ environment \nsetting\n\nIs that comment still actually true?\n\nChris\n\n", "msg_date": "Mon, 12 Jul 2004 09:46:25 +0800", "msg_from": "Christopher Kings-Lynne <chriskl@familyhealth.com.au>", "msg_from_op": true, "msg...
[ { "msg_contents": "Kind people,\n\nI just ran across this, and was wondering whether it's worth a\nback-patch. The interval type has an aggregate for average (AVG), but\nnot one for standard deviation (STDDEV) or variance (VARIANCE).\n\nIs this a bug? Is there some problem with defining variance over\ninterva...
[ { "msg_contents": "Our current release schedule is:\n\n\to apply most oustanding patches this week\n\to take two weeks to finalize open issues\n\to beta August 1\n\n-- \n Bruce Momjian | http://candle.pha.pa.us\n pgman@candle.pha.pa.us | (610) 359-1001\n + If your l...
[ { "msg_contents": "List of open nested transactions items.\n\n\n\nImplement named savepoint syntax, with SQL2003 semantics. Work in\nprogress, foundations done. Needs polishing and testing.\n\nFix issues with cursors. Need to mess with open portals at subxact abort.\n\nAllow support for exceptions in functio...
[ { "msg_contents": "Is it really such a good idea to have \"trust\" authentication enabled for\nlocalhost (TCP/IP and Unix sockets) by default? Since this pretty much\nmeans that anybody with shell access on the server (which depending on\nthe situation can be only dba people, or a whole lot of other people as\n...
[ { "msg_contents": "-----BEGIN PGP SIGNED MESSAGE-----\nHash: SHA1\n\n\nHi,\n\nWe currently experience problems while logging into CVS server:\n\n[pgsql75@gunduz pgsql75]$ cvs -z3 -d :pserver:anoncvs@anoncvs.postgresql.org:/projects/cvsroot co -P pgsql\ncvs checkout: authorization failed: server anoncvs.postgres...
[ { "msg_contents": "tom lane wrote:\n> The bottom line to my mind is that if there were a one-size-fits-all\n> authentication solution, we'd not have so many to choose from. I\ndon't\n> think we are doing DBAs any service by pretending that they might not\n> need to think about their choice of auth method. I c...
[ { "msg_contents": "-bash-2.05b$ cvs up\ncvs update: authorization failed: server anoncvs.postgresql.org rejected \naccess to /projects/cvsroot for user anoncvs\n\nChris\n", "msg_date": "Tue, 13 Jul 2004 09:38:11 +0800", "msg_from": "Christopher Kings-Lynne <chriskl@familyhealth.com.au>", "msg_from_o...
[ { "msg_contents": "Robert, Bruce,\n\n> > > If anybody still has access to that page, the project has moved to\n> > > gborg specifically over to\n> > >\n> > > http://gborg.postgresql.org/project/mysql2psql/projdisplay.php\n> > >\n> > > where a new version of the perl conversion script is located.\n\nThere's one ...
[ { "msg_contents": "If you ALTER USER the cluster owner (eg. 'postgres') to set a user GUC \nvariable, it is not dumped in any way.\n\nI see that we're really trying to avoid referring to the cluster owner \nby name, but shall I just go ahead and fix it by making it output an \nALTER USER for the cluster owner i...
[ { "msg_contents": "> >>No, but none of the others are better. See previous discussions in \n> >>the archives. I don't think the situation has changed any \n> since the \n> >>last time we hashed this out.\n> > \n> > If they supply a password to initdb, shouldn't we then require a \n> > password in pg_hba.conf....
[ { "msg_contents": "> > IMO, forcing su password at initdb time (allowing blank \n> password with \n> > a very stern warning) and bumping localhost to auth is the \n> right way \n> > to go.\n> \n> This isn't happening for a number of reasons, the most \n> obvious being that we cannot require initdb to be run \n>...
[ { "msg_contents": "> It has probably be said before, but new users need to be able \n> to get up and running on their *development* system quickly. \n> Throwing new users for a loop with the password configuration \n> issues would be a problem.\n\nThis is exactly the argument that was thrown out when people wa...
[ { "msg_contents": "\n> The starting a new timeline thought works for xlogs, but not for clogs.\n> No matter how far you go into the future, there is a small (yet\n> vanishing) possibility that there is a yet undiscovered committed\n> transaction in the future. (Because transactions are ordered in the clog\n> be...
[ { "msg_contents": "One failing that has appeared during the 7.5 development cycle is that\nwe as a community haven't been able to provide timely feedback to\ndevelopers working on large feature additions.\n\nI am particularly thinking of Alvaro (nested transactions) and Simon\n(PITR), where we haven't been able...
[ { "msg_contents": "> >> This isn't happening for a number of reasons, the most \n> obvious being \n> >> that we cannot require initdb to be run interactively. \n> (That stern \n> >> warning will not impress /dev/null.)\n> \n> > This is the very reason --pwfile was added.\n> \n> No, that does not address the ob...
[ { "msg_contents": "Chris, all:\n\n> Well, I note (and I'm not being unkind or anything here) that a lot of\n> the high level committers we have haven't been so active this release.\n> Peter and Joe haven't been around much and Jan has been busy with Slony.\n> We also lost Thomas Lockhart. Neil's also away o...
[ { "msg_contents": "I've worked out a scheme that should adequately detect encoding \nmismatches in initdb. Please comment on the following behavior.\n\nThe locale is still taken from the environment or the command line; no \nchange.\n\nIf the locale is C or POSIX, then we set the encoding to SQL_ASCII or \nwha...
[ { "msg_contents": ">The only part of this discussion that I'd really be prepared \n>to buy into\n>is the part about *if* you use -W or --pwfile, then set up pg_hba.conf\n>with MD5 as the default auth (because that's probably what the user\n>wants anyway). But otherwise I think we should leave initdb's behavior...
[ { "msg_contents": "Regarding the encoding/locale matching issue, here's another test \nroutine I would like you to run if you want to see your operating \nsystem supported. It reflects more accurately the actual \nimplementation I'm working on.\n\nCompile the attached test program and then run\n\nfor x in `loc...
[ { "msg_contents": "I've been thinking about what to do with cursors in subtransactions.\nThe problem really includes both cursors (created with DECLARE CURSOR)\nand portals (created with the V3-protocol Bind message) since they are\nthe same kind of animal internally, namely a Portal. In previous\ndiscussion I...
[ { "msg_contents": ">>> The only part of this discussion that I'd really be prepared=20\n>>> to buy into\n>>> is the part about *if* you use -W or --pwfile, then set up \n>pg_hba.conf\n>>> with MD5 as the default auth (because that's probably what the user\n>>> wants anyway).\n>\n>> Ok. Here is a patch that does...
[ { "msg_contents": "> Magnus Hagander wrote:\n> > > not to mention the\n> > >more basic problem that the comments will now be wrong.\n> > \n> > That, however, it is correct :-( Sloppy.\n> > \n> > How about a text along the line of:\n> > CAUTION: Configuring the system for \"trust\" authentication \n> allows any ...
[ { "msg_contents": "\n> The recovery mechanism doesn't rely upon you knowing 1 or 3. The\n> recovery reads pg_control (from the backup) and then attempts to\n> de-archive the appropriate xlog segment file and then starts \n> rollforward\n\nUnfortunately this only works if pg_control was the first file to be \nba...
[ { "msg_contents": "\nMy answers:\n\n> Q1: Should Portals successfully created within the failed subxact\n> be closed? Or should they remain open?\n\nno for protocol level\n\nI can understand a yes to this one for sql level, because it will be\nhard to clean up by hand :-( But I like the analogy to hold cursors...
[ { "msg_contents": "Tom,\n\nAs much as I can understand the arguments -- many of them performance-oriented \n-- for handling Portals non-transactionally, I simply don't see how we can do \nit and not create huge problems for anyone who uses both cursors and NTs \ntogether ... as those who use either are liable t...
[ { "msg_contents": "Jan,\n\n> What touches me here is the fact that the PostgreSQL Open Source Project\n> under the BSD license seems starting to care a lot more about some press\n> releases and silly news splashes, than to care about real features\n> contributed under the terms and conditions of the BSD license...
[ { "msg_contents": "Attached is a patch against pg_dump version 7.4.3 that permits\nmultiple \"-t\" switches so that you can select more than one table (but\nless than all) to dump.\n\nIt also adds a \"-T\" switch (long name \"--exclude-table\") that says\n*not* to dump a specific table. So:\n\n pg_dump ...
[ { "msg_contents": "I found a very strange error/behavior in a PreparedStatement for a \nsimple SQL Update over a VARCHAR field.\nThe code is like:\n\n Statement stmt = con.createStatement();\n PreparedStatement pstIns = con.prepareStatement(\"update userid.t set \ncalle = ? \"); \n ResultSet rs =...
[ { "msg_contents": "\n> > Other db's have commands for:\n> > start/end external backup \n\nI see that the analogy to external backup was not good, since you are correct\nthat dba's would expect that to stop all writes, so they can safely split\ntheir mirror or some such. Usually the expected time from start\nunt...
[ { "msg_contents": "Maybe other people want to comment on this issue.\n\nSo far, \\z and \\dp have shown privileges of tables.\n\nNow \\dn+ and \\db+ show the privileges of schemas and tablespaces.\n\nShould we, for consistency, move the table privilege display to \\dt+, or \nshould we move the schema and tables...
[ { "msg_contents": "\nSorry for the stupid question, but how do I get this patch if I do not\nreceive the patches mails ?\n\nThe web interface html'ifies it, thus making it unusable.\n\nThanks\nAndreas\n", "msg_date": "Thu, 15 Jul 2004 15:00:24 +0200", "msg_from": "\"Zeugswetter Andreas SB SD\" <Zeugswet...
[ { "msg_contents": "Here's the core of the logger subprocess.\n\n- no rotation code so far, all syslogFile handling is for testing only\n- send_message_to_serverlog needs some careful handling of stderr, in \ncase pipe writing fails or if after a log process restart redirecting \nstderr fails. In these cases, th...
[ { "msg_contents": "FYI\n\nhttp://www.databasejournal.com/features/db2/article.php/3361941\n\nBest Regards, Simon Riggs\n\n", "msg_date": "Thu, 15 Jul 2004 20:41:08 +0100", "msg_from": "Simon Riggs <simon@2ndquadrant.com>", "msg_from_op": true, "msg_subject": "Nested Savepoints in Db2 Stinger" ...
[ { "msg_contents": ">It occurs to me that with a check this thorough, we might be \n>able to finesse the problem on Windows with the system \n>returning very nonstandard timezone abbreviations. That is, \n>we might simply \"#ifndef WIN32\" the matching of zone names in \n>try_timezone(). However I do not know w...
[ { "msg_contents": "While running a parallel regression test I saw a failure\n\t\"relation deleted while still in use\"\nout of the subtransactions test, after which the backend dumped core.\nThe coredump was in AtSubAbort_smgr, and it was failing because\nupperPendingDeletes was NIL (which it should not have be...
[ { "msg_contents": "Hi,\n\nTo prevent SQL injections, I try to neutralize SQL metacharacters.\n\nex:\n\nCode:\n\n\n> function SQLString($s) {\n> $s = str_replace(\"'\", \"\\\\s\", $s)'\n> $s = str_replace(\"\\\\\", \"\\\\\\\\\", $s);\n> return \"'\" . $s . \"'\";\n\n\n\nAnd suppose I use this :\n\n> ...
[ { "msg_contents": "Hi all,\n\nCame across a scenario today where I want to backup the latest values of \nsequences in the database, so they can be restored along with the data \nfrom a COPY command.\n\nLooked at pg_dump's output options (for 7.4/7.5) and there doesn't seem \nto be an easy way for just dumping s...
[ { "msg_contents": "Hello all.\n\nIn IRC, one of the questions we get from time to time is how to convert \nUNIX epoch to PostgreSQL timestamp. Users are often surprised there \nisn't a builtin cast or function that does this.\n\nI've put together two simple SQL functions that accomplish this. I \nthink they wou...
[ { "msg_contents": "> -----Original Message-----\n> From: pgsql-hackers-owner@postgresql.org \n> [mailto:pgsql-hackers-owner@postgresql.org] On Behalf Of Tom Lane\n> Sent: Thursday, July 15, 2004 9:13 PM\n> To: Oliver Jowett\n> Cc: Magnus Hagander; Hackers; pgsql-hackers-win32@postgresql.org\n> Subject: Re: [pgs...
[ { "msg_contents": "this is 7.3.3 (PGDG rpm's) on red hat 7.2:\n\ni had a lot of debugging enabled. i went to create an index, and pgsql \ndumped on me. i tried restarting several times - no luck.\n\nstarting postgresql gives\n\nLOG: database system shutdown was interrupted at 2004-07-16 01:11:56 EDT\nLOG: c...
[ { "msg_contents": "i had a lot of debugging enabled. i went to create an index, and pgsql \ndumped on me. i tried restarting several times - no luck.\n\nstarting postgresql gives:\n\nLOG: database system shutdown was interrupted at 2004-07-16 01:11:56 EDT\nLOG: checkpoint record is at 0/53A3FC0\nLOG: redo ...
[ { "msg_contents": "Hi,\n\nCan I change pg_dump to never use the AUTHORIZATION clause and use OWNER \nTO instead? It would make things a lot simpler, especially in the case \nwhen dumping that the public schema has had its ownership changed.\n\nThis is what the comment says:\n\n* Note that ownership is shown in...
[ { "msg_contents": "> -----Original Message-----\n> From: Tom Lane [mailto:tgl@sss.pgh.pa.us] \n> Sent: Thursday, July 15, 2004 10:03 PM\n> To: Dann Corbit\n> Cc: Oliver Jowett; Magnus Hagander; Hackers; \n> pgsql-hackers-win32@postgresql.org\n> Subject: Re: [pgsql-hackers-win32] [HACKERS] Weird new time zone \n...
[ { "msg_contents": "> >> It occurs to me that with a check this thorough, we might \n> be able to \n> >> finesse the problem on Windows with the system returning very \n> >> nonstandard timezone abbreviations.\n> \n> > It does *not* pick up my timezone.\n> \n> Drat. I assume from your domain name that Europe/St...
[ { "msg_contents": "Hi guys,\n\nduring my study i have to du some practical work. i must extend postgresql with some sampling algorithms. therefore i implemented some trigger functions. it works fine.\nbut now i have to do some changes concerning the parser, particularly analyze.c . if a user sends an create tab...
[ { "msg_contents": "\n> > I'm aiming for the minimum feature set - which means we do need to take\n> > care over whether that set is insufficient and also to pull any part\n> > that doesn't stand up to close scrutiny over the next few days.\n> \n> As you can see, we are still chewing on NT. What PITR features a...
[ { "msg_contents": "> > Over-simplistic answers are not what we need here. The \n> data structure \n> > you quote cannot even tell what DST transition dates Windows thinks \n> > are in effect this year, let alone what it thinks the dates were in \n> > past years.\n> \n> Yes, there are other calls for that, obvi...
[ { "msg_contents": "> >> I thought the issue under question was to find out what \n> the time zone \n> >> was.\n> \n> > Nope, we already had that. The issue is that the names are not the \n> > same as the one used in zic/unix, so there is nothing to match on.\n> \n> Right. The problem we are actually faced with...
[ { "msg_contents": "Dear patchers,\n\n\nPlease find attached another new version of a patch which provides a\nworking infrastructure for pg extensions. I hope it addresses all of\nPeter's comments. I'll be away for the next 3 weeks, so if minor changes\nare required it would be best if you could proceed without ...
[ { "msg_contents": "\n> then on restore once all the files are restored move the\n> pg_control.backup to its original name. That gives us the checkpoint\n> wal/offset but how do we get the start/stop information. Is that not\n> required?\n\nThe checkpoint wal/offset is in pg_control, that is sufficient start \...
[ { "msg_contents": "\n> >> Do we need a checkpoint after the archiving\n> >> starts but before the backup begins?\n> \n> > No.\n> \n> Actually yes.\n\nSorry, I did incorrectly not connect 'archiving' with the backed up xlogs :-(\nSo yes, you need one checkpoint after archiving starts. Imho turning on xlog\narchi...
[ { "msg_contents": "Andreas Pflug wrote:\n> Bruce Momjian wrote:\n> \n> > \n> > This seems quite involved. Can we get the basic functionality I\n> > described first? \n> \n> Current workable patch.\n> \n> Some questions/limitations:\n> - How's the official way to restrict pg_* functions to superuser only\n\nVer...
[ { "msg_contents": "I noticed a curious thing (not sure if by design or not).\n\nWhile using the PQExecPrepared interface, the statement name passed to\nthe function (as a const char*) has to be in lower case to get it to\nwork. I kind of understand why this is, but it is kind of weird that\npassing the exact s...
[ { "msg_contents": "Hi all,\n\nI'm compiling the last postgres CVS version and I get:\n\nvacuum.c: In function `repair_frag':\nvacuum.c:1528: warning: unused variable `myXID'\n\n\n\nRegards\nGaetano Mendola\n\n\n\n\n", "msg_date": "Fri, 16 Jul 2004 22:40:21 +0200", "msg_from": "Gaetano Mendola <mendola@b...
[ { "msg_contents": "Peter Eisentraut wrote:\n> Merlin Moncure wrote:\n> > While using the PQExecPrepared interface, the statement name passed\n> > to the function (as a const char*) has to be in lower case to get it\n> > to work. I kind of understand why this is, but it is kind of weird\n> > that passing the ex...
[ { "msg_contents": "Hi all,\nwhy after compiling and install postgresql CVS tip\nthere is no information on how to run it ? Also\nthe file INSTALL is not there anymore.\n\nDo I miss something in these days ?\n\n\n\nRegards\nGaetano Mendola\n\n\n\n", "msg_date": "Fri, 16 Jul 2004 22:49:47 +0200", "msg_fro...
[ { "msg_contents": "Hi all,\nI'm doing some experiments with NT, I din't expect this behaviuor:\n\n\ncreate table test ( a integer );\ninsert into test values (3);\ninsert into test values (4);\ninsert into test values (5);\ninsert into test values (6);\n\n\n\nSESSION 1; SESSION 2;\n\n...
[ { "msg_contents": "We are two weeks away from the beta freeze on August 1 so I want to give\na status report on where we are.\n\nRight now we have two large outstanding items, and a few smaller ones. \nNested transactions (NT) is in CVS, but it is missing:\n\n\to savepoints\n\to cursor rollback\n\to performa...
[ { "msg_contents": "Hi all,\nstill experimenting NT:\n\n\nkalman=# begin;\nBEGIN\nkalman=# select * from a;\nERROR: relation \"a\" does not exist\nkalman=# begin;\nBEGIN\nkalman=# select * from test;\nERROR: current transaction is aborted, commands ignored until end of transaction block\n\nI think the second b...
[ { "msg_contents": "-----BEGIN PGP SIGNED MESSAGE-----\nHash: SHA1\n\nI know it's very early, but I think this is going to be important if you \nwant people (like me) who want to help test.\n\nFirst off, the only reference to \"nested transaction\" I could find in the \ndocumentation is a note that PostgreSQL do...
[ { "msg_contents": "-----BEGIN PGP SIGNED MESSAGE-----\nHash: SHA1\n\nCheck out this gem.\n\n=> CREATE TABLE t (i int);\n\n=> CREATE OR REPLACE FUNCTION test() RETURNS VOID\nLANGUAGE 'plpgsql' AS '\nBEGIN\n INSERT INTO t VALUES (1);\n EXECUTE ''BEGIN'';\n DELETE FROM t;\n EXECUTE ''ROLLBACK'';\n RETURN;\nEN...
[ { "msg_contents": "If we do not add timeline numbers to WAL file names, we will be forced\nto destroy information during recovery. Consider the following\nscenario:\n\n1. You have a WAL directory containing, say, WAL segments 0010 to 0020\n(for the purposes of this example I won't bother typing out realistic\n...
[ { "msg_contents": "-----BEGIN PGP SIGNED MESSAGE-----\nHash: SHA1\n\nHi all,\n\nI'm compiling the last postgres CVS version and I get:\n\nvacuum.c: In function `repair_frag':\nvacuum.c:1528: warning: unused variable `myXID'\n\n\n\nRegards\nGaetano Mendola\n\n\n\n\n-----BEGIN PGP SIGNATURE-----\nVersion: GnuPG v...
[ { "msg_contents": "-----BEGIN PGP SIGNED MESSAGE-----\nHash: SHA1\n\nHi all,\nI'm doing some experiments with NT, I din't expect this behaviuor:\n\n\ncreate table test ( a integer );\ninsert into test values (3);\ninsert into test values (4);\ninsert into test values (5);\ninsert into test values (6);\n\n\n\nSE...
[ { "msg_contents": "-----BEGIN PGP SIGNED MESSAGE-----\nHash: SHA1\n\nHi all,\nstill experimenting NT:\n\n\nkalman=# begin;\nBEGIN\nkalman=# select * from a;\nERROR: relation \"a\" does not exist\nkalman=# begin;\nBEGIN\nkalman=# select * from test;\nERROR: current transaction is aborted, commands ignored unti...
[ { "msg_contents": "Related to autovacuum work, I was looking into the new vacuum delay\nfunctionality. I might be missing something, but I can't find anything\non it in the developer docs. Is that right?\n\nAlso, in the default postgresql.conf there is:\n\n#vacuum_cost_naptime = 50 # 0-1000 milliseconds...
[ { "msg_contents": "Hi everyone,\n\nI've decided to attempt to nail all known bugs in pg_dump for 7.5 :)\n\nSo, please send me ALL your known bugs/issues with pg_dump, pg_dumpall \nand pg_restore. Note that I am NOT interested in feature requests, ONLY \nbugs.\n\nA bug is considered to be an issue in pg_dump th...
[ { "msg_contents": "While testing the logger subprocess, I found that I get a\n\"could not read from system logger pipe: Too many open files\" if I abort \na SSL connection.\n\nAfter that, the ereport(FATAL) will screw up the backend, semctl etc (To \nfix this, I'm using ereport(COMMERROR) and exit(1) now, logge...
[ { "msg_contents": "Kind people,\n\nIt's been pointed out to me that I tend to document by example\n<http://fetter.org/sgml/plperl.html>, e.g.\n\nMy personal opinion is that this is a good thing, and should happen\nthroughout the PostgreSQL documentation. However, this is not my\ndecision to make.\n\nHere's som...
[ { "msg_contents": "\nHow can I get a TupleDesc for the return type of a non-SR function that \nreturns a tuple? I'm sure it's there somewhere but I just can't see it.\n\nthanks\n\nandrew\n", "msg_date": "Sun, 18 Jul 2004 20:30:45 -0400", "msg_from": "Andrew Dunstan <andrew@dunslane.net>", "msg_from_...
[ { "msg_contents": "I am seeing a compile failure in current CVS from strptime():\n\n ./backend/access/transam/xlog.c: if (strptime(tok2, \"%Y-%m-%d %H:%M:%S\", &tm) == NULL)\n\nBSD/OS does not have that function.\n\n-- \n Bruce Momjian | http://candle.pha.pa.us\n pgman@candle.pha.p...
[ { "msg_contents": "\nThis patch provides a new function regexp_replace.\nregexp_replace extends a replace function and enables text search\nby the regular expression. And, a back reference can be used within\na replace string.\n(This patch for PostgreSQL 7.4.3)\n\nFunction: regexp_replace(str, pattern, replace_...
[ { "msg_contents": "In mysql, we can wrote a create table like \nCREATE TABLE t (i INT) ENGINE = INNODB||BDB|;\nwhere the storage engine is the innodb one. \nThis allow to have differents kind of storage format, and allow to easly implements memory table or remote table. \nI try to make the same thing for postgr...
[ { "msg_contents": "Rod,\n\n> I think what we want is a clean template without all of the extras that\n> template1 has.\n\nWe have this, it's called Template0.\n\nActually, KL, that would solve a lot of these duplicate object problems. What \nif pg_restore used Template0 and not Template1? It wouldn't fix th...
[ { "msg_contents": "Hi all,\nI'm trying the savepoint-5.patch\n\nUsing the psql the TAB autocomplete doesn't work for savepoint and for release commands,\nalso the ROLLBACK doesn't know yet the ROLLBACK TO sintax.\n\nAttached the patch that solve these issues.\n\nBTW, there is a way to know which savepoint are a...
[ { "msg_contents": "At the top of backend/parser/gram.y there's a big comment that says\n\"don't do any database access during the parse phase, just in case we're\nin the middle of an aborted transaction\".\n\nI don't get it. Why would database access fail during an aborted\ntransaction? Any changes have to be...
[ { "msg_contents": "I've been having a problem with the pgstat.c localhost change since 7.4, \nin that statistics gathering stopped working on my gentoo boxes. I've \nnot traced it back beyond getaddrinfo called in getaddrinfo_all, and \ndecided the quick fix was to go back and change pgstat to use 127.0.0.1 \n...
[ { "msg_contents": "Bruce and I had another phone chat about the problems that can ensue\nif you restore a tar backup that contains old (incompletely filled)\nversions of WAL segment files. While the current code will ignore them\nduring the recovery-from-archive run, leaving them laying around seems\nawfully d...
[ { "msg_contents": "\nI know it's not critical, but is it worth rewriting pg_config in C so it \nworks on Windows (or alternatively writing it as a .bat file for Windows)?\n\ncheers\n\nandrew\n", "msg_date": "Mon, 19 Jul 2004 22:01:50 -0400", "msg_from": "Andrew Dunstan <andrew@dunslane.net>", "msg_f...
[ { "msg_contents": "\n> > I don't know if the problem is isolated to just me, but I wanted to \n> > suggest that we use a parameter for that, which can be configured in the \n> > postgresql.conf, with a default value if it's not set, set to \n> > localhost.\n> \n> I think you should first trace down what the pro...
[ { "msg_contents": "\n> > Hang on, are you supposed to MOVE or COPY away WAL segments?\n> \n> Copy. pg will delete them once they are archived.\n\nCopy. pg will recycle them once they are archived.\n\nAndreas\n", "msg_date": "Tue, 20 Jul 2004 09:40:23 +0200", "msg_from": "\"Zeugswetter Andreas SB SD\" <...