[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Porting issues
- To: mckoidb@xxxxxxxxx
- Subject: Re: Porting issues
- From: Tobias Downer <toby@xxxxxxxxx>
- Date: Wed, 07 Feb 2001 12:25:03 -0500
- Delivered-To: mailing list mckoidb@mckoi.com
- Mailing-List: contact mckoidb-help@mckoi.com; run by ezmlm
- References: <3A7A21A8.CEB61DA1@paneris.co.uk> <3A7A2D7E.766BEE10@iglou.com> <3A7AA7D2.87B57323@paneris.co.uk> <3A7DAA23.38F4F00B@iglou.com> <3A7DEDAF.B598A181@paneris.co.uk> <3A80566C.AFF5CAC1@iglou.com> <3A80BD4D.338F58C2@paneris.co.uk> <3A80CAF0.8F0BBE5@iglou.com> <3A8122A6.65B1BDBA@paneris.co.uk>
- Reply-To: mckoidb@xxxxxxxxx
- Sender: mckoidb@xxxxxxxxx
Tim Pizey wrote:
>
> Field names do not need to be quoted unless the name is a reserved word,
> the example that
> I encountered was trying to create a field called unique.
This is a limitation of the parser. I know that other SQL interpreters
allow reserved words as field names without quotes.
> > > Postgresql uses INT where mckoidb uses integer
> >
> > Do you think it would be useful if I add this as an alias? Are there
> > any other aliases that would be useful?
>
> I have worked around, so not a problem for me, I think abreviabtions are
> for people who can't type
> so prefer your full integer.
I still think this would be worthwhile to add. I've made this mistake
myself.
> > > Current sticking point is that the following is not valid mckoi sql:
> > > CREATE UNIQUE INDEX columninfo_id_index ON columninfo (id)
> >
> > Yes, the grammar does not understand 'create index' because indexing is
> > handled in a non-standard way by the engine (to be really picky - I
> > don't believe the SQL-92 standard defines indexing anyway). The reasons
> > are documented on the mailing list. Basically, my plan was for the
> > engine to manage indexes transparently with perhaps a few hints from the
> > database administrator. Currently, by default every column gets an
> > index.
>
> Perhaps you could add 'create index' as a no-op?
>
> I will see if I can modify Melati so that if the db is mckoi then
> indexes are not applied,
> but I think this may be difficult.
I'll add this as a no-op for the next release.
Toby.
---------------------------------------------------------------
Mckoi SQL Database mailing list http://www.mckoi.com/database/
To unsubscribe, send a message to mckoidb-unsubscribe@mckoi.com