How to find if a column is a "serial" column?

Поиск
Список
Период
Сортировка
От Dave Bartmess
Тема How to find if a column is a "serial" column?
Дата
Msg-id 1071960789.4719.5.camel@localhost
обсуждение исходный текст
Ответы Re: How to find if a column is a "serial" column?  (Kris Jurka <books@ejurka.com>)
Список pgsql-jdbc
I'm trying to write an insert routine, but I want to have the serial
column(s) excluded from the update/insert SQL commands, which I'm
building on the fly.

How do I determine if a column has been declared as a serial, since it
only comes back in getColumns() as java.sql.Types.INTEGER in the
resultset column "DATA_TYPE"?

Thanks!
--
David A. Bartmess
Software Configuration Manager / Sr. Software Developer
eDingo Enterprises
http://edingo.net


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

Предыдущее
От: Kris Jurka
Дата:
Сообщение: Re: [BUGS] Jdbc connection pooling and PG 7.4 consistently fails
Следующее
От: Kris Jurka
Дата:
Сообщение: Re: How to find if a column is a "serial" column?