threads
listlengths
1
2.99k
[ { "msg_contents": "Postgresql just reset itself, this is what I found in the log.\n\nFATAL: block 26 of 1663/17228/3425958479 is still referenced (local 2)\nLOG: server process (PID 1887) exited with exit code 1\nLOG: terminating any other active server processes\n\nThere wasn't much activity in the database...
[ { "msg_contents": "Apparently the signature for function SPI_cursor_open got an additional \n\"read_only\" parameter starting with 8.0.0beta3. The documentation states \nthat this flag should be \"true for read-only execution\".\n\nI can't see any mention of this on the hackers list nor in the change logs.\n\nI...
[ { "msg_contents": "I'm trying to change the Makefile system for PL/Java so that it uses \nPGXS instead of compiling using a complete PostgreSQL source tree. As it \nturns out, the directory \"include/port/win32\" is not present in the \nPostgreSQL binary installation. Without it, it's not possible to compile \n...
[ { "msg_contents": "I have a long term plan to implement charset support in pg and now when I\nhave dropped the work on the timestamps, I've been looking into this\nsubject.\n\nToday we store the max length of a string in the typmod field, but that\nhas to be extended so we also store the charset and the collati...
[ { "msg_contents": "Kind people,\n\nHere's something I came up with, having accidentally discovered the\nARRAY() constructor (BTW, I think at least some pointer to it should\nbe in the array section of functions & operators).\n\nCREATE OR REPLACE FUNCTION array_to_column (ANYARRAY)\nRETURNS SETOF ANYELEMENT\nIMM...
[ { "msg_contents": "It seems partial indexes with not null condition do not work:\nI did some testings with pgbench database and I observe:\n\n1) statistics information is slghtly incorrect\n\n2) partial index is not used\n\nAm I missing something?\n--\nTatsuo Ishii\n\n$ psql test\nWelcome to psql 7.4.6, the Pos...
[ { "msg_contents": "One of my boxes(emu) on the buildfarm fails to pass the float8 \nregressiontest:\n\nhttp://www.pgbuildfarm.org/cgi-bin/show_log.pl?nm=emu&dt=2004-10-31%2003:35:02\n\nthe interesting thing is that spoonbill (slightly older \nOpenBSD-current/Sparc64) passes this test(but fails contribcheck late...
[ { "msg_contents": "-----BEGIN PGP SIGNED MESSAGE-----\nHash: SHA1\n\n\nHi,\n\nI'm getting this error on two different servers, one if them is the server \nthat I build PostgreSQL from CVS daily, the other one is a fresh one (used \nto double-check the error)\n\nTwo servers have LANG=\"en_US.UTF-8\". They are RH...
[ { "msg_contents": "The Linux fsync man page says:\n\n\"It does not necessarily ensure that the entry in the directory \ncontaining the file has also reached disk. For that an explicit fsync on \nthe file descriptor of the directory is also needed.\"\n\nAFAIK, we don't care about it at the moment. The actual beh...
[ { "msg_contents": "Hi all,\n\nI am getting a regression failure on float8 (and float4) when running on Debian Sarge on Alpha (gcc 3.3.4). Postgres \nis a HEAD checkout from yesterday.\n\n\ntest=# select version();\n version\n---------------------------------------...
[ { "msg_contents": "Greets,\n\nWould it be possible to get something along the lines of the attached\npatch in 8? (major,minor,patch,state version defines)\n\n(I tried making them shell vars and giving it to AC_INIT, but it seemed\nto want a literal, so...)\n\nYes, I know there are other ways to get and define t...
[ { "msg_contents": "I have some problems when adjusting PL/Java to use PGXS in its \nmakefiles. Aside from the Win32 problem I asked about earlier, I also \nhave problems using the MODULE_big. When used, it brings in the \nMakefile.shlib and attempts to use the target all-lib. That target is \ndefined as:\n\n ...
[ { "msg_contents": "Hello Developers,\n\nnow, where the native Win32-Version of PostgreSQL is nearly ready for\nProduction use, I'm still missing support of WIN1252 charset. And UTF-8\ncan't be used on server side in West Europe, because it's implementation\nisn't complete yet (e.g. upper() / lower() missing for...
[ { "msg_contents": "\nIt's time for the 6 monthly discussion of the failure of the horology \ntests during DST changeover.\n\nI'd like to find a way to avoid this, so we don't get spurious buildfarm \nfailures for 2 or 3 days every six months. ISTM the first thing is to \nisolate the tests that are sensitive to...
[ { "msg_contents": "I noticed today that we have once again managed to break PG's handling\nof ambiguous timestamps during a DST backwards transition. For example,\nin EST5EDT time zone, '2004-10-31 01:30:00' is ambiguous. The intention\nof the code for a long time has been to treat such times as being local\n...
[ { "msg_contents": "We have this open item:\n\n Win32\n o Handle \"lost signals\" on backend startup (eg. shutdown,\n config file changes, etc); signals are SIG_DFL on startup\n\n The problem here is that the postmaster might send signals to a\n child before the signal handl...
[ { "msg_contents": "I've looked into storing charset/collation in the string values. This\nmeans that we change varchar/text/BpChar to be structures that have a\ncharset oid field and a collation oid field, the rest of the Datum is the\nstring data.\n\nCoercability I think one don't need to put in the Datum and ...
[ { "msg_contents": "Memory allocation in access/gist/gist.c is pretty heinous, IMHO. There \nare retail pallocs and pfrees all over the place, and the requirements \nfor which allocations need to be released and by whom is pretty messy. \nAFAICS, GiST doesn't take any advantage of the palloc() infrastructure \nb...
[ { "msg_contents": "Hi all,\nI don't know how much is effective or if it's applicable\nto postgresql processe but it's an interesting article:\n\nhttp://www.onlamp.com/pub/a/onlamp/2004/10/28/design_by_contract_in_c.html\n\n\nRegards\nGaetano Mendola\n\n\n", "msg_date": "Mon, 01 Nov 2004 15:47:39 +0100", ...
[ { "msg_contents": "Hello, recently I've been trying to write a plperlu function like this:\nCREATE FUNCTION foo RETURNS bytea AS '\n use Storable qw(freeze thaw);\n my @a = (1,2,3,4,5);\n return freeze (\\@a);\n' LANGUAGE plperlu;\n\nIn other words, serialize some data (maybe some rows, would be a great\n...
[ { "msg_contents": "Hi all,\nI missed the discussion on hacker about this, and\nI'd like to give my HO.\n\nThe fact that a non-volatile function can not perform\nupdate is a good improvement but on the other side will\nlimit too much if I know what I'm doing.\n\nI did a sort of Lookup framework and this is exten...
[ { "msg_contents": "It makes no difference on any of my systems, so at least it doesn't\ncompletely solve the problem. I haven't heard any confirmation on wether\nit partially solves it.\n\n//Magnus\n\n\n>-----Original Message-----\n>From: Bruce Momjian [mailto:pgman@candle.pha.pa.us] \n>\n>\n>\n>Where are we on...
[ { "msg_contents": ">> se, it is that our pipe-based emulation of signals isn't ready to\n>> collect signal messages until some time after the child \n>process starts.\n>> \n>> Could this be fixed by having the postmaster set up the pipe \n>*before* it\n>> forks/execs the child? We'd probably need to pass down ...
[ { "msg_contents": ">> [ proposed fix ]\n>> As you can see, this is quite a bit more complicated than the simple\n>> CreateProcess() call we have now.\n>> ...\n>> If this seems like a reasonable approach, I can see if I can get\n>> something together. But it's a fairly large change..\n>\n>It sounds reasonable to...
[ { "msg_contents": ">> Basically, I think internal_forkexec() needs to be split up \n>into two -\n>> one win32 and one other. For win32 version, it needs to \n>CreateProcess()\n>> *before* it does write_backend_variables(), and then pass \n>the process id\n>> as a parameter to write_backend_vars().\n>\n>Huh? Wh...
[ { "msg_contents": ">>> Huh? Why?\n>\n>> Because we need to write the duplicated socket \n>structure/pipe handle to\n>> the parameter file. I guess we could create a separate parameter file\n>> just for these things, but that seemed a bit unnecessary.\n>\n>Do we actually need to pass the handle, or could the su...
[ { "msg_contents": "Hello All,\n\nthis is a resend, because the original post seems to be lost.\n\n\n-----Original Message-----\nFrom: Roland Volkmann [mailto:r.volkmann@ipro.de]\nSent: Sunday, October 31, 2004 9:09 PM\nTo: pgsql-hackers@postgresql.org\nSubject: Charset WIN1252\n\n\nHello Developers,\n\nnow, whe...
[ { "msg_contents": ">> Nope, we need to pass the handle. Only one process can be the\n>> server-side of the pipe, and once the postmaster has opened it, the\n>> child process can't do it - the only way to get it is through\n>> inheritance.\n>\n>Grumble. Having to call write_backend_variables from two different\...
[ { "msg_contents": ">> I was also hoping to piggyback the socket fix on top of this\n>> infrastructure. And that *requires* the \n>write-files-after-createprocess\n>> method. There is no other way.\n>\n>Oh, I had forgotten about that part of the problem. Okay, just gotta\n>hold our noses and do it I guess.\n>\n...
[ { "msg_contents": "\nHere are a few compile warnings I am seeing on Windows. I will try to \nlook at some in due course, but I am out of action for at least 2 days, \nso if anyone wants to jump on them please do.\n\nopen.c:55: warning: no previous prototype for `win32_open'\ndynloader.c:7: warning: no previous ...
[ { "msg_contents": "Log Message:\n-----------\ntimestamptz_trunc() should only recalculate the timezone when truncating\nto DAY precision or coarser; leave the timezone alone when precision is\nHOUR or less. This avoids surprises for inputs near a DST transition\ntime, as per example from Matthew Gabeler-Lee. ...
[ { "msg_contents": "It used to be that calling\n\n initdb -D /some/where\n\nsuggested starting\n\n postmaster -D /some/where\n\nand\n\n ./mydir/bin/initdb -D ./mydir/var/data\n\nsuggested starting\n\n ./mydir/bin/postmaster -D ./mydir/var/data\n\nIn the current sources, the path to the postmaster is ...
[ { "msg_contents": "\n> It makes no difference on any of my systems, so at least it doesn't\n> completely solve the problem. I haven't heard any \n> confirmation on wether\n> it partially solves it.\n\nIt certainly does not solve any part of your problem. I think your problem \nis a permissions problem.\n\nIt do...
[ { "msg_contents": "\n> > > \to fix shared memory on Win2k terminal server\n> > > \n> > > \tWe might be able to just mark this as not supported.\n\nThe shmem code works in a terminal server session with or without the patch.\nMagnus had a different problem, probably permissions. Since I do not have a\nnon admin ...
[ { "msg_contents": "> > > > \to fix shared memory on Win2k terminal server\n> > > > \n> > > > \tWe might be able to just mark this as not supported.\n> \n> The shmem code works in a terminal server session with or \n> without the patch.\n> Magnus had a different problem, probably permissions. Since I \n> do not ...
[ { "msg_contents": "\n> Just one question about the actual implementation of the patch - why are\n> you setting the OS version *before* you call GetVersionEx()? \n\nThe Microsoft Example did a memset on the structure before calling void GetVersionEx().\nSetting it to a version that needs the Global\\ is only a s...
[ { "msg_contents": "> > Just one question about the actual implementation of the \n> patch - why \n> > are you setting the OS version *before* you call GetVersionEx()?\n> \n> The Microsoft Example did a memset on the structure before \n> calling void GetVersionEx().\n\nThe docs only say you have tos et the dwOSV...
[ { "msg_contents": "Hi all,\n\nI need a help and an advice on playing around execution plans. I need a direct \naccess to a 'plan structure' and change some fields. Even one step more, I \nneed to create an execution plan directly w/o issuing an SQL statement (i.e. \nskipping parser and optimizer phases) and ini...
[ { "msg_contents": "Gaetano,\n\n> I do not consider my design as \"unsafe\", this is for example how a\n> cache works: expose a \"read\" without side effect but updating internal\n> statistics. After all the read will not alter the data that it expose\n> but other data that the user even don't know the existence...
[ { "msg_contents": "I may have asked this before, but I don't think I got a response.\n\nIs there any reason for \"make installcheck\" to run the serial schedule\nwhen \"make check\" runs the parallel one? If there is, could we perhaps\ninvent \"make installcheck-par\" to run the parallel tests on an installed\n...
[ { "msg_contents": "I'm not sure if this goes here or to bugs, but it seems obvious (to me) that if this problem existed elsewhere, it would have been brought up by now.\n\nIn the first version of the beta native Windows release, if I try to edit the query buffer using the \\e command, psql crashes spectacularly...
[ { "msg_contents": "Dear Folks,\n\n \n\nSometime ago I posted a message regarding learning to develop and contribute\nto the development of PostgreSQL. I started my journey with downloading the\nsources and take a look at the bits and pieces of the code. As I was\nexpecting it to be, my journey was and still is ...
[ { "msg_contents": "\nDave and I have been spending today trying to narrow down why things are \nso slow ... using the current index.php as a test bed, since its simple \nenough to debug, we removed the (require) that was at the top, and pulled \nthe file in directly, so that there was no 'reading from the file ...
[ { "msg_contents": "I turns out I have not been reviewing all patches kept during the beta\nperiod for releases 7.2-7.4. I have gone though the kept emails and\nfound 37 messages that need review:\n\n\thttp://momjian.postgresql.org/cgi-bin/pgpatches3\n\nI would like to know which should be discarded and which k...
[ { "msg_contents": "If I have a TupleTableSlot, and I need to obtain another TupleTableSlot with\na different TupleDesc (same fields but different order). Is there a way to\ndo it without that I go myself and try to retrieve the fields and form the\ntuple myself? In other words, are there functions already in po...
[ { "msg_contents": "Hi,\n\nwe use 7.4 and suffer from table and index bloat. I tracked down the\nissue to vacuum using GetOldestXmin() which returns the oldest xmin of\nany database in cluster, not xmin of the current database. Yes, I've\nread the thread about this issue called \"Problems Vacuumi'ng\" - April 20...
[ { "msg_contents": "Hello,\n\nI'd like to translate postgres in Romanian, if nobody's doing this already.\n\nThank you,\nAlin Vaida\n", "msg_date": "Thu, 4 Nov 2004 11:26:50 +0200", "msg_from": "Alin Vaida <alin.vaida@gmail.com>", "msg_from_op": true, "msg_subject": "Romanian translation" }, ...
[ { "msg_contents": "A few minor typos/notes:\n\nINDEXES\n\n1. On 2nd bullet...\n\"The main difficulty with this item is the problem of creating an index\nthat can spam more than one table.\"\n\nshould be span, not spam\n\n2. On 6th bullet\n * \"Use index to restrict rows returned by multi-key index when used\n ...
[ { "msg_contents": "Dear Folks,\n\nSometime ago I posted a message regarding learning to develop and\ncontribute to the development of PostgreSQL. I started my journey with\ndownloading the sources and take a look at the bits and pieces of the\ncode. As I was expecting it to be, my journey was and still is ponde...
[ { "msg_contents": " \n\n> -----Original Message-----\n> From: pgsql-hackers-owner@postgresql.org \n> [mailto:pgsql-hackers-owner@postgresql.org] On Behalf Of \n> gevik@xs4all.nl\n> Sent: 04 November 2004 10:27\n> To: pgsql-hackers@postgresql.org\n> Subject: [HACKERS] Contribute to the development of PostgreSQL\...
[ { "msg_contents": "In my data warehousing situation, I'd like to be able to specify that\nthe indexes be as compact as possible (fillfactor = 100%) in order to\nhit as few index pages as necessary.\n\nFor summary tables there will not be any more inserts or deletions so\nthe index will not change either. In th...
[ { "msg_contents": "You are correct.\n\nI would envision being able to alter a table \"read-write\" at any point.\nIf the index(es) on the table are completely filled from being created\nin read-only mode, then the affected pages should be split with the\ndefault fillfactor when/if a row is inserted or updated. ...
[ { "msg_contents": "Hi all,\nthe on line doc still show the 7.4.5.\n\n\nRegards\nGaetano Mendola\n", "msg_date": "Thu, 04 Nov 2004 22:50:16 +0100", "msg_from": "Gaetano Mendola <mendola@bigfoot.com>", "msg_from_op": true, "msg_subject": "Wrong on-line documentation version" } ]
[ { "msg_contents": "Hello,\nI'm working on a new module to handle EAN13, ISBN, ISMN, and ISSN.\nThe new module validates, and automatically adds the correct hyphenations of \nthe numbers. Also it supports the new ISBN 13 number to be used starting on \n2005.\nThis is my first module, and it's almost done, but I'...
[ { "msg_contents": "\nJust thought of something after reading and deleting Gavin's email ... \ndon't we have a 'pgtune' utility, or wasn't that something someone was \nworking? how many settings, like fsm, can be determined by analzying a \ndatabase?\n\n----\nMarc G. Fournier Hub.Org Networking Servic...
[ { "msg_contents": "Dear people,\n\n \n\nWould you please be so kind to help me with some pointers about which IDE's\nyou use in \n\norder to compile and take a look at the sources? Any comment is appreciated.\n\n \n\nRegards,\n\nGevik.\n\n \n\n\n\n\n\n\n\n\n\n\nDear people,\n \nWould you please be so kind to h...
[ { "msg_contents": "Attached, array -> rows iterator.\n\nselect * from unnest(array[1,2,3,4,5]);\n\nUnnest\n---------------\n 1\n 2\n 3\n 4\n 5\n5 rows\n\nThe switch statement could probably be done in a different way, but\nthere doesn't seem to be any good examples of how to return anyitem. If\nanyone have a be...
[ { "msg_contents": "Hi there,\n\nI just wanted to try the PITR feature in beta and got it working somehow.\nHowever I think the docs on this point are still not sufficient enough.\n\nWe have to assume that people will have a closer look at the backup/recovery\ndocumentation as soon as 8.0 ships, because we're ki...
[ { "msg_contents": "Marc,\n\n> Just thought of something after reading and deleting Gavin's email ...\n> don't we have a 'pgtune' utility, or wasn't that something someone was\n> working?  how many settings, like fsm, can be determined by analzying a\n> database?\n\nWell, Justin started writing something (see pg...
[ { "msg_contents": "\nJoachim Wieland <joe@mcknight.de> wrote on 05.11.2004, 16:28:38:\n> Hi there,\n> \n> I just wanted to try the PITR feature in beta and got it working somehow.\n> However I think the docs on this point are still not sufficient enough.\n> \n> We have to assume that people will have a closer l...
[ { "msg_contents": "I can reproduce a 8.0.0B4 backend crash on OSX 1.3.5. I can't even get \nit to analyze the query to get an idea of what the plan it is trying. \nWhat can I do to help diagnose what is going on?\n\nHere's the query:\n\nSELECT unit.id FROM unit WHERE unit.delete = 'f' AND unit.status=2\n\tAND ...
[ { "msg_contents": "\nIan Barwick wrote:\n > flat-file based backend ... and the docs mention possible issues with \nscalability.\n\nMy impression from being on the Subversion mailing lists:\n\nThe FSFS backend (flat-file system) scalability issues remain largely \ntheoretical. In practice, it appears to work a...
[ { "msg_contents": "In talking to people working on various items, I think we should plan\nfor a beta next week once we have completed all the major open 8.0\nitems. Only the tablespace and win32 lost signals seem major.\n\nAnd, once the beta has been tested for a week, we should start thinking\nabout an 8.0 re...
[ { "msg_contents": "Log Message:\n-----------\nRemove:\n\n* Allow database recovery where tablespaces can't be created\n\n When a pg_dump is restored, all tablespaces will attempt to be created\n in their original locations. If this fails, the user must be able to\n adjust the restore process.\n\nModified Fil...
[ { "msg_contents": "Hi Hackers,\n\nI have created a table with an unknown column in it.\n\nCREATE table test AS select 'a' as columna, 'b' as columnb;\n\nwill create a table with columna and columnb as an unknown type.\n\nThis in itself is not strictly a problem. However there are not functions in postgresql to...
[ { "msg_contents": "It seems that in the new PL/Perl, the result of the spi_exec_query \nfunction changes in meaning depending on the command. For a SELECT, \nthe value of\n\n$res->{rows}\n\nis a reference to an array of the result rows.\n\nFor a different command\n\n$res->{rows}\n\nis a scalar containing the n...
[ { "msg_contents": "\nThe PG buildfarm has been operational for a little while now, thanks to \nJoshua and CommandPrompt for the server space. You can see the current \nstatus at:\n\n http://www.pgbuildfarm.org/cgi-bin/show_status.pl\n\nToday for the first time I got a Windows client working, and will be \nputti...
[ { "msg_contents": "As requested by Reini I set up a Cygwin buildfarm client, and immediately got this build failure:\n\n\ngcc -O2 -Wall -Wmissing-prototypes -Wpointer-arith -Wendif-labels -fno-strict-aliasing -g pg_dump.o common.o pg_dump_sort.o pg_backup_archiver.o pg_backup_db.o pg_backup_custom.o pg_backup_f...
[ { "msg_contents": "Is there any reason the length of \npg_catalog.pg_stat_activity.current_query is capped at 255 characters? \nWhy can't it be a pointer to the currently running query?\n\nSeems silly to me and is a PITA to try and use as a debugging tool only \nto find out that the query in question, has a lo...
[ { "msg_contents": "There's at least one bug in path.c's relative_path(): it will think\n\"/foo/a/b\" is equal to \"/foo/ab\" because it skips directory separators\nindependently in the two strings. The code is sufficiently complex that\nI have little faith in it not having any other bugs, either.\n\nI believe ...
[ { "msg_contents": "\nJoachim Wieland has diligently and sensibly pointed out a potential for\nuser error with the current PITR implementation. This is not a bug *per\nse*, but is a design flaw that more than one person could fall into. It\nis a minor issue and not that likely, since the manual describes what to...
[ { "msg_contents": ">I can test cygwin too. But just out of curiosity; why would \n>anyone want \n>to use cygwin with 8.0?\n\nIt runs on 9x, native requires NT. There are still a lot of ppl on 9x. I\nwouldn't expect a production server on 9x (indeed not a server at all),\nbut certainly some desktops that are usi...
[ { "msg_contents": "I want to create a data type that have tow arguments in the defenition,\nlike the varchar type:\ncreate table mytmp(name varchar(10));\n\nI like to do it like this:\ncreate table mytmp(name myvarchar(10,\"en_US\"));\n\nhow can it be done by \"CREATE TYPE\"\nI want to implement the internal fu...
[ { "msg_contents": "Hi all\nI've just started writing code to PostgreSQL 7.4.2 and I wand to \nrecompile the new source code that I added in some .c files. I suspect \nthat there must be a quicker way to compile those files than executing \nthe commands: ./configure, gmake, gmake install... . Could I use only ...
[ { "msg_contents": "Hi everybody,\nI have some problems with management of memory contexts (at least I\nthing so). I'll try to describe my problem in a few lines:\n\nI've written some code based on spi.c. I've created my_spi.c (and\nmy_spi.h) which provide some more features I wanted (did not alter spi\nitself t...
[ { "msg_contents": "\nWe have the following warning on Windows:\n\npgarch.c:349: warning: implicit declaration of function `sleep'\n\nTo fix it we could include the right header (which appears to be \n<stdlib.h> in the Windows/Mingw case), or we could replace the call by a \ncall to pg_usleep().\n\nI'm inclined ...
[ { "msg_contents": "\nWhy does pg_resetxlog seem top be the only one of our programs that has \nno long form options (or at least the only one that calls getopt rather \nthan getopt_long)? Should we make it consistent with everything else?\n\nI noticed this when examining a compile warning about implicit \ndecla...
[ { "msg_contents": "Hi all,\nit seems that the tracker is down or at least not reachable.\n\n\n\nRegards\nGaetano Mendola\n\n\n", "msg_date": "Sun, 07 Nov 2004 22:53:22 +0100", "msg_from": "Gaetano Mendola <mendola@bigfoot.com>", "msg_from_op": true, "msg_subject": "Bittorrent" }, { "msg_...
[ { "msg_contents": "Hi list,\n\nattached, cvs context diff that adds currval_isset('sequence_name');\n\nThis avoids the warning messages you get when calling currval before\nnextval in situations where the program flow does not allow you to\npredetermine if the current session has called nexval yet.\n\nI have fo...
[ { "msg_contents": "Looks like a minor oversight.\n\nrbt=# set log_error_verbosity to terse;\nSET\nrbt=# set log_error_verbosity to default;\nSET\nrbt=# set log_error_verbosity to verbose;\nERROR: syntax error at or near \"verbose\" at character 28\nLINE 1: set log_error_verbosity to verbose;\n ...
[ { "msg_contents": "In the context of an index scan, what does NoMovementScanDirection\nindicate? On the one hand, relation.h comments:\n\n * 'indexscandir' is one of:\n * ForwardScanDirection: forward scan of an ordered index\n * BackwardScanDirection: backward scan of an ordered index\n * NoMovementSc...
[ { "msg_contents": "> > We have the following warning on Windows:\n> > pgarch.c:349: warning: implicit declaration of function `sleep'\n> \n> > To fix it we could include the right header (which appears to be \n> > <stdlib.h> in the Windows/Mingw case), or we could replace \n> the call by \n> > a call to pg_usle...
[ { "msg_contents": "\nwith CVS tip in contrib/spi:\n\nccache gcc -O2 -Wall -Wmissing-prototypes -Wpointer-arith -Wendif-labels \n-fno-strict-aliasing -DREFINT_VERBOSE -I. -I../../src/include -c -o \ntimetravel.o timetravel.c\ndlltool --export-all --output-def timetravel.def timetravel.o\ndllwrap -o timetravel...
[ { "msg_contents": "I checked the FAQ and docs but haven't found anything definitive. This\nis my SQL test script:\n\nSELECT pg_backend_pid();\nSELECT * FROM pg_stat_activity order by procpid;\n\nWhen I run psql reading that I find that my backend procpid is not in\nthe list. I know that I can see it if I can ...
[ { "msg_contents": "Recent runs of DBT-2 show very occasional ExclusiveLock (s) being held\nby transactions, sometimes waiting to be granted.\n\nOn Sat, Nov 06, 2004 at 11:40:49AM +0000, Simon Riggs wrote:\n> > The lockstats just show there's all those Exclusive Locks on\norder_line, right?:\n>\n> http://www...
[ { "msg_contents": "I am assuming this will get addressed in the backend in 8.1 and that\nwould be the upgrade path. (I agree if there isn't agreement on the\nserver side that this is appropriate for the server, then this wouldn't\nbe the correct parameter).\n\n--Barry\n\n\n \n\n-----Original Message-----\nFrom...
[ { "msg_contents": "\nA power failure led to failed postmaster restart using 7.4.6 (see output\nbelow). The short-term fix is usually to delete the pid file and restart.\n\nI often wonder why ipcs never seems to show the shared memory \nblock in question? Am I using the wrong command? Does the key\nmentioned ...
[ { "msg_contents": "Tom,\n\n> Another relevant question is why you are expecting to get this\n> information through pgstats and not by looking in the postmaster log.\n> I don't know about you, but I don't have any tools that are designed to\n> cope nicely with looking at tables that have columns that might be ma...
[ { "msg_contents": "Dear Folks,\n\nCould someone be so kind to give me some pointers about how\nto debug pg. I would like to know which debugger you use under windows and\nlinux\n\nRegards,\nGevik\n", "msg_date": "Tue, 9 Nov 2004 09:16:34 +0100 (CET)", "msg_from": "gevik@xs4all.nl", "msg_from_op": tr...
[ { "msg_contents": "Awhile back, there was some discussion about pre-folding now() and\nrelated functions when the planner is trying to estimate selectivities.\nThis would allow reasonable plans to be made for cases like\n\tWHERE moddate >= current_date - 10;\nwithout having to indulge in any crude hacks with mi...
[ { "msg_contents": "I was thinking about organizing the translation files in a more efficient \nmanner. (not for 8.0, obviously)\n\nRight now we have one PO file for each combination of program (or library) and \nlanguage. The idea was that one only has to install the translation files \nfor the PostgreSQL piec...
[ { "msg_contents": "I'd like to propose that we get rid of GUC's USERLIMIT category and\nconvert all the variables in it to plain SUSET. In my mind, USERLIMIT\nis a failed experiment: it's way too complicated, and it still doesn't\ndo quite what it was intended to do, because there are times when it\ncan't chec...
[ { "msg_contents": "Hi,\n\nWhen doing CREATE or REPLACE FUNCTION of a builtin function, it seems to\nhave no effect if its in the 'C\" language. SQL functions seem to work,\nbut as neilc pointed out, it may be due to the SQL function being\ninlined.\n\nThe builtin function is still called, not the userdefined fu...
[ { "msg_contents": "Does anyone know what the expected range of the \"penalty\" GiST method\nis? (i.e. Is the legal range documented anywhere? Failing that, what\ndoes existing GiST-based code expect?)\n\nWhile rewriting gistchoose() in gist.c to be less obfuscated, it\noccurred to me that (a) I don't think the ...
[ { "msg_contents": "Daniel,\n\nconcurrency is a big issue of current implementation of GiST.\nBut it should don't bite you for READ ops ! \n-hackers mailing list is a very relevant mailing list for GiST\ndiscussions. It's pity we several times claimed to work on GiST\nconcurrency and recovery, but never got a ch...
[ { "msg_contents": "Ramy,\n\nglad to hear from you !\nAFAIK, posgresql doesnt' supports several indices for the same type.\nI think this is a problem of optimizer. Probably other hackers know\nbetter. I forward your message to -hackers mailing list which is a\nrelevant place for GiST discussion.\n\n \tregards,\n...
[ { "msg_contents": "> > The builtin function is still called, not the userdefined \n> function for \n> > 'C' language functions.\n> \n> You can't override a builtin C function that way because \n> there is a built-in map from function OID to builtin function \n> address, and it's consulted before trying to look ...
[ { "msg_contents": "FYI, I am going to need a few more days to apply patches submitted in\nthe past few days and Magnus needs a few more days to fix the windows\nsignal problems. So, rather than planning a beta for later this week, I\nthink we should focus on early next week.\n\n-- \n Bruce Momjian ...
[ { "msg_contents": "I am looking at implementing this TODO item. e.g. (max case):\n\nrewrite\nSELECT max(foo) FROM bar\nas\nSELECT foo FROM bar ORDER BY foo DESC LIMIT 1\nif there is an index on bar(foo)\n\nSuggestions about the most suitable point in the parser/planner stage to \nperform this sort of rewrite wo...
[ { "msg_contents": "\nDarcy Buskermolen has drawn my attention to unfortunate behaviour of \nCOPY CSV with fields containing embedded line end chars if the embedded \nsequence isn't the same as those of the file containing the CSV data. In \nthat case we error out when reading the data in. This means there are \...