Re: [HACKERS] pgindent run?

2001-03-21 Thread Alfred Perlstein
* Bruce Momjian <[EMAIL PROTECTED]> [010321 21:14] wrote: > > The Hermit Hacker <[EMAIL PROTECTED]> writes: > > > and most times, those have to be merged into the source tree due to > > > extensive changes anyway ... maybe we should just get rid of the use of > > > pgindent altogether? > > > > I

Re: [HACKERS] RPM building (was regression on RedHat)

2001-03-21 Thread Thomas Lockhart
> You're reading this wrong. What this means is: > "If you're working on GCC, do not ever think of enabling -ffast-math > implicitly by any -Ox level [since most other -fxxx options are grouped > under some -Ox], since programs that might want optimization could still > depend on correct IEEE mat

[HACKERS] Re: Strange results of CURRENT_TIMESTAMP

2001-03-21 Thread Thomas Lockhart
> - fields defined as TIMESTAMP DEFAULT CURRENT_TIMESTAMP sometimes generate > invalid format of the date, for instance: > 2001-02-10 13:11:60.00+01 You are running the Mandrake RPMs? Or have otherwise compiled using the -ffast-math compiler flag? - Thomas ---

Re: [HACKERS] More on elog and error codes

2001-03-21 Thread Philip Warner
At 00:35 22/03/01 -0500, Tom Lane wrote: >Philip Warner <[EMAIL PROTECTED]> writes: >> This is a problem, I agree - but a procedural one. We need to make >> registering messages easy. To do this, rather than having a central message >> file, perhaps do the following: > >> - allow multiple message

[HACKERS] run of pgindent

2001-03-21 Thread Bruce Momjian
I know pgindent has risks. Unfortunately, if we don't run pgindent, or run it at a different time, we have other problems. Either the code is not consistent for new developers, or patches supplied against the most recent release do not patch cleanly. Both seem worse to me than taking the risk o

[HACKERS] pgindent completed

2001-03-21 Thread Bruce Momjian
I have finished pgindent. We also had many old comments of the format: /* -- * comment * -- */ These are now the more concise: /* * comment */ Also, comments with dashes are not wrapped nicely by pgindent. Some comments nee

Re: [HACKERS] Migration - Linux/pgSQL/PHP (type,version)

2001-03-21 Thread Roberto Mello
On Thu, Mar 22, 2001 at 11:33:16AM +1030, Steven Vajdic wrote: > > 1. I've been running RedHat6.2 and its pgSQL 6.5xx, PHP3.0 counterparts You should definitely upgrade to PG 7.1. > 2. I am thinking about Debian (my preferred option - good/easy for > "automatic" WEB upgrades) or > Mandr

Re: [HACKERS] Call for platforms (linux 2.4.x ?)

2001-03-21 Thread Roberto Mello
On Thu, Mar 22, 2001 at 12:31:03PM +1200, Franck Martin wrote: > I see nobody did a test of 7.1 on Linux 2.4.x ? > > Would be nice to certify it is running on kernel 2.4.x as they claim this > is entreprise strength kernel... I've been running the 7.1 betas on 2.4 for weeks without any p

Re: [HACKERS] More on elog and error codes

2001-03-21 Thread Tom Lane
Philip Warner <[EMAIL PROTECTED]> writes: > This is a problem, I agree - but a procedural one. We need to make > registering messages easy. To do this, rather than having a central message > file, perhaps do the following: > - allow multiple message files (which can be processed to produce .h > f

Re: [HACKERS] More on elog and error codes

2001-03-21 Thread Philip Warner
At 23:24 21/03/01 -0500, Tom Lane wrote: >I've pretty much got to agree with Peter on both of these points. Damn. >Philip Warner <[EMAIL PROTECTED]> writes: >> At 22:03 21/03/01 +0100, Peter Eisentraut wrote: > elogc(ERROR, PGERR_FUNCNOTYPE, ...) >>> >>> This is going to be a disaster for

Re: [HACKERS] pgindent run?

2001-03-21 Thread Bruce Momjian
> > The problem is that the small ones don't apply cleanly if they don't > > match the indenting in the source. > > but ... if they are small, manually merging isn't that big of a deal ... > and if anyone else has been working in that code since release, there is a > chance it won't mergef cleanl

Re: [HACKERS] pgindent run?

2001-03-21 Thread The Hermit Hacker
On Thu, 22 Mar 2001, Bruce Momjian wrote: > > > > and most times, those have to be merged into the source tree due to > > > > extensive changes anyway ... maybe we should just get rid of the use of > > > > pgindent altogether? its not something that I've ever seen required on > > > > other proje

Re: [HACKERS] pgindent run?

2001-03-21 Thread Bruce Momjian
> The Hermit Hacker <[EMAIL PROTECTED]> writes: > > and most times, those have to be merged into the source tree due to > > extensive changes anyway ... maybe we should just get rid of the use of > > pgindent altogether? > > I think pgindent is a good thing; the style of different parts of the >

Re: [HACKERS] pgindent run?

2001-03-21 Thread Bruce Momjian
> > > and most times, those have to be merged into the source tree due to > > > extensive changes anyway ... maybe we should just get rid of the use of > > > pgindent altogether? its not something that I've ever seen required on > > > other projects I've worked on ... in general, most projects se

Re: [HACKERS] pgindent run?

2001-03-21 Thread Tom Lane
The Hermit Hacker <[EMAIL PROTECTED]> writes: > and most times, those have to be merged into the source tree due to > extensive changes anyway ... maybe we should just get rid of the use of > pgindent altogether? I think pgindent is a good thing; the style of different parts of the code would var

Re: [HACKERS] pgindent run?

2001-03-21 Thread The Hermit Hacker
On Wed, 21 Mar 2001, Bruce Momjian wrote: > > and most times, those have to be merged into the source tree due to > > extensive changes anyway ... maybe we should just get rid of the use of > > pgindent altogether? its not something that I've ever seen required on > > other projects I've worked

Re: [HACKERS] odbc/UnixWare 7.1.1: No Go.

2001-03-21 Thread Bruce Momjian
Works fine here. > Since I am playing with StarOffice, I figured I'd try --with-odbc, > current sources, except for the big Bruce commit I just saw :-) > > > UX:tsort: INFO: psqlodbc.o > UX:tsort: INFO: dlg_specific.o > UX:tsort: INFO: convert.o > UX:tsort: WARNING: Cycle in

Re: [HACKERS] Re: RELEASE STOPPER? nonportable int64 constants in pg_crc.c

2001-03-21 Thread Tom Lane
Bruce Momjian <[EMAIL PROTECTED]> writes: >> Bruce Momjian <[EMAIL PROTECTED]> writes: > Can we use (long long) rather than LL? >> >> No. > Can I ask how 0LL is different from (long long)0? The former is a long-long-int constant ab initio. The latter is an int constant that is subsequently cas

Re: [HACKERS] RPM building (was regression on RedHat)

2001-03-21 Thread Tom Lane
Justin Clift <[EMAIL PROTECTED]> writes: >> So, I'm still looking for the best way to add a compile flag while >> making it clear that it is for one distro only. Since this is only an RPM problem, it should be solved in the RPM spec file, not by hacking the configure script. We had at least one

Re: [HACKERS] pgindent run?

2001-03-21 Thread Bruce Momjian
> and most times, those have to be merged into the source tree due to > extensive changes anyway ... maybe we should just get rid of the use of > pgindent altogether? its not something that I've ever seen required on > other projects I've worked on ... in general, most projects seem to > require

Re: [HACKERS] pgindent run?

2001-03-21 Thread The Hermit Hacker
On Wed, 21 Mar 2001, Bruce Momjian wrote: > > > If people can get their patches in all at one time, that would work. > > > The only problem there is that people who supply patches against 7.1 > > > will not match the 7.2 tree, and we get those patches from people for > > > months. > > > > and tho

Re: [HACKERS] pgindent run?

2001-03-21 Thread The Hermit Hacker
On Wed, 21 Mar 2001, Bruce Momjian wrote: > > Bruce Momjian <[EMAIL PROTECTED]> writes: > > > Hey, I am open to whatever people want to do. Just remember that we > > > accumulate lots of patches/development during the slow time before > > > development, and those patches become harder to apply.

Re: [HACKERS] pgindent run?

2001-03-21 Thread Bruce Momjian
> > If people can get their patches in all at one time, that would work. > > The only problem there is that people who supply patches against 7.1 > > will not match the 7.2 tree, and we get those patches from people for > > months. > > and those patches should only be applied to the v7.1 branch .

Re: [HACKERS] More on elog and error codes

2001-03-21 Thread Philip Warner
At 22:03 21/03/01 +0100, Peter Eisentraut wrote: > >This is going to be a disaster for the coder. Every time you look at an >elog you don't know what it does? Is the first arg a %s or a %d? What's >the first %s, what the second? FWIW, I did a quick scan for elog in PG and found: - 6856 calls (

Re: [HACKERS] Re: RELEASE STOPPER? nonportable int64 constants in pg_crc.c

2001-03-21 Thread Bruce Momjian
> Bruce Momjian <[EMAIL PROTECTED]> writes: > > Can we use (long long) rather than LL? > > No. Can I ask how 0LL is different from (long long)0? -- Bruce Momjian| http://candle.pha.pa.us [EMAIL PROTECTED] | (610) 853-3000 + If your life is a hard

Re: [HACKERS] pgindent run?

2001-03-21 Thread Bruce Momjian
> Bruce Momjian <[EMAIL PROTECTED]> writes: > > Hey, I am open to whatever people want to do. Just remember that we > > accumulate lots of patches/development during the slow time before > > development, and those patches become harder to apply. Peter E has some > > already. > > Why not start a

Re: [HACKERS] Re: RELEASE STOPPER? nonportable int64 constants in pg_crc.c

2001-03-21 Thread Tom Lane
Bruce Momjian <[EMAIL PROTECTED]> writes: > Can we use (long long) rather than LL? No. regards, tom lane ---(end of broadcast)--- TIP 3: if posting/reading through Usenet, please send an appropriate subscribe-nomail command

Re: [HACKERS] pgindent run?

2001-03-21 Thread Tom Lane
Bruce Momjian <[EMAIL PROTECTED]> writes: > Hey, I am open to whatever people want to do. Just remember that we > accumulate lots of patches/development during the slow time before > development, and those patches become harder to apply. Peter E has some > already. Why not start a devel cycle b

Re: [HACKERS] More on elog and error codes

2001-03-21 Thread Tom Lane
I've pretty much got to agree with Peter on both of these points. Philip Warner <[EMAIL PROTECTED]> writes: > At 22:03 21/03/01 +0100, Peter Eisentraut wrote: elogc(ERROR, PGERR_FUNCNOTYPE, ...) >> >> This is going to be a disaster for the coder. Every time you look at an >> elog you don't

Re: [HACKERS] pgindent run?

2001-03-21 Thread The Hermit Hacker
On Wed, 21 Mar 2001, Bruce Momjian wrote: > > Bruce Momjian <[EMAIL PROTECTED]> writes: > > >> With RC1 nearing, when should I run pgindent? This is usually the time > > >> I do it. > > > > > Does the silence mean I should pick a date to run this? > > > > If you're going to do it before the rele

Re: [HACKERS] pgindent run?

2001-03-21 Thread Larry Rosenman
* Bruce Momjian <[EMAIL PROTECTED]> [010321 22:11]: > > >> Are there any severely mis-indented files? > > > > There are some new contrib modules that are nowhere close to our > > indent conventions; also a good deal of foreign-key-related stuff > > in the parser that needs to be cleaned up. So w

Re: [HACKERS] pgindent run?

2001-03-21 Thread Bruce Momjian
> >> Are there any severely mis-indented files? > > There are some new contrib modules that are nowhere close to our > indent conventions; also a good deal of foreign-key-related stuff > in the parser that needs to be cleaned up. So we should run it. > > I've always felt that it'd be smarter to

Re: [HACKERS] pgindent run?

2001-03-21 Thread Tom Lane
>> Are there any severely mis-indented files? There are some new contrib modules that are nowhere close to our indent conventions; also a good deal of foreign-key-related stuff in the parser that needs to be cleaned up. So we should run it. I've always felt that it'd be smarter to run pgindent

[HACKERS] odbc/UnixWare 7.1.1: No Go.

2001-03-21 Thread Larry Rosenman
Since I am playing with StarOffice, I figured I'd try --with-odbc, current sources, except for the big Bruce commit I just saw :-) UX:tsort: INFO: psqlodbc.o UX:tsort: INFO: dlg_specific.o UX:tsort: INFO: convert.o UX:tsort: WARNING: Cycle in data UX:tsort: INFO:

Re: [HACKERS] pgindent run?

2001-03-21 Thread Bruce Momjian
> Bruce Momjian <[EMAIL PROTECTED]> writes: > >> With RC1 nearing, when should I run pgindent? This is usually the time > >> I do it. > > > Does the silence mean I should pick a date to run this? > > If you're going to do it before the release, I think you should do it > *before* we wrap RC1.

Re: [HACKERS] pgindent run?

2001-03-21 Thread Tom Lane
Bruce Momjian <[EMAIL PROTECTED]> writes: >> With RC1 nearing, when should I run pgindent? This is usually the time >> I do it. > Does the silence mean I should pick a date to run this? If you're going to do it before the release, I think you should do it *before* we wrap RC1. I've said before

Re: [HACKERS] BufferSync() & FlushRelationBuffers() conflict

2001-03-21 Thread Vadim Mikheev
> > Tom, since you appear to be able to recreate the bug, can you comment on > > this, as to whether we are okay now? > > Sorry for the delay --- I was down in Norfolk all day, and am just now > catching up on email. I will pull Vadim's update and run the test some > more. However, last night I

Re: [HACKERS] BufferSync() & FlushRelationBuffers() conflict

2001-03-21 Thread The Hermit Hacker
okay, baring you bein able to recreate the bug between now and, say, 13:00AST tomorrow, I'll wrap up RC1 and get her out the door ... On Wed, 21 Mar 2001, Tom Lane wrote: > The Hermit Hacker <[EMAIL PROTECTED]> writes: > > Tom, since you appear to be able to recreate the bug, can you comment on

Re: [HACKERS] Re: RELEASE STOPPER? nonportable int64 constants in pg_crc.c

2001-03-21 Thread Bruce Momjian
Can we use (long long) rather than LL? > > Zeugswetter Andreas SB <[EMAIL PROTECTED]> writes: > > > Recent changes in pg_crc.c (64 bit CRC) introduced non portable constants of the >form: > > > > > -c -o pg_crc.o pg_crc.c > > > 287 | 0x, 0x42F0E1EBA9EA3693, > >

Re: [HACKERS] Re: RELEASE STOPPER? nonportable int64 constants in pg_crc.c

2001-03-21 Thread Bruce Momjian
> Zeugswetter Andreas SB <[EMAIL PROTECTED]> writes: > > Recent changes in pg_crc.c (64 bit CRC) introduced non portable constants of the >form: > > > -c -o pg_crc.o pg_crc.c > > 287 | 0x, 0x42F0E1EBA9EA3693, > > a..

Re: [HACKERS] BufferSync() & FlushRelationBuffers() conflict

2001-03-21 Thread Tom Lane
The Hermit Hacker <[EMAIL PROTECTED]> writes: > Tom, since you appear to be able to recreate the bug, can you comment on > this, as to whether we are okay now? Sorry for the delay --- I was down in Norfolk all day, and am just now catching up on email. I will pull Vadim's update and run the test

Re: [HACKERS] Re: int8 bug on Alpha

2001-03-21 Thread Tom Lane
Thomas Lockhart <[EMAIL PROTECTED]> writes: > For integers (optional sign and all digits), the code in > src/backend/parser/scan.l uses strtol() to read the string, then checks > for failure. If it fails, the number is interpreted as a double float on > the assumption that if it could hold more di

Re: [HACKERS] Call for platforms

2001-03-21 Thread Tom Lane
Tatsuo Ishii <[EMAIL PROTECTED]> writes: >> Tatsuo Ishii <[EMAIL PROTECTED]> writes: > ! FATAL 2: ZeroFill(logfile 0 seg 1) failed: No such file or directory > ! pqReadData() -- backend closed the channel unexpectedly. >> >> Is it possible you ran out of disk space? > Probably not. The reason

Re: [HACKERS] Call for platforms

2001-03-21 Thread Larry Rosenman
* Tom Lane <[EMAIL PROTECTED]> [010321 21:29]: > Tatsuo Ishii <[EMAIL PROTECTED]> writes: > >> Tatsuo Ishii <[EMAIL PROTECTED]> writes: > > ! FATAL 2: ZeroFill(logfile 0 seg 1) failed: No such file or directory > > ! pqReadData() -- backend closed the channel unexpectedly. > >> > >> Is it possib

Re: [HACKERS] elog with automatic file, line, and function

2001-03-21 Thread Tom Lane
Peter Eisentraut <[EMAIL PROTECTED]> writes: > Tom Lane writes: >> #define ELOG(ARGS) (elog_setloc(__FILE__, __LINE__), elog ARGS) > Would the first function save the data in global variables? Yes, that's what I was envisioning. Not a super clean solution, but workable, and better than requiri

Re: [HACKERS] RELEASE STOPPER? nonportable int64 constants in pg_crc.c

2001-03-21 Thread Tom Lane
Peter Eisentraut <[EMAIL PROTECTED]> writes: > I don't think it's the answer either. The patch assumes that int64 == > long long. The ugly solution might have to be: > #if > #define L64 L > #else > #define L64 LL > #endif > const uint64 crc_table[256] = { > 0x##L64, 0x42F0

Re: [HACKERS] Re: RELEASE STOPPER? nonportable int64 constants inpg_crc.c

2001-03-21 Thread The Hermit Hacker
okay, this was the only one I was waiting to hear on ... the fix committed this afternoon for the regression test, did/does it fix the problem? are we safe on a proper RC1 now? On Wed, 21 Mar 2001, Tom Lane wrote: > Zeugswetter Andreas SB <[EMAIL PROTECTED]> writes: > > Recent changes in pg_c

[HACKERS] Re: RELEASE STOPPER? nonportable int64 constants in pg_crc.c

2001-03-21 Thread Tom Lane
Zeugswetter Andreas SB <[EMAIL PROTECTED]> writes: > Recent changes in pg_crc.c (64 bit CRC) introduced non portable constants of the >form: > -c -o pg_crc.o pg_crc.c > 287 | 0x, 0x42F0E1EBA9EA3693, > a.. > a

Re: [HACKERS] More on elog and error codes

2001-03-21 Thread Philip Warner
At 22:03 21/03/01 +0100, Peter Eisentraut wrote: >Philip Warner writes: > >> If the motivation behind this is to alloy easy translation to SQL error >> codes, then I suggest we have an error definition file with explicit >> translation: >> >> Code SQL Text >> PGERR_TYPALREXI 02xxx "

Re: [HACKERS] pgindent run?

2001-03-21 Thread Bruce Momjian
> On Wed, 21 Mar 2001, Bruce Momjian wrote: > > > > > OK, I am going to have dinner and then get started on the pgindent run. > > > > I have also noticed we have some comments like: > > > > /* > > * one word > > * > > */ > > > > that look funny in a few pl

[HACKERS] Migration - Linux/pgSQL/PHP (type,version)

2001-03-21 Thread Steven Vajdic
Dear experts, Some advice would be greatly appreciated: 1. I've been running RedHat6.2 and its pgSQL 6.5xx, PHP3.0 counterparts for 10 months, not having time to upgrade and being afraid to upgrade due to "regular problems" that go along. 2. I am thinking about Debian (my preferred option - goo

Re: [HACKERS] Call for platforms (linux 2.4.x ?)

2001-03-21 Thread Trond Eivind Glomsrød
Franck Martin <[EMAIL PROTECTED]> writes: > Would be nice to certify it is running on kernel 2.4.x as they claim this > is entreprise strength kernel... Lamar, if you send me your SRPM I can do that... -- Trond Eivind Glomsrød Red Hat, Inc. ---(end of broadcast)---

Re: [HACKERS] RPM building (was regression on RedHat)

2001-03-21 Thread Trond Eivind Glomsrød
Justin Clift <[EMAIL PROTECTED]> writes: > It's not "Mandrake" that will be broken. Mandrake is also often used by > new Linux users who wouldn't have the slightest idea about setting GCC > options. It'll be THEM that have broken installations if we take this > approach (as an aside, that means

Re: [HACKERS] Call for platforms (linux 2.4.x ?)

2001-03-21 Thread Franck Martin
I see nobody did a test of 7.1 on Linux 2.4.x ? Would be nice to certify it is running on kernel 2.4.x as they claim this is entreprise strength kernel... Cheers. Thomas Lockhart wrote: > > > AIX 4.3.2 RS6000 7.0 2000-04-05, Andreas Zeugswetter > Compaq Tru64 5.0 Alpha 7.0 2000-04-11, Andrew

Re: [HACKERS] RPM building (was regression on RedHat)

2001-03-21 Thread Justin Clift
Is the right approach for the ./configure script to check for the existence of the /etc/mandrake-release file as at least an initial indicator that the compile is happening on Mandrake? Regards and best wishes, Justin Clift Thomas Lockhart wrote: > > > If Mandrake wants to be broken, let them

Re: [HACKERS] RPM building (was regression on RedHat)

2001-03-21 Thread Justin Clift
NO! It's not "Mandrake" that will be broken. Mandrake is also often used by new Linux users who wouldn't have the slightest idea about setting GCC options. It'll be THEM that have broken installations if we take this approach (as an aside, that means that WE will be probably also be answering m

Re: [HACKERS] pgindent run?

2001-03-21 Thread The Hermit Hacker
On Wed, 21 Mar 2001, Bruce Momjian wrote: > > OK, I am going to have dinner and then get started on the pgindent run. > > I have also noticed we have some comments like: > > /* > * one word > * > */ > > that look funny in a few places. I propose: > >

Re: [HACKERS] pgindent run?

2001-03-21 Thread Bruce Momjian
OK, I am going to have dinner and then get started on the pgindent run. I have also noticed we have some comments like: /* * one word * */ that look funny in a few places. I propose: /* one word */ to be consistent. > With RC1 nearing,

Re: [HACKERS] Re: Final Call: RC1 about to go out the door ...

2001-03-21 Thread bpalmer
$ uname -a OpenBSD mizer 2.8 a#0 i386 P3, default 2.8 install. Problems w/ TCL, but I think it's a local problem. System needs kernel changes as noted at www.crimelabs.net. (shared mem stuff). OBSD-sparc comming soon. - b b. palmer, [EMAIL PROTECTED] pgp: www.crimelabs.net/bpalmer.pgp5

[JDBC] New Unapplied Patches web page

2001-03-21 Thread Bruce Momjian
I have created a new web page that contains all unapplied patches that are either waiting for approval or waiting for new development to begin. People can use this page to know that their patches have not been lost, and I may ask people to review this page for patch approval. The page is:

Re: [HACKERS] Re: Final Call: RC1 about to go out the door ...

2001-03-21 Thread Jim Buttafuoco
HPUX 9.07 with GCC 2.8.1 fails the regression tests. I will look into this later. I would NOT hold anything up because of this Jim > Time to speak up, I have a HPUX 9.07 system and will test today. > > Jim > > > Thomas Lockhart <[EMAIL PROTECTED]> writes: > > >> HPUX 10.20 (HP-PA

Re: [HACKERS] More on elog and error codes

2001-03-21 Thread Peter Eisentraut
Philip Warner writes: > If the motivation behind this is to alloy easy translation to SQL error > codes, then I suggest we have an error definition file with explicit > translation: > > Code SQL Text > PGERR_TYPALREXI 02xxx "type %s cannot be created because it already exists" > PG

Re: [HACKERS] pgindent run?

2001-03-21 Thread Bruce Momjian
> Bruce Momjian writes: > > > Peter, this is the optimial time to do it because no one has any > > outstanding patches at this point. Seems this is the only good time. > > Actually, I have quite a few outstanding patches. I got screwed by this > last time around as well. But I understand that

Re: [HACKERS] elog with automatic file, line, and function

2001-03-21 Thread Peter Eisentraut
Tom Lane writes: > Sure it is, it just requires a marginal increase in ugliness, namely > double parentheses: > > ELOG((level, format, arg1, arg2, ...)) > > which might work like > > #define ELOG(ARGS) (elog_setloc(__FILE__, __LINE__), elog ARGS) Would the first function save the data in

Re: [HACKERS] pgindent run?

2001-03-21 Thread Peter Eisentraut
Bruce Momjian writes: > Peter, this is the optimial time to do it because no one has any > outstanding patches at this point. Seems this is the only good time. Actually, I have quite a few outstanding patches. I got screwed by this last time around as well. But I understand that this might be

Re: [HACKERS] RELEASE STOPPER? nonportable int64 constants in pg_crc.c

2001-03-21 Thread Peter Eisentraut
Zeugswetter Andreas SB writes: > > Recent changes in pg_crc.c (64 bit CRC) introduced non portable constants of the >form: > > -c -o pg_crc.o pg_crc.c > 287 | 0x, 0x42F0E1EBA9EA3693, > a.. > a - 1506-207 (W) I

Re: [HACKERS] pgindent run?

2001-03-21 Thread Bruce Momjian
> On Wed, 21 Mar 2001, Bruce Momjian wrote: > > > > With RC1 nearing, when should I run pgindent? This is usually the time > > > I do it. > > > > Does the silence mean I should pick a date to run this? > > Since I'm going to end up re-rolling RC1, do a run tonight on her, so that > any problems

Re: [HACKERS] pgindent run?

2001-03-21 Thread Peter Eisentraut
Bruce Momjian writes: > With RC1 nearing, when should I run pgindent? This is usually the time > I do it. Are there any severely mis-indented files? -- Peter Eisentraut [EMAIL PROTECTED] http://yi.org/peter-e/ ---(end of broadcast)-

Re: [HACKERS] New TODO item

2001-03-21 Thread Ross J. Reedstrom
On Wed, Mar 21, 2001 at 10:51:03AM -0500, Bruce Momjian wrote: > Added to TODO: > > * Add BETWEEN [ASYMMETRIC|SYMMETRIC] > > Ross did a patch for this but some wanted it implemented differently so > I just added it to the TODO list. Hmm, have I been coding in my sleep? I think I perhaps c

Re: [HACKERS] pgindent run?

2001-03-21 Thread The Hermit Hacker
On Wed, 21 Mar 2001, Bruce Momjian wrote: > > With RC1 nearing, when should I run pgindent? This is usually the time > > I do it. > > Does the silence mean I should pick a date to run this? Since I'm going to end up re-rolling RC1, do a run tonight on her, so that any problems that arise from p

Re: [HACKERS] pgindent run?

2001-03-21 Thread Bruce Momjian
> Bruce Momjian writes: > > > With RC1 nearing, when should I run pgindent? This is usually the time > > I do it. > > Are there any severely mis-indented files? Not sure. I think there are some. It doesn't do anything unless there is mis-indenting, so it is pretty safe and has always been do

Re: [HACKERS] New TODO item

2001-03-21 Thread Bruce Momjian
> On Wed, Mar 21, 2001 at 10:51:03AM -0500, Bruce Momjian wrote: > > Added to TODO: > > > > * Add BETWEEN [ASYMMETRIC|SYMMETRIC] > > > > Ross did a patch for this but some wanted it implemented differently so > > I just added it to the TODO list. > > Hmm, have I been coding in my sleep? I t

Re: [HACKERS] Re: Final Call: RC1 about to go out the door ...

2001-03-21 Thread Jim Buttafuoco
Time to speak up, I have a HPUX 9.07 system and will test today. Jim > Thomas Lockhart <[EMAIL PROTECTED]> writes: > >> HPUX 10.20 (HP-PA architecture) > > > Time to drop 9.2 from the list? > > I don't have it running here anymore. Is there anyone on the list > who can test on HPUX 9? >

Re: [HACKERS] Call for platforms

2001-03-21 Thread Gilles DAROLD
Hi, I am currently testing beta6 on AIX 4.3.3 on a RS6000 H80 with 4 cpu and 4 Go RAM I use : ./configure --with-CC=/usr/local/bin/gcc --with-includes=/usr/local/include --with-libraries=/usr/local/lib All seem to be ok, There just the geometry failure in regression tes

Re: [HACKERS] pgindent run?

2001-03-21 Thread Bruce Momjian
> With RC1 nearing, when should I run pgindent? This is usually the time > I do it. Does the silence mean I should pick a date to run this? -- Bruce Momjian| http://candle.pha.pa.us [EMAIL PROTECTED] | (610) 853-3000 + If your life is a hard drive

Re: [HACKERS] Patch application

2001-03-21 Thread Bruce Momjian
> On Wed, 21 Mar 2001, Bruce Momjian wrote: > > > I have created an FTP file containing all ourstanding patches. It is > > at: > > > > ftp://candle.pha.pa.us/pub/postgresql/patches.mbox > > > > I will keep this updated so people know their patches are in the queue > > and have not been forgo

[HACKERS]

2001-03-21 Thread Rosie Sedghi
Hello; I installed postgresql. I compiled it and started the server successfully but when I'm trying to connect to database I get this message: Could not load the JDBC driver. org.postgresql.Driver reason: The backend has broken the connection. Possibly the action you have attempted has caused it

Re: [HACKERS] FAQ: Current state of replication ?

2001-03-21 Thread Christopher Masto
On Mon, Mar 19, 2001 at 11:00:20AM -, Peter Galbavy wrote: > 1. One "writer", many "reader" PostgreSQL servers. We will want to write > provisioning / configuration information centrally and can tolerate a > "writer" failuer for a time. > 2. Consitency at the transaction level. All changes to

Re: [HACKERS] Patch application

2001-03-21 Thread The Hermit Hacker
On Wed, 21 Mar 2001, Bruce Momjian wrote: > I have created an FTP file containing all ourstanding patches. It is > at: > > ftp://candle.pha.pa.us/pub/postgresql/patches.mbox > > I will keep this updated so people know their patches are in the queue > and have not been forgotten. I may als

Re: [HACKERS] BufferSync() & FlushRelationBuffers() conflict

2001-03-21 Thread The Hermit Hacker
Tom, since you appear to be able to recreate the bug, can you comment on this, as to whether we are okay now? On Wed, 21 Mar 2001, Vadim Mikheev wrote: > Just committed changes in bufmgr.c > Regress tests passed but need more specific tests, > as usually. Descr as in CVS: > > > Check bufHdr->cn

Re: [HACKERS] RPM building (was regression on RedHat)

2001-03-21 Thread Peter Eisentraut
Thomas Lockhart writes: > Mandrake (as of 7.2) still does a brain-dead mix of "-O3" and > "-ffast-math", which is a risky and unnecessary combination according to > the gcc folks (and which kills some of our date/time rounding). From the > man page for gcc: > > -ffast-math > This option should

Re: [HACKERS] Call for platforms

2001-03-21 Thread Gilles DAROLD
Hi, I reported Linux RedHat 6.2 - 2.2.14-5.0smp #1 SMP Tue Mar 7 21:01:40 EST 2000 i686 2 cpu - 1Go RAM Gilles DAROLD ---(end of broadcast)--- TIP 6: Have you searched our list archives? http://www.postgresql.org/search.mpl

Re: [HACKERS] Re: Call for platforms

2001-03-21 Thread Peter Eisentraut
Thomas Lockhart writes: > > SCO OpenServer 5 x86... > > OK, I see that Billy Allie recently updated FAQ_SCO to indicate > demonstrated (?) support for OpenServer. I will reflect that in the > platform support info. The last FAQ_SCO update was by me, and it was rather the consequence of some impl

Re: [HACKERS] Re: Final Call: RC1 about to go out the door ...

2001-03-21 Thread Peter Eisentraut
Tatsuo Ishii writes: > > > Tatsuo, I have a separate listing for "mklinux" for the 7.0 release. Is > > > that distro still valid and unique? Or is there a better way to > > > represent the PPC options under Linux? > > > > mklinux is older Motorola 68k-based systems > > No. MkLinux runs on Power P

[HACKERS] Re: Final Call: RC1 about to go out the door ...

2001-03-21 Thread Peter Eisentraut
Thomas Lockhart writes: > > HPUX 10.20 (HP-PA architecture) > > Time to drop 9.2 from the list? > > > Linux/PPC (LinuxPPC 2000 Q4 distro tested here; 2.2.18 kernel I think) > > What processor? Tatsuo had tested on a 603... Given that we list "x86", I think we wouldn't care. -- Peter

[HACKERS] RELEASE STOPPER? nonportable int64 constants in pg_crc.c

2001-03-21 Thread Zeugswetter Andreas SB
Recent changes in pg_crc.c (64 bit CRC) introduced non portable constants of the form: -c -o pg_crc.o pg_crc.c 287 | 0x, 0x42F0E1EBA9EA3693, a.. a - 1506-207 (W) Integer constant 0x42F0E1EBA9EA3693 out of rang

[HACKERS] Strange results of CURRENT_TIMESTAMP

2001-03-21 Thread Marek PUBLICEWICZ
Hello, During repopulation of the database (using the results of the pg_dump program), I spot two strange things: - fields defined as TIMESTAMP DEFAULT CURRENT_TIMESTAMP sometimes generate invalid format of the date, for instance: 2001-02-10 13:11:60.00+01 - which follows the records

RE: [HACKERS] Beta 6 Regression results on Redat 7.0.

2001-03-21 Thread Mikheev, Vadim
> I'm been running one backend doing repeated iterations of > > CREATE TABLE temptest(col int); > INSERT INTO temptest VALUES (1); > > CREATE TEMP TABLE temptest(col int); > INSERT INTO temptest VALUES (2); > SELECT * FROM temptest; > DROP TABLE temptest; > > SELECT * FROM temptest; > DROP TABL

Re: [HACKERS] Patch application

2001-03-21 Thread Bruce Momjian
> On Wed, Mar 21, 2001 at 10:54:46AM -0500, Bruce Momjian wrote: > > > > Can someone suggest a nice web frontend CGI script to a mbox file, one > > that shows sender/subject/date, etc? I don't need to search or modify > > the messages, just display them. > > Run mhonarc on the mbox. It wi

[HACKERS] Re: int8 bug on Alpha

2001-03-21 Thread Adriaan Joubert
> Anyway, either strtol() thinks it *should* be able to read a 64 bit > integer, or your machine is silently overflowing. I used to have a bunch > of these boxes, and I recall spending quite a bit of time discovering > that Alphas have some explicit flags which can be set at compile time > which a

Re: [HACKERS] Patch application

2001-03-21 Thread Roberto Mello
On Wed, Mar 21, 2001 at 10:54:46AM -0500, Bruce Momjian wrote: > > Can someone suggest a nice web frontend CGI script to a mbox file, one > that shows sender/subject/date, etc? I don't need to search or modify > the messages, just display them. Run mhonarc on the mbox. It will create HT

Re: [HACKERS] RPM building (was regression on RedHat)

2001-03-21 Thread Thomas Lockhart
> If Mandrake wants to be broken, let them - and tell them. They know ;) But just as with RH, they build ~1500 packages, so it is probably not realistic to get them to change their build standards over one misbehavior in one package. The goal here is to get PostgreSQL to work well for as many pl

[HACKERS] Patch application

2001-03-21 Thread Bruce Momjian
I have created an FTP file containing all ourstanding patches. It is at: ftp://candle.pha.pa.us/pub/postgresql/patches.mbox I will keep this updated so people know their patches are in the queue and have not been forgotten. I may also use this to ask people for patch review. Can someo

Re: [HACKERS] Re: int8 bug on Alpha

2001-03-21 Thread Bruce Momjian
> For integers (optional sign and all digits), the code in > src/backend/parser/scan.l uses strtol() to read the string, then checks > for failure. If it fails, the number is interpreted as a double float on > the assumption that if it could hold more digits it would succeed! > > Anyway, either s

[HACKERS] New TODO item

2001-03-21 Thread Bruce Momjian
Added to TODO: * Add BETWEEN [ASYMMETRIC|SYMMETRIC] Ross did a patch for this but some wanted it implemented differently so I just added it to the TODO list. -- Bruce Momjian| http://candle.pha.pa.us [EMAIL PROTECTED] | (610) 853-3000 + If

[HACKERS] Re: int8 bug on Alpha

2001-03-21 Thread Thomas Lockhart
> > How are you doing the inserts? If you aren't coercing the "2" to be an > > int8, then (afaik) the math will be done in int4, then upconverted. So, > > can you confirm that your inserts look like: > > insert into lint values ('9223372036854775807'); > OK, that was it. I inserted without quotes

Re: [HACKERS] RPM building (was regression on RedHat)

2001-03-21 Thread Trond Eivind Glomsrød
Thomas Lockhart <[EMAIL PROTECTED]> writes: > > It's a good start to test with for the purposes for which I think you want to > > test for. (and I'm an English teacher by night -- argh). > > :) > > Mandrake (as of 7.2) still does a brain-dead mix of "-O3" and > "-ffast-math", which is a risky

Re: [HACKERS] Re: PostgreSQL JDBC Unicode Support

2001-03-21 Thread Peter T Mount
Quoting Tatsuo Ishii <[EMAIL PROTECTED]>: > [Cced: to PostgreSQL hackers list] > > Alexander, > > I believe this problem was fixed in the latest JDBC driver, that is > supposed to be shipped with 7.1. It asks your database which encoding > is used for particular database while connecting to the

Re: [HACKERS] Call for platforms

2001-03-21 Thread Tatsuo Ishii
> Tatsuo Ishii <[EMAIL PROTECTED]> writes: > > ! FATAL 2: ZeroFill(logfile 0 seg 1) failed: No such file or directory > > ! pqReadData() -- backend closed the channel unexpectedly. > > Is it possible you ran out of disk space? Probably not. -- Tatsuo Ishii ---(end of br

Re: [HACKERS] Stuck spins in current

2001-03-21 Thread Bruce Momjian
> > > BTW, I've got ~320tps with 50 clients inserting (int4, text[1-256]) > > > records into 50 tables (-B 16384, wal_buffers = 256) on Ultra10 > > > with 512Mb RAM, IDE (clients run on the same host as server). > > > > Not bad. What were you getting before these recent changes? > > As I alread

  1   2   >