Re: Are we losing momentum?

From: Neil Conway <neilc(at)samurai(dot)com>
To: "scott(dot)marlowe" <scott(dot)marlowe(at)ihs(dot)com>
Cc: Hannu Krosing <hannu(at)tm(dot)ee>, greg(at)turnstep(dot)com, PostgreSQL Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Are we losing momentum?
Date: 2003-04-21 17:06:01
Message-ID: 1050944761.1062.7.camel@tokyo
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-advocacy pgsql-general pgsql-hackers pgsql-patches

On Mon, 2003-04-21 at 11:30, scott.marlowe wrote:
> 'show tables' is SQL, and can be run from a script, with the output
> parsed.

But "select * from pg_tables" (or the equivalent query on the
information schemas) is SQL, can be run from a script, and can be parsed
by a client application.

> But, how do I write an app to ask such questions easily? psql -E is not
> the easiest and most intuitive way to learn how to get the data into a
> structure for parsing in a client side app.

You're conflating two distinct issues: (1) providing an interface for
CLI use by the DBA (2) providing an API for programmer use in
applications.

If you think the existing system catalogs are not sufficiently
intuitive, then we should fix that problem properly (for example,
through better documentation), not by copying some ad-hoc syntax from
another RDBMS.

If you think the existing CLI interface (\d etc.) is not sufficiently
intuitive (which has been what a couple people in this thread have
argued), I don't see what that has to do with client side applications
or parsing the output.

Cheers,

Neil

In response to

Responses

Browse pgsql-advocacy by date

  From Date Subject
Next Message Josh Berkus 2003-04-21 18:28:38 postgres on OSNews
Previous Message Steve Wampler 2003-04-21 15:45:12 Re: Are we losing momentum?

Browse pgsql-general by date

  From Date Subject
Next Message Oliver Elphick 2003-04-21 17:17:11 Re: Documentation
Previous Message Murthy Kambhampaty 2003-04-21 16:56:49 Re: stddev returns 0 when there is one row

Browse pgsql-hackers by date

  From Date Subject
Next Message scott.marlowe 2003-04-21 17:40:32 Re: pg_clog woes with 7.3.2 - Episode 2
Previous Message scott.marlowe 2003-04-21 16:40:27 Re: For the ametures. (related to "Are we losing momentum?")

Browse pgsql-patches by date

  From Date Subject
Next Message scott.marlowe 2003-04-21 20:26:20 Re: Are we losing momentum?
Previous Message Steve Wampler 2003-04-21 15:45:12 Re: Are we losing momentum?