threads
listlengths
1
2.99k
[ { "msg_contents": ">> IIRC there was discussion about the location of the files \n>(Peter I think\n>> it was suggesting creating a new directory - I'll happily leave that\n>> part up to an eventual committer). \n>> \n>> Another discussion was about binary files in the tree (not \n>being source\n>> files - the s...
[ { "msg_contents": "hi all,\n I am porting all my data from oracle to postgres :) . I want\nto know where can I put the tables which existed in nulltablespace in\noracle. How is the nullTablespace different from default table space\nand how is this done in postgres .\n-- \n\"Stand for something, or you w...
[ { "msg_contents": "Hi Every one.\n\nAt least I made PITR working however I still have 2 questions:\n\n1) It seems there is a slight bug in this case:\nselect pg_backup_start('test);\n... make backup\nselect pg_backup_end();\npsql database\ndrp table.... note the time in logs\npg_ctl stop\nrm -rf $PGDATA\nresto...
[ { "msg_contents": "Since I needed this feature badly, I added the -n / --schema switch to \npg_restore. It restores the given schemaname only. It can be used in \nconjunction with the -t and other switches to make the selection very \nfine grained.\n\nThis patches works for me, but it could use more testing.\n\...
[ { "msg_contents": "\nI never got any feedback on v7.3.7's packaging, so I'm guessing that it \nlooked okay to everyone, even though it was substantially smaller? The \nonly two things that I can think of that might have failed appear to be in \nthere:\n\n%tar tvzpf postgresql-7.3.7.tar.gz | grep man.tar\n-rw-r...
[ { "msg_contents": "I'm seeing the following errors after a few hours of fairly aggressive \nbulk load of a database running on Postgres 7.4.2:\n\ncyspec=# select version();\nERROR: root page 43 of \"pg_proc_proname_args_nsp_index\" has level 0, \nexpected 2\ncyspec=# select * from pg_class;\nERROR: root page ...
[ { "msg_contents": "Hi all,\nIt seems that there is no way to know the postgres\nuptime, a sort of uptime() function could be usefull.\nI had recently the necessity of detect a node fail over,\nand the only way I can do it with a SQL connection is asking\nthe engine uptime. Of course I can do it with PS but\nnow...
[ { "msg_contents": "http://www.cs.mcgill.ca/~kemme/papers/vldb00.html\n\nARC buffer replacement policy supersedes LRU.\n", "msg_date": "Fri, 20 Aug 2004 00:43:25 GMT", "msg_from": "Mischa Sandberg <ischamay.andbergsay@activestateway.com>", "msg_from_op": true, "msg_subject": "PG replic refs" },...
[ { "msg_contents": "Hi All,\r\nI am using Postgres 7.4.6 on Red hat linux 9.0. When I try insert a chinese\ncharacter from my frontend(Asp.Net on win2k pro using ado.net, .Net\nframework 1.1) into a table in my postgres database I am getting the\nfollowing error message\r\n\r\n\"System.Data.Odbc.OdbcException: E...
[ { "msg_contents": "\nhi,\n\ni have a problem with selecting function :\n\ndb=# select auxilium.exists('arx.mods', 'r');\n exists\n--------\n t\n(1 row)\n\ndb=# select exists('arx.mods', 'r');\nERROR: syntax error at or near \"'arx.mods'\" at character 15\ndb=# show search_path;\n search_path\n----------...
[ { "msg_contents": "I am still seeing random regression test failures on my SMP BSD/OS\nmachine. It basically happens when doing 'gmake check'.\n\nI have tried running repeated tests and can't get it to reproduce, but\nwhen checking patches it has happened perhaps once a week for the past\nsix weeks. It happen...
[ { "msg_contents": "-----BEGIN PGP SIGNED MESSAGE-----\nHash: SHA1\n\nI all,\nI was able to create the RPM for RH 2.1 AS\nusing the SRPMS found at\nftp://ftp.postgresql.org/pub/binary/v7.4.5/srpms/redhat-9/\n\nrpmbuild --rebuild --define 'python 0' postgresql-7.4.5-1PGDG.src.rpm\n\n\nYou can find the RPMs at:\n\...
[ { "msg_contents": "\n P O S T G R E S Q L\n\n 8 . 0 O P E N I T E M S\n\n\nCurrent version at ftp://momjian.postgresql.org/pub/postgresql/open_items.\n\nChanges\n-------\n* Win32\n\to add binary version stamps?\n\to fix signal-safe socket handler for SS...
[ { "msg_contents": "Hi all,\nreading this article:\n\nhttp://www.devx.com/dbzone/Article/20743\n\nI notice on page 2:\n\n\"New versions of PostgreSQL support standard row-level\nlocking as an option, but MVCC is the preferred method\"\n\nWhat this does mean ?\n\n\n\nRegards\nGaetano Mendola\n", "msg_date": "...
[ { "msg_contents": "I didn't like the Solaris bug mention in pg_hba.conf. It seemed like\nthe wrong place:\n\n+ # Note: On some Solaris systems, an IP-MASK of 255.255.255.255 is known not to work.\n+ # The corresponding CIDR-MASK of /32 does work. \n\nI have removed it. Should we put something in the docs inst...
[ { "msg_contents": "\n\nIt has been impossible to install PostgreSQL, an open\nsource software, from my SUSE 8.0 . Although it tells\nyou its been installed, each time i try to start it\nusing SysV-Init Editor, i get the following message:\n\n<start>starting</start><cmd>/etc/init.d/postgresql</cmd>\"\"<br/>\nsta...
[ { "msg_contents": "BEGIN;\n...\n...\n...\nEND;\n\nPANIC: invalid xlog record length 236052\nserver closed the connection unexpectedly\n This probably means the server terminated abnormally\n before or while processing the request.\nThe connection to the server was lost. Attempting reset: Failed.\...
[ { "msg_contents": "We have an IP-MASK column in pg_hba.conf. Now that we are using CIDR\naddresses by default, should we remove the column label?\n\nWe still support the a netmask value if they don't use CIDR format, but\nnow that the default is CIDR, it seems we should remove the column\nlabel.\n\n-- \n Bruc...
[ { "msg_contents": "Hi list,\n\nI asked both these questions on the cygwin list, but as I've started to \nlook into the native port as well, and as I didn't get any answer there, \nI would appreciate any answer here as well.\n\nI'm trying to compile an external library for use as a postgres \nextension. The proj...
[ { "msg_contents": "There has been some previous discussion of removing the contrib/rserv\nmodule, on the grounds that (1) it's horribly obsolete and unmaintained,\nand (2) its presence in the core distribution may mislead users into not\nconsidering the newer better replication solutions available elsewhere\n(e...
[ { "msg_contents": "Hello\n\nExceptions are very usefull and nice, thanks. But, I didn't find any \npossibility to get any information about exception when I use \nEXCEPTION WHEN OTHERS THEN.\n\nOracle has two wariables SQLCODE and SQLERRM.\n\nRegards\nPavel Stehule\n", "msg_date": "Sun, 22 Aug 2004 23:15:13...
[ { "msg_contents": "Different memory usage 7.4.3 vs 8.0.0beta1\n\nclient does:\n\nbegin\n bulk inserts into single table via PQexecParams (1.2 million records)\ncommit\n\nunder 7.4.3 memory usage is static\nunder 8.0.0beta1 server used increasing memory untill depletion of vm/swap\n\n7.4.3\nlast pid: 974; lo...
[ { "msg_contents": "Hi all,\nI don't want be a pain in the.... but now that 7.4.5 is\nofficially out I think is time to change the version doc on:\n\nhttp://www.postgresql.org/docs/7.4/interactive/index.html\n\n\nRegards\nGaetano Mendola\n\n\n\n\n\n", "msg_date": "Mon, 23 Aug 2004 17:44:52 +0200", "msg_f...
[ { "msg_contents": "Hackers,\n\nI'm seeing this:\n\ngcc -O2 -fno-strict-aliasing -g -Wall -Wmissing-prototypes -Wmissing-declarations -I/home/alvherre/CVS/pgsql/source/00orig/src/interfaces/libpq -I../../../src/include -I/home/alvherre/CVS/pgsql/source/00orig/src/include -D_GNU_SOURCE -DFRONTEND -c -o pg_backu...
[ { "msg_contents": "Hi all,\nin order to debug \"step by step\" the postmaster,\njust to understand better the code, is it enough\nto compile it after having exported:\n\nCFLAGS='-O0 -g' ?\n\ndo you have any hint and/or tips ?\n\nBTW what do you use for this task ?\n\nRegards\nGaetano Mendola\n\n\n\n", "msg_...
[ { "msg_contents": "Is returning a pointer to the input safe in every case ?\n\n--strk;\n", "msg_date": "Mon, 23 Aug 2004 18:55:21 +0200", "msg_from": "strk <strk@keybit.net>", "msg_from_op": true, "msg_subject": "returning modified input from C functions" }, { "msg_contents": "strk <strk...
[ { "msg_contents": "pgsql@mohawksoft.com writes:\n\n> Something to think about:\n>\n> if you run PostgreSQL with fsync on, but you use the hardware write cache\n> on your disk drives, how likely are you to lose data? Obviously, this is a\n> fairly limited problem, as it only applies to power down (which you can\...
[ { "msg_contents": "Log Message:\n-----------\nUpdate that 8.0 will support MS Win natively.\n\nModified Files:\n--------------\n pgsql-server/doc:\n FAQ (r1.266 -> r1.267)\n (http://developer.postgresql.org/cvsweb.cgi/pgsql-server/doc/FAQ.diff?r1=1.266&r2=1.267)\n pgsql-server/doc/src/FAQ:\n...
[ { "msg_contents": "Log Message:\n-----------\nRearrange pg_subtrans handling as per recent discussion. pg_subtrans\nupdates are no longer WAL-logged nor even fsync'd; we do not need to,\nsince after a crash no old pg_subtrans data is needed again. We truncate\npg_subtrans to RecentGlobalXmin at each checkpoin...
[ { "msg_contents": "Hi,\n\nI've compiled 8.0 beta 1 on a R5900 V3.1 (a playstation 2) running\nLinux (PS2 Linux 1) for portability testing.\n\nHere is what make check gave:\n\nWithout --disable-spinlocks\ncompilation *appears* to be fine, but the backends core dumps\non the spinlock assembly in s_lock.c (signal ...
[ { "msg_contents": "I get the following warnings compiling current sources:\n\n/Users/neilc/pgsql/src/bin/pg_dump/pg_backup_db.c: In function \n`_isIdentChar':\n/Users/neilc/pgsql/src/bin/pg_dump/pg_backup_db.c:874: warning: \ncomparison is always true due to limited range of data type\n/Users/neilc/pgsql/src/bi...
[ { "msg_contents": "\nJust had a \"performance\" question from a client ... the query they were \nrunning, through EXPLAIN ANALYZE, was showing 37ms to resolve ... there \nare indices on the two fields being queried, but only used on one of them \n...\n\nby changing the query *very slightly* (adding ::bigint to ...
[ { "msg_contents": "At 01:27 PM 24/08/2004, Tom Lane wrote:\n>I prefer declaring it as unsigned, which means you drop the\n>\\377 end instead ...\n\n...I've used explicit values (128) since '\\200' is -127.\n\n\n----------------------------------------------------------------\nPhilip Warner | ...
[ { "msg_contents": "Hi,\n\n I made a patch to let PostgreSQL work in the LP64 data model on\n HP-UX PA-RISC and HP-UX Itanium platform. Also this patch contains\n tas code for HP-UX Itanium.\n\n I verified this patch on the following environment and specified as\n followings at executing configure script:\n...
[ { "msg_contents": "With the new timezone stuff, is there any reason this shouldn't be made \nto work now in CVS:\n\ntest=# select current_timestamp at time zone 'Australia/Perth';\nERROR: time zone \"australia/perth\" not recognized\n\nChris\n", "msg_date": "Tue, 24 Aug 2004 13:13:35 +0800", "msg_from"...
[ { "msg_contents": " \n\n> -----Original Message-----\n> From: pgsql-hackers-owner@postgresql.org \n> [mailto:pgsql-hackers-owner@postgresql.org] On Behalf Of \n> Gaetano Mendola\n> Sent: 23 August 2004 22:41\n> To: Bruce Momjian; pgsql-hackers@postgresql.org\n> Subject: Re: [HACKERS] Interactive docs\n> \n> \n>...
[ { "msg_contents": "\n> PS: but something you *could* do in 8.0 is replace \"cp\" by \"gzip\" to\n> archive compressed files that way.\n\nHow about replacing the page image records with a same size dummy record \nthat only contains a dummy header and all 0's. If the archiver cares about \nspace he will use some ...
[ { "msg_contents": "\n> >> Think harder... one processor != one process...\n> \n> > Well sure, but you don't want a spinlock in that case.\n> \n> Actually you do, when the normal case is that you don't have to block.\n> You want it to fall through as quickly as possible in the success case\n> (the blocking case ...
[ { "msg_contents": "\n> Re-thinking the whole purpose of the additional full page images appended to\n> the xlog records, I now understand and agree with Tom's comment in the docs\n> that we don't need to include those additional full page images for PITR -\n> they only exist to correctly recover the database in...
[ { "msg_contents": "I was thinking of changing the way EFC is handled, having it retrived via code \n(much the same way top does it) rather than relying on the user to specify \nthe value. This value would then be checked/updated every so often.\n\nDoes anybody have any thoughts on this. Especially on if this ...
[ { "msg_contents": "Hi all,\nI knew there was an evaluation on the futex vs spinlock,\nand Josh Berkus on IRC told me that there was only a 20%\nperformance increase, is this increase to throw away ?\n\n\nRegards\nGaetano Mendola\n\n\n\n", "msg_date": "Wed, 25 Aug 2004 02:37:25 +0200", "msg_from": "Gaeta...
[ { "msg_contents": "Any Australian hackers interested in this?\n\n-------- Original Message --------\nSubject: [Announce] AUUG announces Code Con 2004\nDate: Tue, 24 Aug 2004 23:41:12 +1000\nFrom: David Purdue <david.purdue@auug.org.au>\nOrganization: AUUG Incorporated\nTo: announce@lists.linux.org.au\n\nNOTE: L...
[ { "msg_contents": "Gaetano,\n\n> I knew there was an evaluation on the futex vs spinlock,\n> and Josh Berkus on IRC told me that there was only a 20%\n> performance increase, is this increase to throw away ?\n\nBefore we get totally off track here ....\n\nI evaluated futexes strictly as an attempt to solve the ...
[ { "msg_contents": "Hi all,\nanyone succesfull create all the rpm for RH AS 2.1 ?\n\nI was able to do it using the srpms for RH9 but I did\nit with --define 'python 0'. Any idea on how to obtain also\nthe postgresql-python.rpm ?\n\nWithout 'pyhton 0' this is the error:\n\nchecking for python... /usr/bin/python\n...
[ { "msg_contents": "Hello,\n\nThis comment in initdb.c::main():\n\n\tchar\t *pgdenv;\t\t\t/* PGDATA value got from sent to\n\t\t\t\t\t\t\t\t * environment */\n\ndoesn't look very correct, not at least from the English language\nperspective.\n\n-- \nSerguei A. Mokhov | /~\\ The ASCII\nComputer Sc...
[ { "msg_contents": "Is there an existing function that I can use to print the \"HeapTuple\" return\nvalue of \"ExecScanHashBucket\" in nodeHash.c?\nThanks,\n--h\n\n", "msg_date": "Wed, 25 Aug 2004 15:24:06 -0500", "msg_from": "\"Hicham G. Elmongui\" <elmongui@cs.purdue.edu>", "msg_from_op": true, ...
[ { "msg_contents": "This is a first pass on a simple shared memory variable system for\nPostgreSQL. I would appriciate anyone interested in this functionality to\nrip it apart.\n\nIt basically adds this functionality:\n\nSetShared('name', value);\nGetSharedInt('name');\nSetSharedText('name);\nRemovedShared('name...
[ { "msg_contents": "\"make check\" produces the following regression.diffs:\n\n*** ./expected/geometry.out Fri Oct 31 22:07:07 2003\n--- ./results/geometry.out Thu Aug 26 00:51:46 2004\n***************\n*** 117,123 ****\n | (5.1,34.5) | [(1,2),(3,4)] | (3,4)\n | (-5,-...
[ { "msg_contents": "I'm sorry to bring this up again. From the archives I found that the \ncurrent md5 authentication scheme of postgres was designed in 2001. I \nfound a debate about it's security from 2002.\nhttp://archives.postgresql.org/pgsql-hackers/2001-06/msg00511.php\nhttp://archives.postgresql.org/pgsql...
[ { "msg_contents": "> > \"Altho tested throughout our release cycle, the Windows port does\nnot\n> have\n> > the benefit of the years of testing that has gone into the Unix\n> platforms,\n> > and, as such, should be treated with the same level of caution as\nyou\n> > would a new product\"\n> \n> Wow, that is goo...
[ { "msg_contents": "If you are afraid of the quality of the windows port, then label it as a\nBETA.\n\nWhen everyone is fully satisfied that the kinks have been worked out,\ncall it a RELEASE.\n\nIt is a bad practice to use the world as a BETA test without their\nknowledge.\n\nEven as a BETA, it will be plenty p...
[ { "msg_contents": ">>>> There is already one for the beta. I don't see a need to \n>add one for\n>>>> final release.\n>>>\n>>> Might be an idea ... if nothing else, something that at \n>least reminds them\n>>> about reporting bugs and where to do so? I'd hate to see 1000 ppl\n>>> install, 90% see bugs adn nev...
[ { "msg_contents": ">> Right. So how would you get the email address, without \n>starting the mail \n>> reader?\n>\n>have them enter one in a text box?\n>\n>> We could add a checkbox that takes them to a webpage that permits \n>> subscription. But they are certainly going to need to put \n>their email \n>> addre...
[ { "msg_contents": "I'd love to see a comment added to the linux start-script included in \ncontrib that referenced update-rc.d. It's useful to note because Debian \nhas different runlevels from Red Hat, and update-rc.d will \nintelligently do the same thing as chkconfig for Debian systems.\n\nIf it's useful, I ...
[ { "msg_contents": "After taking some suggestions, I added a number of routines.\n\nPlease test and tell me what you think.\n\n\n(Yes, I know the API is poorly named, have any suggestions?)", "msg_date": "Thu, 26 Aug 2004 18:17:34 -0400 (EDT)", "msg_from": "pgsql@mohawksoft.com", "msg_from_op": true,...
[ { "msg_contents": "Suggestion - let's take off the confirmation on that vacuum action - it \nis a non-data-changing actions and since it's background it won't lock \nthe table, so all the confirmation will do is piss people off :)\n\nNicola Soranzo wrote:\n> Update of /cvsroot/phppgadmin/webdb/lang/recoded\n> I...
[ { "msg_contents": "\nThe above error refers to a btree index, correct? Do/will a REINDEX fix \nthat, or do I have to physically DROP/CREATE the INDEX?\n\nThis is a 7.4 database, if that matters ...\n\nThanks ...\n\n----\nMarc G. Fournier Hub.Org Networking Services (http://www.hub.org)\nEmail: scrapp...
[ { "msg_contents": "Just so you know --- core has agreed that it's about time for beta2.\nIf you've got any \"must fix\" issues, please get 'em in over the weekend.\n\n\t\t\tregards, tom lane\n", "msg_date": "Fri, 27 Aug 2004 13:25:11 -0400", "msg_from": "Tom Lane <tgl@sss.pgh.pa.us>", "msg_from_op":...
[ { "msg_contents": ">Just so you know --- core has agreed that it's about time for beta2.\n>If you've got any \"must fix\" issues, please get 'em in over \n>the weekend.\n\nThe kill(0) patch from Dave for win32 is much needed (assuming it fixes\nthe issue. Unfortunatly Ive been swamped the past couple of weeks a...
[ { "msg_contents": "-----BEGIN PGP SIGNED MESSAGE-----\nHash: SHA1\n\nHi all,\nI was reading this two articles:\n\nhttp://www.osdl.org/newsroom/press_releases/2004/2004_05_24_beaverton.html\nhttp://www.osdl.org/newsroom/press_releases/2004/2004_05_24_dco.html\n\nand I'm wondering if is a good idea apply a simila...
[ { "msg_contents": "\n\n\n-----Original Message-----\nFrom: pgsql-hackers-owner@postgresql.org on behalf of Magnus Hagander\nSent: Fri 8/27/2004 7:17 PM\nTo: Tom Lane; pgsql-hackers@postgresql.org\nSubject: Re: [HACKERS] FYI: 8.0beta2 on Monday\n \n> >Just so you know --- core has agreed that it's about time for...
[ { "msg_contents": "\n-----BEGIN PGP SIGNED MESSAGE-----\nHash: SHA1\n \n \nI was looking through the code of psql and had a few questions:\n \n1. Do we want to use quote_ident on object names? Ideally, column\nnames with a space in them, for example, should be surrounded by\ndouble quotes.\n \n2. There is a dis...
[ { "msg_contents": "I'm using PostgreSQL 8.0.0 beta1\nI can compile all contrib modules but pgcrypton\ni have this error when I execute make\n\n\n\nmd5.o(.text+0x1ee):md5.c: undefined reference to `bcopy'\nmd5.o(.text+0x25c):md5.c: undefined reference to `bcopy'\nmd5.o(.text+0x2ae):md5.c: undefined reference to...
[ { "msg_contents": "-----BEGIN PGP SIGNED MESSAGE-----\nHash: SHA1\n\n\nHi,\n\nLatest CVS snapshot of 8.0.0 does not compile on Red Hat 9:\n\n====================================\nln -s libecpg_compat.so.1.1 libecpg_compat.so\nmake[4]: Leaving directory \n`/root/system/sources/pgsql/src/interfaces/ecpg/compatlib...
[ { "msg_contents": "Jonathan,\n\n> The stuff that I contribute is often met with resistence, and that may or\n> may not be a good thing, but over the years, things I've said they NEEDED\n> to do, have been done and PostgreSQL is better for it.\n\n> Now don't think I'm talking trash to Tom either. These guys do a...
[ { "msg_contents": "Should I run pgindent tomorrow in preparation for final release?\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": "I have completed the pgindent run for 8.0.\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. | Newtown Square, ...
[ { "msg_contents": ">> md5.o(.text+0x1ee):md5.c: undefined reference to `bcopy'\n>\n>I've fixed these by changing to the more-standard memmove() routine.\n>\n>> crypt-des.o(.text+0x520):crypt-des.c: undefined reference to \n>`ntohl@4'\n>> crypt-des.o(.text+0xbbe):crypt-des.c: undefined reference to \n>`htonl@4'\...
[ { "msg_contents": "Hi all,\ntoday I tried this tool:\n\nhttp://www-106.ibm.com/developerworks/linux/library/l-ccache.html\n\n\nand the second full compilation, after a make clean\ntook: 47 seconds. Amazing.\n\n\nRegards\nGaetano Mendola\n\n\n", "msg_date": "Sun, 29 Aug 2004 20:12:27 +0200", "msg_from": ...
[ { "msg_contents": "trying to test beta 1 on Debian linux mipsel (sarge). I am getting the following error \"PANIC: stuck spinlock \n(0x2b052030) detected at lwlock.c:246\" during initdb. here is the complete initdb run.\n\npostgres@raq:~$ initdb\nThe files belonging to this database system will be owned by u...
[ { "msg_contents": "Log Message:\n-----------\nAdd WAL logging for CREATE/DROP DATABASE and CREATE/DROP TABLESPACE.\nFix TablespaceCreateDbspace() to be able to create a dummy directory\nin place of a dropped tablespace's symlink. This eliminates the open\nproblem of a PANIC during WAL replay when a replayed ac...
[ { "msg_contents": "Would someone check that I didn't break the Windows port with this\nrecent commit:\n\n Log Message:\n -----------\n Add WAL logging for CREATE/DROP DATABASE and CREATE/DROP TABLESPACE.\n Fix TablespaceCreateDbspace() to be able to create a dummy directory\n in place of a dropped tablespa...
[ { "msg_contents": "Hi\n\nI have not been able to insert a Unicode String\n(having a character as '\\u0000') into the table in\nPostgres.\n\nIt is throwing an exception saying that '\\0 is not\nallowed.\n\nHow do I do that ?\n\n- Mamta\n\n=====\nMamta Singh\n\n\"Technical Skill is the mastery of complexity, whil...
[ { "msg_contents": "Hi,\n\nI have created a table\n\ncreate table temp1(a varchar(200));\n\nand then I tried running the following code.\n\nString msg1 = \"\\u0000mamta\";\nPreparedStatement preparedStmt =\npgConnection.prepareStatement(\"insert into mamtanow\nvalues(?)\");\n\npreparedStmt.clearParameters();\npr...
[ { "msg_contents": "Hi all,\n\nI have created a table\ncreate table temp1(a varchar(200));\n\nand then I tried running the following code.\n\nString msg1 = \"\\u0000abcd\";\nPreparedStatement preparedStmt =pgConnection.prepareStatement(\"insert\ninto temp1 values(?)\");\npreparedStmt.clearParameters();\nprepared...
[ { "msg_contents": "I just spent some time chasing weird failures (\"PANIC: cannot abort\ntransaction 201109, it was already committed\" after some but not all\nerrors) which I eventually realized were because pg_clog contained\ncommit and abort flags for several thousand transactions ahead of where\nthe current...
[ { "msg_contents": "Is pgxs intended to support regression tests similar to contrib? The \ndocs list REGRESS as a valid variable. If so, how do you use it?\n\n# make -f Makefile.pgxs installcheck\nMakefile.pgxs:49: warning: overriding commands for target `installcheck'\n/usr/local/pgsql-dev/lib/pgxs/src/makefile...
[ { "msg_contents": "Hi all,\n\nIs there any updated implementation guide for postgresql 7.x ? I've been \nusing the postgres95 guide at http://pluto.iis.nsk.su/postgres95/impl-guide/\n\nbut it is incomplete and also it does not reflect the current state of the \ncode. I can see many structures were modified sinc...
[ { "msg_contents": "The 7.4 release increased the maximum length for column and table \nidentifiers to 64 characters. Are there any plans to increase the \nmaximum length out to the SQL spec of 128 characters? I remembered \nsome performance penalties for the longer name lengths for hash joins \nbut I don't ...
[ { "msg_contents": "\nIf I were loony enough to want to make an attempt at a version updater \n(i.e. migrate a\n7.4 database to 8.0 without an initdb), any suggestions on where to \npoke first? Does a\ncatalog/list of system catalog changes exist anywhere? Any really gross \nproblems immediately\npresent themsel...
[ { "msg_contents": "\nWill be on the ftp site within the hour ...\n\nPeter, I tried the make man.tar.gz, and it failed to find sgmlspl ... \nhaven't been able to find a port that has it, so will install from scratch \n... is there a specific version I should be installing?\n\n----\nMarc G. Fournier Hub...
[ { "msg_contents": "I just fixed a bug that caused Win32 to fail to compile. Do we want to\nrepackage beta2? Of course we still don't even know if the new\ntablespace code works on Win32 because someone tried compiling it only\ntoday.\n\n-- \n Bruce Momjian | http://candle.pha.pa.us\n ...
[ { "msg_contents": "Hi!\n\nI'm new to PostgreSQL (and C) and what I'm trying to do is to store a\nquery plan on disc (in a binary file).\nMy approach is to use SPI functions to get the query plan and then\ntransform it into a 'storable' format (Replacing the pointers with\nactual values).\n\nIs there any other w...
[ { "msg_contents": "As of CVS tip, an increase in a USERLIMIT parameter in postgresql.conf\nwill be enforced against the sessions of superusers as well as everyone\nelse. That's because I ifdef'd out this code:\n\n /*\n * If user is a superuser, he gets to keep his setting. We can't check\n * this u...
[ { "msg_contents": "Hello,\n\nJust poking around to see if anyone is working on resurrecting the concept\nof pg_upgrade after all these years? If not, I think I have nearly ready a\nhigh-level design of how the whole upgrade procedure will work, but I just\nneed to clear out some ideas and put them together in a...
[ { "msg_contents": "Andrew,\n\n> If I were loony enough to want to make an attempt at a version updater\n> (i.e. migrate a\n> 7.4 database to 8.0 without an initdb), any suggestions on where to\n> poke first? Does a\n> catalog/list of system catalog changes exist anywhere? Any really gross\n> problems immediatel...
[ { "msg_contents": "\n> Now you have schema bla, table bla.boo, index bla.boo_pkey and sequence\n> bla.boo_id_seq all in tablespace foo. ISTM that tablespace foo cannot be\n> removed without hand-fixing pg_catalog and hand-moving files or links in\n> the database directory.\n\nHmmm, I wonder why the tablespace i...
[ { "msg_contents": "Is it possible to test for plperl and add some plperl tests to the \nregression suite?\n\nI see the pg_regress installs and runs with_perl=no.\nThe problem is that cygwin postgres builds and runs fine, only the perl \nextensions fails (IPC problem when loading the huge perl dll).\n\nSo I real...
[ { "msg_contents": "\n\nOne of the things I think has to change with postgres is the default\nselectivity assumptions for inequality operators. They're way to high\ncurrently. Probably the single most frequently asked question on -performance\nand -general are people asking why Postgres isn't using their index. ...
[ { "msg_contents": "Again me, \n\n To make it easier.\n\nSituation A:\nlog_something = true\n\nSituation B: \n# log_something = <anything>\n\nSituation C:\nlog_something = false\n\nAfter the pg_ctl reload:\n\nSituation B = Situation A\nSituation C <> (Situation A || Situation B)\n\nIs this the expected behavio...
[ { "msg_contents": "Thanks for the reply,\n\n Been reading hackers of Aug 2004 and found the threads. It's a common habit to create two lines on the configuration files, in order to maintain the copy of the default conf file. I guess this should be the worst scenery for a freshly incoming DBA trying to put thin...
[ { "msg_contents": "I think I see the real issue behind the recent argument about the\ndatatype of the timezone variable. I don't think the datatype matters,\nbut the name certainly does. In pgtz.c we have\n\n#if defined(HAVE_STRUCT_TM_TM_ZONE)\n\treturn tm->tm_gmtoff;\n#elif defined(HAVE_INT_TIMEZONE)\n#ifdef...
[ { "msg_contents": "Folks,\n\nAt Linuxworld Expo/SF, I got a chance to talk a bit with one Andrew\nSchmidt of IBM about the possibility of porting PostgreSQL to z/OS.\n\nHere's what he asked about. Any z/OS developers in the house who can\naddress it?\n\nCheers,\nD\n\n----- Forwarded message from Andrew Schmidt...
[ { "msg_contents": "I am not currently working on z/OS, and don't have access to a z/OS\nenvironment, but I did a little work with getting OpenLDAP ported to\nz/OS at my previous company. I assume you mean Unix System Services\n(USS) under z/OS, rather than zLinux. Since zLinux is essentially Suse\nported to the...
[ { "msg_contents": "On 9/1/2004 1:51 PM, Serguei A. Mokhov wrote:\n\n> Date: Tue, 31 Aug 2004 23:35:18 -0400\n> \n> On 8/31/2004 9:38 PM, Andrew Rawnsley wrote:\n> \n>> On Aug 31, 2004, at 6:23 PM, Marc G. Fournier wrote:\n>>\n>>> On Tue, 31 Aug 2004, Josh Berkus wrote:\n>>>\n>>>> Andrew,\n>>>>\n>>>>> If I were ...
[ { "msg_contents": "Also cannot build the PostgreSQL server under Mingw\n \ndlltool --dllname postgres.exe --output-exp postgres.exp --def\npostgres.def\ngcc -O2 -fno-strict-aliasing -Wall -Wmissing-prototypes\n-Wmissing-declarations -L../../src/port -o postgres.exe\n-Wl,--base-file,postgres.base postgres.exp ...
[ { "msg_contents": "Adding this to the c.h file solved most of the problems for the libpq\nDLL:\n \n#if defined(HAVE_STRINGS_H) && !defined(_MSC_VER)\n#include <strings.h>\n#endif\n...\n#if defined(WIN32) && defined(_MSC_VER)\n#include <winsock2.h>\n#define snprintf _snprintf\n#endif\n\nSince I ran configure for...
[ { "msg_contents": "> -----Original Message-----\n> From: Andrew Dunstan [mailto:andrew@dunslane.net] \n> Sent: Wednesday, September 01, 2004 12:31 PM\n> To: Dann Corbit\n> Cc: PostgreSQL-development\n> Subject: Re: [HACKERS] Also cannot build the postgresql \n> server under Mingw using 8.0 beta 2\n> \n> Dann Co...
[ { "msg_contents": "Known issue, and the patch is in cvs already. You need to change\ninclude/port/win32.h, it has a spelling mistake for stat.\n \nThere was talk of re-wrapping beta-2 with this included, but I guess it\nwasn't done. That leaves beta-2 unusable on win32 without manually\napplying that patch. Mig...
[ { "msg_contents": "Include prototypes at the top of the file:\n \nextern char *dlerror(void);\nextern int dlclose(void *);\nextern void *dlsym(void *, const char *);\nextern void *dlopen(const char *, int);\n \n\nMessage\n\n\n\nInclude prototypes \nat the top of the file:\n \nextern \nchar    *dle...