AW: [HACKERS] RE: xlog loose ends, continued

2001-03-13 Thread Zeugswetter Andreas SB
> > > It will be sufficient if DB will not use all 2^32 XIDs > > > without shutdown. > > > > I liked the xid wraparound idea, won't that be sufficient here too ? > > I don't like the idea to reuse a xid sooner than absolutely necessary. > > We need it to reduce pg_log size requirements. Yes,

Re: [HACKERS] Re: xlog loose ends, continued

2001-03-13 Thread Andrew McMillan
Tom Lane wrote: > > "Mikheev, Vadim" <[EMAIL PROTECTED]> writes: > >> That'll be true in any case, unless we refuse to start up at all upon > >> detecting xlog corruption (which doesn't seem like the way to fly). > >> Not sure what we can do about that. > > > What I would refuse in the event of

Re: [HACKERS] RE: xlog loose ends, continued

2001-03-13 Thread Hiroshi Inoue
"Mikheev, Vadim" wrote: > > > >> What I was thinking about in that last paragraph was manual > > >> analysis and recovery. I don't think it's a good idea for automatic > > >> system startup to skip over gaps in the log. > > > > > But if we'll not try to read after gap then after restart > > > syst

Re: [HACKERS] Re: xlog loose ends, continued

2001-03-13 Thread Justin Clift
Maybe there should be an error message like : "PostgreSQL has detected severe xlog corruption. Please fix this with pg_recover (or similar) manually before restarting the database"? Guess I'm suggesting a separate xlog recovery tool for "bad cases" of xlog corruption, so decisions can by manual

Re: [HACKERS] Performance monitor

2001-03-13 Thread Justin Clift
Hi Guys, I'd just like to point out that for most secure installations, X is removed from servers as part of the "remove all software which isn't absolutely needed." I know of Solaris machines which perform as servers with a total of 19 OS packages installed, and then precompiled binaries of the

[HACKERS] XLOG reset utility available

2001-03-13 Thread Tom Lane
contrib/pg_resetxlog is checked in. It's not really complete for the interesting cases (ie, recovery from damaged files) but it does handle the simple case of upgrading from 7.1beta5 to current sources. To use: see contrib/pg_resetxlog/README.pg_resetxlog. regards, tom l

[HACKERS] Re: xlog loose ends, continued

2001-03-13 Thread Thomas Lockhart
> >> That'll be true in any case, unless we refuse to start up at all upon > >> detecting xlog corruption (which doesn't seem like the way to fly). > >> Not sure what we can do about that. > > What I would refuse in the event of log corruption is continuing > > normal database operations. > Hmm.

Re: [HACKERS] WAL & SHM principles

2001-03-13 Thread Matthew Kirkwood
On Tue, 13 Mar 2001, Alfred Perlstein wrote: [..] > Linux does not filesystem-sync file-backed writable mmap pages on a > regular basis. Very intersting. I'm not sure that is necessarily the case in 2.4, though -- my understanding is that the new all-singing, all-dancing page cache makes very l

[HACKERS] Re: Performance monitor signal handler

2001-03-13 Thread Alfred Perlstein
* Thomas Swan <[EMAIL PROTECTED]> [010313 13:37] wrote: > > >On reciept of the info signal, the backends collaborate to piece > >together a status file. The status file is given a temporay name. > >When complete the status file is rename(2)'d over a well known > >file. > > Reporting to files, p

[HACKERS] Re: Performance monitor signal handler

2001-03-13 Thread Thomas Swan
>On reciept of the info signal, the backends collaborate to piece >together a status file. The status file is given a temporay name. >When complete the status file is rename(2)'d over a well known >file. Reporting to files, particularly well known ones, could lead to race conditions. All in a

Re: [HACKERS] WAL & SHM principles

2001-03-13 Thread Alfred Perlstein
* Matthew Kirkwood <[EMAIL PROTECTED]> [010313 13:12] wrote: > On Tue, 13 Mar 2001, Ken Hirsch wrote: > > > > mlock() guarantees that the locked address space is in memory. This > > > doesn't imply that updates are not written to the backing file. > > > > I've wondered about this myself. It _is

Re: [HACKERS] WAL & SHM principles

2001-03-13 Thread Matthew Kirkwood
On Tue, 13 Mar 2001, Ken Hirsch wrote: > > mlock() guarantees that the locked address space is in memory. This > > doesn't imply that updates are not written to the backing file. > > I've wondered about this myself. It _is_ true on Linux that mlock > prevents writes to the backing store, I don

Re: [HACKERS] Shutdown term

2001-03-13 Thread Tom Lane
Bruce Momjian <[EMAIL PROTECTED]> writes: > Seems like overkill to me. We could have the postmaster use SIGQUIT for > db shutdown and leave SIGKILL for admin shutdown of individual backends. Wrong... at least not with the current definitions of those signals! regards, to

Re: [HACKERS] Shutdown term

2001-03-13 Thread Bruce Momjian
> Peter Eisentraut <[EMAIL PROTECTED]> writes: > > The connection was terminated. > > And make the postmaster print out > > The system is shutting down. > > before it sends out the SIGTERM's. > > Unfortunately the postmaster is in no position to send any message to > the individual client

Re: [HACKERS] Shutdown term

2001-03-13 Thread Tom Lane
Peter Eisentraut <[EMAIL PROTECTED]> writes: > The connection was terminated. > And make the postmaster print out > The system is shutting down. > before it sends out the SIGTERM's. Unfortunately the postmaster is in no position to send any message to the individual clients. Maybe we

Re: [HACKERS] WAL & SHM principles

2001-03-13 Thread Ken Hirsch
Giles Lean <[EMAIL PROTECTED]> wrote: > > When you mmap, you don't use write() ! mlock actualy locks page in > > memory and as long as the page is locked the OS doesn't attempt to > > store the dirty page. It is intended also for security app to > > ensure that sensitive data are not written to

Re: [HACKERS] problem with fe/be protocol and large objects

2001-03-13 Thread Eric Marsden
> "tl" == Tom Lane <[EMAIL PROTECTED]> writes: ecm> ERROR: lo_tell: invalid large object descriptor (0) tl> Are you remembering to wrap this sequence in a transaction block tl> (begin/end)? LO descriptors are only valid till end of tl> transaction. that was it, thanks. The code use

Re: [HACKERS] Shutdown term

2001-03-13 Thread Peter Eisentraut
Bruce Momjian writes: > Can somone improve the wording? > > The system is shutting down. > > when the backend receives a SIGTERM. Seems we need some wording that > can apply to db shutdown and individual backend termination by > administrators. The connection was terminated. And

Re: [HACKERS] xlog patches reviewed

2001-03-13 Thread Peter Eisentraut
The Hermit Hacker writes: > if this is the case, can we look at applying that patch tonight, give ppl > till Friday to test and put out a RC1 depending on the results? This should probably be called beta6, given that there is a lot of new code in it. -- Peter Eisentraut [EMAIL PROTECTED]

[HACKERS] Shutdown term

2001-03-13 Thread Bruce Momjian
Can somone improve the wording? The system is shutting down. when the backend receives a SIGTERM. Seems we need some wording that can apply to db shutdown and individual backend termination by administrators. -- Bruce Momjian| http://candle.pha.pa.us [EMAI

[HACKERS] RE: xlog loose ends, continued

2001-03-13 Thread Mikheev, Vadim
> > What I would refuse in the event of log corruption is continuing > > normal database operations. > > Hmm. We could do that if we had some notion of a read-only operating > mode, perhaps. But we don't have one now and I don't want to add it > for 7.1. Can we agree to look at this more for 7

[HACKERS] Re: xlog loose ends, continued

2001-03-13 Thread Tom Lane
"Mikheev, Vadim" <[EMAIL PROTECTED]> writes: >> That'll be true in any case, unless we refuse to start up at all upon >> detecting xlog corruption (which doesn't seem like the way to fly). >> Not sure what we can do about that. > What I would refuse in the event of log corruption is continuing >

RE: [HACKERS] RE: xlog loose ends, continued

2001-03-13 Thread Mikheev, Vadim
> > It will be sufficient if DB will not use all 2^32 XIDs > > without shutdown. > > I liked the xid wraparound idea, won't that be sufficient here too ? > I don't like the idea to reuse a xid sooner than absolutely necessary. We need it to reduce pg_log size requirements. > This would complic

[HACKERS] RE: xlog loose ends, continued

2001-03-13 Thread Mikheev, Vadim
> >> What I was thinking about in that last paragraph was manual > >> analysis and recovery. I don't think it's a good idea for automatic > >> system startup to skip over gaps in the log. > > > But if we'll not try to read after gap then after restart > > system will not notice gap and valid re

[HACKERS] RE: Another little xlog change idea

2001-03-13 Thread Mikheev, Vadim
> As long as I'm about to change the xlog page headers, I have another > little idea. Wouldn't it be a good idea to allow three backup pages > per xlog record, not only two? It seems like three pages would be > a natural requirement for logging operations like index page splits. On index splits

[HACKERS] Re: xlog loose ends, continued

2001-03-13 Thread Tom Lane
"Mikheev, Vadim" <[EMAIL PROTECTED]> writes: >> What I was thinking about in that last paragraph was manual >> analysis and recovery. I don't think it's a good idea for automatic >> system startup to skip over gaps in the log. > But if we'll not try to read after gap then after restart system wi

[HACKERS] RE: xlog loose ends, continued

2001-03-13 Thread Mikheev, Vadim
> >> xlog.c's ReadRecord formerly contained code that would zero > >> out the rest of the log segment (and delete the next log segment, > >> if any) upon detecting a missing or corrupted xlog record. > >> I removed that code because I considered it horribly dangerous > >> where it was. If there i

[HACKERS] Another little xlog change idea

2001-03-13 Thread Tom Lane
As long as I'm about to change the xlog page headers, I have another little idea. Wouldn't it be a good idea to allow three backup pages per xlog record, not only two? It seems like three pages would be a natural requirement for logging operations like index page splits. We could support as man

Re: [HACKERS] WAL & SHM principles

2001-03-13 Thread Ken Hirsch
Giles Lean <[EMAIL PROTECTED]> wrote: > > When you mmap, you don't use write() ! mlock actualy locks page in > > memory and as long as the page is locked the OS doesn't attempt to > > store the dirty page. It is intended also for security app to > > ensure that sensitive data are not written to

Re: [HACKERS] SIGTERM/FATAL error

2001-03-13 Thread Bruce Momjian
Tom is there new wording we can agree on? > Bruce Momjian <[EMAIL PROTECTED]> writes: > > Not sure. My admin tool is more proof of concept at this point. I > > think ultimately we will need to allow administrators to such individual > > backend terminations. > > I hope the tool is set up to e

Re: [HACKERS] Re: PostgreSQL on multi-CPU systems

2001-03-13 Thread Matthew Kirkwood
On Tue, 13 Mar 2001, Thomas Lockhart wrote: > > did anyone from here follow the discussion about postgresql on > > smp machines on the linux kernel malinglist in the last days? > > (just as an info) > > I didn't. Do you have a synopsis or references? The thread starts here: http://www.mail-arc

[HACKERS] Re: xlog loose ends, continued

2001-03-13 Thread Tom Lane
"Mikheev, Vadim" <[EMAIL PROTECTED]> writes: >> That doesn't seem like a good idea --- once we fail to read an XLOG >> record, it's probably best to stop there rather than continue on. >> I think we want to try for a consistent recovery to a past point in >> time (ie, wherever the xlog gap is) not

AW: [HACKERS] RE: xlog loose ends, continued

2001-03-13 Thread Zeugswetter Andreas SB
> > > StartUpID counts database startups and so has timestamp characteristics. > > > Actually, idea is to use SUI in future to allow reusing XIDs after startup: >seeing > > > old SUI in data pages we'll know that all transaction on this page was committed > > > "long ago" (ie visible from MVCC P

Re: [HACKERS] Performance monitor

2001-03-13 Thread Bruce Momjian
> Hard to say. 'ps' gives some great information about cpu/memory usage > that may be hard/costly to put in shared memory. One idea should be to > issue periodic 'ps/kill' commands though a telnet/ssh pipe to the > remote machine, or just to the remote X display option. > > Of course, getrusage

Re: [HACKERS] RE: xlog loose ends, continued

2001-03-13 Thread Vadim Mikheev
> > StartUpID counts database startups and so has timestamp characteristics. > > Actually, idea is to use SUI in future to allow reusing XIDs after startup: seeing > > old SUI in data pages we'll know that all transaction on this page was committed > > "long ago" (ie visible from MVCC POV). This r

Re: [HACKERS] Performance monitor

2001-03-13 Thread Bruce Momjian
> Bruce Momjian <[EMAIL PROTECTED]> writes: > > My idea is that they can telnet into the server machine and do remote-X > > with the application. Just set the DISPLAY variable and it should work. > > Remote X pretty well sucks in the real world. Aside from speed issues > there is the little pro

Re: [HACKERS] RE: xlog loose ends, continued

2001-03-13 Thread Vadim Mikheev
> > Anyway I like idea of StartUpID in page headers - this will help > > Can you please describe StartUpID for me ? > Ideal would be a stamp that has the last (smallest open) XID, or something else > that has more or less timestamp characteristics (without the actual need of >wallclock) > in r

AW: [HACKERS] RE: xlog loose ends, continued

