postgresql_16:7.1.11.4 Examples
PostgreSQL 16 > Reference > SQL Commands > ALTER FOREIGN TABLE > Examples
To mark a column as not-null: ALTER FOREIGN TABLE distributors ALTER COLUMN street SET NOT NULL;
To change options of a foreign table: ALTER FOREIGN TABLE myschema.distributors OPTIONS (ADD opt1 'value', SET opt2 'value2', DROP opt3);