Re: [HACKERS] PostgreSQL on 64 bit Linux

2006-08-21 Thread Martijn van Oosterhout
it. Have anice 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] snapshot replication with pg_dump

2006-08-21 Thread Martijn van Oosterhout
to pg_dump should do what you want. snip 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] PostgreSQL on 64 bit Linux

2006-08-21 Thread Martijn van Oosterhout
on a 64-bit arch, how else is it going to hold the pointer for a pass-by-ref value? On the whole, PostgreSQL is still in the phase where we're trying to find the best algorithms. When that's done (if ever), we can start worrying about processor optimisations... Have a nice day, -- Martijn van

[HACKERS] Coverity reports looking good

2006-08-20 Thread Martijn van Oosterhout
at tackling them, I can provide an updated list. 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] pg_dump versus SERIAL, round N

2006-08-19 Thread Martijn van Oosterhout
this to declare a dependancy on them all? 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: BugTracker (Was: Re: [HACKERS] 8.2 features status)

2006-08-18 Thread Martijn van Oosterhout
would suck :) 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] Going for all green buildfarm results

2006-08-18 Thread Martijn van Oosterhout
when it hit a particular function. By selecting different functions each time, once you'd covered a lot of functions and tested recovery, you could have a good idea if the recovery code works properly. Has anyone seens a tool like that? Have a nice day, -- Martijn van Oosterhout kleptog

Re: [HACKERS] pgstattuple extension for indexes

2006-08-17 Thread Martijn van Oosterhout
are zero-cost. A more useful definition of fragmentation would be: if you're scanning forward through an index, how often do you have to jump backwards again. The current calculation seems to get that fairly right... Have a nice day, -- Martijn van Oosterhout kleptog@svana.org http://svana.org

Re: [HACKERS] pgstattuple extension for indexes

2006-08-17 Thread Martijn van Oosterhout
On Thu, Aug 17, 2006 at 02:54:20PM -0500, Jim C. Nasby wrote: On Thu, Aug 17, 2006 at 02:23:48PM +0200, Martijn van Oosterhout wrote: On Thu, Aug 17, 2006 at 12:55:28PM +0900, ITAGAKI Takahiro wrote: But the method has the above problem. So I suggest to use whether the right link points

Re: BugTracker (Was: Re: [HACKERS] 8.2 features status)

2006-08-16 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] Google SoC--Idea Request

2006-08-14 Thread Martijn van Oosterhout
On Thu, Apr 20, 2006 at 11:56:32AM -0400, Tom Lane wrote: Martijn van Oosterhout kleptog@svana.org writes: About the only thing in the backend I found interesting was this: src/backend/utils/hash/dynahash.c function hash_create I wonder if we shouldn't just remove the hash_destroy calls

Re: [HACKERS] How to control the content of BKI files during installation process?

2006-08-14 Thread Martijn van Oosterhout
... Or perhaps at the end of the initdb? 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] Google SoC--Idea Request

2006-08-14 Thread Martijn van Oosterhout
? Well sort of. I can also just tick a box and the warning goes away too. It just seemed from the discussion that it was something people were going to fix... Have a nice day, -- Martijn van Oosterhout kleptog@svana.org http://svana.org/kleptog/ From each according to his ability. To each

Re: [HACKERS] 8.2 features status

2006-08-12 Thread Martijn van Oosterhout
opinions about that... 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] Buildfarm owners: check if your HEAD build is stuck

2006-08-12 Thread Martijn van Oosterhout
further down. They mark it as line 3956 of revision 1.335. It may not be possible though, coverity is not omnicient. 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

Re: [HACKERS] [GENERAL] different sort order in windows and linux version

2006-08-11 Thread Martijn van Oosterhout
) and I have not seen any discussion about it since March or so. Unfortunatly I agree. I was kinda prepared to have a shot at resurrecting the patch if there was some serious interest but nothing happened. It's way too late in the freeze now. There's still 8.3... Have a nice day, -- Martijn van

