Re: [gnome-db] export to csv
- From: Vivien Malerba <vmalerba gmail com>
- To: Andrea Zagli <azagli libero it>
- Cc: gnome-db list <gnome-db-list gnome org>
- Subject: Re: [gnome-db] export to csv
- Date: Wed, 14 Jul 2010 13:59:47 +0200
On 12 July 2010 18:42, Andrea Zagli <azagli libero it> wrote:
> - i think that could be useful an additional parameter (or an option) to
> gda_data_model_export_to_file that allow to make the first line of the file
> the list of fields name; so i prepared the patch attached named
> fields_name_header.patch
>
> - i don't know if so for every database, but when the field is of type date
> (or time or timestamp) and it is null postgresql wants in csv file a
> zero-lenght string; so i prepared another patch (in attach named
> null_date.patch) (it makes use of the two functions that i send 2 days ago)
I've added a "NULL_AS_EMPTY" export option rather than applying your
patch which would have changed the way Libgda currently works (which
is bad for already installed applications), see
http://git.gnome.org/browse/libgda/commit/?id=5ccd3eb2c24fea2caad3c9bcc1640d578194f6de
Regards,
Vivien
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]