threads listlengths 1 2.99k |
|---|
[
{
"msg_contents": "> > Another way to help in this particular case would be to \n> have libpq on\n> > win32 only force-lowercase the username IF it was retreived \n> from the \n> > system (but not when manually specified).\n> \n> Well, I personally don't care how bizarrely the Win32 port \n> behaves ;-) so I wo... |
[
{
"msg_contents": "Tatsuo Ishii wrote:\n> Sent: Tuesday, May 10, 2005 5:45 PM\n> To: John Hansen\n> Cc: pgman@candle.pha.pa.us; girgen@pingpong.net; \n> pgsql-hackers@postgresql.org\n> Subject: Re: [HACKERS] Patch for collation using ICU\n> \n> > Tatsuo Ishii wrote:\n> > > Sent: Tuesday, May 10, 2005 12:32 AM\n... |
[
{
"msg_contents": "> -----Original Message-----\n> From: Bruce Momjian [mailto:pgman@candle.pha.pa.us]\n> Sent: Tuesday, May 10, 2005 8:43 AM\n> To: Thomas Hallgren\n> Cc: Tom Lane; rmm@sqlisor.com; pgsql-hackers@postgresql.org\n> Subject: Re: [HACKERS] Oracle Style packages on postgres\n> \n> [...]\n> I suppos... |
[
{
"msg_contents": "> Am Freitag, 6. Mai 2005 12:20 schrieb Andreas Pflug:\n> > > and the information_schema is next to useless for these things\nsince\n> > > it doesn't have PostgreSQL specific things in it.\n> >\n> > And the restriction to current user owned objects reduces usability\nto\n> > zero.\n> \n> The... |
[
{
"msg_contents": "> > Which brings me back to thinking a GUC is the way to deal \n> with that - \n> > you'll definitly know what kind of KDC you have when you set up \n> > Kerberos. But perhaps this GUC should be for \"permit \n> case-insensitive \n> > kerberos principals\" and not \"case-insensitive usernames... |
[
{
"msg_contents": "It would seem that the planner does not take into account whether the\ndatatypes involved have the capability to use hash aggregates or not.\n\nsdb=# explain select query_start, current_query\tfrom pg_locks join stat_activity on pid = procpid where granted = true and transaction in (select tr... |
[
{
"msg_contents": "Suggestion:\nUse INFORMATION_SCHEMA for everything that INFORMATION_SCHEMA covers.\nThat way, there will not be needless duplications.\n\nCreate new tables with foreign keys to the INFORMATION_SCHEMA for\neverything else.\n\nAlternative suggestion:\nCreate any sort of magic, pg-specific schem... |
[
{
"msg_contents": "my bad [thanks Greg]\n> Peter, Merlin, Andrew,\n> \n> > > > And the restriction to current user owned objects reduces\nusability\n> > to\n> > > > zero.\n> > >\n> > > The information schema restricts the views to the objects to which\nyou\n> > > have\n> > > some access right, which doesn't see... |
[
{
"msg_contents": "Hi!\n\nNeed a piece of advice here. I'm wrapping up the ports for FreeBSD, and jus \nwonder if it is perhaps clever to always add --enable-thread-safety to the \nconfigure args. Is there a big enough penalty for having it off by default, \nor can I just have it on always?\n\n/Palle\n\n",
... |
[
{
"msg_contents": "> -----Original Message-----\n> From: Tom Lane [mailto:tgl@sss.pgh.pa.us]\n> Sent: Tuesday, May 10, 2005 11:42 PM\n> To: Bruce Momjian\n> Cc: Dave Held; pgsql-hackers@postgresql.org\n> Subject: Re: [HACKERS] Oracle Style packages on postgres\n> \n> [...]\n> There's been a lot of handwaving ab... |
[
{
"msg_contents": "The attached patch creates installcheck targets for plperl and pltcl \n(plpython laready has one). This will help in getting buildfarm to test PLs.\n\nIs it worth rearranging things for plpython so that it follows the same \ntest layout as the other 2 (i.e. a test subdir with all the test fil... |
[
{
"msg_contents": "There's still a lengthy discussion going on whether it's a good idea to \nadd a forth way to read pgsql's schema (pg_* tables, pg_* views, \ninformation_schema, did I miss one?), but I'd like to see helper \nfunctions for issues *not* covered in the core package.\n\n- dbsize has been in contr... |
[
{
"msg_contents": "> -----Original Message-----\n> From: Tom Lane [mailto:tgl@sss.pgh.pa.us]\n> Sent: Wednesday, May 11, 2005 10:55 AM\n> To: Dave Held\n> Cc: pgsql-hackers@postgresql.org\n> Subject: Re: [HACKERS] Oracle Style packages on postgres\n> \n> \n> \"Dave Held\" <dave.held@arraysg.com> writes:\n> > Th... |
[
{
"msg_contents": "has anyone successfully built 7.3.10? I get the following when running\nmake check on a slackware...\n\n\n============== removing existing temp installation ==============\n============== creating temporary installation ==============\n============== initializing database system ... |
[
{
"msg_contents": " \n\n> -----Original Message-----\n> From: pgsql-hackers-owner@postgresql.org \n> [mailto:pgsql-hackers-owner@postgresql.org] On Behalf Of Andreas Pflug\n> Sent: 11 May 2005 17:44\n> To: pgsql-hackers@postgresql.org\n> Subject: [HACKERS] Server instrumentation for 8.1\n> \n> There's still a l... |
[
{
"msg_contents": "> -----Original Message-----\n> From: Tom Lane [mailto:tgl@sss.pgh.pa.us]\n> Sent: Wednesday, May 11, 2005 2:22 PM\n> To: Dave Held\n> Cc: pgsql-hackers@postgresql.org\n> Subject: Re: [HACKERS] Oracle Style packages on postgres\n> \n> \n> \"Dave Held\" <dave.held@arraysg.com> writes:\n> > ... |
[
{
"msg_contents": "Hello all\n\nI have been studying the rule system in Postgres. I understand that\nthe original query tree is the input at the rewrite, and then this\nquery tree is modified by the rewrite in case that there is a rule.\n\nSQL query ----> Parser ----> Rewrite ----> Planner ----> Executor\n ... |
[
{
"msg_contents": "Folks,\n\nHey, I can see a way for /contrib to become a lot better option for \nstuff-we're-not-sure-whether-to-include. \n\nWhat if we could build contrib modules through a build-time switch for \nPostgreSQL? Like,\n\n./configure --with-perl --with-dblink --with-newsysviews\n\nThis would ... |
[
{
"msg_contents": "Hello all,\n\nWe would like to contribute to the Postgresql community by implementing \nthe following items from the TODO list \n(http://developer.postgresql.org/todo.php):\n. Allow COPY to understand \\x as a hex byte . Allow COPY to optionally \ninclude column headings in the first line . A... |
[
{
"msg_contents": "The SQL_ASCII-breaks-JDBC issue just came up yet again on the JDBC list,\nand I'm wondering if we can do something better on the server side to\nhelp solve it.\n\nThe problem is that people have SQL_ASCII databases with non-7-bit data\nin them under some encoding known only to a (non-JDBC) ap... |
[
{
"msg_contents": "Greetings everyone,\n\nBeginner in PostgreSQL internals, seeking the insight of more experienced.\n\n\" (At present, the extra field is unused and will always point to an empty \nstring.)\" - http://www.postgresql.org/docs/8.0/static/libpq-notify.html\nregarding PGnotify returned by PQnotifie... |
[
{
"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 Sullivan\n> Sent: 11 May 2005 21:04\n> To: pgsql-hackers@postgresql.org\n> Subject: Re: [HACKERS] Server instrumentation for 8.1\n> \n> On Wed,... |
[
{
"msg_contents": "> > I have a problem with the users administration. When I \n> want to erase\n> > (drop) some databases there's an error: ** database \n> \"name_db\" is being\n> > accessed by other users.** I want to kill the user \n> sessions conected\n> > but i don't know how to do it (Kill the user se... |
[
{
"msg_contents": "\n> >>- There was a pg_kill_backend function in pre-8.0, but it \n> was dropped\n> >>because \"it's too dangerous\". Incidentially, I've been in \n> the situation\n> >>more than once where I needed to kill a backend process \n> that was running\n> >>wild; alternatively, I'd have to shutdown t... |
[
{
"msg_contents": "> > Not kill -9. Kill -9 is \"safe\" because it causes a complete \n> restart of \n> > the postmaster (it's the same as a backend crash, really). \n> Kill -INT \n> > is also safe, because it does a simlpe query cancel.\n> \n> I don't recall exactly; AFAIR this was discussed between Dave \n> a... |
[
{
"msg_contents": "> Personally, I'd like UTF8 to be the default encoding :) This \n> is the 21st century :D\n\nI concur.\n\n... John\n",
"msg_date": "Thu, 12 May 2005 19:30:13 +1000",
"msg_from": "\"John Hansen\" <john@geeknet.com.au>",
"msg_from_op": true,
"msg_subject": "Re: SQL_ASCII vs. 7-... |
[
{
"msg_contents": "> > Not kill -9. Kill -9 is \"safe\" because it causes a complete \n> restart of \n> > the postmaster (it's the same as a backend crash, really). \n> Kill -INT \n> > is also safe, because it does a simlpe query cancel.\n> \n> Hmm, would it be possible to use another signal for \"cancel \n> th... |
[
{
"msg_contents": "> FWIW, I don't see the issue as \"internal vs external\" at all. What's\n> bothering me is whether these views can be considered sufficiently\n> more stable and better designed than the physical system catalogs\n> to justify recommending that application designers should rely on\n> the view... |
[
{
"msg_contents": "> -----Original Message-----\n> From: cache+@cs.cmu.edu [mailto:cache+@cs.cmu.edu]\n> Sent: Monday, May 09, 2005 5:36 PM\n> To: Dann Corbit\n> Subject: RE: \"Priority Mechanisms for OLTP and Transactional Web\n> Applications\"\n> \n> \n> So how should we move forward on this? Do you have an ... |
[
{
"msg_contents": "Greetings.\n\nI have questions on how to implement on-disk bitmap scan.\n\n\nI've been working on on-disk bitmaps as an ordinary Index Access Method, but\nnow it's clear to me, that it'll lose all it's strengths this way. One on-disk\nbitmap has exactly one list of indexed table's TIDs and po... |
[
{
"msg_contents": "Hi,\n\nA few days back the load increased on our database server to the point \nwhere it could not get enough file handles. This causes the backends to \ncrash, get restarted only to crash again, on and on.\n\nWe fixed it by bumping kern.maxfiles, but was just wondering if this is \na scenar... |
[
{
"msg_contents": "\n-----BEGIN PGP SIGNED MESSAGE-----\nHash: SHA1\n\n\nI'm having some problems with lo_open inside of DBD::Pg (which\nuses libpq) and need help in debugging the problem. The problem\nis that a call to lo_open works perfectly, *unless* it is the\nfirst thing that this connection to the databas... |
[
{
"msg_contents": " \n\n> -----Original Message-----\n> From: pgsql-hackers-owner@postgresql.org \n> [mailto:pgsql-hackers-owner@postgresql.org] On Behalf Of Josh Berkus\n> Sent: 12 May 2005 18:04\n> To: Andreas Pflug\n> Cc: pgsql-hackers@postgresql.org\n> Subject: Re: [HACKERS] Server instrumentation for 8.1\n... |
[
{
"msg_contents": "Tom Lane wrote:\n> \"Merlin Moncure\" <merlin.moncure@rcsonline.com> writes:\n> > Argument 3: backwards compatibility. Do you remember how\ntablespaces\n> > introduction broke pgAdmin?\n> \n> This argument, at least, is bogus. See my original comments to Josh:\n> it is not credible that the... |
[
{
"msg_contents": "Andrew Dunstan wrote:\n> Tom Lane wrote:\n> >\"Merlin Moncure\" <merlin.moncure@rcsonline.com> writes:\n> >>However, I think PostgreSQL has a fairly serious security problem in\n> >>that the system catalogs are open to the public. I don't seem to be\n> >>winning many supporters on this parti... |
[
{
"msg_contents": "\nHi,\n\nI'm using PostgreSQL 8.0. I created a group called grpA and granted grpA\n'SELECT' permission on view viewA. When I dropped grpA and created group\ngrpB, group grpB 'automatically' has SELECT permission to viewA. After\ndropping a group with permission to a view, I see that the permi... |
[
{
"msg_contents": "I am very, very sure that anything that makes PostgreSQL stronger will\nbe deeply appreciated by the PostgreSQL team.\n\nTo the PG team, see the following:\nhttp://dbgroup.ncsu.edu/\nhttp://www4.ncsu.edu/~rychirko/\n\nEspecially:\nhttp://research.csc.ncsu.edu/selftune/\n\nThis is a fabulous p... |
[
{
"msg_contents": "Hackers,\n\nI'm looking at the grammar modifications for the 2PC patch, and I am\nwondering if we should leave PREPARE TRANSACTION in the same parser/\nUtilityStmt node TransactionStmt or should use a different parser node,\nsay PrepTransactionStmt.\n\nUsing a different parser node seems to l... |
[
{
"msg_contents": "What Rada Chirkova is looking for is an endorsement of the project.\n\nThe work has already been completed and studied in detail but on PG\n7.3.4 rather than using the current code base.\n\nThe plan is to redo it with grad students and careful supervision to\nensure the highest quality.\n\nSh... |
[
{
"msg_contents": "\nI meant to mention this during previous discussion.\n\nCurrently the pg_regress script does \"dbname=regression\" and then does \neverything in terms of $dbname. Would there be any value in providing a \n--dbname=foo parameter so that different regression sets could use their \nown db? One... |
[
{
"msg_contents": "I'm planning to change ExecRestrPos and the routines it calls so that\nan updated TupleTableSlot holding the restored-to tuple is explicitly\nreturned.\n\nCurrently, since nothing is explicitly done to the result Slot of a\nplan node when we restore its position, you might think that the Slot... |
[
{
"msg_contents": "About this time last year I was holding forth on the value of visiting\nthe heap in TID order, even when index scan tuples are randomly ordered.\nToday I decided to start working on the problem stated in this TODO\nitem:\n\n Fetch heap pages matching index entries in sequential order \... |
[
{
"msg_contents": "Hello all,\n\n I have some ideas how to increase expressive power of the PostgreSQL query language. It is\n",
"msg_date": "Mon, 16 May 2005 12:57:12 +0400",
"msg_from": "=?koi8-r?Q?=E4=CD=C9=D4=D2=C9=CA=20=EC=C5=D4=D5=DE=C9=CA?=\n <dm.l@mail.ru>",
"msg_from_op": true,
"msg_... |
[
{
"msg_contents": "Hello all,\n\n I have some ideas how to increase expressive power of the PostgreSQL query language. It is not a secret that SQL is very poor to express many important queries, and we have to use means of procedural extensions of SQL to realize them. However this is not good idea to split q... |
[
{
"msg_contents": "-----BEGIN PGP SIGNED MESSAGE-----\nHash: SHA1\n\nHi all,\nthis weekend our DB server crashed ( 7.4.x ) and the DB engine was relocated\non another server. So far so well.\n\nUnfortunatelly most of our clients are still on a \"recv\" trying to\nrecv data from the old DB engine instance:\n\n# ... |
[
{
"msg_contents": "How come we don't set SO_KEEPALIVE in libpq? \n\nIs there any reason why we wouldn't want it on?\n\n-- \n/Dennis Bj�rklund\n\n",
"msg_date": "Mon, 16 May 2005 16:45:06 +0200 (CEST)",
"msg_from": "Dennis Bjorklund <db@zigo.dhs.org>",
"msg_from_op": true,
"msg_subject": "SO_KE... |
[
{
"msg_contents": "would you please fix it, why farsi faq is not in web site?\n\n\nWith Regards,\n--taghi\n\t\t\n---------------------------------\nDiscover Yahoo!\n Have fun online with music videos, cool games, IM & more. Check it out!\nwould you please fix it, why farsi faq is not in web site?With Regards,... |
[
{
"msg_contents": "Hello all\n\nI need to write a function that retrieve the name of at least one\ntable primary key, if it exists. The only argument passed to the\nfunction is the table name. I have thought something like this:\n\nchar *\ngive_pkey(char * table_char)\n\tTupleDesc\t\ttupdesc;\n\tForm_pg_attri... |
[
{
"msg_contents": "\nWhat is the maximum SQL statement length that the server will accept?\n\nThe libpq message length identifier is 4 bytes, which indicates that the\nmax length is 4GB. But thats not exactly the same thing...\n\nMost other systems have a SQL request size limit much smaller than this,\nthough I... |
[
{
"msg_contents": "Tom, Juan,\n\nWouldn't this simple SQL do the trick?\n\nCREATE OR REPLACE FUNCTION pk_column(text) RETURNS SETOF text\n AS '\n SELECT attname::text\n FROM pg_class, pg_constraint, pg_attribute\n WHERE pg_class.oid = conrelid\n AND contype=''p''\n AND attrelid... |
[
{
"msg_contents": "I tested crctest in two machines and two versions of gcc. \n\nUltraSPARC III, gcc 2.95.3:\ngcc -O1 crctest.c 1.321517 s\ngcc -O2 crctest.c 1.099186 s\ngcc -O3 crctest.c 1.099330 s\ngcc -O1 crctest64.c 1.6515... |
[
{
"msg_contents": "Can anyone explain what's going on with the slashes?\n\nssdb=# select version();\n version\n---------------------------------------------------------------------------\n PostgreSQL 8.0.1 on sparc-sun-solaris2.9, compiled by GCC gcc (GCC)\n3.4.2\n(1 row)\n\nssd... |
[
{
"msg_contents": "I am trying to compile PostgreSQL 8.0.3/tsearch2 contrib module on AIX 5.2 ML 3\n\ngcc version 3.3.2\nGNU Make 3.80\n\n\nbash-2.05b# gmake\ngcc -O2 -Wall -Wmissing-prototypes -Wpointer-arith -Wendif-labels\n-fno-strict-aliasing -I./snowball -I./ispell -I./wordparser -I.\n-I../../src/include ... |
[
{
"msg_contents": "I probably shouldn't jump in, because I do not know the nature of the\nusage of the CRC values.\n\nBut if the birthday paradox can come into play, with a 32 bit CRC, you\nwill get one false mismatch every 78,643 items or so.\nhttp://mathworld.wolfram.com/BirthdayProblem.html\n\nProbably you a... |
[
{
"msg_contents": "The attached patch allows VACUUMS's on small relations to clean up dead\ntuples while VACUUM or ANALYSE is running for a long time on some big\ntable.\n\nThis is done by adding a \"bool inVacuum\" to PGPROC and then making use\nof it in GetOldestXmin.\n\nThis patch is against current CVS head... |
[
{
"msg_contents": "Hi,\n\nOn the TODO list, if found the following information :\nAutomatically create rules on views so they are updateable, per SQL99\n\nDoes anyone already work on such a tool inside PostgreSQL ? I'm\ninteressed by giving some contribution to this task ... if you're\ninteressed also ?\n\nBern... |
[
{
"msg_contents": "Hi\n\nI have a dump from an Ingres database, one file per table it seems. I went \nlooking on www.postgresql.org for documentation for people who want to move \nto PostgreSQL from other databases, but I couldn't find any such thing.\n\nSo, does a convert utility from ingres dump files to Post... |
[
{
"msg_contents": "Hi there,\n\nI got a problem playing with schema and dump/restore process (8.0.3).\nI created schema 'contrib' for my database and added it to search_path \nin postgresql.conf. Then I loaded a bunch of modules to 'contrib schema' and\npopulated database with various tables. Everything is ok, ... |
[
{
"msg_contents": "\nIf I store images as blobs in pgsql, will they be loaded into the \ndb shared memory cache as they are retrieved?\n\nWhat are the tradeoffs of storing images as bytea vs blobs?\n\nThanks.\nEd\n",
"msg_date": "Wed, 18 May 2005 14:10:50 -0600",
"msg_from": "\"Ed L.\" <pgsql@bluepolka.... |
[
{
"msg_contents": "I've started to look seriously at Heikki's patch for two-phase commit.\nThere are a few issues that probably deserve discussion:\n\n* The major missing issue that I've come across so far is that\nsubtransaction and multixact state isn't preserved across a crash.\nAssuming that we want to stor... |
[
{
"msg_contents": "\nIs there any particular reason that RelOptInfo doesn't have a debugging\noutput function?\n\nSeems too obvious an omission not have have some reasoning\nthere...perhaps just too complex and rapidly changing?\n\nBest Regards, Simon Riggs\n\n",
"msg_date": "Wed, 18 May 2005 22:29:29 +0100... |
[
{
"msg_contents": "While thinking about Heikki's 2PC patch, I've been getting annoyed about\nhow the SInvalLock is being overused. (The connection is that the\nseparate LWLock he proposes in his patch isn't going to work: addition\nand removal of entries in the prepared-xact list has to be guarded by\nSInvalLo... |
[
{
"msg_contents": "Hi Guys,\n\nI was wondering whether there's still need for people doing translations\nEnglish <-> German ... I'd like to contribute but am not too fit in C \nprogramming, didn't do anything in ages... \n\nIf this is the wrong place to ask, disregard this message :)\nI couldn't find any more s... |
[
{
"msg_contents": "Tom,\n\nI noticed that along with many improvements in join operations bitmap\nindex speed up execution of first time query. It's known complain about\nslow full text searching when query runs for the first time. But in CVS\nversion I see very nice behaviour I'd like to understand.\n\nQuery b... |
[
{
"msg_contents": "\n> >Incrementing random_page_cost from 4 (the default) to 5 causes the\n> >planner to make a better decision.\n> \n> We have such a low default random_page_cost primarily to mask other\n> problems in the optimizer, two of which are\n> \n> . multi-column index correlation\n> \n> . interpolati... |
[
{
"msg_contents": "\n> But to get the estimated cost ratio to match up with the actual cost\n> ratio, we'd have to raise random_page_cost to nearly 70, which is a bit\n> hard to credit. What was the platform being tested here?\n\nWhy ? Numbers for modern single disks are 1-2Mb/s 8k random and 50-120 Mb/s \nseq... |
[
{
"msg_contents": "I have a customer with the following error.\n\nrpm -Uvh *.rpm\nwarning: postgresql-8.0.2-1PGDG.i686.rpm: V3 DSA signature: NOKEY, key \nID 748f7d0e\nerror: Failed dependencies:\n libpq.so.3 is needed by postgresql-contrib-8.0.2-1PGDG\n libecpg.so.4 is needed by postgresql-libs-8.0... |
[
{
"msg_contents": "A few months ago, a question by Scott Frankel produced a suggestion from \nGreg Patnude which I found very exciting that had to do with using pg \ntable inheritance to maintain an audit or row change history table. I've \nbeen testing Patnude's idea and ran into a problem, described below, an... |
[
{
"msg_contents": "Hello hackers\n\nAt the moment I need to pass from a SQL array to a C array. \n\nI have the following table:\n\nCREATE TABLE emps\n(\n name text,\n array int4[]\n)\n\nFor example, array have this values: {4000,1,0,0}\n\nI wrote this function for test in order to see something that could he... |
[
{
"msg_contents": "Hello all,\n\nI think that this patch is useful to decide when to vacuum.\nIt notifies when freespace empties as follows:\n\n$ ./pgbench -i\n$ ./pgbench -n -t 1000\nLOG: FreeSpace for \"public.accounts\" becomes empty. (stored=1, avg=159, min=128)\nLOG: FreeSpace for \"public.tellers\" beco... |
[
{
"msg_contents": "\n-----BEGIN PGP SIGNED MESSAGE-----\nHash: SHA1\n\n\nI've been playing with the new bitmap stuff, and so far, it seems\nto be working fairly well. I have two very minor complaints, however.\n\nFirst, some of my queries have a large number of \"OR\" conditions,\nand this is where the bitmap g... |
[
{
"msg_contents": "Patrick Welche wrote:\n> On Fri, May 20, 2005 at 11:12:54PM -0400, Bruce Momjian wrote:\n> > Added to TODO:\n> > \n> > \t* Allow INET + INT4/INT8 to increment the host part of the address, or\n> > \t throw an error on overflow\n> > \n> > I have not heard any use-case for adding to the networ... |
[
{
"msg_contents": "-----BEGIN PGP SIGNED MESSAGE-----\nHash: SHA1\n\nHi all,\nI understood that noone will add that option to pglib,\nis it correct ?\n\n\nRegards\nGaetano Mendola\n\n\n-----BEGIN PGP SIGNATURE-----\nVersion: GnuPG v1.2.5 (MingW32)\nComment: Using GnuPG with Thunderbird - http://enigmail.mozdev.... |
[
{
"msg_contents": "Character type value including multibyte characters is not padded\nwith spaces. It reproduces at 7.3.x, 7.4.x and 8.0.x.\n\n create table t (a char(10));\n insert into t values ('XXXXX'); -- X is 2byte character.\n\nI expect that 'XXXXX ' is inserted. But 'XXXXX' is inserted.\n\n se... |
[
{
"msg_contents": "-----BEGIN PGP SIGNED MESSAGE-----\nHash: SHA1\n\nHi! I have posted this as a user comment in section 9.17:\n\n- ----\n= ANY(array expression) doesn't work in the obvious way when the array\nexpression is a subselect. For example:\n\nselect * from stat3 where stat3.id = any ('{4,5,6,7}');\n\n... |
[
{
"msg_contents": "Now \\d+ is able to show the tablespace details of indices. A sample output\nis followed:\n\ntest=# \\d+ m\n Table \"public.m\"\n Column | Type | Modifiers | Description\n--------+---------+-----------+-------------\n i | integer | |\n j | integer | ... |
[
{
"msg_contents": "Is there any plans to create an INSTEAD OF trigger on\nVIEWS? I have view which consists of a master and\ndetail table. When a row is inserted into the view,\nthe view needs to figure out if the master record\nalready exsists. If the record does not exists in the\nmaster table, then insert... |
[
{
"msg_contents": "I have tried using INSTEAD rules but there are some\nconditional logic that needs to happen inside the rule\n(performing counts, getting and storing the primary\nkey of the master record etc.). AFAIK, rules only\nallows conditional logic to be check prior to\nexecution of the rule and not in... |
[
{
"msg_contents": "Hello Everyone,\n Apologies in advance, its time for another of my whacky 'can we do\nthis' emails ;)\n\n I am trying to write a function/Trigger in pl/perl (although any\nother language which allows this is perfectly fine with me :) and I need to\nfind the firing statement. I understan... |
[
{
"msg_contents": "I was doing some profiles recently that showed that on simple statements\n(like INSERT with a few column values) the basic parser (flex/bison) was\ntaking up a noticeable percentage of the total CPU time. We already\nhave done some things to speed up the lexer, like use -CF option for\nlarge... |
[
{
"msg_contents": "Hi,\n\nwhy does SELECT ARRAY(SELECT 1 WHERE FALSE) return NULL instead of\nARRAY[] resp. '{}'?\n\nMarkus\n\n-- \nMarkus Bertheau <twanger@bluetwanger.de>",
"msg_date": "Mon, 23 May 2005 20:33:39 +0200",
"msg_from": "Markus Bertheau <twanger@bluetwanger.de>",
"msg_from_op": true,
... |
[
{
"msg_contents": "Ahemm,...\n\nUNICODE DB:\n\ncreate table t (a char(10));\nset client_encoding = iso88591;\ninsert into t VALUES ('æøå');\n\nselect a, octet_length(a),length(a) from t;\n a | octet_length | length\n------------+--------------+--------\n æøå | 13 | 3\n(1 row)\n\nT... |
[
{
"msg_contents": "Ahhh... \n\n> -----Original Message-----\n> From: Tatsuo Ishii [mailto:t-ishii@sra.co.jp] \n> Sent: Tuesday, May 24, 2005 9:26 AM\n> To: John Hansen\n> Cc: y-asaba@sra.co.jp; pgsql-patches@postgresql.org; \n> pgsql-hackers@postgresql.org\n> Subject: Re: [PATCHES] character type value is not p... |
[
{
"msg_contents": "\nClient is running 7.4.6 right now (we're looking at moving to 7.4.8 when \nwe can get a suitable ops window for the upgrade), and is experiencing \nsemi-regular (10-16 times a day) deadlocks, with the following \ninformation:\n\nA little background:\n\n 1) We do not do explicit row or tab... |
[
{
"msg_contents": "\nSecond part to the other question ... the function/trigger attempts to be \nsmart ... basically, it checks the updated record to see if there has been \nany changes that warrant updating the tsearch2 index, and only does it if \nit needs to ...\n\nApparently, even if there are no changes, t... |
[
{
"msg_contents": "-----BEGIN PGP SIGNED MESSAGE-----\nHash: SHA1\n\nHi all,\nI'm trying to install 8.0.3 on a RH9.0.\nI do have few problems:\n\n1) They do not exist for 9.0\n2) Using the 8.0.2 rpm I get:\n\n# rpm -Uvh --test *.rpm\nwarning: postgresql-8.0.2-1PGDG.i686.rpm: V3 DSA signature: NOKEY, key ID 748f... |
[
{
"msg_contents": "I've been working on adding the functionality into the jdbc driver and \nI'm having some issues.\n\nCurrently the bind message does not know anything about directionality \nof the parameter. This means that considerable gyrations need to be done \nby the driver to transform\n\ncreate function... |
[
{
"msg_contents": "Hi,\nI was redirected to this maillist when i asked questions on irc. I\nhope this is the right mailing list.\nI am running postgresql 7.4.8 on solaris 10 (and I compile and\ninstalled slony). Everytime I am trying to reload the configuration\nusing pg_ctl reload -D $PGDATA, it deleted the po... |
[
{
"msg_contents": "Hey everyone,\n\nI've been working with a couple people who didn't know that soundex and \nmetaphone were included in the distribution as contrib modules. While \nit's their fault that they didn't check contrib, soundex is pretty \ncommon among database systems and I was wondering if there w... |
[
{
"msg_contents": "We've seen two recent reports:\nhttp://archives.postgresql.org/pgsql-admin/2005-04/msg00008.php\nhttp://archives.postgresql.org/pgsql-general/2005-05/msg01143.php\nof postmaster restart failing because the WAL contains a reference\nto a page that no longer exists.\n\nI can think of a couple o... |
[
{
"msg_contents": "It appears that SQL submited via the latest JDBC driver won't get logged\neven if log_min_duration_statement is set appropriately. From what I've\nfound in the archives, this is because the driver uses an \"extended\"\nversion of the protocol.\n \nCould somebody point me at the area of the so... |
[
{
"msg_contents": "Hello,\n\nI've been using Postgresql-8.0.1 (Release date: 2005-01-31) for my\nresearch work and I guess I finally need some help with it...\n\nI'm not trying to modify the existing functionality, but I want to add\nfew things. In particular, I'm calculating two new Cost values and I\nneed to ... |
[
{
"msg_contents": "I have added a function in sources and added appropiate lines in pg_proc.h\n\nDATA(insert OID = 2560 ( get_view_column_default PGNSP PGUID 12 f f\nt f i 1 2283 \"25 25 21\" _null_ _null_ _null_ get_view_column_default -\n_null_));\nDESCR(\"get default value for view column\");\n\nthen make... |
[
{
"msg_contents": "Folks,\n\nJosh Narins asked me to post this as he was unable to post it himself.\n\nhttp://narins.net:4321/blog/subcountry.html\n\nCheers,\nD\n-- \nDavid Fetter david@fetter.org http://fetter.org/\nphone: +1 510 893 6100 mobile: +1 415 235 3778\n\nRemember to vote!\n",
"msg_date": "Wed,... |
[
{
"msg_contents": "Currently PG win32 port mainly does the following to simulate signals:\n\n(*) the process who kill the signal:\n - put the signal in a named pipe, then it is done;\n\n(*) the process who should receive the signal:\n - a non-stop thread \"pg_signal_thread\" will read the signal from the pipe,\... |
[
{
"msg_contents": "I spent a little while looking into a performance issue with a large \nUPDATE on a table with foreign keys. A few questions:\n\n(1) When a PK table is updated, we skip firing the per-row UPDATE RI \ntriggers if none of the referenced columns in the PK table have been \nmodified. However, AFAI... |
[
{
"msg_contents": "This patch ticks off the following TODO items:\n Consider use of open/fcntl(O_DIRECT) to minimize OS caching, especially for WAL writes.\n\nThe patch adds a new choice \"open_direct\" to wal_sync_method.\nIt uses O_DIRECT flags for WAL writes, like O_SYNC.\n\n\nI had sent a patch looked like... |
[
{
"msg_contents": "Hi Rod Taylor,\n\n\najs at crankycanuck.ca wrote\n\n\n>On Thu, May 26, 2005 at 11:18:12AM +0630, Narasimha.Sridhar at \ncybernetsoft.com wrote:\n>> Hi\n>> \n>> Can anybody tell me whether Slony-I replication works with Postgres \n>> v7.2.1. I dont\n>> see any document specifying the minimum p... |
[
{
"msg_contents": "> Currently PG win32 port mainly does the following to simulate signals:\n> \n> (*) the process who kill the signal:\n> - put the signal in a named pipe, then it is done;\n> \n> (*) the process who should receive the signal:\n> - a non-stop thread \"pg_signal_thread\" will read the signal \... |
[
{
"msg_contents": "> >>(*) the process who kill the signal:\n> >> - put the signal in a *shared memory variable\n> >>pg_signal_queue* and\n> >>SetEvent(*shared_memory_event_variable*), then it is done;\n> >>\n> >>(*) the process who should receive the signal:\n> >> - the main thread of this process could be awa... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.