Re: [HACKERS] to_char not IMMUTABLE?

2007-01-12 Thread Martijn van Oosterhout
by external variables, like LC_TIME. As it is though, I'm not sure why you're using to_char here, surely extract or date_truc would be more appropriate? Have a nice day, -- Martijn van Oosterhout kleptog@svana.org http://svana.org/kleptog/ From each according to his ability. To each according to his

Re: [HACKERS] [PATCHES] wal_checksum = on (default) | off

2007-01-12 Thread Martijn van Oosterhout
against random data corruption, in normal operation it is never read. If we want to detect random corruption, we'd need checksum everywhere, yes. But that's not the goal here. Have a nice day, -- Martijn van Oosterhout kleptog@svana.org http://svana.org/kleptog/ From each according to his

Re: [HACKERS] share info between backends

2007-01-11 Thread Martijn van Oosterhout
, but getting access to it is not easy. Using a table may to easier, but you'll need to provide more details if you want more help. Have a ncie day, -- Martijn van Oosterhout kleptog@svana.org http://svana.org/kleptog/ From each according to his ability. To each according to his ability

Re: [HACKERS] Some notes about redesigning planner data structures

2007-01-11 Thread Martijn van Oosterhout
some solution to the join problem, since at least the join path directly implied by the original clauses will work.) Sounds great... PS. I'm glad you're doing this, because I wouldn't know where to start... Keep up the good work! Have a nice day, -- Martijn van Oosterhout kleptog@svana.org

Re: [HACKERS] [PATCHES] SGML index build fix

2007-01-07 Thread Martijn van Oosterhout
it again when needed rather than printing a warning. Have a nice day, -- Martijn van Oosterhout kleptog@svana.org http://svana.org/kleptog/ From each according to his ability. To each according to his ability to litigate. signature.asc Description: Digital signature

Re: [HACKERS] [PATCHES] COPY with no WAL, in certain circumstances

2007-01-07 Thread Martijn van Oosterhout
or vacuum or some other DDL command on the table that would get confused by the disparity between the hint bits and the xlog. Have a nice day, -- Martijn van Oosterhout kleptog@svana.org http://svana.org/kleptog/ From each according to his ability. To each according to his ability

Re: [HACKERS] Reverse-sort indexes and NULLS FIRST/LAST sorting

2007-01-02 Thread Martijn van Oosterhout
is to allowed the btree code to call the operator to decide nulls first/last, that would allow you to factor that part out at least. Have a nice day, -- Martijn van Oosterhout kleptog@svana.org http://svana.org/kleptog/ From each according to his ability. To each according to his ability

Re: [HACKERS] TODO: GNU TLS

2007-01-02 Thread Martijn van Oosterhout
think you really have wonder whether NSS is a better choice. Have a nice day, -- Martijn van Oosterhout kleptog@svana.org http://svana.org/kleptog/ From each according to his ability. To each according to his ability to litigate. signature.asc Description: Digital signature

Re: [HACKERS] TODO: GNU TLS

2006-12-31 Thread Martijn van Oosterhout
in a better world (TM). We're in the bizarre situation were both Debian and the OpenSSL groups beleive it is a problem, and postgresql does not. Quite odd. Have a nice day, -- Martijn van Oosterhout kleptog@svana.org http://svana.org/kleptog/ From each according to his ability. To each according

Re: [HACKERS] TODO: GNU TLS

2006-12-30 Thread Martijn van Oosterhout
in the example code. Have a nice day, -- Martijn van Oosterhout kleptog@svana.org http://svana.org/kleptog/ From each according to his ability. To each according to his ability to litigate. signature.asc Description: Digital signature

Re: [HACKERS] TODO: GNU TLS

2006-12-30 Thread Martijn van Oosterhout
is a useless extra step in my case). Have a nice day, -- Martijn van Oosterhout kleptog@svana.org http://svana.org/kleptog/ From each according to his ability. To each according to his ability to litigate. signature.asc Description: Digital signature

Re: [HACKERS] TODO: GNU TLS

2006-12-30 Thread Martijn van Oosterhout
notice. Have a nice day, -- Martijn van Oosterhout kleptog@svana.org http://svana.org/kleptog/ From each according to his ability. To each according to his ability to litigate. signature.asc Description: Digital signature

Re: [HACKERS] TODO: GNU TLS

2006-12-29 Thread Martijn van Oosterhout
I worked on that project. Because there is a very large, very meaningful difference. Have a nice day, -- Martijn van Oosterhout kleptog@svana.org http://svana.org/kleptog/ From each according to his ability. To each according to his ability to litigate. signature.asc Description

