[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Separating PR's in the results of QUER

From: Robert Petersen
Subject: Separating PR's in the results of QUER
Date: Sun, 25 Sep 2005 09:08:28 -0700
User-agent: Mozilla Thunderbird 1.0.6 (X11/20050716)

I am wondering what (if any) method there is for identifying the end of one PR and the start of the next when gnatsd responds to a query.  In my testing I've set the query format to 'edit'.  I'm using 4.1.0.  The dbconfig is almost out-of-the-box with the exception of a couple fields I added.  In particular I added a field called foobar at the end.
field "foobar" {
    description "Random information field"
So that I can attempt to confuse/test schemes to identify the end of a PR.  In my test database I have three PRs.  In the second PR I've set the value of the foobar field to this (next 3 line):
This is foo bar

From: robert
Here is the result of a QUER command (actually this is just the few lines at the end of PR #2 and the start of #3, next 11 lines):
This is foo bar

From: robert

From: robert
Reply-To: robert
To: bugs
Subject: This is a test pr

>Number:         3
So it appears I can replicate the mail headers in a multitext field at the end of the PR in such a way as to not be able to identify where the next PR starts.

So finally to the question, how do others go about parsing the results of a QUER?

Robert Petersen

reply via email to

[Prev in Thread] Current Thread [Next in Thread]