threads
listlengths
1
2.99k
[ { "msg_contents": "I'm currently testing pgAdmin support for slony, on pgsql CVS HEAD, and \nencounter strange problems from time to time.\nAfter dropping and recreating the slony schema, all changes committed \nand all backends in <IDLE> state, I'm getting\n\"relation with OID xxx does not exist\" when I'm try...
[ { "msg_contents": "I have the following conferences scheduled:\n\n\tSept 7-10, Sri Lanka\n\tSept 17, New York City\n\tOctober 17-20, Amsterdam\n\nInformation is on the PostgreSQL Events list and my home page. I also\nhave a possible Armenia trip for early October, and Mexico for\nmid-November.\n\n-- \n Bruce ...
[ { "msg_contents": "> -----Original Message-----\n> From: Bruce Momjian [mailto:pgman@candle.pha.pa.us] \n> Sent: 28 August 2005 22:56\n> To: Dave Page\n> Cc: pgsql-hackers@postgresql.org\n> Subject: Re: [HACKERS] Win32 Thread safetyness\n> \n> \n> Well, actually I tried to run configure --enable-thread-safety o...
[ { "msg_contents": "Folks,\n\nI've noticed that \\df doesn't do quite what it might when a function\nis created with named input parameters. Please find enclosed a patch\nagainst CVS TIP that does this better.\n\nOn a slightly related note, I've noticed that psql isn't backward\ncompatible. I know that it's *v...
[ { "msg_contents": "Hi there,\n\nI'm a bit surprised how bad could be plan for unused table.\nI had to cancel second query :)\n\ntp=# explain analyze select tp_rewrite_substitute(query, \n'select p.name_tsquery, p.name_alias_tsquery from place p') \nfrom to_tsquery('new&york&hotel') as query;\ny;\n ...
[ { "msg_contents": ">> Server: 7.4.8 on Red Hat EL4. Client psql 8.0.3 on WinXP. Using a\n>> test server.crt and server.key, as described in 8.0 docs 16.8, I can\n>> activate SSL encryption (WinXP 8.0.3 psql reports \"SSL Connection\"\n>> at connect), and as expected, the server log reports that root.crt\n>> is...
[ { "msg_contents": "Hello, \n\nI just found quite a strange behaviour of 8.1beta on SunOS:\n\nuname -a:\nSunOS sun46 5.8 Generic_108528-14 sun4u sparc SUNW,Ultra-80\ngcc -v:\nReading specs from \n/systools/bin/../lib/gcc-lib/sparc-sun-solaris2.7/3.2.1/specs\nConfigured with: /disk-c/hiller/gcc-3.2.1/configure \n...
[ { "msg_contents": "To the last sentence in my last post \"Re: SSL client crt verification\":\n\n\"From docs I understand that I only have to set SSL = true in postgresql.conf\nto switch it on (in addition to providing the crt and key files).\"\n\nI should have added:\n\n\"...and using \"hostssl\" in pg_hba.conf...
[ { "msg_contents": "I want to write a selectivity function for GIST indexes.\n\n \n\nThe select condition is somefield && array[1,2,3],\n\nBut when I'm inside selectivity function I get args: T_Var, T_Const.\n\n \n\nSo function needs to get the actual array contents from T_Const .\n\n \n\nHow to do it ?\n\n \n\n...
[ { "msg_contents": "> > > Yes, and a flag to ecpg. Added to TODO:\n> > \n> > Um, it's not clear *when* you need to know this:\n> > \t- application configure time?\n> > \t- application compile time?\n> > \t- application link time?\n> > \t- application run time?\n> > \n> > Of those possibilities, \"add a function...
[ { "msg_contents": "1)\n\nI want to test my own selectivity function against future stats collector. \n\nIs this a right way to update statistic used by planner ?\n\nupdate pg_statistic set\nstadistinct=4,stakind3=11111,stanumbers3=array[0.8,0.2],stavalues3=array[100\n00,10001] where starelid=950855 and staattnu...
[ { "msg_contents": "[Please CC any replies, thanks]\n\nHi,\n\nI saw the discussion about an tester for MVCC. Since I'd never done\nanything with asyncronous queries before, I figured I'd try to write\nsomething useful with it. The result is at:\n\nhttp://svana.org/kleptog/pgsql/mvcctest.tar.gz\n\nIt's a tester t...
[ { "msg_contents": "\nI have a table with several 'smallint' fields that I'd like to convert to \nbooleean ... the data in each is either 0 or 1, and:\n\n# select '1'::boolean;\n bool\n------\n t\n(1 row)\n# select '0'::boolean;\n bool\n------\n f\n(1 row)\n\nso they do cast as expected ... but, if I try to ...
[ { "msg_contents": "Has anyone been able to set kern.sysv.shmmax above 4MB at all in latest\nOS X? I just spent a while trying what seemed every possible\npermutation of setting up /etc/sysctl.conf and editing /etc/rc directly,\nand it just fails (symptom: sysctl shows shmmax as -1, and Postgres\ncannot start)....
[ { "msg_contents": "Hi,\n\ni have installed the latest CVS, 8.1beta1.\n\nand get an error executing at DROP USER. these are the commands i\nexecute and the error i get:\n\nin: psql -U postgres template1\n\nCREATE USER deimos;\nCREATE TABLESPACE sgis_dat OWNER deimos LOCATION '/data/postgres/sgis_dat';\nCREATE T...
[ { "msg_contents": "I just spent a tedious hour digging through the buildfarm results\nto see what I could learn about the intermittent failures we're seeing\nin the stats regression test, such as here:\nhttp://www.pgbuildfarm.org/cgi-bin/show_log.pl?nm=ferret&dt=2005-05-29%2018:25:09\nThis is seen in both Check...
[ { "msg_contents": "Hi all,\n\nYou know how i can make a backup of database automatically? I have a \nscript \"pg_dump.exe DBNAME -U USER > FILE\" but i don't know how put the \npassword. If i put \"-W password\" the command line say that i put more \nparamatrers that the program accept.\n\nBest Regards\n\n\nHi...
[ { "msg_contents": "The slony log trigger saves execution plans, so any given connection\nthat has been used with a slony schema installed will have cached OIDs\nreferring to the sl_log_1 table. When you drop the schema, those OIDs\nobviously go away. When you re-create the schema, and try to use the old\nconnec...
[ { "msg_contents": "Hello everybody!\n I'm so sorry to post this simple question but I don't know what to do, the \nthing is I need to install postgresql 8.0.3 in red hat 9 but when I try to \ndo it this errors appear:\n [root@bib root]# rpm -ivh postgresql-server-8.0.3-1PGDG.i686.rpm\nwarning: postgresql-server...
[ { "msg_contents": "Hi,\nI just noticed that pronargs in pg_proc does not show the full arg \ncount, seems only to show count of IN args.\nshouldn't this show the full arg count including in/out/inout?\n\nAlso is it ok to talk about the 8.1 beta in this list?\n\nThanks,\n\nTony\n", "msg_date": "Tue, 30 Aug 2...
[ { "msg_contents": "Also, kookaburra (AIX) has a problem with the stats test as well.\n\nWhat is most puzzling to me is that it only happens with cc (not gcc).\nAnd I can only get it to happen when running a cronjob for the\nbuildfarm. If I run it interactively, the stats collector will run\nfine, or if I run t...
[ { "msg_contents": "8.1-beta1 produces some odd results with statement logging enabled when\nthe extended query protocol is used (e.g. when using the JDBC driver).\nRepeatedly running a simple query with log_statement = 'all' produces this:\n\nLOG: statement: PREPARE AS SELECT 'dummy statement'\nLOG: statemen...
[ { "msg_contents": "\nWith psql 8.1beta1 I get a pretty cryptic error message \"ERROR: bogus varno: 1\"\noccasionally when I try to mix postgis (GIST-based) conditions with normal\nconditions. The statements where this happen are totally reroducable.\n\nAttached is an example of this happening. I'd be happy t...
[ { "msg_contents": "Hi,\n\nProblem Description:\n \nWe need to insert binary data to tables and retrieve the \nSame-(data type is bytea).\nWe are using PQExecParams for inserting and retrieving\nData.\nTable contains other than binary data also.\n\nWhen we tried to fetch the integer data (type-int2)\nWe are not...
[ { "msg_contents": "Hi,\n\nAs part of previous discussions about typmod for user type, Tom\nmentioned that you would need to make type and function names\nequivalent. As it turns out, if you refactor a few rules, you can\nactually make it work and manage them seperately. For this to work the\ncurrent \"col_name_...
[ { "msg_contents": " \n\n> -----Original Message-----\n> From: pgsql-hackers-owner@postgresql.org \n> [mailto:pgsql-hackers-owner@postgresql.org] On Behalf Of William ZHANG\n> Sent: 31 August 2005 10:51\n> To: pgsql-hackers@postgresql.org\n> Subject: Re: [HACKERS] Call for 7.5 feature completion\n> \n> * Faster ...
[ { "msg_contents": "Hi,\nI have been playing around with 8.1(it's very nice by the way) and was \ntrying to get OUT params to return more than 1 row.\n\nI came up with the function below, and it does work, however I had to \ndeclare another record to use in the FOR ..IN loop.\n\n From my reading of the docs the ...
[ { "msg_contents": "I saw in the release notes that 8.1 is supposed to do function syntax \nchecking at create rather than run time, but with the first beta this \ndoes not seem to work. check function bodies is on by default in the \npostgresql.conf file. Is there a setting that didn't make it into the \nconf...
[ { "msg_contents": "During CREATE INDEX we include all tuples, even if they are already dead\nwhen we build an index.\n\nWhat purpose does this serve?\n\nA pre-existing transaction can't see the index, so there is no danger\nthat it can use the index and unknowingly avoid touching a valid row.\n(If it *can* see ...
[ { "msg_contents": "I wrote:\n> We've had repeated problems with PL languages stemming from the fact\n> that pg_dump dumps them at a pretty low semantic level. Aside from this\n> problem with adding a validator, we used to have issues with hardwired\n> paths to the shared libraries in the CREATE FUNCTION comman...
[ { "msg_contents": "\nFor a while now, I've been seeking a method of reducing the impact of\nVACUUM when run against a database where 80-95% of the data is\neffectively read only and will not be deleted/updated again. This is the\nsituation in most Data Warehouses. When you get very large databases\n(VLDB) the e...
[ { "msg_contents": "Hi,\n\nI see this TODO item:\n\n* %Set proper permissions on non-system schemas during db creation\n\nI think a quetion here is wich are non-system schemas?\n\ni guess \"public\" is one of these... but in pg_namespace i have no way\nto know that. Is there another way? or maybe we need an attr...
[ { "msg_contents": "Hi Hackers,\n\nI think it would be a waste to retain xmin and cmin for frozen tuples\nbecause their values represent only 'visible for all transactions'.\nAdditionally, most tuples in database can be frozen potentially.\n\nI wrote a makeshift patch to compress xmin and cmin (8bytes) to\n1-bit...
[ { "msg_contents": "running vanilla configure, i see the following toward the end, and my makefile \nis incomplete as well:\n\nchecking alignment of int... (cached) 4\nchecking alignment of long... (cached) 4\nchecking alignment of long long int... (cached) 4\nchecking alignment of double... (cached) 4\nchecking...
[ { "msg_contents": " \n\n> -----Original Message-----\n> From: Andrew Dunstan [mailto:andrew@dunslane.net] \n> Sent: 01 September 2005 03:31\n> To: William ZHANG\n> Cc: Dave Page; pgsql-hackers@postgresql.org\n> Subject: Re: [HACKERS] Call for 7.5 feature completion\n> \n> \n> We currently have nmake files for t...
[ { "msg_contents": "\n> > My wild guess is that deleting all index pointers for a removed\nindex \n> > is more-or-less the same cost as creating new ones for \n> > inserted/updated page.\n> \n> Only if you are willing to make the removal process \n> recalculate the index keys from looking at the deleted tuple.\n...
[ { "msg_contents": "\n> > The bgwriter could \"update\" all columns of dead heap tuples in heap \n> > pages to NULL and thus also gain free space without the need to\ntouch \n> > the indexes.\n> > The slot would stay used but it would need less space.\n> \n> Not unless it's running a transaction (consider TOAST ...
[ { "msg_contents": "Hello, \n\nFirst, I'll show the warnings seen when compiling postgres on \nSunOS 5.6 with gcc 3.2.1\n\ncopy.c: In function `GetDecimalFromHex':\ncopy.c:2660: warning: subscript has type `char'\ncopy.c: In function `CopyReadAttributesText':\ncopy.c:2805: warning: subscript has type `char'\ncop...
[ { "msg_contents": "William wrote:\n> You are right. What I want is VC++ projects(*.dsp, *.dsw). Once the\n> project files is created, the maintance work is simply add/remove some\n> new/deleted source files (*.c only) from the dsps.\n> \n> And I think VC++ 6.0 is ok, it is power enough and not so big for\npgsql...
[ { "msg_contents": "A release or two ago we added the version number to the psql welcome banner. \nI noticed that quite a few people interpret that as the server version. \nSomehow, the explicit display of the version numbers leads them to make \ninferences that they would otherwise not bother about. Has anyo...
[ { "msg_contents": "doc/src/sgml/storage.sgml says:\n\n\"The last 2 bytes of the page header,\n<structfield>pd_pagesize_version</structfield>, store both the page size\nand a version indicator. Beginning with\n<productname>PostgreSQL</productname> 8.0 the version number is 2;\n<productname>PostgreSQL</productna...
[ { "msg_contents": "Browsing the glibc stuff for locales I noticed that glibc does actually\nallow you to specify the collation order to strcoll and friends. The\nfeature is however marked with:\n\n Attention: all these functions are *not* standardized in any form.\n This is a proof-of-concept implementation...
[ { "msg_contents": "I think we still recommend using *new* pg_dump to dump *old* server when\nupgrading. If one tries that with today's pg_dump (8.1beta1) against \na 8.1devel server of 6 May, i.e., predating roles, one gets:\n\npg_dump: SQL command failed\npg_dump: Error message from server: ERROR: relation \"...
[ { "msg_contents": "I'm starting to get into PostgreSQL development by implementing:\n\n\t%Allow ALTER TABLE ... ALTER CONSTRAINT ... RENAME\n\nfrom the TODO. I've been looking through the code from CommentConstraint\nand ATExecDropConstraint and they error out on duplicate constraint\nnames for a relation. Howe...
[ { "msg_contents": "Consider the following example:\n\nregression=# create user u1;\nCREATE ROLE\nregression=# create user u2;\nCREATE ROLE\nregression=# create user u3;\nCREATE ROLE\nregression=# grant u1 to u2;\nGRANT ROLE\nregression=# \\c - u1\nYou are now connected as new user \"u1\".\nregression=> create t...
[ { "msg_contents": "Hi.\n In a cluster, is there any way to use the main memory of the other nodes \ninstead of the swap? If I have a query with many sub-queries and a lot of \ndata, I can easily fill all the memory in a node. The point is: is there any \nway to continue using the main memory from other nodes in...
[ { "msg_contents": "> In general I don't think it even makes sense to think of making\n> executor rollback non-transactional.\n\nAgreed.\n\nI would not want to rollback some statements and not others within a\ntransaction. I would like a complete rollback to happen, but only when\nthe exception propogates out o...
[ { "msg_contents": "Hi,\n\nI found two different definitions of MAX_TUPLES_PER_PAGE.\nWhich is reasonable? Or do they have another meaning?\n\nbackend/commands/vacuumlazy.c\n#define MAX_TUPLES_PER_PAGE ((int) (BLCKSZ / sizeof(HeapTupleHeaderData)))\n\nbackend/nodes/tidbitmap.c\n#define MAX_TUPLES_PER_PAGE ((BL...
[ { "msg_contents": ">if I could get into the TRY section of the PG_CATCH()/PG_TRY()\n> construct without an intervening elog(ERROR) then I'd have a\n> chance ...\n\nSorry, I meant \"the CATCH section of the PG_TRY()/PG_CATCH()\nconstruct.\"\n\n\n\n\n\nRE: PL/pgSQL: EXCEPTION NOSAVEPOINT \n\n\n\n>if I could get i...
[ { "msg_contents": "How does Index scan perform a scan for overlapping Index Cond ?\n\nIf I get a plan like this, what will actually be performed if EXPLAIN\nshows this:\n\n Sort (cost=12.90..12.91 rows=1 width=207)\n Sort Key: log_actionseq\n -> Index Scan using sl_log_1_idx2_hu, sl_log_1_idx2_hu,\nsl_log...
[ { "msg_contents": "Supports any glibc platform and possibly Win32.\n\nAdds:\n SELECT ... ORDER BY expr COLLATE 'locale'\n CREATE INDEX locale_index ON table(expr COLLATE 'locale')\n Index scan used when COLLATE order permits\n\nThis is just a proof of concept patch. I didn't send it to -patches\nbecause as T...
[ { "msg_contents": "> > > And I think VC++ 6.0 is ok, it is power enough and not so big for\n> pgsql's\n> > development. And latter versions of VC++ can automatically convert\n> 6.0's\n> > project files. There are also a \"VC++7 to VC++6 project converter\"\non\n> > www.codeproject.com.\n> \n> | You might be sur...
[ { "msg_contents": "> > I think the most popular method to build a project on Win32 \n> is using \n> > MSVC or Intel C. Intel C can be integrated with MSVC's IDE to help \n> > developers increase their productivity. Actually I have \n> tried to make \n> > the backend of pgsql-8.0.3 build with MSVC 6.0, and it wo...
[ { "msg_contents": "\n> I think the main problem with switching to visual studio \n> project files is maintainabilty. (It's not easy to get all \n\nI think the target should be a way to auto create those files with gmake\n(maybe with mingw for configure).\n\nThe format of VS6 project and workspace files is prett...
[ { "msg_contents": "Hi everyone,\n\nI've starting putting together a kit based on the TPC-App, which is a\nbusiness-to-business Web services workload. I'm starting to implement\nit as a Java EJB and have the most of the interactions implemented with\na simple single threaded driver.\n\nThe code is available her...
[ { "msg_contents": "Hi,\n\ni'm looking for some item i can do and that have enough consensus to\nmake it worth the effort... :)\n\n* Have sequence dependency track use of DEFAULT sequences, seqname.nextval?\n\nwhat this means? i don't understand it...\n\n* %Disallow changing default expression of a SERIAL column...
[ { "msg_contents": "Hey guys,\n I am taking my chances of posting a devel doubt on this list (couldn't find\nany other relevant list). I think I have spent too much time on\nthis and need a fresh pair of eyes to look in it..\n\nSo this is my situation:\n1. I have added a new field to RangeTblEntry (bool tablesam...
[ { "msg_contents": "Hi there,\n\nfollowing query cause postmaster to fail.\n\ntp=# select query from rquery('new&york&hotel') as query;\nserver closed the connection unexpectedly\n This probably means the server terminated abnormally\n before or while processing the request.\nThe connection to th...
[ { "msg_contents": "Hello,\n\nThe call for papers for SCALE 4x, the 2006 Southern California Linux\nExpo, is now open. This event will be our fourth annual show. It\nwill be held on Feb 11-12, 2006 at the Los Angeles Airport Westin. We\nare expecting 1,300+ in attendance this year. We are non-profit,\ncommuni...
[ { "msg_contents": "Please excuse any stupidity, as although I've used postgres for quite\nsome time, this is my first foray into developing for it. I'm working on\nconverting the geometry stuff in adt to support 4 dimensions. For my own\nuse, I plan on patching 8.0.3 with the files I edited in the 8.1beta\nsour...
[ { "msg_contents": "Hello, \n\nI have the following question about the Postgres optimizer.\n\nI have two functions: \n\nCREATE OR REPLACE FUNCTION test_func(float, OUT a bigint, OUT b bigint) \nRETURNS record AS 'select test_func1($1)[1],test_func1($1)[2]\n'LANGUAGE SQL IMMUTABLE;\n\nand \n\nCREATE OR REPLACE FU...
[ { "msg_contents": "Ilya Kovalenko posted some code at in a thread starting at\n\n http://archives.postgresql.org/pgsql-hackers/2005-04/msg00417.php\n\nwhich lead to the TODO item:\n\n* Allow INET + INT4 to increment the host part of the address, or\n throw an error on overflow\n\nI think that the naively code...
[ { "msg_contents": "Hi,\n\nI tried sending this mail to pgadmin, but nobody could find a solution\nto my problem. So I changed my problem into a suggestion and I was\nhoping I am at the right place for it here :-)\n\n-------- Original Message --------\nSubject: Postgres using SSL connections\nDate: Thu, 25 Aug 2...
[ { "msg_contents": "Well, it was pointed out the other day that the Darwin C library\nsupports the non-standard extensions to the POSIX locale interface and\nthat this might be ported to other systems so PostgreSQL could use it.\n\nSo, I have written a few scripts which download the libc and locale\nlibrary from...
[ { "msg_contents": "I've committed changes to implement the cut-down form of this proposal:\nhttp://archives.postgresql.org/pgsql-hackers/2005-08/msg01185.php\ndiscussed here:\nhttp://archives.postgresql.org/pgsql-hackers/2005-09/msg00138.php\n\nBarring further changes, we'll have a hard-wired template list for ...
[ { "msg_contents": "Beta1 has gone very well so far. There have been very few bug reports,\nthough I know that many people are testing it because it is mentioned on\nour home page. I know Tom is working on a patch for procedural\nlanguages, but other than that, there are not many other open issues. \nPerhaps w...
[ { "msg_contents": "Hello \n can any one tell me how can I add a new cloumn in pg_class\n\nCurrently I am doing :\n In pg_class.h\n\n\t* In CATALOG(pg_class) BOOTSTRAP define the variable [var-name]\n\t* define a variable for [var-name] as\n\t\t#define Anum_pg_class_[var-name]\t\t\t[value]\n\t* And pass de...
[ { "msg_contents": "I have been in need of a uuid type and ran across the pguuid download\nby Xiongjian (Mike) Wang. This wasn't really useful to me for two\nreasons: first, it is GPLed and I would prefer a more liberal license,\nsecondly, it didn't compile cleanly on Mac OS 10.3, due to lack of a\nSIOCGETIFHWA...
[ { "msg_contents": "[Please CC any replies, thanks]\n\nI added a field to each of Var, Const, FuncExpr and OpExpr which is set\nduring parse_expr. But somewhere between the parsing and execution the\nvalues of these fields get reset back to NULL. But only for FuncExpr\nand OpExpr, for Var and Const it all works ...
[ { "msg_contents": "Hi there,\n\nafter we have GiST with concurrency and recovery support\n(thanks to PosGIS community for support) I'd trying to \nfind info about level of extensibility support in \nother major RDBMS's like Relational Extenders of DB2, \nCartridges in Oracle and (?) in MS SQL.\n\nWith current G...
[ { "msg_contents": "I didn't see anything mentioned in the docs about this, so I'm curious\nas to how significant of a change you can make to the hardware or\nsoftware configuration for a restore before breaking things.\n\nSecondly, is PostgreSQL smart enough to complain in these cases or will\nit be silent and ...
[ { "msg_contents": "As promised a link to the code.\n\nhttp://granicus.if.org/~nw/ossp_pg_uuid-0.1.tar.gz\n\nYou'll also need Ralf Engelschall's uuid library, which mine is a postgres\ninterface to. It's available at\n\nftp://ftp.ossp.org/pkg/lib/uuid/uuid-1.3.0.tar.gz\n\nIt probably has a few warts. I'm mainl...
[ { "msg_contents": "Please let me know if there is a way to determine when the Postmaster was \nlast restarted?\nThis is for tuning. I have stats_reset_on_server_start turned on, but I \ndon't know when last the Postmaster was started, so I can't determine the \nperiod my current system stats cover.\n\nPlease le...
[ { "msg_contents": "> -----Original Message-----\n> From: pgsql-hackers-owner@postgresql.org [mailto:pgsql-hackers-\n> owner@postgresql.org] On Behalf Of Josh Berkus\n> Sent: Tuesday, September 06, 2005 6:40 PM\n> To: mark@mark.mielke.cc\n> Cc: Bob Ippolito; jonah.harris@gmail.com;\npgsql-hackers@postgresql.org;...
[ { "msg_contents": "Hi,\n\nIs there any way of checking to see if a particular shared library is \ninstalled?\n\neg. select is_shared_library('$libdir/tsearch2');\n\nIf not, can we please have one :D\n\nThis will greatly help in GUI apps like phpPgAdmin...\n\nChris\n", "msg_date": "Wed, 07 Sep 2005 16:02:39 ...
[ { "msg_contents": " \n\n> -----Original Message-----\n> From: pgsql-hackers-owner@postgresql.org \n> [mailto:pgsql-hackers-owner@postgresql.org] On Behalf Of \n> Christopher Kings-Lynne\n> Sent: 07 September 2005 09:03\n> To: PostgreSQL-development\n> Subject: [HACKERS] Testing for a shared library\n> \n> Hi,\n...
[ { "msg_contents": " \n\n> -----Original Message-----\n> From: Christopher Kings-Lynne [mailto:chriskl@familyhealth.com.au] \n> Sent: 07 September 2005 09:16\n> To: Dave Page\n> Cc: PostgreSQL-development\n> Subject: Re: [HACKERS] Testing for a shared library\n> \n> >>Is there any way of checking to see if a par...
[ { "msg_contents": "# create table foo ( bar int );\nCREATE TABLE\n# create or replace function func (int)\n returns int as\n $$\n DECLARE\n IID alias for $1;\n CNT int;\n BEGIN\n select into CNT count(*) from foo where bar = IID;\n RETURN CNT;\n END;\n $$\n language pl...
[ { "msg_contents": " > After reconnecting to database all is ok. Is it supposed behaviour?\n\nYes. The plpgsql interpreter in the backend directs the backend to \nprepare and cache every sql statement in the function. The planned \nstatements reference oids of the tables referenced.\n\nDropping the connection ...
[ { "msg_contents": "Hi, All.  \n\nHas anyone successfully built PostgreSQL from source using MinGW?  Anyone have step-by-step instructions on how to do this? I am willing to write the documentation on this if I can just get it to work. :-)\n\nI have done the following:\n1. Install MinGW \na. Go to URL:  http:/...
[ { "msg_contents": "I have made a new version, and made a web page for it.\n\nhttp://granicus.if.org/~nw/uuid/\n\nGiven the statement that it won't be accepted for contrib or core\nunless it compiles on windows, I guess I won't really have anything\nfurther to say on the topic. I don't have any way to compile o...
[ { "msg_contents": "please direct to -win32-hackers, -general, or -novice. take your pick. Also please don't cc unless you have a reason to speak directly to that person.\n\nanyways, install bison. \n\nMerlin\n\n> -----Original Message-----\n> From: pgsql-hackers-owner@postgresql.org [mailto:pgsql-hackers-\n> o...
[ { "msg_contents": "\npg_config doesn't currently seem to have an option to report the \nshare_dir. Should it?\n\ncheers\n\nandrew\n", "msg_date": "Wed, 07 Sep 2005 17:34:13 -0400", "msg_from": "Andrew Dunstan <andrew@dunslane.net>", "msg_from_op": true, "msg_subject": "pg_config/share_dir" }, ...
[ { "msg_contents": "Log Message:\n-----------\nUpdate timezone data files to release 2005m of the zic database.\nAmong other changes, this reflects the recently passed change in USA\ndaylight savings rules.\n\nModified Files:\n--------------\n pgsql/src/timezone/data:\n africa (r1.1 -> r1.2)\n (...
[ { "msg_contents": "\nOne regular topic of conversation on IRC and elsewhere is that the \nsettings initdb installs especially for memory use, connections, and so \non, are often very conservative. Of course, we tell people how to tune \nthem to some extent, although performance tuning seems to remain a black \n...
[ { "msg_contents": "I have been writing a PQ client and I have come to think that a\n\"supported PQ versions request startup packet\" would be useful to client\nauthors. That is, sending a StartupPacket(Version(0, 0))(or whatever)\nwould return a message containing a list of supported PQ versions, and\nmaybe the...
[ { "msg_contents": " \n\n> -----Original Message-----\n> From: pgsql-committers-owner@postgresql.org \n> [mailto:pgsql-committers-owner@postgresql.org] On Behalf Of Tom Lane\n> Sent: 07 September 2005 22:40\n> To: pgsql-committers@postgresql.org\n> Subject: [COMMITTERS] pgsql: Update timezone data files to \n> r...
[ { "msg_contents": "Hi Hackers,\n\nPostgreSQL can treat variable-length data flexibly, but therefore\nit consumes more spaces if we store short data. Headers of\nvariable-length types use 4 bytes regardless of the data length.\n\nMy idea is to change the header itself to variable-length. \nIn order to reduce the...
[ { "msg_contents": "Hi, I'm trying to compile Postgresql 8.1 beta on my own in mingw/windows.\nI tried to compile it with --with-bonjour but it is looking for the wrong\nfile, it looks for \"DNSServiceDiscovery.h\" but Apple provides a file named\n\"dns_sd.h\" (Bonjour SDK for windows as of May 5 2005), after re...
[ { "msg_contents": "Hi Andrew, you wrote:\n\n> I don't recall ever hearing that this has been done.\n\nbonjour is the new name of Apple's rendezvous technology, an old email\n(http://archives.postgresql.org/pgsql-hackers/2005-05/msg00739.php) stated\nthat rendezvous support was working at least on macosx and win...
[ { "msg_contents": "I may have missed it in the docs, but were certain timestamp abbreviations\nphased out between 8.0.3 and 8.1 beta1?\n\neg.\n(8.0.3)\n#SELECT TIMESTAMP '2001-02-16 20:38:40' AT TIME ZONE 'PST';\n timezone\n-------------------------\n 16/02/2001 20:38:40 PST\n\n\n(8.1beta1)\n#SELECT TIME...
[ { "msg_contents": "There's been some discussion about loading of external modules and\ngetting the right function definitions. I was wondering if it would be\nan idea to have the install scripts inside the module itself. Create a\ncommand called:\n\nINSTALL word | 'full path'\n\nWould search for $libdir/{word}....
[ { "msg_contents": "I am still in Sri Lanka and am having a great time. Their hospitality\nis well known. Unfortunately, I have not had a block of hours to read\nemail and prepare for beta2.\n\nI recommend the group continue with beta2. Someone can update the\nrelease notes or I will do them before beta3. Th...
[ { "msg_contents": " \n\n> -----Original Message-----\n> From: pgsql-hackers-owner@postgresql.org \n> [mailto:pgsql-hackers-owner@postgresql.org] On Behalf Of \n> Andrew - Supernews\n> Sent: 09 September 2005 08:16\n> To: pgsql-hackers@postgresql.org\n> Subject: Re: [HACKERS] initdb profiles\n> \n> On 2005-09-08...
[ { "msg_contents": "\nDear ,\n\nOne of the difference in mysql and postgresql is case insensitiveness.\nI want to midify the code of posgresql so that it can support case \ninsensitiveness in indexing and in join operation.\n\nI dont want that user should always write lower and uppder during using \nit.\nI just ...
[ { "msg_contents": "Currently, when we set a statement_timeout and a query runs over that\ntime there is no log message to say that the statement has timed out. We\ndo get a message which says \n\tERROR: canceling query due to user request\nand so in the server log it is impossible to tell the difference betwee...
[ { "msg_contents": "Just for fun, I went through PostgreSQL 8.1 and did a complete build\nusing Microsoft's C and the latest Visual Studio.\n\nWith a few minor tweaks, everything compiled with no errors.\n\n \n\nMy assumption is that because PostgreSQL is a UNIX/Linux-centric project\n(and gcc/gdb centric), this...
[ { "msg_contents": "________________________________\n\n\tFrom: pgsql-hackers-owner@postgresql.org\n[mailto:pgsql-hackers-owner@postgresql.org] On Behalf Of Chuck McDevitt\n\tSent: 09 September 2005 19:38\n\tTo: pgsql-hackers-win32@postgresql.org\n\tCc: PostgreSQL-development\n\tSubject: [HACKERS] Build with Vis...
[ { "msg_contents": "sir,\ni'am getting different o/p for the same program code as well as the data base is the same .twice the output is being printed on some machines whereas correct o/p on some.the program code is\ncreate or replace function f() return int4 as'\nc1 cursor for select empname from emp;\ne1 emp.e...
[ { "msg_contents": "\n-----Original Message-----\nFrom: \"Jean-Marc EBER\"<jeanmarc.eber@lexifi.com>\nSent: 10/09/05 14:26:15\nTo: \"Dave Page\"<dpage@vale-housing.co.uk>\nCc: \"Chuck McDevitt\"<cmcdevitt@greenplum.com>, \"pgsql-hackers-win32@postgresql.org\"<pgsql-hackers-win32@postgresql.org>, \"PostgreSQL-dev...