Re: [HACKERS] TODO: GNU TLS

2006-12-29 Thread Martijn van Oosterhout
, -- Martijn van Oosterhout kleptog@svana.org http://svana.org/kleptog/ From each according to his ability. To each according to his ability to litigate. signature.asc Description: Digital signature

Re: [HACKERS] TODO: GNU TLS

2006-12-28 Thread Martijn van Oosterhout
already been written. So the work has already been done... Have a nice day, -- Martijn van Oosterhout kleptog@svana.org http://svana.org/kleptog/ From each according to his ability. To each according to his ability to litigate. signature.asc Description: Digital signature

Re: [HACKERS] Load distributed checkpoint

2006-12-27 Thread Martijn van Oosterhout
to this effect uplist] As someone looking from the outside: fsync only works on one file, so presumably the checkpoint process is opening each file one by one and fsyncing them. Does that make any difference here? Could you adjust the timing here? Have a nice day, -- Martijn van Oosterhout kleptog

Re: [HACKERS] Possible documentation error

2006-12-26 Thread Martijn van Oosterhout
, generally. Have a nice day, -- Martijn van Oosterhout kleptog@svana.org http://svana.org/kleptog/ From each according to his ability. To each according to his ability to litigate. signature.asc Description: Digital signature

Re: [HACKERS] Possible documentation error

2006-12-26 Thread Martijn van Oosterhout
On Tue, Dec 26, 2006 at 12:49:55PM -0500, D'Arcy J.M. Cain wrote: On Tue, 26 Dec 2006 18:12:45 +0100 Martijn van Oosterhout kleptog@svana.org wrote: On Tue, Dec 26, 2006 at 12:04:40PM -0500, D'Arcy J.M. Cain wrote: Now it certainly seems to me that it should behave as described given

Re: [HACKERS] Questions about planner methods

2006-12-24 Thread Martijn van Oosterhout
these methods? There's plenty of the comments in the files that implement them (the executor directory. Have you checked them? Have a nice day, -- Martijn van Oosterhout kleptog@svana.org http://svana.org/kleptog/ From each according to his ability. To each according to his ability to litigate

Re: [HACKERS] configure problem --with-libxml

2006-12-22 Thread Martijn van Oosterhout
. Have a nice day, -- Martijn van Oosterhout kleptog@svana.org http://svana.org/kleptog/ From each according to his ability. To each according to his ability to litigate. signature.asc Description: Digital signature

Re: [HACKERS] Load distributed checkpoint

2006-12-21 Thread Martijn van Oosterhout
, -- Martijn van Oosterhout kleptog@svana.org http://svana.org/kleptog/ From each according to his ability. To each according to his ability to litigate. signature.asc Description: Digital signature

Re: column ordering, was Re: [HACKERS] [PATCHES] Enums patch v2

2006-12-21 Thread Martijn van Oosterhout
view definitions or plans. The number of places needing the logical index are not that man, relativelyy, and given it has no intrinsic meaning, it's better to give it a numeric value which is obviously abritrary (like 10001). Have a nice day, -- Martijn van Oosterhout kleptog@svana.org http

Re: column ordering, was Re: [HACKERS] [PATCHES] Enums patch v2

2006-12-21 Thread Martijn van Oosterhout
On Thu, Dec 21, 2006 at 10:50:59AM -0500, Tom Lane wrote: Martijn van Oosterhout kleptog@svana.org writes: The thing is, physical index numbers has meaning, the logical index number does not. In a view definition we're going to store the physical index, not the logical one, for example

Re: column ordering, was Re: [HACKERS] [PATCHES] Enums patch v2

2006-12-21 Thread Martijn van Oosterhout
has just been broken. If the index references physical numbers, everything works without changes. Same with views, if you use logical numbers you have to rebuild the view each time. Why bother, when physical numbers work and don't have that problem? Have a nice day, -- Martijn van Oosterhout

Re: column ordering, was Re: [HACKERS] [PATCHES] Enums patch v2

2006-12-21 Thread Martijn van Oosterhout
On Thu, Dec 21, 2006 at 11:15:38AM -0500, Tom Lane wrote: Martijn van Oosterhout kleptog@svana.org writes: Can we? For anything of any permenence (view definitions, rules, compiled functions, plans, etc) you're going to want the physical number, for the same reason we store the oids

Re: [HACKERS] [PATCHES] Enums patch v2

