[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [bug-recutils] Deprecate recinf ?
From: |
Michał Masłowski |
Subject: |
Re: [bug-recutils] Deprecate recinf ? |
Date: |
Thu, 09 Aug 2012 12:01:39 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.1 (gnu/linux) |
> the SQL language itself has a different syntax, but (at least in the case of
> Postgres) there is no fundamental internal difference between the data and
> the
> meta-data.
Frontends like sqlite3 or psql have separate non-SQL commands for
showing table schemas. This suggests that an user might not look for
the tool for "[s]electing records" to do this.
> Both tools have largely different implementation and recinf could be
> easily extended to use an index file without reading any non-descriptor
> records from the recfile (recsel would need much special-casing to not
> do a query and use the same code as recinf).
>
> I'm not familiar with the code, but aren't descriptors just a record set?
A descriptor is a record with the "%rec" field.
> So one could allow the descriptors to be retrieved with a call like
> recsel --type=% <file>
> or similar.
Now I see that recsel outputting only one record set is a difference.
pgpaxrJh6H_d3.pgp
Description: PGP signature