Re: [HACKERS] Casts

2006-08-10 Thread Martijn van Oosterhout
the casts, but it's user friendly to do so. Requiring double casts to go between two essentially compatable types seems silly... 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] proposal for PL packages for 8.3.

2006-08-09 Thread Martijn van Oosterhout
installed by a package, thus dispensing with the pg_package_items. The biggest stumbling block was finding something general enough. Oh yeah, and coding it. In particular, consider being able to install stuff in contrib as a package, so you can easily uninstall it. Have a nice day, -- Martijn van

Re: [HACKERS] An Idea for planner hints

2006-08-09 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] how to determine which types take a length argument

2006-08-09 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] how to determine which types take a length argument

2006-08-09 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] An Idea for planner hints

2006-08-09 Thread Martijn van Oosterhout
could make a tool that would scan the queries and tables that look for column combinations which are often joined and have an unusual correlation (unusually high or unusually low). Have a nice day, -- Martijn van Oosterhout kleptog@svana.org http://svana.org/kleptog/ From each according to his

Re: [HACKERS] An Idea for planner hints

2006-08-08 Thread Martijn van Oosterhout
to the other will have it's own pitfalls... 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] An Idea for planner hints

2006-08-08 Thread Martijn van Oosterhout
On Tue, Aug 08, 2006 at 04:14:45PM -0400, Tom Lane wrote: Martijn van Oosterhout kleptog@svana.org writes: ISTM theat the easiest way would be to introduce a sort of predicate like so: SELECT * FROM foo, bar WHERE pg_selectivity(foo.a = bar.a, 0.1); The one saving grace of Florian's

Re: pg_upgrade (was: [HACKERS] 8.2 features status)

2006-08-07 Thread Martijn van Oosterhout
it easiesr. 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] proposal for 8.3: Simultaneous assignment for PL/pgSQL

2006-08-07 Thread Martijn van Oosterhout
( a TEXT IN, b TEXT INOUT, c TEXT OUT ) as blah... And in a pl/pgsql function, translate: CALL foo(a,b,c) into (b,c) = foo(a,b) internally. Doesn't seem like that would be too hard. Have anice day, -- Martijn van Oosterhout kleptog@svana.org http://svana.org/kleptog/ From each according to his

Re: [HACKERS] 8.2 features status

2006-08-05 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] 8.2 features status

2006-08-05 Thread Martijn van Oosterhout
) the ability for someone to pick up where you left off. That I can agree with, but I don't think you can force 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: [HACKERS] 8.2 features status

2006-08-04 Thread Martijn van Oosterhout
: fast tree drift :) But I guess you can't really complain about that. Oh yeah, user-defined typmod would be cool. There's some movement on that though. 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] User-defined typle similar to char(length) varchar(length)

2006-08-04 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] 8.2 features status

2006-08-04 Thread Martijn van Oosterhout
, there are the priveledged few who are being paid to work on postgres. If you can convince their employers to fund things on the list, it might help. Also, some stuff might work well as Google SoC projects... Have a nice day, -- Martijn van Oosterhout kleptog@svana.org http://svana.org/kleptog/ From

Re: [HACKERS] Bug with initDB under windows 2003

2006-08-03 Thread Martijn van Oosterhout
. Submit a patch to the patches list, where it will be reveiwed by the relevenet people. 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] User-defined typle similar to char(length) varchar(length)

2006-08-03 Thread Martijn van Oosterhout
PROTECTED] so that your message can get through to the mailing list cleanly -- 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] User-defined typle similar to char(length) varchar(length)

2006-08-03 Thread Martijn van Oosterhout
can be specified the same way as for numeric. 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] User-defined typle similar to char(length) varchar(length)

2006-08-01 Thread Martijn van Oosterhout
be to merge the productions for types and functions. Or at least, make the productions look similar enough that bison can avoid deciding which it is until it's got past the whole definition. Habe a nice day, -- Martijn van Oosterhout kleptog@svana.org http://svana.org/kleptog/ From each according

