aboutsummaryrefslogtreecommitdiff
path: root/src/backend
diff options
context:
space:
mode:
authorPeter Eisentraut <peter_e@gmx.net>2011-06-14 22:53:02 +0300
committerPeter Eisentraut <peter_e@gmx.net>2011-06-14 22:53:02 +0300
commitefb224a4392326fd6ae3eabdc170a246978d3f09 (patch)
treec2b49001f43d2f740ab51cb6f426324a917bf11d /src/backend
parent07d17a73ec9485d6fa096d29d26647459fb9cbb7 (diff)
downloadpostgresql-efb224a4392326fd6ae3eabdc170a246978d3f09.tar.gz
postgresql-efb224a4392326fd6ae3eabdc170a246978d3f09.zip
Add comment that attributes.is_nullable was removed from SQL standard
We don't have to remove the column if no one is bothered, but it's useful to comment on it in case someone looks for it in newer standards versions.
Diffstat (limited to 'src/backend')
-rw-r--r--src/backend/catalog/information_schema.sql2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/backend/catalog/information_schema.sql b/src/backend/catalog/information_schema.sql
index 452a0ead44c..81407a3a5ee 100644
--- a/src/backend/catalog/information_schema.sql
+++ b/src/backend/catalog/information_schema.sql
@@ -274,7 +274,7 @@ CREATE VIEW attributes AS
CAST(pg_get_expr(ad.adbin, ad.adrelid) AS character_data) AS attribute_default,
CAST(CASE WHEN a.attnotnull OR (t.typtype = 'd' AND t.typnotnull) THEN 'NO' ELSE 'YES' END
AS yes_or_no)
- AS is_nullable,
+ AS is_nullable, -- This column was apparently removed between SQL:2003 and SQL:2008.
CAST(
CASE WHEN t.typelem <> 0 AND t.typlen = -1 THEN 'ARRAY'