2006-12-20 Thread Martijn van Oosterhout
day, -- Martijn van Oosterhout kleptog@svana.org http://svana.org/kleptog/ From each according to his ability. To each according to his ability to litigate. signature.asc Description: Digital signature

Re: [HACKERS] Load distributed checkpoint

2006-12-20 Thread Martijn van Oosterhout
a datafile blocks fsyncing the WAL. That seems terribly unlikely (although...). What OS/Kernel/Filesystem is this. I note a sync bug in linux for ext3 that may have relevence. Have a nice day, -- Martijn van Oosterhout kleptog@svana.org http://svana.org/kleptog/ From each according to his ability

Re: column ordering, was Re: [HACKERS] [PATCHES] Enums patch v2

2006-12-20 Thread Martijn van Oosterhout
of the problem. AFAICS there's hardly anywhere that would use physical offsets... Have a nice day, -- Martijn van Oosterhout kleptog@svana.org http://svana.org/kleptog/ From each according to his ability. To each according to his ability to litigate. signature.asc Description: Digital

Re: column ordering, was Re: [HACKERS] [PATCHES] Enums patch v2

2006-12-20 Thread Martijn van Oosterhout
numbers distinct, I'd be all for it. The only way I can see is to make the domains of the numbers distinct. Negative vs. positive numbers? Negative is used by system columns. Just adding some large constant (say 1) should be enough. Have a nice day, -- Martijn van Oosterhout kleptog

Re: [HACKERS] Load distributed checkpoint

2006-12-20 Thread Martijn van Oosterhout
the inode via a full journal commit even if it was unaltered. However you're running a later version so that's not it. Have a nice day, -- Martijn van Oosterhout kleptog@svana.org http://svana.org/kleptog/ From each according to his ability. To each according to his ability to litigate

Re: column ordering, was Re: [HACKERS] [PATCHES] Enums patch v2

2006-12-20 Thread Martijn van Oosterhout
also can't be type checked. If you switched everything over to inline functions you might get it to work, but that's about it. IMHO the best solution is to offset the logical numbers by some constant... Have a nice day, -- Martijn van Oosterhout kleptog@svana.org http://svana.org/kleptog/ From

Re: column ordering, was Re: [HACKERS] [PATCHES] Enums patch v2

2006-12-19 Thread Martijn van Oosterhout
discussion in this direction isn't really useful. Once this is possible it would allow a lot of simple savings. For example, shifting all fixed width fields to the front means they can all be accessed without looping through the previous columns, for example. Have a nice day, -- Martijn van Oosterhout

Re: [HACKERS] quoting problem

2006-12-18 Thread Martijn van Oosterhout
a single identifier. The identifier itself does not contain the '.', that's a seperator and so isn't part of the actual identifier. Have a nice day, -- Martijn van Oosterhout kleptog@svana.org http://svana.org/kleptog/ From each according to his ability. To each according to his ability

Re: [HACKERS] Question about debugging bootstrapping and catalog entries

2006-12-18 Thread Martijn van Oosterhout
you may have to skip a couple to get the real message. Have a nice day, -- Martijn van Oosterhout kleptog@svana.org http://svana.org/kleptog/ From each according to his ability. To each according to his ability to litigate. signature.asc Description: Digital signature

Re: [HACKERS] Question about debugging bootstrapping and catalog entries

2006-12-18 Thread Martijn van Oosterhout
is needed by initdb but was not found in the same directory as j:/postgres/src/test/regress/./tmp_check/install/postgres/bin/initdb. No idea about that, the binary *should* be there... Have a nice day, -- Martijn van Oosterhout kleptog@svana.org http://svana.org/kleptog/ From each according

Re: [HACKERS] Operator class group proposal

2006-12-16 Thread Martijn van Oosterhout
it might be a good choice. I like this one more than opcluster. opfamily has a good ring to it also. Have a nice day, -- Martijn van Oosterhout kleptog@svana.org http://svana.org/kleptog/ From each according to his ability. To each according to his ability to litigate. signature.asc

Re: [HACKERS] Operator class group proposal

2006-12-15 Thread Martijn van Oosterhout
with definitions needed by system catalogs, so you don't want to allow users to mess with the btree(int4) class, but you want to allow them to modify the group as a whole to add new things and remove things they've added. Have a nice day, -- Martijn van Oosterhout kleptog@svana.org http://svana.org/kleptog

Re: [HACKERS] invalid input syntax for type timestamp.

2006-12-15 Thread Martijn van Oosterhout
to find the list and set it the way you want. OTOH, postgres never uses timezone identifiers in output, so I'm not sure why it would need to care. Have anice day, -- Martijn van Oosterhout kleptog@svana.org http://svana.org/kleptog/ From each according to his ability. To each according to his