Re: [HACKERS] Connection limit and Superuser

2006-07-31 Thread Martijn van Oosterhout
? If there's a limit you're not really superuser, are you? Slony in particular does not need more than N connections but does require being a super user. Maybe someone should look into enabling slony to not run as a superuser? Have a nice day, -- Martijn van Oosterhout kleptog@svana.org http

Re: [HACKERS] User-defined typle similar to char(length) varchar(length)

2006-07-31 Thread Martijn van Oosterhout
: this is what I remember about the discussions anyway. I'm sure a lot of people would be happy if someone took this on though. 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] Formulating an sql query with CTID

2006-07-29 Thread Martijn van Oosterhout
version... Have an 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] Formulating an sql query with CTID

2006-07-29 Thread Martijn van Oosterhout
a very very useful one. 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] lastval exposes information that currval does not

2006-07-28 Thread Martijn van Oosterhout
install C code into the backend and break security are truisms: installed C code can do *anything* which is why only superusers can install such functions... 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] lastval exposes information that currval does not

2006-07-28 Thread Martijn van Oosterhout
want to be sure you are not bypassing security checks, use the SPI interface. Would that help? You're talking about the schema check as if it's a special case, but when people use low-level functions they have to check *everything* themselves. Have a nice day, -- Martijn van Oosterhout kleptog

Re: [HACKERS] GUC with units, details

2006-07-27 Thread Martijn van Oosterhout
heard of it. It's not taught in schools which pretty much means it's never going to happen. When manufacturers like Dell start using KiB in their glossy magazines, maybe it's time to look into it. Have a nice day, -- Martijn van Oosterhout kleptog@svana.org http://svana.org/kleptog/ From

Re: [HACKERS] Refactoring the API for amgetmulti

2006-07-26 Thread Martijn van Oosterhout
it in the rink. 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] Refactoring the API for amgetmulti

2006-07-26 Thread Martijn van Oosterhout
On Wed, Jul 26, 2006 at 11:37:01AM -0400, Tom Lane wrote: Martijn van Oosterhout kleptog@svana.org writes: Well, my only thoughtis that this pretty means you can't use index_getmulti for anything else. For example, when I was playing with async i/o I was using index_getmulti to get a list

Re: [HACKERS] GUC with units, details

2006-07-26 Thread Martijn van Oosterhout
in postgres where using K=1000 would be significantly clearer than K=1024? 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] Resurrecting per-page cleaner for btree

2006-07-26 Thread Martijn van Oosterhout
excruciating pain for the DBA. I thought the suggested solution for that was the dead space map. That way vacuum can ignore parts of the table that havn't changed... Have a nice day, -- Martijn van Oosterhout kleptog@svana.org http://svana.org/kleptog/ From each according to his ability

Re: [HACKERS] [PATCHES] Generic Monitoring Framework with DTrace patch

2006-07-21 Thread Martijn van Oosterhout
fix this one. We should probably move the probes file to a subdirectory. Anyone know a good place? Also, again, the pgsql prefix should be dropped. The prefix here is redundant. We know which directory it's in. Have a nice day, -- Martijn van Oosterhout kleptog@svana.org http

Re: [HACKERS] Transaction Speed and real time database

2006-07-21 Thread Martijn van Oosterhout
://www.geocities.com/mailsoftware42/db/ http://www.devx.com/dbzone/Article/29480?trk=DXRSS_DB 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

Re: [HACKERS] [PATCHES] pg_regress in C

2006-07-19 Thread Martijn van Oosterhout
silent_mode is on. I think it defaults to off, which is probably why it works at all. Anyway, the signal handling for Windows involves a seperate thead AIUI which may make it easier. It might be interesting to see how bash does it. Hope this helps, -- Martijn van Oosterhout kleptog@svana.org

Re: [HACKERS] pgxs problem

