Re: [PATCH] [db] Rename "version" to "source_version" when it refers to source packages
On Mon, Mar 02, 2009 at 08:01:01PM +0100, Adeodato Simó wrote:
> I've recently started using a DB with a schema very similar to
> wanna-build's for my own purposes. Queries felt very natural, except
> when wanting to cross binary packages with their source packages.
>
> When joining such tables, the "JOIN ... ON b.source = s.source AND
> b.source_version = s.version" had to be used, as opposed to "JOIN ...
> USING(source, source_version)".
>
> I'd appreciate if this change could be applied, if nobody has reasoned
> objections to it.
Applied, thanks.
For consistency, would it be better to make this change for binaries
as well, so we have binary_version to complement source_version?
Thanks,
Roger
--
.''`. Roger Leigh
: :' : Debian GNU/Linux http://people.debian.org/~rleigh/
`. `' Printing on GNU/Linux? http://gutenprint.sourceforge.net/
`- GPG Public Key: 0x25BFB848 Please GPG sign your mail.
Reply to: