[COMMITTERS] pgsql: Perform conversion from Python unicode to string/bytes object vi

2012-08-06 Thread Heikki Linnakangas
Perform conversion from Python unicode to string/bytes object via UTF-8. We used to convert the unicode object directly to a string in the server encoding by calling Python's PyUnicode_AsEncodedString function. In other words, we used Python's routines to do the encoding. However, that has a few p

[COMMITTERS] pgsql: Perform conversion from Python unicode to string/bytes object vi

2012-08-06 Thread Heikki Linnakangas
Perform conversion from Python unicode to string/bytes object via UTF-8. We used to convert the unicode object directly to a string in the server encoding by calling Python's PyUnicode_AsEncodedString function. In other words, we used Python's routines to do the encoding. However, that has a few p

[COMMITTERS] pgsql: Perform conversion from Python unicode to string/bytes object vi

2012-08-06 Thread Heikki Linnakangas
Perform conversion from Python unicode to string/bytes object via UTF-8. We used to convert the unicode object directly to a string in the server encoding by calling Python's PyUnicode_AsEncodedString function. In other words, we used Python's routines to do the encoding. However, that has a few p

[COMMITTERS] pgsql: Perform conversion from Python unicode to string/bytes object vi

2012-08-06 Thread Heikki Linnakangas
Perform conversion from Python unicode to string/bytes object via UTF-8. We used to convert the unicode object directly to a string in the server encoding by calling Python's PyUnicode_AsEncodedString function. In other words, we used Python's routines to do the encoding. However, that has a few p