Re: [HACKERS] invalid input syntax for type timestamp.

2006-12-15 Thread Martijn van Oosterhout
and file it. Should probably change the timezone identifier to full form. Have a nice day, -- Martijn van Oosterhout kleptog@svana.org http://svana.org/kleptog/ From each according to his ability. To each according to his ability to litigate. signature.asc Description: Digital signature

Re: [HACKERS] unixware and --with-ldap

2006-12-15 Thread Martijn van Oosterhout
, they're the same file (at least here). $ ls -l /usr/lib/libldap.so.2 lrwxrwxrwx 1 root root 14 2005-06-09 10:42 /usr/lib/libldap.so.2 - libldap_r.so.2 Just make sure you don't add unnecessary dependancies for platforms other than unixware. Have a nice day, -- Martijn van Oosterhout

Re: [HACKERS] [PERFORM] EXPLAIN ANALYZE on 8.2

2006-12-15 Thread Martijn van Oosterhout
to calibrate the result. If the CPU goes to sleep, there's is no way for the userspace process to know. Only the kernel has all the relevent information about what time is to get a reasonable result. Have a nice day, -- Martijn van Oosterhout kleptog@svana.org http://svana.org/kleptog/ From each

Re: [HACKERS] [PERFORM] EXPLAIN ANALYZE on 8.2

2006-12-15 Thread Martijn van Oosterhout
tell you if signals have been lost. Given they are most likely to be lost during high disk I/O, they're actually significant. I'm trying to think of a way around that. Then you don't need a cheap gettimeofday at all... Have a nice day, -- Martijn van Oosterhout kleptog@svana.org http://svana.org

Re: [HACKERS] [PERFORM] EXPLAIN ANALYZE on 8.2

2006-12-15 Thread Martijn van Oosterhout
how many of the supported platforms fall under that catagorisation. Have a nice day, -- Martijn van Oosterhout kleptog@svana.org http://svana.org/kleptog/ From each according to his ability. To each according to his ability to litigate. signature.asc Description: Digital signature

Re: [HACKERS] Security leak with trigger functions?

2006-12-15 Thread Martijn van Oosterhout
, -- Martijn van Oosterhout kleptog@svana.org http://svana.org/kleptog/ From each according to his ability. To each according to his ability to litigate. signature.asc Description: Digital signature

Re: [HACKERS] [PERFORM] EXPLAIN ANALYZE on 8.2

2006-12-15 Thread Martijn van Oosterhout
On Fri, Dec 15, 2006 at 09:56:57AM -0500, Tom Lane wrote: Martijn van Oosterhout kleptog@svana.org writes: On Fri, Dec 15, 2006 at 12:20:46PM +, Simon Riggs wrote: Maybe sampling every 10 rows will bring things down to an acceptable level (after the first N). You tried less than 10

Re: [HACKERS] choosing use an index or not

2006-12-14 Thread Martijn van Oosterhout
to the result. There's no point using an index if the result is in the wrong order for the join, for example. Have a nice day, -- Martijn van Oosterhout kleptog@svana.org http://svana.org/kleptog/ From each according to his ability. To each according to his ability to litigate. signature.asc

Re: [HACKERS] Operator class group proposal

2006-12-14 Thread Martijn van Oosterhout
into something larger. However, there the point was that the group becomes a common pathkey identifier for all the underlying types, which is not in your proposal. Have a nice day, -- Martijn van Oosterhout kleptog@svana.org http://svana.org/kleptog/ From each according to his ability

Re: [HACKERS] Operator class group proposal

2006-12-13 Thread Martijn van Oosterhout
sound any good :( It's good is that this provides more information about the underlying types to the system, which improves the possibility of optimisation (and correctness). Have a nice day, -- Martijn van Oosterhout kleptog@svana.org http://svana.org/kleptog/ From each according to his

Re: [HACKERS] unixware and --with-ldap

2006-12-12 Thread Martijn van Oosterhout
day, -- Martijn van Oosterhout kleptog@svana.org http://svana.org/kleptog/ From each according to his ability. To each according to his ability to litigate. signature.asc Description: Digital signature

Re: [HACKERS] psql commandline conninfo

2006-12-12 Thread Martijn van Oosterhout
by just looking for an = but I think anything more is likely to be redundant. Does that mean that: psql -d service=myservice should Just Work(tm)? That would be nice. Have a nice day, -- Martijn van Oosterhout kleptog@svana.org http://svana.org/kleptog/ From each according to his

Re: [HACKERS] Proposal: syntax of operation with tsearch's configuration

2006-11-17 Thread Martijn van Oosterhout
the overhead of multiple lex/yacc parsers, but you wouldn't have to change the main parser for every extension. Has anyone ever heard of something like this? Have a nice day, -- Martijn van Oosterhout kleptog@svana.org http://svana.org/kleptog/ From each according to his ability. To each

Re: [HACKERS] Giving up multiple postmaster + RPM issue

2006-11-12 Thread Martijn van Oosterhout
/local/pg8.1, init scripts are /etc/init.d/postgres8.1, /etc/init.d/postgres7.4 That's the apporaich the debian packages take too, although they also add a layer so you can have multiple clusters also, each with whatever version you like. Have a ncie day, -- Martijn van Oosterhout kleptog

Re: [HACKERS] error compiling 8.2 in debian sarge

2006-11-12 Thread Martijn van Oosterhout
of the C compiler, or it was installed incorrectly, so that part of the project was built with one version and part with another. Make sure you've got the C compiler correctly installed and that everything is being compiled/linked with the same version. Have a ncie day, -- Martijn van Oosterhout

Re: [HACKERS] error compiling 8.2 in debian sarge

2006-11-12 Thread Martijn van Oosterhout
this helps, -- Martijn van Oosterhout kleptog@svana.org http://svana.org/kleptog/ From each according to his ability. To each according to his ability to litigate. signature.asc Description: Digital signature

Re: [HACKERS] error compiling 8.2 in debian sarge

2006-11-12 Thread Martijn van Oosterhout
/bugreport.cgi?bug=351629 Google around, many people have run into this and not nailed down the problem. At the very least it appears gcc 3.3 is most susceptable. Are you using straight Debian Stable or a partially upgraded system? Maybe a full upgrade would help. Have a ncie day, -- Martijn van

Re: [HACKERS] Frequent Update Project: Design Overview of HOT Updates

2006-11-09 Thread Martijn van Oosterhout
? Have a ncie day, -- Martijn van Oosterhout kleptog@svana.org http://svana.org/kleptog/ From each according to his ability. To each according to his ability to litigate. signature.asc Description: Digital signature

Re: [HACKERS] [PATCHES] Bug in WAL backup documentation

2006-11-08 Thread Martijn van Oosterhout
would be affected by this. Have a ncie day, -- Martijn van Oosterhout kleptog@svana.org http://svana.org/kleptog/ From each according to his ability. To each according to his ability to litigate. signature.asc Description: Digital signature

Re: [HACKERS] Index ignored with is not distinct from, 8.2 beta2

2006-11-07 Thread Martijn van Oosterhout
is that currently indexes cannot be used to find NULLs in a table. Patches have been created that cover most index types, but it's not part of the main distribution. Partial indexes can be a solution to the x IS NULL clauses. Hope this helps, -- Martijn van Oosterhout kleptog@svana.org http

Re: [HACKERS] Index ignored with is not distinct from, 8.2 beta2

2006-11-07 Thread Martijn van Oosterhout
to address Tom's concerns (other than not indexing IS NOT NULL, which I'm not sure is all that useful...) There's been work on it. Theodor cleaned it up for HEAD and looked at adding GiST support. I beleive he's waiting for 8.2 to release. Have a nice day, -- Martijn van Oosterhout kleptog

Re: [HACKERS] NULL in arrays

2006-11-05 Thread Martijn van Oosterhout
constructor and all its parameters are normal SQL expressions, so you can reference columns and use NULL directly without quotes. The latter is the string value of the array, which is specially decoded. Thats why the latter treats the double quotes differently. Hope this helps, -- Martijn van

Re: [HACKERS] [PATCHES] Bug in WAL backup documentation

2006-11-03 Thread Martijn van Oosterhout
opinion? Arguably you could give people a choice, say %P for the absolute path and %p for the relative one. In Unix you can easily prepend $PWD to the string, but I don't know how easy that is in Windows. Have a nice day, -- Martijn van Oosterhout kleptog@svana.org http://svana.org/kleptog

Re: [HACKERS] Design Considerations for New Authentication Methods

2006-11-02 Thread Martijn van Oosterhout
a single unix-like name, and I haven't looked at how to properly do that translation from SASL (or GSSAPI) names. Usually a field in the certificate is the username postgresql wants, which can be mapped via a table. For SASL I don't know. Have a nice day, -- Martijn van Oosterhout kleptog

Re: [HACKERS] Design Considerations for New Authentication Methods

