Re: [gnome-db] export to csv

Vivien Malerba <[email protected]>
Newsgroups gmane.comp.gnome.db
Message-ID <[email protected]>
On 12 July 2010 18:42, Andrea Zagli <[email protected]> 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

Patch applied with some modifications, see
http://git.gnome.org/browse/libgda/commit/?id=006666e8b6d6d93d028290c6a74f77d12f70b946

Thanks!

>
> - 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'll look at it ASAP.

>
>
> PS: i don't know if it is the right way to send you/make a patch...

Yes, no problem.

Thanks again,

Vivien
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.