PostgreSQL equivalent of SQL Server SQL_VARIANT_PROPERTY
4
votes
4
answers
3273
views
Does PostgreSQL have an equivalent function for determining column metadata?
Reference: SQL_VARIANT_PROPERTY
pg_typeof() appears to be close, but it does not show the precision and scale. Looking up the type in pg_type only shows the generic type info, not the column specific, e.g. SQL Fiddle .
Asked by 孔夫子
(4330 rep)
Nov 4, 2012, 11:52 PM
Last activity: Jul 6, 2018, 06:55 PM
Last activity: Jul 6, 2018, 06:55 PM