2002-01-11  Gonzalo Paniagua Javier <gonzalo@gnome-db.org>

	* gda-postgres-recordset.c: updated copyright notice.

2002-01-10  Gonzalo Paniagua Javier <gonzalo@gnome-db.org>

	* utils.c (gda_postgres_set_field_date): added support for Time,
	Timestamp and Date.
	
2002-01-08  Gonzalo Paniagua Javier <gonzalo@gnome-db.org>

	* utils.c (gda_postgres_set_type_value): renamed to
	gda_postgres_set_field_data(). Now it sets all the field data, not
	just type and value.
	(gda_postgres_type_to_gda()): added NAMEOID type (char(32) used for
	internal names in PostgreSQL). Default return value is now STRING so
	as describe_func() doesn't set the column type to UNKNOWN.

	* gda-postgres.h: removed declaration of gda_postgres_set_type_value()
	and added gda_postgres_set_field_data().

	* gda-postgres-recordset.c (fetch_func()): use the new function to set
	the field data. Removed TODO list. Check for null values.
	(describe_func()): removed TODO list. Values for scale and
	defined_size are now ok.

	* gda_postgres_provider.c: free the list of recordsets when there is
	an error and return NULL after adding the error to the connection.
	
2002-01-07  Gonzalo Paniagua Javier <gonzalo@gnome-db.org>

	* *.[ch]: changed copyright to the GNOME Foundation.

	* gda-postgres-provider.[ch]: moved #define's to header file. Now use
	GdaPostgresConnectionPrivate to store the connection and the data
	associated data types.
	(add_string_row()): now it is called from g_list_foreach().

2002-01-03  Gonzalo Paniagua Javier <gonzalo@gnome-db.org>

	* utils.c:
	* gda-postgres-recordset.c: Added support for GdaGeometricPoint.

2002-01-02  Gonzalo Paniagua Javier <gonzalo@gnome-db.org>

	* gda-postgres-provider.c (process_sql_commands()): don't call
	PQclear() after storing the resultset. It's done when freeing the
	resultset.
	(gda_postgres_provider_get_schema()): added this one and a few helper 
	functions.
	(gda_postgres_provider_open_connection()): accept REQUIRESSL and
	HOSTADDR as parameters and changed LOGIN by USER. Now uses
	PQconnectdb() instead of the old PQsetdbLogin(). Changed default date
	style to ISO.

	* utils.c (gda_postgres_set_type_value()): GDA_TYPE_DATE now works.
	Changed the type of the default from GDA_TYPE_UNKNOWN to
	GDA_TYPE_STRING as a temporary workaround to make TIMESTAMP, TIME and
	BINARY work.

	* GNOME_Database_Provider_Postgres.server.in: added parameters
	REQUIRESSL and HOSTADDR. Changed LOGIN by USER.

2001-12-26  Gonzalo Paniagua Javier <gonzalo@gnome-db.org>

	* gda-postgres-provider.c: added the call to
	gda_server_connection_add_error() where I forgot to put it.
	Added gda_postgres_provider_supports().
	Call PQfinish() if PQsetdbLogin() fails.
	Always call PQfinish() in close_connection() to avoid memory leaks.
	Handle the possible NULL return value in PQexec().

	* utils.c: First version of a working gda_postgres_type_to_gda().
	Added gda_postgres_set_type_value().

2001-12-20  Gonzalo Paniagua Javier <gonzalo@gnome-db.org>

	* gda-postgres-provider.c: some cosmetic changes, implementation of
	begin, commit and rollback.

	* gda-postgres-recordset.c: commented out some portions of code
	related to data types so as the code compiles ok.

	* gda-postgres.h: added include for gda-postgres-recordset.h needed by
	gda-postgres-provider.c. Changed the declaration of 
	gda_postgres_type_to_gda() to make the code compile.

	* utils.c: make the code compile but gda_postgres_type_to_gda()
	unuseful. I will finish it later.
	
2001-12-19  Rodrigo Moya <rodrigo@gnome-db.org>

	* GNOME_Database_Provider_Postgres.server.in: fixed gda_params
	attribute, which was copied from MySQL, so was invalid

	* Makefile.am: added '-2' suffix to executable name

2001-12-18  Gonzalo Paniagua Javier <gonzalo@gnome-db.org>

	* gda-postgres.h: Initial version
	* gda-postgres-provider.h: Initial version
	* gda-postgres-provider.c: Initial version
	* gda-postgres-recordset.c: Initial version
	* gda-postgres-recordset.h: Initial version
	* GNOME_Database_Provider_Postgres.server.in: Initial version
	* Changelog: Initial version
	* main.c: Initial version
	* Makefile.am: Initial version
	* utils.c: Initial version

	Based heavily upon the work by Rodrigo in the MySQL provider and
	Vivien in the gnome-1-x PostgreSQL provider.

