RefLib

Reference library for AI

Back

postgresql_16:7.1.11.3 Notes

PostgreSQL 16 > Reference > SQL Commands > ALTER FOREIGN TABLE > Notes

The key word COLUMN is noise and can be omitted.

Consistency with the foreign server is not checked when a column is added or removed with ADD COLUMN or DROP COLUMN, a NOT NULL or CHECK constraint is added, or a column type is changed with SET DATA TYPE. It is the user's responsibility to ensure that the table definition matches the remote side.

Refer to CREATE FOREIGN TABLE (see postgresql_16:7.1.64) for a further description of valid parameters.

Back