[HACKERS] Big update for timestamp etc.

2001-09-28 Thread Thomas Lockhart
I've committed (most of?) the changes to implement a timestamp without time zone type. To help with backward compatibility and upgrading, I've made the *default* timestamp the one with time zone. That is, if you want a timestamp without time zone you will have to fully specify it verbatim. SQL99 c

Re: [HACKERS] O_DIRECT

2001-09-28 Thread Bruce Momjian
> The O_DIRECT flag has been added in FreeBSD 4.4 (386 & Alpha) also. From > the release notes: > > Kernel Changes > > The O_DIRECT flag has been added to open(2) and fcntl(2). Specifying this > flag for open files will attempt to minimize the cache effects of reading > and writing. I wonder i

Re: [HACKERS] multibyte performance

2001-09-28 Thread Tatsuo Ishii
> pgbench unfortunately seems quite irrelevant to this issue, since it > performs no textual operations whatsoever. Yup. > It'd be interesting to > modify pgbench so that it updates the "filler" column somehow on each > update (perhaps store a text copy of the new balance there), and then > rep

[HACKERS] path for contrib/intarray (current CVS)

2001-09-28 Thread Oleg Bartunov
Please apply attached patch to current CVS tree. Changes: 1. gist__int_ops is now without lossy 2. added sort entry in picksplit Regards, Oleg _ Oleg Bartunov, sci.researcher, hostmaster of AstroNet, Sternberg

Re: [HACKERS] Spinlock performance improvement proposal

2001-09-28 Thread Bruce Momjian
> > Sounds cool to me ... definitely something to fix before v7.2, if its as > "easy" as you make it sound ... I'm expecting the new drive to be > installed today (if all goes well ... Thomas still has his date/time stuff > to finish off, now that CVSup is fixed ... > > Let''s try and target Mon

Re: [HACKERS] Can't subscribe or get CVS

2001-09-28 Thread Christopher Kings-Lynne
Hi noel, The correct CVSROOT is now: export CVSROOT=:pserver:[EMAIL PROTECTED]:/projects/cvsroot And the password is blank or 'postgresql' Chris > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED]]On Behalf Of > [EMAIL PROTECTED] > Sent: Friday, 21 September 200

[HACKERS] Plpython bug with int8?

2001-09-28 Thread Bradley McLean
Can someone else run this and confirm the results against the tip of the CVS repository? I'm trying to trace this bug (help welcome too). (it was hidden in a trigger and a pain to narrow to this point) -Brad - drop function mul1(int4,int4); drop function mul2(int4,int4); drop function call

Re: [PHP] [HACKERS] [BUGS] PostgreSQL / PHP Overrun Error

2001-09-28 Thread Bruce Momjian
> I'm using the current CVS (4.0.8-dev)- It's spectacular. Lower memory > usage, more descriptive debug, better control over it. Tons more options, > smaller code, much much faster. > > Can you trust it- sure. It isn't a release candidate. It is the > current development version. As they

Re: [HACKERS] Fragmenting tables in postgres

2001-09-28 Thread Bruce Momjian
> [EMAIL PROTECTED] (Karthik Guruswamy) writes: > > Anyone tried fragmenting tables into multiple sub tables > > transparently through Postgres rewrite rules ? I'm having > > a table with 200,000 rows with varchar columns and noticed > > that updates,inserts take a lot longer time compared to a

Re: [HACKERS] Spinlock performance improvement proposal

2001-09-28 Thread Bruce Momjian
FYI, I have added a number of these emails to the 'thread' TODO.detail list. > On Wed, 26 Sep 2001, D. Hageman wrote: > > > > > Save for the fact that the kernel can switch between threads faster then > > > > it can switch processes considering threads share the same address space, > > > > st

Re: [HACKERS] PERFORMANCE IMPROVEMENT by mapping WAL FILES

2001-09-28 Thread Bruce Momjian
> > Hi all, > > By mapping the WAL files by each backend in to its address > > space using "mmap" system call , there will be big > > improvements in performance from the following point of view: > > 1. Each backend directly writes in to the address > > space

Re: [HACKERS] Spinlock performance improvement proposal

2001-09-28 Thread Bruce Momjian
> We have been doing some scalability testing just recently here at Red > Hat. The machine I was using was a 4-way 550 MHz Xeon SMP machine, I > also ran the machine in uniprocessor mode to make some comparisons. All > runs were made on Red Hat Linux running 2.4.x series kernels. I've > examined a

Re: [HACKERS] Spinlock performance improvement proposal

2001-09-28 Thread Bruce Momjian
> Save for the fact that the kernel can switch between threads faster then > it can switch processes considering threads share the same address space, > stack, code, etc. If need be sharing the data between threads is much > easier then sharing between processes. Just a clarification but bec

[HACKERS] Preparation for Beta

2001-09-28 Thread Bruce Momjian
OK, I think we are on track for Monday beta. Marc, will you be packaging a beta1 tarball on Monday or waiting a few days? I need to run pgindent and pgjindent either right before or after beta starts. Also, what are we doing with the toplevel /ChangeLogs. I never understood the purpose of it,

[HACKERS] Glitch in handling of postmaster -o options

2001-09-28 Thread Tom Lane
I have just noticed a flaw in the handling of "-o backend-options" postmaster parameters. To wit: although these options will be passed to all backends launched by the postmaster, they aren't passed to checkpoint, xlog startup, and xlog shutdown subprocesses (everything that goes through Bootstra

Re: [HACKERS] Spinlock performance improvement proposal

2001-09-28 Thread Bruce Momjian
> Bruce Momjian wrote: > > > > > Save for the fact that the kernel can switch between threads faster then > > > it can switch processes considering threads share the same address space, > > > stack, code, etc. If need be sharing the data between threads is much > > > easier then sharing between

Re: [HACKERS] Spinlock performance improvement proposal

2001-09-28 Thread Lincoln Yeoh
At 10:02 AM 9/27/01 -0400, mlw wrote: >"D. Hageman" wrote: >> I agree with everything you wrote above except for the first line. My >> only comment is that process boundaries are only *truely* a powerful >> barrier if the processes are different pieces of code and are not >> dependent on each oth

Re: [HACKERS] Spinlock performance improvement proposal

2001-09-28 Thread mlw
Lincoln Yeoh wrote: > > At 10:02 AM 9/27/01 -0400, mlw wrote: > >"D. Hageman" wrote: > >> I agree with everything you wrote above except for the first line. My > >> only comment is that process boundaries are only *truely* a powerful > >> barrier if the processes are different pieces of code and

Re: [HACKERS] Spinlock performance improvement proposal

2001-09-28 Thread mlw
Bruce Momjian wrote: > > > Save for the fact that the kernel can switch between threads faster then > > it can switch processes considering threads share the same address space, > > stack, code, etc. If need be sharing the data between threads is much > > easier then sharing between processes. >

Re: [HACKERS] Spinlock performance improvement proposal

2001-09-28 Thread mlw
Bruce Momjian wrote: > > > Bruce Momjian wrote: > > > > > > > Save for the fact that the kernel can switch between threads faster then > > > > it can switch processes considering threads share the same address space, > > > > stack, code, etc. If need be sharing the data between threads is much >