From justdave at syndicomm.com Mon Sep 1 01:44:46 2003 From: justdave at syndicomm.com (David Miller) Date: Sun, 31 Aug 2003 21:44:46 -0400 Subject: Multiple database support In-Reply-To: <20030830190203.GB42098@nexus.ninth-circle.org> References: <20030830190203.GB42098@nexus.ninth-circle.org> Message-ID: On 8/30/2003 9:02 PM +0200, Jeroen Ruigrok/asmodai wrote: > for the last few days I've worked hard on getting the PostgreSQL RDBMS > supported. Did you start over, or did you update what RedHat already did (from 2.17.1) up to the tip? > The current plan I have in my mind: > > Make sure everything is done with ANSI SQL in mind (e.g. use ' instead > of " where ANSI SQL expects it or -- instead of #). > > The checksetup.pl script needs to have the schema definition ripped out, > it is too MySQL specific to be of any use in that script. Yep, this is pretty much the plan. > This needs to move to a bugzilla.mysql file. Here we can easily place > bugzilla.pgsql, bugzilla.sybase, and bugzilla.oracle next to. Maybe a > schema subdirectory to gather them under. You can then use the command > line tool supplied with your database system to read in this schema > definition file. I was toying with the idea of a central schema structure so we could make sure they were all alike... It would be cool to describe each table as a hash in perl code, and provide the column names, abstract types, and even some DB-specific data (with a hash key prefixed with the name of the DB it's for). The database-specific code for each database could then read from that hash, do what it needs to for it to work on that Database, and go do it. It may even be possible to describe necessary changes that way, too, but that might be more difficult (for the seamless upgrade stuff). > The worst part comes in making a correct abstraction layer towards the > databases. This is essentially hairy since with PostgreSQL some queries > can be optimized in a certain way whilst MySQL might require some > different uses. > IIRC the Sybase guy(s) had a nice idea for that, need to check again. Yeah, I'm still intending to use something like that here. It seemed to work very well at keeping the Sybase port running on both Sybase and MySQL simultaneously. > So I guess I need to ask you Dave, what's allowed for 2.18 and how far > off is it? What's allowed depends on the ideas people have. :) I attempted to post enough details of the abstraction system on the Sybase bug that someone with time could run with it. I heard a rumor that Dave Lawrence at RedHat was going to get paid time to work on completing the Postgres port they've already done sometime soon, so it can be merged with the trunk. I don't know if that's true or not though. Time frame for 2.18? As stated many times before, "whenever it's done." The milestone goals on the website were recently updated. When the stuff in the "have to have" portion of that list gets completed, we release. -- Dave Miller Project Leader, Bugzilla Bug Tracking System http://www.justdave.net/ http://www.bugzilla.org/ From asmodai at wxs.nl Mon Sep 1 05:29:39 2003 From: asmodai at wxs.nl (Jeroen Ruigrok/asmodai) Date: Mon, 1 Sep 2003 07:29:39 +0200 Subject: HTML 4.01 transitional compliance In-Reply-To: References: <20030831072746.GF42098@nexus.ninth-circle.org> Message-ID: <20030901052938.GG42098@nexus.ninth-circle.org> -On [20030831 16:22], Jason Pyeron (jason at pyeron.com) wrote: >On Sun, 31 Aug 2003, Jeroen Ruigrok/asmodai wrote: > >> In both 'for' and 'id' the underscore is not allowed and we use them >> heavily. I reckon for easier mapping to the columns in the database. > >Can you cite this? At least explain why "_" is not allowed, please. I use local system validation through nsgmls and onsgmls. I wonder why these tools said it wasn't allowed since they use the DTD. That's funny, wonder if (o)nsgmls has a buglet there. -- Jeroen Ruigrok van der Werven / asmodai PGP fingerprint: 2D92 980E 45FE 2C28 9DB7 9D88 97E6 839B 2EAC 625B http://www.tendra.org/ | http://www.in-nomine.org/~asmodai/diary/ And with the last rays of the setting sun the loveless pulse fades away, no morebeating as one, no longer burns the flame... From asmodai at wxs.nl Mon Sep 1 05:30:33 2003 From: asmodai at wxs.nl (Jeroen Ruigrok/asmodai) Date: Mon, 1 Sep 2003 07:30:33 +0200 Subject: HTML 4.01 transitional compliance In-Reply-To: <3F51A386.2020209@returnzero.com> References: <20030831072746.GF42098@nexus.ninth-circle.org> <3F51A386.2020209@returnzero.com> Message-ID: <20030901053033.GH42098@nexus.ninth-circle.org> -On [20030831 10:22], Christopher Aillon (caillon at returnzero.com) wrote: >http://www.w3.org/TR/html401/types.html#type-name You are quite right. Now I just need to check why my local validation went awry on that. -- Jeroen Ruigrok van der Werven / asmodai PGP fingerprint: 2D92 980E 45FE 2C28 9DB7 9D88 97E6 839B 2EAC 625B http://www.tendra.org/ | http://www.in-nomine.org/~asmodai/diary/ I have not yet begun to fight... From asmodai at wxs.nl Mon Sep 1 05:59:41 2003 From: asmodai at wxs.nl (Jeroen Ruigrok/asmodai) Date: Mon, 1 Sep 2003 07:59:41 +0200 Subject: HTML 4.01 transitional compliance In-Reply-To: <3F51A386.2020209@returnzero.com> References: <20030831072746.GF42098@nexus.ninth-circle.org> <3F51A386.2020209@returnzero.com> Message-ID: <20030901055941.GI42098@nexus.ninth-circle.org> -On [20030831 10:22], Christopher Aillon (caillon at returnzero.com) wrote: >http://www.w3.org/TR/html401/types.html#type-name Your link though is not quite the answer to the matter at hand though.