Re: Confusion over Python drivers - Mailing list pgsql-hackers

From Andrew McNamara
Subject Re: Confusion over Python drivers
Date
Msg-id 20100209025649.D69D9206F9@longblack.object-craft.com.au
Whole thread Raw
In response to Re: Confusion over Python drivers  (Jeff Davis <pgsql@j-davis.com>)
Responses Re: Confusion over Python drivers
List pgsql-hackers
>For a given type, the input function may be more likely to catch an
>input error than the recv function; or the reverse. Either way, it is
>very type-specific, and the only difference is the whether the input is
>misinterpreted (type error not caught; bad) or an error is thrown (type
>error caught; better). 

This is the crux of the matter: the type input functions are universally
more forgiving since, by their nature, text formats are designed for us
fuzzy humans, and users of adapters have come to expect this. 

-- 
Andrew McNamara, Senior Developer, Object Craft
http://www.object-craft.com.au/


pgsql-hackers by date:

Previous
From: Jeff Davis
Date:
Subject: Re: Confusion over Python drivers
Next
From: M Z
Date:
Subject: CVS checkout source code for different branches