2006-11-02 Thread Martijn van Oosterhout
has a valid certificate, but you can't use it for authentication. AFAIK it just needs to be coded (certainly the code to get the relevent fields from the certificate is there). Have a nice day, -- Martijn van Oosterhout kleptog@svana.org http://svana.org/kleptog/ From each according to his

Re: [HACKERS] ¿¿¿pas

2006-11-01 Thread Martijn van Oosterhout
needed... Have a nice day, -- Martijn van Oosterhout kleptog@svana.org http://svana.org/kleptog/ From each according to his ability. To each according to his ability to litigate. signature.asc Description: Digital signature

Re: [HACKERS] [SQL] Case Preservation disregarding case

2006-10-31 Thread Martijn van Oosterhout
, and that's going to messy. Have a nice day, -- Martijn van Oosterhout kleptog@svana.org http://svana.org/kleptog/ From each according to his ability. To each according to his ability to litigate. signature.asc Description: Digital signature

Re: [HACKERS] printing the query plan?

2006-10-27 Thread Martijn van Oosterhout
-parsetree); print_plan writes to stdout, did you check where that is redirected to? Also, I thought there was a logging option to print plans, but I might be wrong about that. Have a nice day, -- Martijn van Oosterhout kleptog@svana.org http://svana.org/kleptog/ From each according to his

Re: [HACKERS] New CRC algorithm: Slicing by 8

2006-10-27 Thread Martijn van Oosterhout
there be a way of detecting a missing 512 byte block in the middle of an 8K block. The idea of simply writing a serial counter every 512 bytes seems to be a good way to handle that... Have a nice day, -- Martijn van Oosterhout kleptog@svana.org http://svana.org/kleptog/ From each according to his ability

Re: [HACKERS] plperl/plperlu interaction

2006-10-26 Thread Martijn van Oosterhout
' usethreads='define' usemultiplicity='define' Have a nice day, -- Martijn van Oosterhout kleptog@svana.org http://svana.org/kleptog/ From each according to his ability. To each according to his ability to litigate. signature.asc Description: Digital signature

Re: [HACKERS] [SPAM?] Re: Asynchronous I/O Support

2006-10-24 Thread Martijn van Oosterhout
/cgi-bin/bugreport.cgi?bug=313219 Which suggest that prior to glibc 2.3.5, posix_fadvise crashed on 2.4 kernels. That's a fairly recent version, so the bug would still be fairly widespead. Have a nice day, -- Martijn van Oosterhout kleptog@svana.org http://svana.org/kleptog/ From each according

Re: [HACKERS] New CRC algorithm: Slicing by 8

2006-10-22 Thread Martijn van Oosterhout
for. Maybe March 2010 we can look into it... Have a nice day, -- Martijn van Oosterhout kleptog@svana.org http://svana.org/kleptog/ From each according to his ability. To each according to his ability to litigate. signature.asc Description: Digital signature

Re: [HACKERS] xlogdump fixups and WAL log question.

2006-10-21 Thread Martijn van Oosterhout
, but the data isn't. Have a ncie day, -- Martijn van Oosterhout kleptog@svana.org http://svana.org/kleptog/ From each according to his ability. To each according to his ability to litigate. signature.asc Description: Digital signature

Re: [SPAM?] Re: [HACKERS] Asynchronous I/O Support

2006-10-20 Thread Martijn van Oosterhout
decide how to fix it. So, what is the bottleneck? Is PostgreSQL unable to max out the I/O bandwidth? Where? Why? For systems where postgresql is unable to saturate the i/o bandwidth, this is the proposed solution. Are there others? Have a nice day, -- Martijn van Oosterhout kleptog@svana.org http

Re: [SPAM?] Re: [HACKERS] Asynchronous I/O Support

2006-10-20 Thread Martijn van Oosterhout
.) This appears to be exactly what we want, no? It would be nice to get some idea of what systems support this. Have a nice day, -- Martijn van Oosterhout kleptog@svana.org http://svana.org/kleptog/ From each according to his ability. To each according to his ability to litigate

Re: [HACKERS] qsort vs MSVC build

2006-10-19 Thread Martijn van Oosterhout
it's called after the system headers, otherwise the problem isn't fixed. Have a nice day, -- Martijn van Oosterhout kleptog@svana.org http://svana.org/kleptog/ From each according to his ability. To each according to his ability to litigate. signature.asc Description: Digital signature

Re: [HACKERS] Asynchronous I/O Support

