Index: dbd_pgsql.c
===================================================================
RCS file: /cvsroot/libdbi-drivers/libdbi-drivers/drivers/pgsql/dbd_pgsql.c,v
retrieving revision 1.54
diff -c -r1.54 dbd_pgsql.c
*** dbd_pgsql.c	15 Jan 2008 00:27:29 -0000	1.54
--- dbd_pgsql.c	26 Jan 2008 17:17:27 -0000
***************
*** 103,109 ****
  
  /* this function is available through the PostgreSQL client library, but it
     is not declared in any of their headers. I hope this won't break anything */
! char *pg_encoding_to_char(int encoding_id);
  
  
  /* these are helpers for dbd_real_connect */
--- 103,109 ----
  
  /* this function is available through the PostgreSQL client library, but it
     is not declared in any of their headers. I hope this won't break anything */
! const char *pg_encoding_to_char(int encoding_id);
  
  
  /* these are helpers for dbd_real_connect */
***************
*** 281,287 ****
  }
  
  const char *dbd_get_encoding(dbi_conn_t *conn){
! 	char* my_enc;
  	int n_encoding;
  	const char* encodingopt;
  	char* sql_cmd;
--- 281,287 ----
  }
  
  const char *dbd_get_encoding(dbi_conn_t *conn){
! 	const char* my_enc;
  	int n_encoding;
  	const char* encodingopt;
  	char* sql_cmd;
