Re: [GENERAL] In need of help with message fetching query

2009-02-11 Thread Max Strömberg
Hey, thanks for your quick response On Wed, Feb 11, 2009 at 12:00 AM, Sam Mason wrote: > On Tue, Feb 10, 2009 at 11:19:13PM +0100, Max Strrrmberg wrote: >> [...] messages are to be ordered in a very standard fashion of single-depth >> threads. That is, a message can be a reply, and a so-called "h

Re: [GENERAL] In need of help with message fetching query

2009-02-10 Thread Sam Mason
On Tue, Feb 10, 2009 at 11:19:13PM +0100, Max Strrrmberg wrote: > [...] messages are to be ordered in a very standard fashion of single-depth > threads. That is, a message can be a reply, and a so-called "head". > > create table messages ( > id serial not null primary key, > author_id integer

[GENERAL] In need of help with message fetching query

2009-02-10 Thread Max Strömberg
Hello everyone. I'm working on a small project of mine, which basically revolves around messages. These messages are to be ordered in a very standard fashion of single-depth threads. That is, a message can be a reply, and a so-called "head". A head is simply the head of a chain. To put it more e