- Архив списков рассылки pgsql-jdbc

Поиск
Список
Период
Сортировка
От Mansour Al Akeel
Тема
Дата
Msg-id CAFvvX=YcOX83wz2DagZRVJmDGawDBEj1g-GbCPR8KH9_EyN9cw@mail.gmail.com
обсуждение исходный текст
Список pgsql-jdbc
I am trying to get some information about a coloum using the method
 DatabaseMetaData.getString("IS_GENERATEDCOLUMN")

However it is throwing an exception:

org.postgresql.util.PSQLException: The column name IS_GENERATEDCOLUMN
was not found in this ResultSet.

Based on
http://docs.oracle.com/javase/7/docs/api/java/sql/DatabaseMetaData.html#getColumns(java.lang.String,%20java.lang.String,%20java.lang.String,%20java.lang.String)

We have:

IS_GENERATEDCOLUMN String => Indicates whether this is a generated column

YES --- if this a generated column
NO --- if this not a generated column
empty string --- if it cannot be determined whether this is a generated column


My questions is, is this a bug ? if not, how can I obtain this
information about a column (if it's generated or not) ?


Thank you.


В списке pgsql-jdbc по дате отправления:

Предыдущее
От: Dave Cramer
Дата:
Сообщение: Re: Resource lookup timeout causes Travis IC to fail test.
Следующее
От: Mansour Al Akeel
Дата:
Сообщение: Reading schema information