Return-Path: nitin@sybase.com
Received: from raven.native-ed.bc.ca  (raven.native-ed.bc.ca [134.87.106.1]) by nobozo.CS.Berkeley.EDU (8.6.4/8.6.3) with ESMTP id LAA03540 for <aoki@postgres.Berkeley.EDU>; Tue, 5 Jul 1994 11:41:35 -0700
Received: from halon.sybase.com (halon.sybase.com [192.138.151.10]) by  raven.native-ed.bc.ca  (8.6.4/8.6.4) with SMTP id LAA06386 for <linux-postgres@native-ed.bc.ca>; Tue, 5 Jul 1994 11:11:17 -0700
Received: from sybase.com (sybgate.sybase.com) by halon.sybase.com (5.0/SMI-SVR4/SybFW4.0)
	id AA20980; Tue, 5 Jul 1994 11:11:49 +0800
Received: from kaze.sybgate.sybase.com by sybase.com (4.1/SMI-4.1/SybH3.3)
	id AA04940; Tue, 5 Jul 94 11:08:32 PDT
Received: by kaze.sybgate.sybase.com (4.1/SMI-4.1/SybEC3.2)
	id AA21318; Tue, 5 Jul 94 11:08:30 PDT
From: nitin@sybase.com (Nitin Borwankar)
Message-Id: <9407051808.AA21318@kaze.sybgate.sybase.com>
Subject: Re: postgres v4r2 for linux
To: wpp@marie.physik.tu-berlin.de (Kai Petzke)
Date: Tue, 5 Jul 94 11:08:29 PDT
Cc: corey@bbs.xnet.com, linux-postgres@native-ed.bc.ca
In-Reply-To: <9407030949.AA23972@marie.physik.tu-berlin.de>; from "Kai Petzke" at Jul 3, 94 11:50 am
X-Mailer: ELM [version 2.3 PL0]
content-length: 1809

In your message you, Kai Petzke, graciously said

> Onyx will eventually have an SQL -> Postquel translater.  The problem
> is, that this translater can't be better than Postquel.  Say: is
> postquel does not feature real aggregates or grouping, Onyx-SQL won't
> feature it either.
> 
> We will have to make the decision, whether to implement SQL native
> to postgres, or as an emulation.  That decision is not easy, as
> there are many aspects to consider.  For example, an emulated SQL
> will trigger all the Postquel rules defined on a given table, while
> an native SQL won't.

I used to work for Ingres and now work for Sybase.
A couple of points worth mentioning.
SQL is a language for accessing table-based data whereas postquel
has facilities to access objects also.
Postquel is potentially more powerful than SQL.
Thus a SQL to postquel translator will allow you to use the object-oriented
database as a relational ( table-based records ) database ie as a reduced
functionality subset.

Why not instead build a SQL to *quel* translator for *University Ingres* ?
And then build a *SQL3* interface for postgres.
This will be the natural fit.

SQL 3 is the next revision of the SQL spec which is nearing completion.
It will have object-oriented features along with backward compatibility for
SQL2.
The spec for SQL3 is available via anonymous ftp from gatekeeper.dec.com.
I don't know the exact location but /pub/sql3 will probably work. 

Michael Stonebraker's new company ( formed to commercially develop
postgres technology ) is working on creating a SQL3 interface
to Montage ( the name for their commercial implementation )
 

[...]
> 
> I think, that we have already one interface (libpq), and should not
> concentrate too much on adding a second one.
> 

I agree wholeheartedly. 



> Kai
> 
> 