2006-10-18 Thread Martijn van Oosterhout
you to split a single consecutive read into multiple buffers. Doesn't help at all for reads on widely areas of a file. Have a ncie day, -- Martijn van Oosterhout kleptog@svana.org http://svana.org/kleptog/ From each according to his ability. To each according to his ability to litigate

Re: [HACKERS] bug or feature, || -operator and NULLs

2006-10-18 Thread Martijn van Oosterhout
a nice day, -- Martijn van Oosterhout kleptog@svana.org http://svana.org/kleptog/ From each according to his ability. To each according to his ability to litigate. signature.asc Description: Digital signature

Re: [HACKERS] +1400 is a valid time zone offset

2006-10-18 Thread Martijn van Oosterhout
also support timezone 'Pacific/Kiritimati' which is at +1400, so I doubt it's an issue. Wanna send a patch? Have a nice day, -- Martijn van Oosterhout kleptog@svana.org http://svana.org/kleptog/ From each according to his ability. To each according to his ability to litigate. signature.asc

Re: [HACKERS] bug or feature, || -operator and NULLs

2006-10-18 Thread Martijn van Oosterhout
concatenation. I would argue it's inconsistant. No other function treats a NULL like an empty string, so I really don't see why textcat() should. Have a nice day, -- Martijn van Oosterhout kleptog@svana.org http://svana.org/kleptog/ From each according to his ability. To each according

Re: [HACKERS] analyzing debugging sentences.

2006-10-18 Thread Martijn van Oosterhout
the header files to understand what they mean. Hope this helps, -- Martijn van Oosterhout kleptog@svana.org http://svana.org/kleptog/ From each according to his ability. To each according to his ability to litigate. signature.asc Description: Digital signature

Re: [HACKERS] bug or feature, || -operator and NULLs

2006-10-18 Thread Martijn van Oosterhout
|| 'bar'= 'bar' '' || 'bar' = 'bar' But NULL is not an empty string. Oracle chooses to make NULL and the empty string the same, we don't. So logically we shouldn't treat them the same for text concatination either. Have a nice day, -- Martijn van Oosterhout kleptog@svana.org http

Re: [HACKERS] hacking postgres hashjoin algorithm

2006-10-17 Thread Martijn van Oosterhout
the algorithm is comparing if r.id equals s.id The code doing the work is actually ExecScanHashBucket() which is in nodeHash.c. The actual check is done by the ExecQual there... Hope this helps, -- Martijn van Oosterhout kleptog@svana.org http://svana.org/kleptog/ From each according to his

Re: [HACKERS] Syntax bug? Group by?

2006-10-17 Thread Martijn van Oosterhout
standards where C has to actually be a grouping column). Have a nice day, -- Martijn van Oosterhout kleptog@svana.org http://svana.org/kleptog/ From each according to his ability. To each according to his ability to litigate. signature.asc Description: Digital signature

Re: [HACKERS] [BUGS] BUG #2683: spi_exec_query in plperl returns

2006-10-16 Thread Martijn van Oosterhout
perl5.8. In know the perl5.6 model was different and somewhat more awkward to use. Have a nice day, -- Martijn van Oosterhout kleptog@svana.org http://svana.org/kleptog/ From each according to his ability. To each according to his ability to litigate. signature.asc Description: Digital

Re: [HACKERS] Not quite there on timezone names in timestamp input

2006-10-15 Thread Martijn van Oosterhout
lookup that way. If you want that to work, you should preload a list of timezones and store the list internally. Another way to deal with start timezone names: we have a table for looking up EST and such, short names like GMT-0 could be added to that table... Have a nice day, -- Martijn van

Re: [HACKERS] Asynchronous I/O Support

2006-10-15 Thread Martijn van Oosterhout
day, -- Martijn van Oosterhout kleptog@svana.org http://svana.org/kleptog/ From each according to his ability. To each according to his ability to litigate. signature.asc Description: Digital signature

Re: [HACKERS] Asynchronous I/O Support

2006-10-15 Thread Martijn van Oosterhout
On Sun, Oct 15, 2006 at 02:26:12PM -0400, Neil Conway wrote: On Sun, 2006-10-15 at 19:56 +0200, Martijn van Oosterhout wrote: Sure, I even implemented it once. Didn't get any faster. Did you just do something akin to s/read/aio_read/ etc., or something more ambitious? I think that really

Re: [HACKERS] [PATCHES] array_accum aggregate

2006-10-13 Thread Martijn van Oosterhout
day, -- Martijn van Oosterhout kleptog@svana.org http://svana.org/kleptog/ From each according to his ability. To each according to his ability to litigate. signature.asc Description: Digital signature

