diff options
author | Bruce Momjian <bruce@momjian.us> | 2001-01-27 18:34:38 +0000 |
---|---|---|
committer | Bruce Momjian <bruce@momjian.us> | 2001-01-27 18:34:38 +0000 |
commit | 2a7ab4d91683314b7ac2afc3851a628f5233f8da (patch) | |
tree | 7fce98e45f424439a5cd3d621748fb8afe0875be /src/bin/pgaccess/lib/tables.tcl | |
parent | 7fcd675dc34e4621975c356c4c48bcca53c3f322 (diff) | |
download | postgresql-2a7ab4d91683314b7ac2afc3851a628f5233f8da.tar.gz postgresql-2a7ab4d91683314b7ac2afc3851a628f5233f8da.zip |
Update to pgaccess 0.98.7.
Diffstat (limited to 'src/bin/pgaccess/lib/tables.tcl')
-rw-r--r-- | src/bin/pgaccess/lib/tables.tcl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/bin/pgaccess/lib/tables.tcl b/src/bin/pgaccess/lib/tables.tcl index d25bce73add..8ab4f579aff 100644 --- a/src/bin/pgaccess/lib/tables.tcl +++ b/src/bin/pgaccess/lib/tables.tcl @@ -1185,8 +1185,8 @@ if {$PgAcVar(nt,tablename)==""} then { focus .pgaw:NewTable.etabn return } -if {[.pgaw:NewTable.lb size]==0} then { - showError [intlmsg "Your table has no fields!"] +if {([.pgaw:NewTable.lb size]==0) && ($PgAcVar(nt,inherits)=="")} then { + showError [intlmsg "Your table has no columns!"] focus .pgaw:NewTable.e2 return } |