From: | Mansour Al Akeel <mansour(dot)alakeel(at)gmail(dot)com> |
---|---|
To: | pgsql-jdbc(at)postgresql(dot)org |
Subject: | |
Date: | 2015-05-24 22:21:57 |
Message-ID: | CAFvvX=YcOX83wz2DagZRVJmDGawDBEj1g-GbCPR8KH9_EyN9cw@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | 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.
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.
From | Date | Subject | |
---|---|---|---|
Next Message | Mansour Al Akeel | 2015-05-25 09:53:38 | Reading schema information |
Previous Message | Dave Cramer | 2015-05-14 00:09:26 | Re: Resource lookup timeout causes Travis IC to fail test. |