Skip to content
Snippets Groups Projects
Commit 8d215637 authored by Stephen R. van den Berg's avatar Stephen R. van den Berg
Browse files

Improve glue with libpq.

parent 5944b305
No related branches found
No related tags found
No related merge requests found
...@@ -1266,8 +1266,11 @@ o foreach( arr[-two()..], string x), where two() returns 2 will no ...@@ -1266,8 +1266,11 @@ o foreach( arr[-two()..], string x), where two() returns 2 will no
longer iterate over the first element in the array three times or longer iterate over the first element in the array three times or
crash. crash.
o Postgres.postgres_result now properly decodes binary blobs and
strips trailing spaces from CHAR columns.
o Fixed a typo from 2001-05-05 that caused a lot of countries to o Fixed a typo from 2001-05-05 that caused a lot of countries to
recide on the continent ',Europa' instead of "Europa" in reside on the continent ',Europa' instead of "Europa" in
Geography.Countries. Geography.Countries.
Obviously the continent is not that often checked. Obviously the continent is not that often checked.
......
...@@ -115,7 +115,10 @@ extern PIKE_MUTEX_T pike_postgres_mutex; ...@@ -115,7 +115,10 @@ extern PIKE_MUTEX_T pike_postgres_mutex;
#include "pg_types.h" #include "pg_types.h"
#ifndef BYTEAOID
#define BYTEAOID 17
#define BPCHAROID 1042
#endif
#define THIS ((struct postgres_result_object_data *) Pike_fp->current_storage) #define THIS ((struct postgres_result_object_data *) Pike_fp->current_storage)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment