X-Original-To: pgsql-patches@postgresql.org Received: from spampd.localdomain (postgresql.org [64.49.215.8]) by postgresql.org (Postfix) with ESMTP id 9FB32475ED4 for ; Mon, 21 Apr 2003 17:17:55 -0400 (EDT) Received: from perrin.int.nxad.com (internal.ext.nxad.com [69.1.70.251]) by postgresql.org (Postfix) with ESMTP id BE559475EC9 for ; Mon, 21 Apr 2003 17:17:54 -0400 (EDT) Received: by perrin.int.nxad.com (Postfix, from userid 1001) id 9FB5E2105E; Mon, 21 Apr 2003 14:17:55 -0700 (PDT) Date: Mon, 21 Apr 2003 14:17:55 -0700 From: Sean Chittenden To: Rod Taylor Cc: Tom Lane , Peter Eisentraut , Curt Sampson , Brent Verner , PostgreSQL Patches Subject: Re: [HACKERS] Are we losing momentum? Message-ID: <20030421211755.GW79923@perrin.int.nxad.com> References: <10266.1050588320@sss.pgh.pa.us> <20030417194803.GU79923@perrin.int.nxad.com> <19492.1050609126@sss.pgh.pa.us> <20030417210941.GV79923@perrin.int.nxad.com> <1050614715.99492.33.camel@jester> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="1RhGCd1AsoFHGRHc" Content-Disposition: inline In-Reply-To: <1050614715.99492.33.camel@jester> User-Agent: Mutt/1.4i X-PGP-Key: finger seanc@FreeBSD.org X-PGP-Fingerprint: 3849 3760 1AFE 7B17 11A0 83A6 DD99 E31F BC84 B341 X-Web-Homepage: http://sean.chittenden.org/ X-Spam-Status: No, hits=-38.6 required=5.0 tests=BAYES_01,IN_REP_TO,PGP_SIGNATURE_2,QUOTED_EMAIL_TEXT, REFERENCES,REPLY_WITH_QUOTES,USER_AGENT_MUTT autolearn=ham version=2.50 X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.50 (1.173-2003-02-20-exp) X-Archive-Number: 200304/97 X-Sequence-Number: 6925 --1RhGCd1AsoFHGRHc Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable > It's out of date and I did not receive any feedback on it (so I assume > it's not very useful), but the patch submitted in late February would > easily allow the described 'translation' to occur. >=20 > Summary: >=20 > Schema in backend translates a \ command into an sql > query which is then to be executed. Logic is still in psql, but the > available commands and how data is retrieved from the schema was backend > specific. >=20 >=20 > I'm using it here due to it's ability to add new psql commands (since > it's just data in a table.)=20 >=20 > http://archives.postgresql.org/pgsql-patches/2003-02/msg00216.php >=20 >=20 > Anyway, might be useful for thoughts. Simply moving the commands into > the backend still leaves us with unsupported new commands in old clients > or new commands in old databases (leaving errors) unless the SHOW ... > syntax itself is handled by the backend. >=20 > > :-/ Yeah, I've been following that from a distance and I'm not so wild > > about that. I really like that the information_schema has been > > integrated into the base, but translating the SHOW commands into > > SELECTs from information_schema on the backend seems like a bad idea > > unless its going to be done abstract enough via some kind of rewrite > > engine that allows users to program the database to translate their > > verbiage into SQL (ex: KILL -> DROP, GET -> SELECT), which could be > > kinda fun. Anyone other than Rod (and now myself) had a chance to look this over? This doesn't really address the lack of a SHOW syntax for new MySQL users, but it sure does open up the possibilities for making it easier to probe the backend. On a related note, any thoughts on the SHOW stuff given that the topic has come back to life on -hackers? -sc --=20 Sean Chittenden --1RhGCd1AsoFHGRHc Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Comment: Sean Chittenden iD8DBQE+pGAC3ZnjH7yEs0ERAmJHAKC4lTISNb8qkIdEGBRBoOnO6ETi4gCeLeTL 5lWzadISESRVnsnlgvk7lKo= =0/zw -----END PGP SIGNATURE----- --1RhGCd1AsoFHGRHc--