threads
listlengths
1
2.99k
[ { "msg_contents": "Hi!\n\nI was wondering if I can use VC compiler to compile UDF DLL ?\nIf yes then I am wondering why I am getting linking errors:\n\nCompiling...\nfd.c\nLinking...\n Creating library Debug/fd.lib and object Debug/fd.exp\nfd.obj : error LNK2001: unresolved external symbol _CurrentMemoryConte...
[ { "msg_contents": "Hi everybody,\n\nfor a big European picture archive ( > 2 mio pictures ) we are looking \nfor a developer who would like to join our team for a period of 2-3 \nmonths. The work will be based on an existing working prototype (which \nis very slow at the moment).\n\nWe are located in Berlin, Ge...
[ { "msg_contents": "> I was wondering if I can use VC compiler to compile UDF DLL ?\n> If yes then I am wondering why I am getting linking errors:\n> \n> Compiling...\n> fd.c\n> Linking...\n> Creating library Debug/fd.lib and object Debug/fd.exp \n> fd.obj : error LNK2001: unresolved external symbol \n> _Curr...
[ { "msg_contents": "Maybe it was discussed already, but I think it's very strange behavior\nand things should be changed (please correct me if I'm wrong)\n\nSuppose we have database containing only one simple table:\n\n***\ntemplate1=# CREATE DATABASE testseq;\ntemplate1=# \\c testseq\ntestseq=# CREATE TABLE tes...
[ { "msg_contents": "Hi all,\n\nI decided to start implementing a streamlined WAL shipping based standby\nbuilding procedure. My aim is fairly simple: to be able to build a\nstandby as automated as possible. \n\nThe ultimate simplicity would be for me: \n - install postgres on the standby machine;\n - create a di...
[ { "msg_contents": "> > No, you need to use mingw to compile extensions.\n> \n> I think we should write some documents on how to generate \n> postgres.lib from postgres.exe for VC++, Borland C++ users.\n\nI was under the impression it didn't work even if you did that. But I've\nnever tried it...\n\n//Magnus\n", ...
[ { "msg_contents": "The reason to check versions is that AIX added support for standard\ndlopen at 4.3 and above, which means we don't need to use the port\nroutines built around the older library any more.\n\n\t-rocco\n\n> -----Original Message-----\n> From: pgsql-hackers-owner@postgresql.org \n> [mailto:pgsql-...
[ { "msg_contents": "Thanks for bringing the SQL 92 row constructor into spec for\noperations involving > and <. This is just fantastic. I just\nbenchmarked ISAM style access to tables on multi-part keys and the\nspeedup is tremendous vs. the non row-constructor approach to the\nproblem which is tedius to write ...
[ { "msg_contents": "Hi fellows,\n\nI'm getting problems compiling a trigger written in C (exactly the one from\nthe documentation), when compiling it I get the errore shwoned here.\n\nI think the problem might be the linker, but I don't know how to fix it.\n\nThe command that I run was:\n\ngcc -I /usr/include/po...
[ { "msg_contents": "I did an audio interview today, and it is online now:\n\n http://bsdtalk.blogspot.com/2006/02/bsdtalk015-interview-with-postgresql.html\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 ...
[ { "msg_contents": "I have private tables such as this (Very simplified):\nCREATE TABLE private.t_foo (\n ...\n);\nREVOKE ALL ON private.t_foo FROM public;\n\nDifferent users have access to different data in the table, so I do \nthis view:\nCREATE VIEW foo AS\n SELECT * FROM private.t_foo WHERE private.haveac...
[ { "msg_contents": "Hello,\n\nIs there not some other alternative to pg_hba.conf?\n\nI have the problem where the system administrators at our company\nobviously have access to the whole filesystem, and our database records\nneeds to be hidden even from them.\n\nWith pg_hba.conf that is not possible, as they jus...
[ { "msg_contents": "Hi,\nI develop under Delphi7(Build 8.1) pgexpress 4.01 and postgreSQL 8.1.2 \nOS is windows XP Professional or Windows 2003 Server.\nIn my project i use dbexpress components TSQLConnection, TSQLQuery -> TDataSetProvider -> TClientDataSet.\nIn some situations when the TClientDataSet excute act...
[ { "msg_contents": "It looks like all buildfarm members are failing this morning...\n\nHere is an example.\n\n\t-rocco\n\n-----Original Message-----\nFrom: PG Build Farm\n[mailto:pgbuildfarm-web@hosting-two.commandprompt.com] \nSent: Wednesday, February 08, 2006 5:32 AM\nTo: pgbuildfarm-status-chngs@pgfoundry.or...
[ { "msg_contents": "Hi\n\nI am trying to add a new catalog to the system. I had followed the\ninstructions in the comments. Now I can see the definition of the new\ncatalog table and its index in file \"postgres.bki\" after doing make.\n\nHowever, initdb still did not create the new catalog table. From the\ndeb...
[ { "msg_contents": "The core committee has agreed that it's about time for a new set of\nupdate releases (8.1.3, 8.0.7, etc). Barring surprises, we'll wrap\nSunday evening with expectation of general announcement Tuesday.\nAny pending patches out there for the back branches?\n\n\t\t\tregards, tom lane\n", "...
[ { "msg_contents": "> The core committee has agreed that it's about time for a new \n> set of update releases (8.1.3, 8.0.7, etc). Barring \n> surprises, we'll wrap Sunday evening with expectation of \n> general announcement Tuesday.\n> Any pending patches out there for the back branches?\n\nI'd like to see the...
[ { "msg_contents": "The interval datatype can go to microsecond precision though currently \nthe smallest unit is seconds. Microseconds are represented as decimal \nplaces, eg 5 microseconds is 0.000005 seconds.\n\nTo insert microseconds I have to use the following line, ($1*0.000001 || \n' seconds')::interval\...
[ { "msg_contents": "Hi all,\n\tWhen I try to run \"initdb\" id get the messing \"creating\ntemplate1 database in c:/postgres/data/base/1 ... Execution of PostgreS\nQL by a user with administrative permissions is not permitted. The\nserver must be started under an unprivileged user ID to prevent possible\nsystem ...
[ { "msg_contents": "Hi,\nI'd like to enable UDT's written in Java and made some initial trial and \nerror. I don't get very far. Here's what I do:\n\nI take the 'complex' type example described in '31.11 User-Defined \nTypes' and change it to use Java functions (see below). But I get:\n\n ERROR: type \"complex...
[ { "msg_contents": "PostgreSQL promptly uses all available memory for the query and\nsubsequently crashes.\n\nI'm sure it can be corrected with a setting, but should it crash?\n\nfreedb=# create table ucode as select distinct ucode from cdtitles group\nby ucode having count(ucode)>1 ;\nserver closed the connecti...
[ { "msg_contents": "I'm having some problems when using \"pfree()\" on functions in C.\nCalling it on \"psql\" gives the exception below on both versions of function\n\"insert()\" [1,2] if \"pfree()\" is enabled:\n\nserver closed the connection unexpectedly\n This probably means the server terminated abno...
[ { "msg_contents": "Kevin Grittner wrote:\n> >>> On Wed, Feb 1, 2006 at 10:50 am, in message\n> <200602011650.k11GoiU23147@candle.pha.pa.us>, Bruce Momjian\n> <pgman@candle.pha.pa.us> wrote: \n> >> \n> >> (1) I couldn't figure out the best way to obtain a value for\n> >> standard_conforming_strings in the psql ...
[ { "msg_contents": "Something broke snake again :-(. Looks like tsearch2 through the haze of\nmy Lemsip... I hate winter :-(\n\n/D\n\n\n\n> -----Original Message-----\n> From: PG Build Farm \n> [mailto:pgbuildfarm-web@hosting-two.commandprompt.com] \n> Sent: 10 February 2006 02:20\n> To: pgbuildfarm-status-chngs...
[ { "msg_contents": "I'm interested in the behaviour of ExecSort, which *for all queries*\nprepares the sort result for randomAccess, even when part of a plan that\nwill *never* go backwards/rewind etc.\n\nA recent performance test shows this output from mid-way through a heap\nsort with trace_sort=on (the query...
[ { "msg_contents": "After a typo, I've just noticed the following :\n\n~ 14:58:33: createdb test\nCREATE DATABASE\n~ 14:58:42: psql test\nWelcome to psql 8.1.2, the PostgreSQL interactive terminal.\n\nType: \\copyright for distribution terms\n \\h for help with SQL commands\n \\? for help with psql ...
[ { "msg_contents": " \n\n> -----Original Message-----\n> From: Marko Kreen [mailto:markokr@gmail.com] \n> Sent: 10 February 2006 15:07\n> To: Dave Page\n> Cc: pgsql-hackers@postgresql.org\n> Subject: Re: [HACKERS] FW: PGBuildfarm member snake Branch \n> HEAD Status changed from OK to ContribCheck failure\n> \n> ...
[ { "msg_contents": "Subject line says it all. I'm going to be testing changes under both \nLinux and WinXP, so I'm hoping those of you that do M$ hacking will \npass along your list of suggestions and/or favorite (and hated so I \nknow what to avoid) tools.\n\nTiA,\nRon\n\n\n", "msg_date": "Fri, 10 Feb 2006...
[ { "msg_contents": "Log Message:\n-----------\nEnable pg_ctl to give up admin privileges when starting the server under\nWindows (if newer than NT4, else works same as before).\n\nMagnus\n\nModified Files:\n--------------\n pgsql/src/bin/pg_ctl:\n pg_ctl.c (r1.65 -> r1.66)\n (http://developer.po...
[ { "msg_contents": "Hi,\n\nI'm just curious about a VACUUM plan of this table:\n\n1st) When to do VAUUM?\n2nd) How often to do VACUUM?\n3rd) With which postgresql.conf paremeters to set up vacuum?\n4th) When to do a VACUUM FULL?\n5th) Can autovacuum of 8.1 be used in this case?\n\nI'm a little bit afraid about t...
[ { "msg_contents": "Hello, could anyone tell me, for a user contributed variable length data type, \nhow can you access the length of the data without pulling the entire thing from \ndisk? Is there a function or macro for this?\n\nAs a first cut, I tried using the PG_DETOAST_DATUM_SLICE macro, but to no avail. ...
[ { "msg_contents": "Are there some sort of functions that I could use to know which process\nhas an exclusive lock on relations, pages, tuples, transactions,\netc... ?\n\n\nBest regards,\n\nAlfranio Junior\n", "msg_date": "Sat, 11 Feb 2006 15:09:29 +0000", "msg_from": "Alfranio Correia Junior <alfranio@l...
[ { "msg_contents": "> Mark Kirkwood <markir@paradise.net.nz> writes:\n> > I was doing exactly this about a year ago and used Mingw. The only \n> > annoyance was that I could compile everything on Linux in about 3 \n> > minutes (P4 2.8Ghz), but had to wait about 60-90 minutes \n> for the same \n> > thing on Windo...
[ { "msg_contents": "> I'm not sure whether our current SSL support does a good job of this\n> --- I think it only tries to check whether the server \n> presents a valid certificate, not which cert it is. Possibly \n> Kerberos does more, but I dunno a thing about that...\n\nIf you stick a root certificate (root....
[ { "msg_contents": "> > If you stick a root certificate (root.crt in ~/.postgresql) \n> for it to \n> > validate against, it will be validated against that root. \n> I'm not sure \n> > if it validates the common name of the cert though - that \n> would be an \n> > issue if you're using a global CA. If you're usi...
[ { "msg_contents": "Mark Woodward wrote:\n> I know this is a kind of stupid question, but postgresql does not\n> behave well when the system changes in a major way without at least\n> an analyze. There must be something that can be done to protect the\n> casual user (or busy sometimes absent minded developer) fr...
[ { "msg_contents": "I don't know if this the correct list to ask about implementation\ndetails. If not, let me know.\n\nAnyway, are there functions that return which processes or transactions\nare holding locks in relations, tuples, etc ?\n\nBest regards,\n\nAlfranio\n", "msg_date": "Sat, 11 Feb 2006 18:30:1...
[ { "msg_contents": "\n-----BEGIN PGP SIGNED MESSAGE-----\nHash: SHA1\n\n\nThis was raised before, but I can't find the exact thread. I'd\nlike to re-open the idea of boosting the minimum Perl version\nfor PL/Perl to 5.6. My primary motivation is to provide use\nof \"our\" for the %TD hash, as mentioned before (c...
[ { "msg_contents": "Has anyone here seen this one before? Do the values\nappear realistic?\n\nhttp://www.sqlite.org/cvstrac/wiki?p=SpeedComparison\n", "msg_date": "Sun, 12 Feb 2006 09:00:41 +1300", "msg_from": "Andrej Ricnik-Bay <andrej.groups@gmail.com>", "msg_from_op": true, "msg_subject": "Spe...
[ { "msg_contents": "> > The way our Kerberos implementation is done, it does *not* validate \n> > the server, just the client. If you want server \n> verification, you must \n> > use a combination of both Kerberos and SSL.\n> \n> Eh? We use mutual authentication in Kerberos...\n\nWe do? That's good then :-) I w...
[ { "msg_contents": "Hello All,\n\nI'm proposing the fix of this bug:\nhttp://archives.postgresql.org/pgsql-hackers/2005-02/msg00498.php\n\nThe exact SQL code exposing the error:\n\n----------\n\ncreate table usno (ra real, dec real, bmag real, rmag real,ipix int8);\nCREATE OR REPLACE FUNCTION xxx(refcursor) RETU...
[ { "msg_contents": "I think we've talked about this a couple times over the years, but I'm not\nsure it was resolved or not.\n\nThe message post about load testing and SQLite showed PostgreSQL poorly.\nYea, I know, it was the Windows port not being optimized, I can see that,\nbut it raises something else. A good...
[ { "msg_contents": "I would like to work on TODO item - \"Allow INSERT INTO tab (col1, ..) VALUES\n(val1, ..), (val2, ..)\"\nAny suggestion / comments ?\n\nThanks\nK. Manikandan\n\nI would like to work on TODO item - \"Allow INSERT INTO tab (col1, ..) VALUES (val1, ..), (val2, ..)\"Any suggestion / comments ?Tha...
[ { "msg_contents": "And another failure on Snake....\n\n/D\n\n> -----Original Message-----\n> From: PG Build Farm \n> [mailto:pgbuildfarm-web@hosting-two.commandprompt.com] \n> Sent: 13 February 2006 02:10\n> To: pgbuildfarm-status-chngs@pgfoundry.org\n> Subject: PGBuildfarm member snake Branch HEAD Status chang...
[ { "msg_contents": "> Would the easiest solution be to make a patch to readline for \n> Win32, and only allow Win32 to link to readline if that patch \n> is in readline, and spit out a compile error if readline \n> doesn't have that patch.\n\nWhat would we patch it with? I don't think anybody has found a problem...
[ { "msg_contents": "I am confused, I thought that there were only supposed to be links to \nthe actual data in pg_tblspc ?\n\nI have a db defined in a tablspace, but in pg_tblspc there is 1.2G of \ndata corrresponding to it?\n\nDave\n", "msg_date": "Mon, 13 Feb 2006 07:10:42 -0500", "msg_from": "Dave C...
[ { "msg_contents": "I just wanted to check if this has been fixed in any recent v8.1.x\nrelease, since I'm using v8.1.0 now.\n\nBacktrace:\n\nProgram received signal SIGSEGV, Segmentation fault.\n0x08152448 in qual_is_pushdown_safe ()\n(gdb) bt\n#0 0x08152448 in qual_is_pushdown_safe ()\n#1 0x08151e47 in set_s...
[ { "msg_contents": "> >> What would we patch it with? I don't think anybody has found a \n> >> problem there, this is a separate file that you ship along with it.\n> \n> > Well, the problem is that it handles backslash incorrectly. \n> We could \n> > patch that in the readline source rather than playing with a ...
[ { "msg_contents": "And if so, would you mind stopping your mail system from regurgitating\ncopies of pghackers traffic? It's especially bad that you're sending\nthe stuff with a fraudulent envelope From, ie, one not pointing back\nat yourself.\n\nFeb 13 16:55:12 sss2 sm-mta[5221]: k1DLtBSE005221: from=<pgsql-h...
[ { "msg_contents": "A few days ago, I noticed the following in the postmaster log while\nmessing with a bug that led to a backend coredump:\n\n[ report of backend sig11, then normal recovery, ending with ]\nLOG: transaction ID wrap limit is 1073759685, limited by database \"regression\"\nLOG: invalid server pr...
[ { "msg_contents": "And the fun continues :-)\n\n> -----Original Message-----\n> From: PG Build Farm \n> [mailto:pgbuildfarm-web@hosting-two.commandprompt.com] \n> Sent: 14 February 2006 02:16\n> To: pgbuildfarm-status-chngs@pgfoundry.org\n> Subject: PGBuildfarm member snake Branch HEAD Status changed \n> from M...
[ { "msg_contents": " \n\n> -----Original Message-----\n> From: Mark Kirkwood [mailto:markir@paradise.net.nz] \n> Sent: 14 February 2006 10:17\n> To: Dave Page\n> Cc: pgsql-hackers@postgresql.org\n> Subject: Re: [HACKERS] FW: PGBuildfarm member snake Branch \n> HEAD Status changed from Make failure to Contrib fai...
[ { "msg_contents": "Hello everyone,\n\nI am working with the Postgres optimizer for the first time, so bear with me...\n\nI want to extend the optimizer to deal with aggregate queries a bit\nbetter. The idea is from an old paper by Chaudhuri and Shim in VLDB\n94. The gist of it is that when computing aggregates ...
[ { "msg_contents": "Many patch submitters discover that they fall foul of various \"you\nshould have done\"s at a late stage of the patch review process.\nThese include the usual:\n- major feature change not discussed on -hackers or elsewhere first\n- patch in wrong format\n- performance patch, yet no performanc...
[ { "msg_contents": "Platform: FreeBSD 6.0, Postgresql 8.1.2 compiled from the ports collection.\n\nNot sure if this belongs in performance or bugs..\n\nA pg_restore of my 2.5GB database was taking up to 2 hours to complete \ninstead of the expected 10-15 minutes. Checking the server it was mostly \nCPU bound. Te...
[ { "msg_contents": "We are currently maintaining information about configuration parameters \nin at least three places: the documentation, guc.c, and \npostgresql.conf.sample. I would like to generate these from a single \nsource. Computationally, this is not very challenging, it's just a bit \nof work. I ima...
[ { "msg_contents": "\n\n> -----Original Message-----\n> From: pgsql-hackers-owner@postgresql.org [mailto:pgsql-hackers-\n> owner@postgresql.org] On Behalf Of Tom Lane\n> Sent: Wednesday, February 15, 2006 5:22 PM\n> To: Ron\n> Cc: pgsql-performance@postgresql.org; pgsql-hackers@postgresql.org\n> Subject: Re: [HA...
[ { "msg_contents": "http://www.flamingspork.com/blog/2006/02/16/enterprisedb-where-is-the-source/\n\nAny comments on this? Is he referring to EnterpriseDB extensions that \nthey don't make public?\n\nChris\n\n", "msg_date": "Thu, 16 Feb 2006 15:14:41 +0800", "msg_from": "Christopher Kings-Lynne <chriskl...
[ { "msg_contents": "hi\n\ncurrently i looking at the postgres src code. I saw the scanner and \nparser implemetations at two different places (src/backend/parser/ and \n/src/bakend/bootstrp). Can anybody tell me the purpose of having two \nphases?? or will this help to parse the queries at different levels?\n\...
[ { "msg_contents": "> -----Original Message-----\n> From: pgsql-hackers-owner@postgresql.org [mailto:pgsql-hackers-\n> owner@postgresql.org] On Behalf Of Markus Schaber\n> Sent: Thursday, February 16, 2006 5:45 AM\n> To: pgsql-performance@postgresql.org; pgsql-hackers@postgresql.org\n> Subject: Re: [HACKERS] qso...
[ { "msg_contents": "Hello\n\nI use counstruct_md_array function in my Orafunc module. CVS version has \ndiff def now. I am findig way for simple solution of maintaince source code \nfor both version. I have PG_VERSION variable, but it's unusable. Is there \nway for contrib's autors differentiate PostgreSQL versi...
[ { "msg_contents": "FYI, Josh Berkus and I are in Japan to give some presentations. We\nreturn to the USA on February 23.\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...
[ { "msg_contents": "Hello,\n\nI'm a grad student doing some work correlating mailinglist activity\nwith cvs activity for a datamining conference and I'm using postgres\nas one of the OSS projects under study. For most names of cvs\ncommitters, I've been able to determine what e-mail addresses they\nused on this...
[ { "msg_contents": "I have updated my email signature because I think it is no longer\nnecessary to list contact information now that my home page has all that\ninformation. (At the time I created it, email was becoming popular but\npersonal web sites were rare.)\n\nAlso, I wanted to mention that I work for SRA...
[ { "msg_contents": "I assume we have such?\n\nRon\n\n\n", "msg_date": "Fri, 17 Feb 2006 11:51:26 -0500", "msg_from": "Ron <rjpeace@earthlink.net>", "msg_from_op": true, "msg_subject": "Need pointers to \"standard\" pg database(s) for testing" }, { "msg_contents": "On Fri, 2006-02-17 at 10...
[ { "msg_contents": "Hi all,\n\nIs there something incorrect in the above query ? \nSELECT '10 years 1 mons 1 days'::interval - '9 years 10 mons 15 days'::interval\n\n ?column? \n --------------- \n 3 mons -14 days \n\nWhy not '2 mons 16 days' ? \n\n/version = PostgreSQL 8.0.4 on i686-pc-linux-gnu, compi...
[ { "msg_contents": "Having run had both pgfoundary and gborg for several years, I think we\nhave to conclude that any clean migration is never going to happen, so\nlet's just pick a server and announce date, and shut one of them off.\n\nJust before shutting it off, we should dump the existing project\ninformatio...
[ { "msg_contents": "Hi PostgreSQL developers!\n\nOn [1], Stephen and I are currently discussing how to provide seamless\nautomatic version upgrades of PostgreSQL databases with third party\nmodules like PostGIS.\n\nThe core problem is that we want to not restore objects (mainly\ntables) in the destination databa...
[ { "msg_contents": "Hi,\n\nA little while ago there was someone asking for tools to make it easier\nto connect to multiple servers. It occured to me that it might be\nuseful to have a config file the way ssh does it:\n\nHost production\n ServerName db1\n DBName main\n Username blah\n Password bla...
[ { "msg_contents": "I've got a domain based on a text type.\nI've overridden the equal operator with\nlower(text) = lower(text).\n\nI created a table containing my new domain type\nand can see that the equals operator is not\nbeing used to determine uniqueness.\n\nWhat do I need to do to force the UNIQUE constra...
[ { "msg_contents": "I believe PQescapeString() has an important design bug and it casues a\nsecurity risk. \n\nThe function's signature is:\n\n size_t PQescapeString (char *to, const char *from, size_t length);\n\nAs you might notice, it's impossible to specify encoding of \"to\". As a\nresult, it turns every o...
[ { "msg_contents": "Hi all,\n\nWhen I was playing with VACUUM, I found that if I have prepared xacts\non the database A, I can't vacuum full on the database B.\n\nScenario:\n1.) Prepare some transaction on \"testdb\" database.\n2.) Create database \"pgbench\".\n3.) Run \"pgbench -i\" to load pgbench data on \"pg...
[ { "msg_contents": "I found any query exceeds 4096 charactors will be pruned automatically. i\nam wondering which knob should i change to make it larger , say, 10000\ncharactors. i searched for a while but was not able to find it online. so\nif anyone has a quick nswer that will be highly appreciated.\n\n I fo...
[ { "msg_contents": "Does the patch below look like the correct fix to CVE-2006-0553 if\nrunning 8.1.1? I just scanned cvs log from the 8.1 branch, looking for\nCVE-2006-0553 and picked out the diffs.\n\n-- \nalbert chin (china@thewrittenword.com)\n\n-- snip snip\nIndex: src/backend/commands/variable.c\n=========...
[ { "msg_contents": "AC_REPLACE_FUNCS([getaddrinfo]) won't correctly detect getaddrinfo on\nTru64 UNIX because the function doesn't exist under that name in libc.\n>From <netdb.h>:\n #if defined (_SOCKADDR_LEN) || defined (_XOPEN_SOURCE_EXTENDED)\n #define getaddrinfo ngetaddrinfo\n #else\n #define getaddrinf...
[ { "msg_contents": "Hello all .\n Can anyon eplz tell me how memory profiling is done in postgreSQL. I\nread on a website I don't remember now that postgres creates a file\npgsql/data/base/dbname and stores memory profiling information in it.\npostgres creates a folder with integer name in pgsql/base/ and in ...
[ { "msg_contents": "-----BEGIN PGP SIGNED MESSAGE-----\nHash: SHA1\n\nHey,\n\nThis might not be much, but can there maybe be a future feature for\nhaving a shortcut to \"set search_path='schema-name';\"\nsimiliar to \\c dbname ??\n\nThx\nQuintin Beukes\n-----BEGIN PGP SIGNATURE-----\nVersion: GnuPG v1.4.1 (GNU/L...
[ { "msg_contents": "Dear developers of PostgreSQL!\n\nWe (City of Vienna) have many Oracle databases, but plan to use\nPostgreSQL for our future database installations as much as possible.\nThe following idea is inspired by Oracle.\n\nWe sometimes need to move a database from one machine to another\n(hardware ol...
[ { "msg_contents": "I want to update one row from possibly several backends. In case\nof SERIALIZABLE transactions, the update command may fail. To\nhide it from calling transaction, I use a subtransaction and try\nto catch and hide the error.\n\nWith help of plpgsql source, I wrote following code that _seems_\...
[ { "msg_contents": "Hi Guys,\n\nDoes anyone here have time to chime into this\nthread on LQ and give a nice spiel about PG? :)\n\nhttp://www.linuxquestions.org/questions/showthread.php?t=409045\n\n\nCheers,\nAndrej\n", "msg_date": "Tue, 21 Feb 2006 06:53:43 +1300", "msg_from": "\"Andrej Ricnik-Bay\" <and...
[ { "msg_contents": "I decided to move the discussion to -hackers ... \n\nHello All,\n\nI've recently proposed a patch \nhttp://archives.postgresql.org/pgsql-patches/2006-02/msg00165.php\nto fix an old problem with dropped columns, but recently \nhttp://archives.postgresql.org/pgsql-patches/2006-02/msg00246.php\...
[ { "msg_contents": "Patch for getaddrinfo.c to recognize ipv6 addresses.\nUsed inet_pton to achieve that.\n\nOn machines that don't have getaddrinfo function, Client authenciation\nfails\nfor ipv6 addresses if pgsql uses getaddrinfo implemented in this.\n\nThis is a fix for that.\n\nRajesh R\n--\nThis space inte...
[ { "msg_contents": "Thanks to everybody who answered.\n\nMaybe it is really the best thing to use a tool like postgresql-relay or\npgpool - I will investigate these.\nI'm not eager to reinvent the wheel.\n\nWe have considered relocating DNS entries, but the problem is that a\nchanged\nDNS entry takes long to pro...
[ { "msg_contents": "Hi,\n\nLate last year I posted some patches for psql but they were deferred\npending the release of 8.2. However, they are not in the patch queue\nso I thought I'd bring them up again now the release is done.\n\n1. Dealing with a buggy readline on some platforms w.r.t. --as-needed.\n\nThe ser...
[ { "msg_contents": "\nThis took me hours to find ...\n\nOn my Windows box, CVS HEAD gets an execution failure on \"initdb foo\" \nbut succeeds happily with \"initdb -D foo\".\n\nThis is not true for REL8_1_STABLE, nor is it true for all Windows \nmachines/environments, apparently, otherwise we would be seeing f...
[ { "msg_contents": "Mark Woodward wrote:\n> The pg_config program needs to display more information, specifically\n> where the location of pg_service.conf would reside.\n\npg_config --sysconfdir\n\n> Also, I know I've been harping on this for years (literally), but\n> since the PosgteSQL programs already have th...
[ { "msg_contents": "> This took me hours to find ...\n> \n> On my Windows box, CVS HEAD gets an execution failure on \"initdb foo\" \n> but succeeds happily with \"initdb -D foo\".\n> \n> This is not true for REL8_1_STABLE, nor is it true for all \n> Windows machines/environments, apparently, otherwise we would...
[ { "msg_contents": "> >>This took me hours to find ...\n> >>\n> >>On my Windows box, CVS HEAD gets an execution failure on \n> \"initdb foo\" \n> >>but succeeds happily with \"initdb -D foo\".\n> >>\n> >>This is not true for REL8_1_STABLE, nor is it true for all Windows \n> >>machines/environments, apparently, ...
[ { "msg_contents": "\n> >Are you running this with an admin account or a non-admin \n> account? If \n> >admin, what are the permissions on the initdb.exe file and libpq.dll?\n> > \n> >\n> \n> Should be unprivileged - it's the account I use to run \n> buildfarm. (and which has therefore in each case just \n> suc...
[ { "msg_contents": "\nI have just noticed some major wrongness about the way initdb handles \nuserids and the -U argument, dating apparently from an attempted bug fix \nin July 2004 at version 1.42 (and thus present in both 8.0 and 8.1)\n\nIllustration below.\n\nI'm too tired to fix it now - will try on the week...
[ { "msg_contents": "Caught exceptions in PL/pgSQL appear to leak memory -- is that\nexpected? Here's a contrived test case:\n\nCREATE FUNCTION foo(n integer) RETURNS void AS $$\nBEGIN\n FOR i IN 1 .. n LOOP\n BEGIN\n RAISE EXCEPTION 'test';\n EXCEPTION\n WHEN OTHERS THEN\n ...
[ { "msg_contents": "During Josh Berkus' presentation at the JPUG PostgreSQL Conference, I \nwas particularly struck by the fact that 8.1 had a shorter beta \nperiod than previous releases, rolled out on time, and enjoyed a \nlonger period before the first post-release bug was reported. The \nPostgreSQL Build...
[ { "msg_contents": "> >> I will add some trace writes when I get a chance. I was \n> rather hoping \n> >> something would jump out at you, but obviously it hasn't, so I'll \n> >> have to dig into it the slow way. *sigh*\n> >\n> >\n> >\n> > Just eyeballing the code it looks to me like the problem is \n> this line...
[ { "msg_contents": " \n\n> -----Original Message-----\n> From: pgsql-hackers-owner@postgresql.org \n> [mailto:pgsql-hackers-owner@postgresql.org] On Behalf Of Mark Kirkwood\n> Sent: 22 February 2006 01:53\n> To: Mark Woodward\n> Cc: Tom Lane; Peter Eisentraut; kleptog@svana.org; \n> pgsql-hackers@postgresql.org\...
[ { "msg_contents": "Hi all\n\nI looked at B-tree and r-tree implementations. However i could not find \nout where it is used. It seems that the data retrieved from the data \nbase is kept in the tuple data structure. I am not clear in that. please \nsome one help me..\n\nThanks\nDhanaraj\n", "msg_date": "Wed...
[ { "msg_contents": "Hello\n\nThere isn't possibility change opclass for generated UNIQUE indexes. I found \nsyntax for CREATE TABLE command USING INDEX TABLESPACE ..., This form can be \nenhanced to\n USING INDEX [TABLESPACE ..] [OPCLASS ..]\n\nWhat do you think about it?\n\nRegards\nPavel Stehule\n\n__________...
[ { "msg_contents": "Hi,\n \nI have a question on implementation of the LIMIT SQL clause.\n \nUsing the LIMIT clause, I want to reduce the computation time for a query.\n \nWhen I try to limit the result of a joined table, however, the join will be computed first (which takes very long).\n \nLets suppose the foll...
[ { "msg_contents": "> > Thinking about this a tiny bit more, it struck me that by \n> far the best \n> > way to do this is to stop using a magic argument and use the \n> > environment instead. Then we don't need to mangle the \n> command line at \n> > all. This actually results in less code, and should be more r...
[ { "msg_contents": "> >Is there any reason to worry about an accidental environment \n> conflict?\n> >If someone mistakenly did \"export PG_RESTRICT_EXEC=1\", it \n> looks to me \n> >like this would cause the re-exec bit to be skipped, but I \n> suppose the \n> >worst possible consequence is that the postmaster ...
[ { "msg_contents": "Shouldn't this produce Infinity instead of an error?\npostgresql=# select 5::float/0::float;\nERROR: division by zero\npostgresql=# select 5::float/'Infinity'::float;\n ?column? \n----------\n 0\n(1 row)\n\npostgresql=# \n-- \nJim C. Nasby, Sr. Engineering Consultant jnasby@perva...