Justin McAleer:
> Victor Duchovni wrote:
> > On Thu, Oct 16, 2008 at 07:28:57PM +0300, [EMAIL PROTECTED] wrote:
> >
> > Trying to index "pcre" tables. Don't do that.
>
> Would it be worth making postmap notice when someone is trying to index
> one of the non-indexed table types, and give a more specific warning
> about being unnecessary? I know it's RTFM stuff, but if it would be
> trivial to implement, it may at least cut down on list traffic.
Did you mean this error message?
% postmap pcre:/tmp/testfile
postmap: fatal: unsupported map type: pcre
Unfortunately the functions that create a file index don't use the
same maptype lookup table as the rest of Postfix.
Or did you mean this error message?
% postmap /tmp/testfile
postmap: warning: /tmp/testfile, line 1: expected format: key whitespace value
If the user does not say that /tmp/testfile is a PCRE table, the
postmap isn't going to discover that it is pcre, regexp, mysql,
pgsql, ldap, etc.
Wietse
> Just to be clear, I am not stating that it *would* be trivial, but if it
> is...
>
>