2005/8/12, Juan Manuel Mouriz <[EMAIL PROTECTED]>:
> I get a segfault when I call gda_connection_get_schema () for
> GDA_CONNECTION_GET_SCHEMA_FIELDS:
>
> Program received signal SIGSEGV, Segmentation fault.
> [Switching to Thread 1083972288 (LWP 16853)]
> 0x40ad3b2a in get_postgres_fields_metadata (cnc=0x0,
> params=0x40ad9149) at gda-postgres-provider.c:2075
> 2075 if (arr == NULL || arr[0][0] == '\0') {
>
> This happens when a index have a function instead of column name:
>
> create unique index alumnos_idx on alumnos (lower (nombre));
>
> I attach a simple patch to avoid this.
> --
Thanks for the patch, I'll commit it soon.
Vivien
_______________________________________________
gnome-db-list mailing list
[email protected]
http://mail.gnome.org/mailman/listinfo/gnome-db-list