Andrew Chernow <a...@esilo.com> writes:
> 4. int PQinitSecure(int init_mask)
> This works just like #3 but returns the bits it understood.  It allows an app 
> to 
> determine if the loaded libpq supports a bit it has tried to use.

Maybe better, have it return a zero/nonzero error code; where one of the
possibilities for failure is "you passed a bit I didn't understand".
This would depend on whether we intend that the function would ever
actually *do* anything, as opposed to just save its argument to be
consulted later.  Maybe that's not appropriate/necessary.

                        regards, tom lane

-- 
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers

Reply via email to