Package: odbc-postgresql
Version: 1:07.03.0200-5
Severity: normal

Apparently specific to amd64 installation only, an ODBC client request
for table/view structure ('describe table') results in a segfault.
Example isql session:

$ isql DSNname myuser mypass
+---------------------------------------+
| Connected!                            |
|                                       |
| sql-statement                         |
| help [tablename]                      |
| quit                                  |
|                                       |
+---------------------------------------+
SQL> help
(output returns list of all tables and views, as expected)
SQL> help mytable
Segmentation fault

I note that issuing a direct SQL query, with prior knowledge of the
column names etc., is successful:

$ isql DSNname myuser mypass
+---------------------------------------+
| Connected!                            |
|                                       |
| sql-statement                         |
| help [tablename]                      |
| quit                                  |
|                                       |
+---------------------------------------+
SQL> select * from mytable;
(table output returned as expected)

Additional information:

- Above behaviour is reproducible and identical for connections to two
  different postgresql server installations (both on other boxes), one
  is postgresql 7.2.1-2woody8 (current Woody release) and the other is a
  slightly out-of-date Sarge running postgresql version 7.4.6-5;

- On a similar system which is i686 rather than amd64, the segfaults do
  not occur - 'help mytable' returns the expected table structure, so
  this bug appears at face value to be specific to the amd64 version of
  odbc-postgresql;



-- System Information:
Debian Release: 3.1
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.8-11-amd64-k8-smp
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)

Versions of packages odbc-postgresql depends on:
ii  libc6                       2.3.2.ds1-22 GNU C Library: Shared libraries an
ii  odbcinst1                   2.2.4-11     Support library and helper program

-- no debconf information


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to