pg.ddx.io pgsql-general@postgresql.org mailing list archive
help / color / mirror / Atom feedCan I drop a NOT NUL constrain on an existing table?
2+ messages / 2 participants
[nested] [flat]
* Can I drop a NOT NUL constrain on an existing table?
@ 2020-01-16 14:43 stan <stanb@panix.com>
2020-01-16 14:49 ` Re: Can I drop a NOT NUL constrain on an existing table? Justin <zzzzz.graf@gmail.com>
0 siblings, 1 reply; 2+ messages in thread
From: stan @ 2020-01-16 14:43 UTC (permalink / raw)
To: pgsql-general@lists.postgresql.org
I see how to do this if it is a "dcleared" constraint, but this was just
defined in the table createion as inL
report_no varchar UNIQUE ,
--
"They that would give up essential liberty for temporary safety deserve
neither liberty nor safety."
-- Benjamin Franklin
^ permalink raw reply [nested|flat] 2+ messages in thread
* Re: Can I drop a NOT NUL constrain on an existing table?
2020-01-16 14:43 Can I drop a NOT NUL constrain on an existing table? stan <stanb@panix.com>
@ 2020-01-16 14:49 ` Justin <zzzzz.graf@gmail.com>
0 siblings, 0 replies; 2+ messages in thread
From: Justin @ 2020-01-16 14:49 UTC (permalink / raw)
To: stan <stanb@panix.com>; +Cc: pgsql-generallists.postgresql.org <pgsql-general@lists.postgresql.org>
Alter table mytable drop constraint name_of_constraint
https://www.postgresql.org/docs/current/sql-altertable.html
On Thu, Jan 16, 2020 at 9:43 AM stan <stanb@panix.com> wrote:
> I see how to do this if it is a "dcleared" constraint, but this was just
> defined in the table createion as inL
>
> report_no varchar UNIQUE ,
>
>
> --
> "They that would give up essential liberty for temporary safety deserve
> neither liberty nor safety."
> -- Benjamin Franklin
>
>
>
^ permalink raw reply [nested|flat] 2+ messages in thread
end of thread, other threads:[~2020-01-16 14:49 UTC | newest]
Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2020-01-16 14:43 Can I drop a NOT NUL constrain on an existing table? stan <stanb@panix.com>
2020-01-16 14:49 ` Justin <zzzzz.graf@gmail.com>
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox