Re: [HACKERS] Resurrecting pg_upgrade

2003-12-12 Thread Dave Smith
/ disk. The admin doing the upgrade can copy the existing database wherever they need it: tape, another filesystem, NFS mount, etc. -- Thomas Swan ---(end of broadcast)--- TIP 4: Don't 'kill -9' the postmaster -- Dave Smith CANdata Systems

Re: [HACKERS] New thoughts about indexing cross-type comparisons

2003-09-18 Thread Dave Smith
For the int2col op value I have this table for when the cast returns NULL value 0 , = ,= int2col=null ,= in2col is not null value 0 ,= in2col is not null =,,= int2col=null Im not sure why pg allows me to do a int2col=null and returns nothing so I am assuming that internally pg just resolves

Re: [HACKERS] New thoughts about indexing cross-type comparisons

2003-09-16 Thread Dave Smith
If this is only dealing with constants, why not just explicitly add a cast to the constant of the column type at the planner level. It would solve this problem as well ... create table test (f int2); select * from test where f=cast('1981928928921' as int2); ERROR: pg_atoi: error reading

Re: [HACKERS] New thoughts about indexing cross-type comparisons

2003-09-16 Thread Dave Smith
My point was that it was inconstant behavour. What exactly are you comparing with int2? To me the case without the cast should should throw the same error as the statement with the cast. Tom Lane wrote: Dave Smith [EMAIL PROTECTED] writes: If this is only dealing with constants, why not just

Re: [HACKERS] Contract Programmer Advice.

2003-02-11 Thread Dave Smith
In Canada we have small claims court. up to 10,1000$ and it only costs you 50$ to file a claim. They have to file a defense or settle within 30 days. Usally if they owe you the money it forces them to do something, either settle or *really* drag it out, but it gets the process moving.

Re: [HACKERS] compiling pg 7.0.3 on sco 5.0.5

2000-12-04 Thread Dave Smith
Tom Lane wrote: "Billy G. Allie" [EMAIL PROTECTED] writes: ... The DISABLE_COMPLEX_MACRO definition was originally put in to work around a macro size limitation of the UnixWare 2.1 C compiler (and later the SCO UDK (Universal Development Kit)). If the gnu C compiler is being used it