Re: [HACKERS] ./configure argument checking

2006-10-13 Thread Martijn van Oosterhout
van Oosterhout kleptog@svana.org http://svana.org/kleptog/ From each according to his ability. To each according to his ability to litigate. signature.asc Description: Digital signature

Re: [HACKERS] ./configure argument checking

2006-10-13 Thread Martijn van Oosterhout
case you load all the warnings into an environment variable and print that at the end... Have a nice day, -- Martijn van Oosterhout kleptog@svana.org http://svana.org/kleptog/ From each according to his ability. To each according to his ability to litigate. signature.asc Description

Re: [HACKERS] GROUP BY on a large table -- an idea

2006-10-12 Thread Martijn van Oosterhout
states. Hope this helps, -- Martijn van Oosterhout kleptog@svana.org http://svana.org/kleptog/ From each according to his ability. To each according to his ability to litigate. signature.asc Description: Digital signature

Re: [HACKERS] Hints WAS: Index Tuning Features

2006-10-12 Thread Martijn van Oosterhout
, -- Martijn van Oosterhout kleptog@svana.org http://svana.org/kleptog/ From each according to his ability. To each according to his ability to litigate. signature.asc Description: Digital signature

Re: [HACKERS] Hints WAS: Index Tuning Features

2006-10-12 Thread Martijn van Oosterhout
a histogram for the current session only, or even having profile to select from. I don't think annotating the query itself is a particularly good idea. The hard part is stoing the histograms and getting the planner to use them, once that happens the really is trivial. Have a nice day, -- Martijn van

Re: [HACKERS] ./configure argument checking

2006-10-12 Thread Martijn van Oosterhout
feature. IIRC it was made a non-fatal warning somewhere near the end of the output, but I'm not sure... Have a nice day, -- Martijn van Oosterhout kleptog@svana.org http://svana.org/kleptog/ From each according to his ability. To each according to his ability to litigate. signature.asc

Re: [HACKERS] Interface of the R-tree in order to work with postgresql

2006-10-09 Thread Martijn van Oosterhout
would start by reading the documentation, specifically the part about GiST. Once you have understood the concept and code there, go to reading the rtree code in the backend. That should answer almost all your questions. Have a nice day, -- Martijn van Oosterhout kleptog@svana.org http://svana.org

Re: [HACKERS] Upgrading a database dump/restore

2006-10-09 Thread Martijn van Oosterhout
of. These sorts of things matter. People are working it, someone even got so far as dealing with most catalog upgrades. The hard part going to be making sure that even if the power fails halfway through an upgrade that your data will still be readable... Have a nice day, -- Martijn van Oosterhout kleptog

Re: [HACKERS] Query Failed, out of memory

2006-10-05 Thread Martijn van Oosterhout
memory that would take to store... What were you trying to do? Have a nice day, -- Martijn van Oosterhout kleptog@svana.org http://svana.org/kleptog/ From each according to his ability. To each according to his ability to litigate. signature.asc Description: Digital signature

Re: [HACKERS] Upgrading a database dump/restore

2006-10-05 Thread Martijn van Oosterhout
there should be people willing to fund the development. There have been a few people (even in the last few weeks) who say they're looking into it, perhaps they need a helping hand? Someone got as far as handling catalog updates I beleive, Have a nice day, -- Martijn van Oosterhout kleptog@svana.org

Re: [HACKERS] scripts/common.c minor memory leak

2006-10-04 Thread Martijn van Oosterhout
not. You don't see any messages about the other 100 leaks found because I figure they're not worth the effort. This function is used widely enough and a simple enough fix that I figured I might be worth fixing. Have a nice day, -- Martijn van Oosterhout kleptog@svana.org http://svana.org/kleptog

Re: [HACKERS] tsearch2 error msg

2006-10-03 Thread Martijn van Oosterhout
On Tue, Oct 03, 2006 at 04:34:06PM +0200, Magnus Hagander wrote: search=# select to_tsquery('foo bar'); ERROR: syntax error Seems to me, at the very least, the message should be: ERROR: tsearch: syntax error Then people have an idea where it comes from. Have a nice day, -- Martijn van

[HACKERS] scripts/common.c minor memory leak

2006-10-03 Thread Martijn van Oosterhout
Just a minor thing. In yesno_prompt(), the value is resp is allocated memory that is never freed. File: src/bin/scripts/common.c Line: 218 Not terribly important though, it's not used in critical utilities, but it's used often. Found by coverity. -- Martijn van Oosterhout kleptog@svana.org

<    2   3   4   5   6   7   8   9   10   11   >