This is the mail system at host spammotel.com.

I'm sorry to have to inform you that your message could not
be delivered to one or more recipients. It's attached below.

For further assistance, please send mail to postmaster.

If you do so, please include this problem report. You can
delete your own text from the attached returned message.

                   The mail system

<[email protected]>: Host or domain name not found. Name service error 
for
    name=yllman.com type=MX: Host not found, try again
Reporting-MTA: dns; spammotel.com
X-Postfix-Queue-ID: 618796DC6E5
X-Postfix-Sender: rfc822; [email protected]
Arrival-Date: Mon, 16 Jul 2012 18:31:26 -0400 (EDT)

Final-Recipient: rfc822; [email protected]
Action: failed
Status: 4.4.3
Diagnostic-Code: X-Postfix; Host or domain name not found. Name service error
	for name=yllman.com type=MX: Host not found, try again
--- Begin Message ---
ars_GetListEntry/GetListEntryWithFields
Reply-To: <re.PW0NY2O3SX583>
Return-Path: <re.PW0NY2O3SX583>



Hi,

Yes, but my goal here is to utilize this feature to reduce the possibility
of timeouts.

I might have 10 million records in a table, and want to retrieve them in
chunks of say 10 000 or 100 000. It is then important to know if I managed
to retrieve everything, or if a server setting prevented me from getting
everything, or if it was exactly 100 000 records that matched my search
criteria.

I still think that we should add the possibility to use this parameter
that exists in the core API.

The question is how to change the ars_GetListEntry calls input/output
interface.

        Best Regards - Misi, RRR AB, http://rrr.se

> If you specify 0 and 0, it should return all 333 entries.  At that point,
> assuming you are using a hash for your return, it would be a simple matter
> to obtain the number of records using the keys() function in perl.  For
> instance, if I were wanting to find the number of entries in your call
> below, I'd set it up this way:
>
> %entries = ars_GetListEntry($c, "User", $q, 0, 0);
> $number_entries = scalar keys %entries;
>
> On Mon, Jul 16, 2012 at 8:08 AM, Misi Mladoniczky <[email protected]> wrote:
>
>> Hi,
>>
>> To know all requests were returned in a result list from
>> ARGetListEntry/ARGetListEntryWithFields the numMatches variable needs to
>> be returned. This is available in the C API but is not implemented in
>> the
>> corresponding ARSperl calls.
>>
>> They can easily be implemented I guess, but I need advice on how to best
>> proceed.
>>
>> How should the parameter be specified and returned when calling
>> ars_GetListEntry or ars_GetListEntryWithFields?
>>
>> We would have multiple return values in this case...
>>
>> ars_GetListEntry(ctrl, schema, qualifier,
>> maxRetrieve=0,firstRetrieve=0,...)
>>
>> For example if a search results in 333 entries:
>> %entries = ars_GetListEntry($c, "User", $q, 100, 101);
>> We would get 100 entries returned, but there is no way to tell that
>> there
>> are a total of 333 entries to retrieve.
>>
>>         Best Regards - Misi, RRR AB, http://rrr.se
>>
>>
>>
>> ------------------------------------------------------------------------------
>> Live Security Virtual Conference
>> Exclusive live event will cover all the ways today's security and
>> threat landscape has changed and how IT managers can respond.
>> Discussions
>> will include endpoint security, mobile security and the latest in
>> malware
>> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
>>
>>
>> --
>> Arsperl-users mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/arsperl-users
>>
> ------------------------------------------------------------------------------
> Live Security Virtual Conference
> Exclusive live event will cover all the ways today's security and
> threat landscape has changed and how IT managers can respond. Discussions
> will include endpoint security, mobile security and the latest in malware
> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
>
> --
> Arsperl-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/arsperl-users



------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/


--
Arsperl-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/arsperl-users


--- End Message ---
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/

--
Arsperl-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/arsperl-users

Reply via email to