Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit efb224a

Browse files
committed
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.
1 parent 07d17a7 commit efb224a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/backend/catalog/information_schema.sql

+1-1
Original file line numberDiff line numberDiff line change
@@ -274,7 +274,7 @@ CREATE VIEW attributes AS
274274
CAST(pg_get_expr(ad.adbin, ad.adrelid) AS character_data) AS attribute_default,
275275
CAST(CASE WHEN a.attnotnull OR (t.typtype = 'd' AND t.typnotnull) THEN 'NO' ELSE 'YES' END
276276
AS yes_or_no)
277-
AS is_nullable,
277+
AS is_nullable, -- This column was apparently removed between SQL:2003 and SQL:2008.
278278

279279
CAST(
280280
CASE WHEN t.typelem <> 0 AND t.typlen = -1 THEN 'ARRAY'

0 commit comments

Comments
 (0)