2001-03-13 Thread Zeugswetter Andreas SB
> > > Anyway I like idea of StartUpID in page headers - this will help > > > > Can you please describe StartUpID for me ? > > Ideal would be a stamp that has the last (smallest open) XID, or something else > > that has more or less timestamp characteristics (without the actual need of >wallcl

Re: [HACKERS] Performance monitor

2001-03-13 Thread Bruce Momjian
> Denis Perchine <[EMAIL PROTECTED]> writes: > >>> Small question... Will it work in console? Or it will be X only? > >> > >> It will be tck/tk, so I guess X only. > > > That's bad. > > tcl/tk is cross-platform; there's no reason that a tcl-coded > performance monitor client couldn't run on Win

Re: [HACKERS] Performance monitor

2001-03-13 Thread Tom Lane
Denis Perchine <[EMAIL PROTECTED]> writes: >>> Small question... Will it work in console? Or it will be X only? >> >> It will be tck/tk, so I guess X only. > That's bad. tcl/tk is cross-platform; there's no reason that a tcl-coded performance monitor client couldn't run on Windows or Mac. The

Re: [HACKERS] Performance monitor

2001-03-13 Thread Tom Lane
Bruce Momjian <[EMAIL PROTECTED]> writes: > My idea is that they can telnet into the server machine and do remote-X > with the application. Just set the DISPLAY variable and it should work. Remote X pretty well sucks in the real world. Aside from speed issues there is the little problem of fire

Re: [HACKERS] Performance monitor

2001-03-13 Thread Bruce Momjian
[ Charset KOI8-R unsupported, converting... ] > > > Small question... Will it work in console? Or it will be X only? > > > > It will be tck/tk, so I guess X only. > > That's bad. Cause it will be unuseful for people having databases far away... > Like me... :-((( Another point is that it is a lit

Re: [HACKERS] problem with fe/be protocol and large objects

2001-03-13 Thread Tom Lane
Eric Marsden <[EMAIL PROTECTED]> writes: > lo_open returns 0 as a file descriptor. However, following up with one > of the other lo functions which take descriptor arguments (such as > lo_write or lo_tell) fails with >ERROR: lo_tell: invalid large object descriptor (0) Are you remembering t

Re: [HACKERS] Do we still need PowerPC-specific timestamp_is_current/epoch?

2001-03-13 Thread Bruce Momjian
> Tatsuo Ishii <[EMAIL PROTECTED]> writes: > > After further research, I remembered that we used to have "DB_MIN > > check" in configure back to 6.4.2: > > I don't know wht it was removed, > > Hmm. Digging in the CVS logs shows that it was removed by Bruce in > configure.in version 1.262, 1999/0

Re: [HACKERS] Performance monitor

2001-03-13 Thread Bruce Momjian
> I don't want to look a gift horse in the mouth, but it seems to me that the > performance monitor should wait until the now-famous query tree redesign > which will allow for sets from functions. I realize that the shared memory > requirements might be a bit large, but somehow Oracle accomplis

[HACKERS] Re: Performance monitor

2001-03-13 Thread Gunnar R|nning
Bruce Momjian <[EMAIL PROTECTED]> writes: > > My idea is that they can telnet into the server machine and do remote-X > with the application. Just set the DISPLAY variable and it should work. > Well, actually you would want to tunnel your X session through ssh if security of the database serv

Re: [HACKERS] Performance monitor signal handler

2001-03-13 Thread Bruce Momjian
> At 13:34 12/03/01 -0800, Alfred Perlstein wrote: > >Is it possible > >to have a spinlock over it so that an external utility can take a snapshot > >of it with the spinlock held? > > I'd suggest that locking the stats area might be a bad idea; there is only > one writer for each backend-specific

[HACKERS] Re: PostgreSQL on multi-CPU systems

2001-03-13 Thread Thomas Lockhart
> did anyone from here follow the discussion about postgresql on > smp machines on the linux kernel malinglist in the last days? > (just as an info) I didn't. Do you have a synopsis or references? - Thomas ---(end of broadcast)--

Re: [HACKERS] problem with fe/be protocol and large objects

2001-03-13 Thread Denis Perchine
On Monday 12 March 2001 03:24, Eric Marsden wrote: > I am trying to debug my socket-level interface to the backend, which > implements the 6.4 protocol. It works for general queries, but I have > a problem with large objects. > > lo_create and lo_unlink seem to work OK; I get an oid which looks ok

Re: [HACKERS] Re: Performance monitor'

2001-03-13 Thread Bruce Momjian
> Denis Perchine <[EMAIL PROTECTED]> writes: > > > > > Small question... Will it work in console? Or it will be X only? > > > > > > It will be tck/tk, so I guess X only. > > > > That's bad. Cause it will be unuseful for people having databases far away... > > Like me... :-((( Another point is th

Re: [HACKERS] Performance monitor signal handler

2001-03-13 Thread Alfred Perlstein
* Philip Warner <[EMAIL PROTECTED]> [010313 06:42] wrote: > > > >This ought to always give a consistant snapshot of the file to > >whomever opens it. > > > > I think Tom has previously stated that there are technical reasons not to > do IO in signal handlers, and I have philosophical problems wit

Re: [HACKERS] Performance monitor signal handler

2001-03-13 Thread Philip Warner
> >This ought to always give a consistant snapshot of the file to >whomever opens it. > I think Tom has previously stated that there are technical reasons not to do IO in signal handlers, and I have philosophical problems with performance monitors that ask 50 backends to do file IO. I really do t

Re: [HACKERS] Performance monitor

2001-03-13 Thread Bruce Momjian
> > It will be tck/tk, so I guess X only. > > Good point. A typical DB server -- where is performance important -- > has install Xwin? > > BTW, I hate Oracle 8.x.x because has X+java based installer, but some > my servers hasn't monitor and keyboard let alone to Xwin. > > What implement per

Re: [HACKERS] Performance monitor signal handler

2001-03-13 Thread Bruce Momjian
> > > >This ought to always give a consistant snapshot of the file to > >whomever opens it. > > > > I think Tom has previously stated that there are technical reasons not to > do IO in signal handlers, and I have philosophical problems with > performance monitors that ask 50 backends to do file I

Re: [HACKERS] PostgreSQL on multi-CPU systems

2001-03-13 Thread Thomas Graichen
Tom Lane <[EMAIL PROTECTED]> wrote: > Tatsuo Ishii <[EMAIL PROTECTED]> writes: >> I have tested PostgreSQL with 2-4 CPU linux boxes. In summary, 2 CPU >> was a big win, but 4 was not. I'm not sure where the bottle neck is >> though. > Our not-very-good implementation of spin locking (using select

Re: [HACKERS] Performance monitor signal handler

2001-03-13 Thread Bruce Momjian
> > I think Tom has previously stated that there are technical reasons not to > > do IO in signal handlers, and I have philosophical problems with > > performance monitors that ask 50 backends to do file IO. I really do think > > shared memory is TWTG. > > I wasn't really suggesting any of those

Re: [HACKERS] Performance monitor signal handler

2001-03-13 Thread Alfred Perlstein
* Philip Warner <[EMAIL PROTECTED]> [010312 18:56] wrote: > At 13:34 12/03/01 -0800, Alfred Perlstein wrote: > >Is it possible > >to have a spinlock over it so that an external utility can take a snapshot > >of it with the spinlock held? > > I'd suggest that locking the stats area might be a bad

[HACKERS] problem with fe/be protocol and large objects

2001-03-13 Thread Eric Marsden
I am trying to debug my socket-level interface to the backend, which implements the 6.4 protocol. It works for general queries, but I have a problem with large objects. lo_create and lo_unlink seem to work OK; I get an oid which looks ok and there is a corresponding xinv??? file in the base/ dire

Re: [HACKERS] Internationalized error messages

2001-03-13 Thread Patrick Welche
On Fri, Mar 09, 2001 at 03:48:33PM -0500, Tom Lane wrote: > Peter Eisentraut <[EMAIL PROTECTED]> writes: > > Well, SQL defines these. Do we want to make our own list? However, > > numeric codes also have the advantage that some hierarchy is possible. > > E.g., the "22" in "2200G" is actually the

Re: [HACKERS] SIGTERM/FATAL error

2001-03-13 Thread Tom Lane
Bruce Momjian <[EMAIL PROTECTED]> writes: > Not sure. My admin tool is more proof of concept at this point. I > think ultimately we will need to allow administrators to such individual > backend terminations. I hope the tool is set up to encourage them to try something safer (ie, CANCEL QUERY)

Re: [HACKERS] SIGTERM/FATAL error

2001-03-13 Thread Bruce Momjian
> Bruce Momjian <[EMAIL PROTECTED]> writes: > > Not sure. My admin tool is more proof of concept at this point. I > > think ultimately we will need to allow administrators to such individual > > backend terminations. > > I hope the tool is set up to encourage them to try something safer > (ie,

[HACKERS] Re: Small bug in pg_dump

2001-03-13 Thread Philip Warner
At 18:41 12/03/01 -0500, Tom Lane wrote: > >UPDATE pg_class SET reltriggers = > (SELECT count(*) FROM pg_trigger where pg_class.oid = tgrelid) >WHERE relname = 'Table'; > Fixed & done... Philip Warner|

Re: [HACKERS] createdb and template0?

2001-03-13 Thread Philip Warner
At 00:32 14/03/01 +1100, Philip Warner wrote: > >Are there plans to make 'createdb' support template0 before 7.1? If so, >I'll amend backup.sgml... > Just looked into CVS, and support seems to be there... Philip Warner

[HACKERS] createdb and template0?

2001-03-13 Thread Philip Warner
Are there plans to make 'createdb' support template0 before 7.1? If so, I'll amend backup.sgml... Philip Warner| __---_ Albatross Consulting Pty. Ltd. |/ - \ (A.B.N. 75 008 659 498)

[HACKERS] pgtop version 0.1

2001-03-13 Thread Bruce Momjian
I have completed version 0.1 of pgtop, a PostgreSQL session monitor. Screenshot attached. I show the currently running query by using gdb to attach to a running backend. The backend must have debug symbols and the 'postgres' binary must be in the current patch. I check for both of these in the

Re: [HACKERS] WAL & SHM principles

2001-03-13 Thread Giles Lean
> When you mmap, you don't use write() ! mlock actualy locks page in > memory and as long as the page is locked the OS doesn't attempt to > store the dirty page. It is intended also for security app to > ensure that sensitive data are not written to unsecure storage > (hdd). It is definition of

Re: [HACKERS] Internationalized error messages

2001-03-13 Thread Giles Lean
Tom Lane wrote: > I am not sure we can/should use gettext (possible license problems?), > but certainly something like this could be cooked up. http://citrus.bsdclub.org/index-en.html I'm not sure of the current status of the code. Regards, Giles ---(end of broadcas

Re: [HACKERS] Logical operators don't work

2001-03-13 Thread Marko Kreen
On Tue, Mar 13, 2001 at 07:18:36AM -0500, D'Arcy J.M. Cain wrote: > The logical operators '&', '|', '<<' and '>>' as documented on the page > http://www.postgresql.org/devel-corner/docs/postgres/functions.html don't > appear to work as advertised. > > darcy=# SELECT 91 & 15; > ERROR: Unable to i

[HACKERS] Re: Performance monitor

2001-03-13 Thread Gunnar R|nning
Denis Perchine <[EMAIL PROTECTED]> writes: > > > Small question... Will it work in console? Or it will be X only? > > > > It will be tck/tk, so I guess X only. > > That's bad. Cause it will be unuseful for people having databases far away... > Like me... :-((( Another point is that it is a littl

[HACKERS] Logical operators don't work

2001-03-13 Thread D'Arcy J.M. Cain
The logical operators '&', '|', '<<' and '>>' as documented on the page http://www.postgresql.org/devel-corner/docs/postgres/functions.html don't appear to work as advertised. darcy=# SELECT 91 & 15; ERROR: Unable to identify an operator '&' for types 'int4' and 'int4' You will have to r

RE: [HACKERS] Performance monitor

2001-03-13 Thread Mike Mascari
I don't want to look a gift horse in the mouth, but it seems to me that the performance monitor should wait until the now-famous query tree redesign which will allow for sets from functions. I realize that the shared memory requirements might be a bit large, but somehow Oracle accomplishes this

Re: [HACKERS] RE: xlog checkpoint depends on sync() ... seems unsafe

2001-03-13 Thread Matthew Kirkwood
On Tue, 13 Mar 2001, Tom Lane wrote: > > I was told the same a long ago about FreeBSD. How much can we count on > > this undocumented sync() feature? > > Sounds quite unreliable to me. Unless there's some interlock ... > like, say, the second sync not being able to advance past a buffer > page

AW: [HACKERS] RE: xlog loose ends, continued

2001-03-13 Thread Zeugswetter Andreas SB
> Anyway I like idea of StartUpID in page headers - this will help Can you please describe StartUpID for me ? Ideal would be a stamp that has the last (smallest open) XID, or something else that has more or less timestamp characteristics (without the actual need of wallclock) in regard to the

Re: [HACKERS] Performance monitor

2001-03-13 Thread Denis Perchine
> > Small question... Will it work in console? Or it will be X only? > > It will be tck/tk, so I guess X only. That's bad. Cause it will be unuseful for people having databases far away... Like me... :-((( Another point is that it is a little bit strange to have X-Window on machine with database

Re: [HACKERS] Do we still need PowerPC-specifictimestamp_is_current/epoch?

2001-03-13 Thread Tatsuo Ishii
> Tatsuo Ishii <[EMAIL PROTECTED]> writes: > > After further research, I remembered that we used to have "DB_MIN > > check" in configure back to 6.4.2: > > I don't know wht it was removed, > > Hmm. Digging in the CVS logs shows that it was removed by Bruce in > configure.in version 1.262, 1999/0

Re: [HACKERS] TOAST

2001-03-13 Thread Frank Joerdens
On Fri, Mar 09, 2001 at 01:54:40PM +1100, Pam Withnall wrote: > hi, > I an using postgresql-7.1beta4 and am trying to use the large text fields. > I have heard of TOAST. There is little documentation. > I found one section about creating a data type, > then creating two functions to convert th