Received: from localhost (wm.hub.org [200.46.204.128]) by postgresql.org (Postfix) with ESMTP id AA4F79FA16B for ; Tue, 7 Nov 2006 03:02:16 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.128]) (amavisd-new, port 10024) with ESMTP id 35092-08 for ; Tue, 7 Nov 2006 07:02:12 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey- Received: from nf-out-0910.google.com (nf-out-0910.google.com [64.233.182.191]) by postgresql.org (Postfix) with ESMTP id 2CBC59FA12F for ; Tue, 7 Nov 2006 03:02:11 -0400 (AST) Received: by nf-out-0910.google.com with SMTP id x4so86092nfb for ; Mon, 06 Nov 2006 23:02:10 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=dGrhppY1ke9qvwqwOJh59Hrb3Y+WMxyvHH+GQAXGxnTivF+d0MkXpEB95NoH6mQirBady8WrfZVtqYKWTewtbhuHdyvUeTY4ezCD/uCYui5bPJN/W+gTHkFOo3zONuugwxxOk4eETqDHKl8sUXkCNz4pTWS1fOWjRT9RZsns/M8= Received: by 10.82.109.19 with SMTP id h19mr1452016buc.1162882929824; Mon, 06 Nov 2006 23:02:09 -0800 (PST) Received: by 10.82.191.10 with HTTP; Mon, 6 Nov 2006 23:02:09 -0800 (PST) Message-ID: <3cbaf1c80611062302q7d07a661qc4c3eb3e89105572@mail.gmail.com> Date: Mon, 6 Nov 2006 23:02:09 -0800 From: "Peter Michaux" To: pgsql-sql@postgresql.org Subject: writing a simple sql parser and database program MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200611/97 X-Sequence-Number: 26749 Hi, I would like to learn how to write a simple SQL parser and database program. This is for an embeded situation where I can't use a database program like postgre. Jumping into the postgre source code seems a little overwelming as I don't have a general understanding of how this is done. Is there a link or book that explains the basics of how a database parses SQL and how it then operates on the data? Thank you, Peter