threads
listlengths
1
2.99k
[ { "msg_contents": "I've been thinking hard for the last few days about how to do space\nreclamation in b-tree indexes, i.e., recycle pages that are in\nno-longer-useful portions of the tree structure. We know we need this to\nsolve the \"index bloat\" problem that occurs when the distribution of keys\nchanges ...
[ { "msg_contents": "hi, does anyone know what lockmethod means in the lock.h file and whats the use of lockmethodTable.?\nthank you\nSumairaAdd photos to your messages with MSN 8. Get 2 months FREE*.\n", "msg_date": "Wed, 12 Feb 2003 16:19:29 -0800", "msg_from": "\"Sumaira Ali\" <nat_lazy@hotmail.com>"...
[ { "msg_contents": "In a plpython trigger, if you return \"MODIFY\", the parsing of the\nTD[\"new\"] dictionary uses the wrong (c array) index to locate the\natttypmod value, leading to subtle bugs dependent on the exact types,\nnames, and order of fields in the table in question.\n\n(Types need to be those that...
[ { "msg_contents": "I'm still getting failure, but it gets weirder:\n\nregression=# drop table timetz_tbl;\nDROP TABLE\nregression=# CREATE TABLE TIMETZ_TBL (f1 time(2) with time zone);\n\nINSERT INTO TIMETZ_TBL VALUES ('00:01 PDT');\nCREATE TABLE\nregression=#\nregression=# INSERT INTO TIMETZ_TBL VALUES ('00:01...
[ { "msg_contents": "I've been playing around with the source for psql, and as a result I\ndid some cleaning up in common.c. Would anyone be interested in seeing\npatches for that? The main benefit is some eliminated code duplication,\nplus the removal of some warts like 'continue' and 'break' where they\nweren...
[ { "msg_contents": "While using PL/R in a web based application, I noticed that the library\nload and initialization time is significant enough to be annoying. So I\nwrote a quick hack to load and initialize the library on postmaster\nstartup. This way, the backends get a fully initialized copy of the\ninterpret...
[ { "msg_contents": "Hi Everyone,\n\nI've just spent the last day and a half trying to benchmark our new database\ninstallation to find a good value for wal_buffers. The quick answer - there\nisn't, just leave it on the default of 8.\n\nThe numbers just swing up and down so much it's impossible to say that one\n...
[ { "msg_contents": "Good evening, tonight while running my routine vacuum, the following came up on my screen:\n\n---8<---------------\nNOTICE: Rel xamefiles: Uninitialized page 708135 - fixing\nNOTICE: Rel xamefiles: Uninitialized page 708136 - fixing\nNOTICE: Rel xamefiles: Uninitialized page 708137 - fixin...
[ { "msg_contents": "tom lane initially wrote:\n> Restructuring the tree during page deletion\n> -------------------------------------------\n> \n> We will delete only completely-empty pages. If we were to\n> merge nearly-empty pages by moving data items from one page \n> to an adjacent one, this would imply cha...
[ { "msg_contents": "\n\n> -----Original Message-----\n> From: Christopher Browne [mailto:cbbrowne@acm.org] \n> Sent: 13 February 2003 13:33\n> To: pgsql-hackers@postgresql.org\n> Subject: Re: [HACKERS] location of the configuration files\n> \n> \n> In the last exciting episode, cjs@cynic.net (Curt Sampson) wrote...
[ { "msg_contents": "I have Postgres 7.2.1 configured to listen on TCP/IP port.\nWhen the server starts up it still creates the socket file in /tmp.\nRemoving this file manually does not seem to cause any problem for the\napplication.\n\nIs there a way to prevent postmaster from creating this file?\nIs this reall...
[ { "msg_contents": "In CVS tip, I'm getting only an empty string from psql where it should\nprint connection-failure messages.\n\npsql 7.3 does this:\n\n$ psql -p 5555\npsql: could not connect to server: No such file or directory\n Is the server running locally and accepting\n connections on Unix d...
[ { "msg_contents": "tom lane wrote:\n> \"Curtis Faith\" <curtis@galtcapital.com> writes:\n> > I don't dispute their conclusions in that context and under the\n> > circumstances they outline of random distribution of deletion and \n> > insertion values for the index keys. [But the random-distribution \n> > assum...
[ { "msg_contents": "\nThis is the second time I've seen this.\n\n7.3.2\n\nThis particular table is empty. I'm trying to read it in a perl script.\nIt doesn't duplicate regularly (I have a script that creates the database\nby copying table data from another databases).\n\nThis is the error in the pgsql log:\n200...
[ { "msg_contents": "This patch allows using PostgreSQL with a command line configuration \nfile parameter instead of the data directory.\n\nIf no configuration is specified, postmaster operates as it always has.\n\nThe configuration file is specified with the \"-C\" parameter, as:\n\npostmaster -C /somepath/some...
[ { "msg_contents": "\nAdded to TODO:\n\n\t* Add schema option to createlang\n\n\n---------------------------------------------------------------------------\n\nJustin Clift wrote:\n> Bruce Momjian wrote:\n> > Is this a TODO? Not sure.\n> \n> Is this a mis-feature (not really a bug) that should be fixed in 7.3.2...
[ { "msg_contents": "Hello,\n\nI've noticed one problem by upgrading from postgresql-7.3.1 to 7.3.2.\nThe example of this problem looks like this:\n\n create table test (a int, b text);\n create view testview as select * from test;\n\n create or replace rule testview_ins as\n on insert to testview do inst...
[ { "msg_contents": "\nHello *,\n\nI have a problem with the \"vacuum full\". every time I run the vacuum command I \nloose data from the parent tables. maybe also from the subtables (haven't \nchecked yet). I tried it a few times up to now an I can reproduce the \nphenomena.\n\nI am running postgresql 7.3.2 on s...
[ { "msg_contents": "\nOne of the functions of the DBA is to monitor what people are doing to\nthe database. My experience is that \"ps\" is often sorely lacking in\nthis regard: its output is somewhat limited, from what I've seen, and\nin any case the DBA's domain is the database itself: that's the\nenvironment...
[ { "msg_contents": "Kevin,\nHi. I was looking into PITR for PostgreSQL myself about a year back but\nlife intervened. I am an Oracle DBA so may be able to help you with an\nunderstanding of how Oracle does this.\n\nYou wrote:\n> Oracle has something they call \"rollback segments\" which I assume are\n> separat...
[ { "msg_contents": "\nI have been playing around with psql's \"tab-completion.c\" and have \nsomething approaching a sane solution for tab expansion of\nschema names. As this seems to fall under the todo item \"Allow psql to do\ntable completion for SELECT * FROM schema_part and table completion for\nSELECT * FR...
[ { "msg_contents": "\nIt sounds to me like it should be fairly straightforward to implement online\nreindex. That is, reindex without locking the table. This is an important\nfeature for 24x7 operation. Since postgres doesn't modify data in place the\nonly thing required for online reindex is to ensure that the ...
[ { "msg_contents": "OK, this is the problem:\n\nI want to write a bit of SQL that if a row exists in a table, then update\nit, otherwise it will update it. Problem is, there is a very high chance of\nsimultaneous execute of this query on the same row (the rows have a unique\nindex).\n\nSo, strategy one:\n\nbegi...
[ { "msg_contents": "This patch makes all forms of autogenerated unique, primary key and sequence\nnames avoid collisions. (Well, as much as you can do without \"locking\" your\nchosen name).\n\nThis addresses a long standing annoyance I experience whenever I rename a\ntable to table_old and then try to create a...
[ { "msg_contents": "Hello postgres hackers,\n\nBeen a while since I have participated on this list ... but I have a new\nitch to scratch....\n\nAlthough the table schema is immaterial, I will provide it so we have a\ncommon framework for this discussion:\n\n\n\thost_id\t\tinteger \t(not null)\n\ttimestamp\tdatet...
[ { "msg_contents": "\nHi,\n\nI've seen this (see below) in the postmaster's log-file.\nI doubt this is normal behaviour.\nI'm using PostgreSQL 7.2.3 on hppa-hp-hpux10.20, compiled by GCC 2.95.2\nDoes anybody know what may cause calls to semctl resp. shmctl\n(semaphore control resp. shared memory control) to fai...
[ { "msg_contents": "Greetings,\n\nI am doing a project for college developing a java system utilizing a RDBMS. The choice is between PostgreSQL and Oracle and I'm wondering exactly how impossible would it be to make it compatible with both. Postgre is said to be completely ANSI SQL complaint, is it feasible to i...
[ { "msg_contents": ">\n> This is a fairly spectacular failure :-(. As far as I can see from\nthe\n> semctl and shmctl man pages, the only plausible reason for EINVAL is\n> that something had deleted the semaphores and shared memory out from\n> under Postgres. I do not believe that Postgres itself could have do...
[ { "msg_contents": "\nConsider the following query on a large table with lots of different\n`id's:\n\n SELECT id FROM my_table GROUP BY id ORDER BY count(id) LIMIT 10;\n\nIt has an (usually unique) index on id. Obviously, the index helps to\nevaluate count(id) for a given value of id, but count()s for all th...
[ { "msg_contents": "This is a patch that allows PostgreSQL to use a configuration\nfile that is outside the main database directory.\n\nIt adds one more command line parameter, \"-C\" which\nspecifies the location of the postgres configuration file.\n\nA patched version of PostgreSQL will function as:\n\npostmas...
[ { "msg_contents": "Postgres has a bad habit of becoming very confused if the page header of\na page on disk has become corrupted. In particular, bogus values in the\npd_lower field tend to make it look like there are many more tuples than\nthere really are, and of course these \"tuples\" contain garbage. That...
[ { "msg_contents": "This is a patch that allows PostgreSQL to use a configuration\nfile that is outside the main database directory.\n\nIt adds one more command line parameter, \"-C\" which\nspecifies either the location of the postgres configuration\nfile or a directory containing the configuration files.\n\nA ...
[ { "msg_contents": "I noticed a pretty obscure deadlock condition with REINDEX in CVS HEAD:\n\nclient1:\n\nnconway=# create table a (b int unique, c int unique);\nCREATE TABLE\nnconway=# begin;\nBEGIN\nnconway=# lock table a in access exclusive mode;\nLOCK TABLE\n\nclient2:\n\nnconway=# reindex index a_b_key;\n<...
[ { "msg_contents": "\nI'm preparing a patch to make more psql slash commands\ntab-completable (\\di, \\dv etc-) and have come across the following dilemma:\n\n- only relations visible in the current search path should be returned [*]\n- to determine visibilty via pg_catalog.pg_table_is_visible(), the \n relatio...
[ { "msg_contents": "\n\n> Hello,\n>\n> I was wondering what kind of functions/constants exist in Postgre to dig\nup\n> metadata. I barely scratched the surface of Oracle but I know you find\n> things like user_tables there that can be used to extract info about your\n> tables. What I'm looking for is some kind o...
[ { "msg_contents": "> tom lane wrote:\n> > Hm. A single lock that must be grabbed for operations anywhere in \n> > the index is a concurrency bottleneck.\n\nI replied a bit later: \n> I don't think it would be that bad. It's not a lock but a\n> mutex that would only be held for relatively brief duration. \n> I...
[ { "msg_contents": "\nMy 3rd attempt to post ...\n\nConsider this query on a large table with lots of different IDs:\n\n SELECT id FROM my_table GROUP BY id ORDER BY count(id) LIMIT 10;\n\nIt has an index on id. Obviously, the index helps to evaluate count(id)\nfor a given value of id, but count()s for all t...
[ { "msg_contents": ">\n> Consider this query on a large table with lots of different IDs:\n>\n> SELECT id FROM my_table GROUP BY id ORDER BY count(id) LIMIT 10;\n>\n> It has an index on id. Obviously, the index helps to evaluate\ncount(id)\n> for a given value of id, but count()s for all the `id's should be...
[ { "msg_contents": "> >\n> > I was wondering what kind of functions/constants exist in Postgre to\ndig\n> up\n> > metadata. I barely scratched the surface of Oracle but I know you\nfind\n> > things like user_tables there that can be used to extract info about\nyour\n> > tables. What I'm looking for is some kind ...
[ { "msg_contents": "Hi guys,\nThere seems to be quite a laundry list of things which have to be \npatched or otherwise massaged in order to get a cygwin build. Did these \nget fixed before 7.3.2 rolled out the door?\nPaul\n\n\n\n-------- Original Message --------\nSubject: [postgis-users] Postgis-0.7.4 + PSQL-7....
[ { "msg_contents": "Ryan,\n\nI am crossing this discussion to the PGSQL-PERFORMANCE list, which is the \nproper place for it. Anyone interested, please follow us there!\n\n>>>Ryan Bradetich said:\n > the table would look like:\n > 1 | Mon Feb 17 00:34:24 MST 2003 | p101 | user x has an invalid shell.\n > 1 | M...
[ { "msg_contents": "Hello.\nI am a student of Tuiuti University and I want to develop a\nproject with PostgreSQL.\n\nMy idea is to create clients for PostgreSQL that receive\nmessages from the \"server\"(PostgreSQL) according to events\noccured into the database.\nAt this point I just tought that these events co...
[ { "msg_contents": "> > > Added to TODO:\n> > >\n> > > \t* Allow WAL information to recover corrupted pg_controldata\n> > >...\n> > > > Using pg_control to get the checkpoint position \n> speeds up the\n> > > > recovery process, but to handle possible \n> corruption of pg_control,\n> > > > we shou...
[ { "msg_contents": "if pgproc is used to represent a process and proclock represents a process and its locks of interest, then why does pgproc contain the following information about locks?\n\n/*\n* XLOG location of first XLOG record written by this backend's\n* current transaction. If backend is not in a transa...
[ { "msg_contents": "I received this in my inbox, can anyone comment on it\n\n-----Forwarded Message-----\n\nFrom: Felipe Schnack <felipes@ritterdosreis.br>\nSubject: [JDBC] 7.3.2 psql error!\nDate: 18 Feb 2003 15:54:29 -0300\n\n I just compiled psql version 7.3.2 in a redhat 7.3 box and I get this\nerror:\n p...
[ { "msg_contents": "I use a version control system called StORE which uses a relational\ndatabase as it's back end. I use StORE with PostgreSQL, others use it\nwith DB2, Oracle, etc ....\n\nI mention StORE here because it struck me that it may be a useful source\nof real-world information about how PostgreSQL p...
[ { "msg_contents": "PostgreSQL Extended Configuration Patch\nMohawk Software, 2003\n\nThis patch enables PostgreSQL to be far more flexible in\nits configuration methodology.\n\nSpecifically, It adds two more command line parameters, \"-C\"\nwhich specifies either the location of the postgres\nconfiguration file...
[ { "msg_contents": "I am leaving in 36 hours for another trip, this time to China and Japan.\nI will have connectivity in both countries, but I am not sure how much\nfree time I will have.\n\nI have no public speaking events on this trip, just meetings with\ncompanies using PostgreSQL in Asia. I will return Mar...
[ { "msg_contents": "What is the translation stats on\n\n http://webmail.postgresql.org/~petere/nls.php\n\nbased on? I've not updated my translation in a long time (since 7.3.0) \nand it's still at 100% (except the big file that wasn't 100% before). \nSeems strange that there havn't been any new or changed str...
[ { "msg_contents": "Simple script:\nCREATE TABLE test(a int);\n\\copy test from '/tmp/wow'\nselect * from test;\n\nnow produce error:\n\\copy: COPY state must be terminated first\n\nI missed something?\n\n-- \nTeodor Sigaev\nteodor@stack.net\n\n\n", "msg_date": "Wed, 19 Feb 2003 14:00:03 +0300", "msg_fro...
[ { "msg_contents": "The bytea type seems to be liable to character set conversions to the\neffect that it falsifies the stored data.\n\nExample: Create a cluster with non-C CTYPE, create a LATIN1 database,\ncreate a table with a bytea column, and store something with non-ASCII\ncharacters in it. Then change th...
[ { "msg_contents": " I just compiled pgsql version 7.3.2 in a redhat 7.3 workstation and I\nget this error when I run psql:\n\n psql: /lib/i686/libc.so.6: version `GLIBC_2.3' not found (required by\n psql)\n\n I have to update glibc? How? No rpms are avaliable, how the configure\n script haven't detected t...
[ { "msg_contents": "\n\n> -----Original Message-----\n> From: jpalau@ac.upc.es [mailto:jpalau@ac.upc.es] \n> Sent: 19 February 2003 15:02\n> To: Dave Page\n> Subject: RE: [webmaster] Figures from docs?\n> \n> \n> > \n> > The URL you give is just the index page. What's the exact URL of a \n> > page that's missing...
[ { "msg_contents": "I'm seeing this:\n\nWelcome to psql 7.4devel, the PostgreSQL interactive terminal.\n\nType: \\copyright for distribution terms\n \\h for help with SQL commands\n \\? for help on internal slash commands\n \\g or terminate with semicolon to execute query\n \\q to quit\n...
[ { "msg_contents": "While looking at this recent bug report (which still fails in CVS tip)\nhttp://archives.postgresql.org/pgsql-bugs/2003-02/msg00094.php\nI realized that the code paths that putatively exist for machines\nwith neither HAVE_TM_ZONE nor HAVE_INT_TIMEZONE have gone unused\nsince at least 6.5. Pro...
[ { "msg_contents": "Hi all,\n\nThere seems a bad behavior under autocommit off mode.\n\n 1) psql -c 'set autocommit to off;select 1;commit'\ncauses a WARNING: COMMIT: no transaction in progress\nwhereas\n 2) psql -c 'begin;select 1;commit'\ncauses no error/warning.\n\nNote that the result is the same even whe...
[ { "msg_contents": "Hi,\n\nI've been looking at the dependency API and I notice that there is a\nfunction to delete ALL dependencies on an object and a function to add a\ndependency, but there doesn't seem to be any way of deleting a dependency\nbetween two _particular_ objects.\n\nIs there any other way of doin...
[ { "msg_contents": "Changes:\n1 Fixed compile problem on Solaris\n2 Add search by weight of lexem.\n\nReadme: http://www.sai.msu.su/~megera/postgres/gist/tsearch/V2/README-V2.txt\nTar: http://www.sai.msu.su/~megera/postgres/gist/tsearch/V2/tsearch.tar.gz\n\nWe still need a documentation...\n\n Any comments ple...
[ { "msg_contents": "\n\n> -----Original Message-----\n> From: Tom Lane [mailto:tgl@sss.pgh.pa.us] \n> Sent: 20 February 2003 14:31\n> To: Hannu Krosing\n> Cc: Dave Cramer; Peter Eisentraut; Pgsql Hackers\n> Subject: Re: [HACKERS] request for sql3 compliance for the \n> update command \n> \n> \n> Hannu Krosing <h...
[ { "msg_contents": "Hello...\n\nI haven't been subscribed in a while, but I've got an issue and am trying to\ndetermine if the Right Way(tm) is the quickest way to fix it.\n\nBasically, I have some very expensive stored procedures that determine whether\na user should have access to particular rows in a query (n...
[ { "msg_contents": "I've written PL/R to make use of the contrib build system, and modelled \nits Makefile after other contrib modules. One user who tried installing \nPL/R under OS X sent me this:\n\n The makefile does\n\n gcc -traditional-cpp -g -O2 -Wall -Wmissing-prototypes\n -Wmissing-declarations -fn...
[ { "msg_contents": "So I'm reading Sun's _Configuring & Tuning Databases on the Solaris \nPlatform_ book (ISBN: 0-13-083417-3). One of the first things mentioned \nin the book is that UFS is, well, slow. Especially because of how \nSolaris utilizes it. The authors contend that enabling directio(3C) can \nincreas...
[ { "msg_contents": "The current CVS version of PostgreSQL gives us the error:\n\n ERROR: UNION/INTERSECT/EXCEPT member statement\n may not refer to other relations of same query level\n\nwhen given the following test case, despite the fact that the EXCEPT\nclause does not refer to any other relati...
[ { "msg_contents": "Dave, Tom,\n\nAs a rabid SQL-compliance geek, I vote no. The Infomix syntax is not standard \nand does not add any functionality which is not already present with other \nsyntax.\n\nHowever, this could make a nice start on an /contrib/informix/ package, if \nDave wanted to volunteer to be pe...
[ { "msg_contents": "When I run adddepend on my FreeBSD system, I get this:\n\n> /usr/local/bin/adddepend -d usa\ninstall_driver(Pg) failed: Can't locate DBD/Pg.pm in @INC (@INC contains:\n/usr/local/lib/perl5/site_perl/5.005/i386-freebsd\n/usr/local/lib/perl5/site_perl/5.005 . /usr/libdata/perl/5.00503/mach\n/us...
[ { "msg_contents": "Hi,\n\nI just noticed a bug in adddepend:\n\nThe below commands will upgrade the foreign key style. Shall I execute\nthem?\n\n DROP TRIGGER \"RI_ConstraintTrigger_1105102\" ON news_authors;\n DROP TRIGGER \"RI_ConstraintTrigger_1105103\" ON news_authors;\n DROP TRIGGER \...
[ { "msg_contents": "\n\n> -----Original Message-----\n> From: Mike Aubury [mailto:mike@aubit.com] \n> Sent: 20 February 2003 19:10\n> To: Dave Page; Tom Lane; Hannu Krosing\n> Cc: Dave Cramer; Peter Eisentraut; Pgsql Hackers\n> Subject: Re: [HACKERS] request for sql3 compliance for the \n> update command\n> \n> ...
[ { "msg_contents": "Hi,\n\nThe new cluster is cool in that :\n\n1. It works\n2. It saves the indisclustered status\n\nHowever, after a dump and restore, this indisclustered status will be lost.\nWould it be an idea to issue a CLUSTER command after the CREATE TABLE\nstatement in SQL dumps for tables that have an ...
[ { "msg_contents": "\nI am wondering if there is any difference in performance between\nusing ecpg and libpq. If I understand the concept of ecpg correctly,\ncalls to the lecpg interface are internally converted to calls to libpq.\n\nSo there is no big difference at all. Is this right?\n\nRegards, Christoph\n\n\...
[ { "msg_contents": "\nI am wondering if there is a fundamental difference in performance\nbetween\nusing embedded SQL or libpq functions in a C application. If I\nunderstand the\ndocumentation correctly, calls to lecpg are simply transferred to calls\nto libpq.\nSo, the difference in performance is, if any, marg...
[ { "msg_contents": "Just some fixups to a couple contrib directories I was trying out.\n\n. replace CREATE OR REPLACE AGGREGATE with a separate DROP and CREATE\n. add DROP for all CREATE OPERATORs\n. use IMMUTABLE and STRICT instead of WITH (isStrict)\n. add IMMUTABLE and STRICT to int_array_aggregate's accumula...
[ { "msg_contents": "AFAICT, ILIKE cannot use an index. So why does ILIKE even exist, when\nlower(expr) LIKE 'foo' provides a solution that can use an index and is\nmore standard, too?\n\n-- \nPeter Eisentraut peter_e@gmx.net\n\n", "msg_date": "Sat, 22 Feb 2003 01:36:43 +0100 (CET)", "msg_from": "Peter...
[ { "msg_contents": "I'm seeing a regression failure on the horology test on two different \nmachines. I'd venture a guess that it is related to this change:\n\n http://archives.postgresql.org/pgsql-committers/2003-02/msg00166.php\n\nJoe\n\n", "msg_date": "Fri, 21 Feb 2003 20:43:09 -0800", "msg_from": "...
[ { "msg_contents": "When compiling CVS HEAD with SSL enabled, I get this warning:\n\nbe-secure.c: In function `open_server_SSL':\nbe-secure.c:707: warning: assignment from incompatible pointer type\n\nThe code in question is:\n\n\t/* set up debugging/info callback */\n\tSSL_CTX_set_info_callback(SSL_context, inf...
[ { "msg_contents": "Require DROP COLUMN CASCADE for a column that is part of a multi-column\nindex\n\n\nDo we want the same behaviour for PRIMARY KEY(col1, col2)? CHECK(col1 >\ncol2)? etc. as well?\n\nI'm thinking probably...\n\n-- \nRod Taylor <rbt@rbt.ca>\n\nPGP Key: http://www.rbt.ca/rbtpub.asc", "msg_dat...
[ { "msg_contents": "bash-2.05b$ ./psql newempty < file.txt\nSET\nYou are now connected as new user rbt.\nSET\nREVOKE\nGRANT\nERROR: dependent privileges exist (use CASCADE to revoke them too)\n\n\nThe above is from the result of loading the attached file (empty\ndatabase) into \"newempty\" which is a different ...
[ { "msg_contents": "\nWith the \"old\" idocs it was possible to create links to the \"current\"\nversion of individual documentation pages without having to\nprovide a Postgres version number, e.g.:\n\nhttp://www.PostgreSQL.org/idocs/index.php?kernel-resources.html\n\nwhich would remain constant over longer peri...
[ { "msg_contents": "- Move SEQ_MAXVALUE, SEQ_MINVALUE definitions to sequence.h\n\n- Add check in pg_dump to see if the value returned is the max /min\nvalues and replace with NO MAXVALUE, NO MINVALUE.\n\n- Change START and INCREMENT to use START WITH and INCREMENT BY syntax. \nThis makes it a touch easier to po...
[ { "msg_contents": "hi,\n i wanted to know whether in postgresql, a single process can wait on acquiring multiple locks and if can hold\nmultiple locks at the same time?\nthanks\nsumaira MSN 8 helps ELIMINATE E-MAIL VIRUSES. Get 2 months FREE*.\n", "msg_date": "Sun, 23 Feb 2003 10:19:51 -0800", "msg_fro...
[ { "msg_contents": "\n\n> -----Original Message-----\n> From: Ian Barwick [mailto:barwick@gmx.net] \n> Sent: 23 February 2003 10:56\n> To: pgsql-hackers@postgresql.org\n> Cc: pgsql-docs@postgresql.org\n> Subject: [HACKERS] Linking to \"current\" docs\n> \n> \n> Would it be possible to modify the new docs to prov...
[ { "msg_contents": "The documentation of to_char() is unclear regarding the meaning of the\nvarious formatting patterns for plus and minus signs:\n\nS\tnegative value with minus sign (uses locale)\nMI\tminus sign in specified position (if number < 0)\nPL\tplus sign in specified position (if number > 0)\nSG\tplus...
[ { "msg_contents": "Peter,\n\nSeveral reasons (because I like lists):\n- Some other databases support ILIKE and it makes porting easier.\n- For tables and/or subqueries that are too small to need an index, ILIKE is \nperfectly acceptable.\n- It's also useful for comparing expressions, and is faster to type than\...
[ { "msg_contents": "\nI've noticed subsequent executions of the same insert command are slow.\nI've searched the list archives for this matter and found several\nentries\nrelated, including suggestions how to speed up.\nThe standard answer from the core team is, use COPY.\nSorry, but this is from an application ...
[ { "msg_contents": "Hi all,\n\nI was just wondering.The patches for making ecpg thread safe that were \nfloating around few days back, are they going to make in any near future \nreleases?\n\nI am badly bitten by libpq as code i my multithreaded app. is growing \nsteadily. I find myself making stupid mistakes ev...
[ { "msg_contents": "User's Guide section 7.2, example 7-1, claims that\n\nSELECT 2 ^ 3 AS \"Exp\";\n\nwill be equivalent, after type resolution, to\n\nSELECT CAST(2 AS double precision) ^ CAST(3 AS double precision) AS \"Exp\";\n\n(which is true) or\n\nSELECT 2.0 ^ 3.0 AS \"Exp\";\n\nwhich is not true, since 2.0...
[ { "msg_contents": "This example in User's Guide section 7.2 doesn't work anymore at all:\n\ntgl=> select @ text '-4.5' as \"abs\";\n abs\n-----\n 4.5\n(1 row)\n\nWhat really happens is this:\n\n=> select @ text '-4.5' as \"abs\";\nERROR: Unable to identify a prefix operator '@' for type 'text'\n You may...
[ { "msg_contents": "In the old days, when every function of the form foo(bar) was a cast from\nbar to foo, and if foo and bar happened to be binary compatible, the\nsystem short-circuited this function call to do a \"zero-effort\" cast.\n\nThis logic still exists, but since in general casts are controlled\nthrou...
[ { "msg_contents": "\tI need two answers I did not find in documentation :\n\nHow can I get exact number of rows in DECLARED CURSOR ?\nOK, I can FETCH until NULL, but this does not fits my needs !\n\nHow can I get information is TRANSACTION already started ?\n(TRANSACTION LEVEL)\n\nThe interface I'm using is lib...
[ { "msg_contents": "I have a server that has LATIN1 encoding. I want to convert it to run UTF encoding. How \ndo I do that? Simply changing the encoding in a dump file does not work.\n\n", "msg_date": "Mon, 24 Feb 2003 19:13:21 -0500", "msg_from": "Joseph Shraibman <jks@selectacast.net>", "msg_fro...
[ { "msg_contents": ">\n> > The key word REPEATED directs INGRES to encode the INSERT and save\nits\n> > execution plan when it is first executed. This encoding can account\nfor\n> > significant performance improvements on subsequent executions of the\n\n> > same INSERT.\n>\n> > What do you others think of it?\n>...
[ { "msg_contents": ">\n> On Mon, 2003-02-24 at 07:22, Christoph Haller wrote:\n> > I've noticed subsequent executions of the same insert command are\nslow.\n> > I've searched the list archives for this matter and found several\n> > entries\n> > related, including suggestions how to speed up.\n> > The standard an...
[ { "msg_contents": ">\n> On Mon, Feb 24, 2003 at 07:53:05PM +0000, Darko Prenosil wrote:\n> > I need two answers I did not find in documentation :\n> > How can I get exact number of rows in DECLARED CURSOR ?\n> > OK, I can FETCH until NULL, but this does not fits my needs !\nYou may want to use FETCH ALL, ot...
[ { "msg_contents": "> > > How can I get information is TRANSACTION already started ?\n> I did not mean 'TRANSACTION ISOLATION LEVEL', but 'TRANSACTION LEVEL'\n!\n> OK, it is bad construction - my fault !\n> What I meant is : IS-TRANSACTION-ALREADY-STARTED ?\n> I used 'TRANSACTION LEVEL' because I saw that Bruce ...
[ { "msg_contents": ">\n> On Tuesday 25 February 2003 09:28, Christoph Haller wrote:\n> > > On Mon, Feb 24, 2003 at 07:53:05PM +0000, Darko Prenosil wrote:\n> > > > I need two answers I did not find in documentation :\n> > > > How can I get exact number of rows in DECLARED CURSOR ?\n> > > > OK, I can FETCH un...
[ { "msg_contents": "On Tue, Feb 25, 2003 at 05:55:59PM +0000, Darko Prenosil wrote:\n> \n> \tI am trying to create client buffer that will show only records that are\n> needed by application(visible). Data should be send to client in \"pages\", not\n> all the data at once. The idea is not to query for data that ...
[ { "msg_contents": "Example 7-5 in the User's Guide is also outdated, because there is now a\nfunction substr for bytea, so the mechanics the example tries to\nillustrate are a tad more complicated. New example requested.\n\n-- \nPeter Eisentraut peter_e@gmx.net\n\n", "msg_date": "Tue, 25 Feb 2003 23:27:2...
[ { "msg_contents": "Hi,\n\nI could see \\ref{parsetree} ,\\ref{transformed} and things like that in \nPostgreSQL developers guide. But I couldn't see any figures in the \ndocument. Can anyone please let me know, are there any figures like that \nand if so, where can I find them?\n\nThanks and regards,\n\nRadha\n...
[ { "msg_contents": "Hi Guys,\n\nWere the pgattribute.attstorage and pg_type.typstorage fields available in\n7.1?\n\nAlso, if they existed in 7.2, but the ALTER TABLE/SET STORAGE command didn't\nexist, should I still dump it if they are dumping a 7.2 database?\n\nChris\n\n\n", "msg_date": "Wed, 26 Feb 2003 14...
[ { "msg_contents": "\n\nHi !!\n\n We have \"PostgreSQL 7.2.1 on i686-pc-linux-gnu, compiled by GCC 2.96\"\ninstalled on Linux (RedHat 7.2)\nOur database size is 15 GB.\nSince the database size was increasing and was about to cross the actual \nHard Disk parttion Size, we moved the datafiles (also the index fil...
[ { "msg_contents": "Hi guys,\n\nI notice that we're still dumping CHECK constraints as part of the CREATE\nTABLE statement, and not as an ALTER TABLE statement after the data has been\nloaded.\n\nShould we move it to after the data for speed purposes, like we have with\nall other constraints?\n\nChris\n\n\n", ...