2006-07-19 Thread Martijn van Oosterhout
to be limiting you to one installation per machine. Setting the PATH would probably work too. 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] plPHP and plRuby

2006-07-18 Thread Martijn van Oosterhout
the script gets updated with the appropriate CVS tag and you're 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] automatic system info tool?

2006-07-17 Thread Martijn van Oosterhout
you the size of of the C datatypes if you're interested :) 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] automatic system info tool?

2006-07-17 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] automatic system info tool?

2006-07-17 Thread Martijn van Oosterhout
as well as a program. It returns the os name, version, hostname and system type. Mind you, maybe perl provides emulation for uname? 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] plPHP and plRuby

2006-07-17 Thread Martijn van Oosterhout
to build more than just the core among their standard packages. Ack. 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] Patch to mark items as static or not used

2006-07-15 Thread Martijn van Oosterhout
guess we could invent a comment that would be machine readable. 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] ShmemAlloc() alignment patch

2006-07-14 Thread Martijn van Oosterhout
as we disired. How can ShmemBase not be aligned? Surely it's page-aligned? 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 enhancements

2006-07-14 Thread Martijn van Oosterhout
in Perl that can decode most tuples, but not all. It fails because it doesn't recognise all the types. http://svana.org/kleptog/pgsql/pgfsck.html 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

Re: [HACKERS] Forcing wal rotation

2006-07-14 Thread Martijn van Oosterhout
records, like you originally suggested. 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] src/tools/pginclude considered harmful (was Re: [PATCHES]

2006-07-14 Thread Martijn van Oosterhout
the effects of included header files, but it would pick up the cases where a block of code that was previously included no longer is. Or if a macro is expanded differently... Have a nice day, -- Martijn van Oosterhout kleptog@svana.org http://svana.org/kleptog/ From each according to his

Re: [HACKERS] pre_load_libraries

2006-07-13 Thread Martijn van Oosterhout
of its add-ins, though that seems presumptious. The easiest way is to simply delete the shared memory segment after you've done the shmat(). The shmat() will hold onto it until postgres quits and then be cleaned up by the OS. Have a nice day, -- Martijn van Oosterhout kleptog@svana.org http

Re: [HACKERS] Proper Method for using LockAcquire

2006-07-13 Thread Martijn van Oosterhout
)? I grabbed that from relation_open in access/heap/heapam.c. 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] CTIDs invalidations and dropping columns.

2006-07-11 Thread Martijn van Oosterhout
an extra step has to be taken. This extra step copies the two values, creating a new tuple, which has no CTID. If you're tying yourself this tightly to the backend, maybe you should just use index_beginscan/heap_beginscan/etc which return actual tuples. Have a nice day, -- Martijn van Oosterhout

Re: [HACKERS] getting type name

2006-07-10 Thread Martijn van Oosterhout
On Mon, Jul 10, 2006 at 02:03:11AM +0300, Tzahi Fadida wrote: On Monday 10 July 2006 00:29, Martijn van Oosterhout wrote: On Sun, Jul 09, 2006 at 10:08:42PM +0300, Tzahi Fadida wrote: They return format_type_be(INT4OID) = integer or format_type_be(FLOAT8OID) = double precision I need

Re: [HACKERS] pgsql-patches considered harmful

2006-07-10 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] lastval exposes information that currval does not

2006-07-10 Thread Martijn van Oosterhout
priveledges unless you're sure you want people to have 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. signature.asc Description: Digital signature

Re: [HACKERS] CTIDs invalidations and dropping columns.

2006-07-10 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] lastval exposes information that currval does not

2006-07-09 Thread Martijn van Oosterhout
, the revoke should at the very least not affect transactions started prior to the revokation. Some things are shared across an entire session, and the rule extends to them. Is this a bug? Maybe, but it is debatable. Have a nice day, -- Martijn van Oosterhout kleptog@svana.org http://svana.org

Re: [HACKERS] [GENERAL] UUID's as primary keys

2006-07-09 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] lastval exposes information that currval does not

2006-07-09 Thread Martijn van Oosterhout
opinions aren't really that relevent. Do other database systems work the way you expect? 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] getting type name

2006-07-09 Thread Martijn van Oosterhout
| float8 --+ 1 |4.5 (1 row) 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] xlog viewer prototype and new proposal

2006-07-07 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] DISTINCT/Optimizer question

2006-07-07 Thread Martijn van Oosterhout
a clue lies there... 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] Scan Keys

2006-07-06 Thread Martijn van Oosterhout
it's not really necessary, there is currently nothing else in the system that really tells you the answer to the question you ask... 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] [GENERAL] UUID's as primary keys

2006-07-06 Thread Martijn van Oosterhout
ofcourse. 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] Help with casting and comparing.

2006-07-06 Thread Martijn van Oosterhout
for it. But this seems a little like premature optimisation. First, make it work, then make it fast. Once you've got it working you can worry about performance. Adding an extra column to the output costs very, very little compared to other things... -- Martijn van Oosterhout kleptog@svana.org http

Re: [HACKERS] Scan Keys

2006-07-05 Thread Martijn van Oosterhout
involved, everything in the scankey should already have been filled in. I don't beleive the code actually checks if the operator is of the type you specify. Hope this helps a bit, -- Martijn van Oosterhout kleptog@svana.org http://svana.org/kleptog/ From each according to his ability. To each

Re: [HACKERS] update/insert, delete/insert efficiency WRT vacuum and

2006-07-04 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] Fixed length datatypes. WAS [GENERAL] UUID's as

2006-07-01 Thread Martijn van Oosterhout
be replaced by any number, or even -1 to make a variable length type... 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] Fixed length datatypes. WAS [GENERAL] UUID's as

2006-07-01 Thread Martijn van Oosterhout
; CREATE FUNCTION uuid_out(uuid) RETURNS cstring AS 'hex_raw_out' LANGUAGE internal; CREATE TYPE uuid ( input = uuid_in, output = uuid_out, internallength = 16 ); The cat lookups are irritating, but that's what syscache is for, I guess :) Have a nice day, -- Martijn van Oosterhout kleptog

Re: [HACKERS] Fixed length datatypes. WAS [GENERAL] UUID's as

2006-07-01 Thread Martijn van Oosterhout
during parse time. This would give the type input/output functions the Expr node they need to extract this info. I have no idea how easy/hard this would be. Have a nice day, -- Martijn van Oosterhout kleptog@svana.org http://svana.org/kleptog/ From each according to his ability. To each

Re: [HACKERS] Fixed length datatypes. WAS [GENERAL] UUID's as

2006-06-30 Thread Martijn van Oosterhout
On Fri, Jun 30, 2006 at 04:04:19AM -0400, [EMAIL PROTECTED] wrote: Martijn van Oosterhout wrote: It seems to me that maybe the backend should include a 16-byte fixed length object (after all, we've got 1, 2, 4 and 8 bytes already) and then people can use that to build whatever they like

Re: [HACKERS] [GENERAL] UUID's as primary keys

2006-06-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] Single Index Tuple Chain (SITC) method

2006-06-29 Thread Martijn van Oosterhout
idea, that of reusing dead index entries ? I'd like to know about this too, including ideas about truncating tuples to just the header. 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] [GENERAL] UUID's as primary keys

2006-06-29 Thread Martijn van Oosterhout
. And for people that want char(1), they should be using char, which really is one byte (ex padding ofcourse). 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] [GENERAL] UUID's as primary keys

2006-06-29 Thread Martijn van Oosterhout
On Thu, Jun 29, 2006 at 06:40:13PM +0200, Thomas Hallgren wrote: Martijn van Oosterhout wrote: On Thu, Jun 29, 2006 at 03:54:36PM +0200, Thomas Hallgren wrote: I have to concur with this. Assume you use a bytea for a UUID that in turn is used as a primary key. The extra overhead

Re: [HACKERS] Single Index Tuple Chain (SITC) method

2006-06-29 Thread Martijn van Oosterhout
that it only tries to write out pages not recently used, so hopefully there would be very little contention there. And perhaps you can avoid the xlogging for the same reason as I suggested above. Have a nice day, -- Martijn van Oosterhout kleptog@svana.org http://svana.org/kleptog/ From each

Re: [HACKERS] GIN index creation extremely slow ?

2006-06-28 Thread Martijn van Oosterhout
people are working on the same version. 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] Help with casting and comparing.

2006-06-28 Thread Martijn van Oosterhout
-compatible with the input datatypes. Do not use this if * you need an exact- or binary-compatible match; see compatible_oper. ...etc... 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

Re: [HACKERS] optimizing constant quals within outer joins

2006-06-28 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] refcount leak warnings

2006-06-27 Thread Martijn van Oosterhout
at that block might help identify the issue. 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] vacuum, performance, and MVCC

2006-06-27 Thread Martijn van Oosterhout
the BitmapAnd will incorrectly throw them out. That should be doable, if you only change the head of the SITC on VACUUM. I'm not sure if that's what's being suggested right now. Have a nice day, -- Martijn van Oosterhout kleptog@svana.org http://svana.org/kleptog/ From each according to his ability

Re: [HACKERS] SO_SNDBUF size is small on win32?

2006-06-27 Thread Martijn van Oosterhout
there's a difficiency in Windows TCP code. Do you have any benchmarks to show this actually makes a difference. According to the URL you give, the problem occurs if the libpq buffer is *bigger* than the socket buffer, which it isn't... Have a nice day, -- Martijn van Oosterhout kleptog@svana.org

Re: [HACKERS] SO_SNDBUF size is small on win32?

2006-06-27 Thread Martijn van Oosterhout
buffer at least 1 byte bigger. Ok, but even then, are there any benchmarks to show it makes a difference. The articles suggests there should be but it would be nice to see how much difference it makes... Have a nice day, -- Martijn van Oosterhout kleptog@svana.org http://svana.org/kleptog

Re: [HACKERS] libpq Describe Extension [WAS: Bytea and perl]

2006-06-26 Thread Martijn van Oosterhout
quite a bit of coding by adding a pqHaveNBytes function that returns true if there are that many bytes available. Then right after you know the number of attributes, you can do a pqHaveNBytes(4*nattr) and skip the checking within the loop. Have a nice day, -- Martijn van Oosterhout kleptog

Re: [HACKERS] vacuum, performance, and MVCC

2006-06-26 Thread Martijn van Oosterhout
? And for bitmap index scans you would only remember the page in the case of such a tuple, since you can't be sure the exact ctid you've got is the one you want. Seems doable. Have a nice day, -- Martijn van Oosterhout kleptog@svana.org http://svana.org/kleptog/ From each according to his ability. To each

Re: [HACKERS] Truncated tuples for tuple hash tables

2006-06-26 Thread Martijn van Oosterhout
in the backend after the SeqScan/IndexScan node really don't care about most of the header fields and being able to drop them would be nice. 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] vacuum, performance, and MVCC

2006-06-26 Thread Martijn van Oosterhout
confused where bitmap index scan fit into all of this. Is preserving the sequential scan aspect of these a goal with this new setup? 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] vacuum, performance, and MVCC

2006-06-24 Thread Martijn van Oosterhout
can always find the newest version. You would need to add additional links to go backwards. 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] vacuum, performance, and MVCC

2006-06-24 Thread Martijn van Oosterhout
the other end. In indexes, allow a row to carry multiple CTIDs. That way a new version only requires adding six more bytes, rather than a whole new tuple. Have a nice day, -- Martijn van Oosterhout kleptog@svana.org http://svana.org/kleptog/ From each according to his ability. To each according

<    4   5   6   7   8   9   10   11   12   13   >