gnumed-bugs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Gnumed-bugs] Fixup Server failed


From: slappinjohn
Subject: Re: [Gnumed-bugs] Fixup Server failed
Date: Thu, 5 Sep 2019 15:58:06 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.8.0

    Column     |           Type           | Collation | Nullable
|                       Default                        | Storage  |
Stats target | Description
---------------+--------------------------+-----------+----------+------------------------------------------------------+----------+--------------+-------------
 pk_audit      | integer                  |           | not null |
nextval('audit.audit_fields_pk_audit_seq'::regclass) | plain   
|              |
 row_version   | integer                  |           | not null |
0                                                    | plain   
|              |
 modified_when | timestamp with time zone |           | not null |
now()                                                | plain   
|              |
 modified_by   | name                     |           | not null |
"current_user"()                                     | plain   
|              |
 pk            | integer                  |           | not null |
nextval('gm.access_log_pk_seq'::regclass)            | plain   
|              |
 user_action   | text                     |           | not null
|                                                      | extended
|              |
Indexes:
    "access_log_pkey" PRIMARY KEY, btree (pk)
Check constraints:
    "audit_audit_fields_sane_modified_when" CHECK ((modified_when <=
clock_timestamp()) IS TRUE)
    "non_empty_user_action" CHECK
(gm.is_null_or_blank_string(user_action) IS FALSE)
Triggers:
    zt_del_access_log BEFORE DELETE ON gm.access_log FOR EACH ROW
EXECUTE PROCEDURE audit.ft_del_access_log()
    zt_ins_access_log BEFORE INSERT ON gm.access_log FOR EACH ROW
EXECUTE PROCEDURE audit.ft_ins_access_log()
    zt_upd_access_log BEFORE UPDATE ON gm.access_log FOR EACH ROW
EXECUTE PROCEDURE audit.ft_upd_access_log()
Inherits: audit.audit_fields

Am 05.09.19 um 15:12 schrieb Karsten Hilbert:
> SET default_transaction_read_only to off;
> BEGIN;
> ALTER TABLE gm.access_log ADD PRIMARY KEY (pk);
> \d gm.access_log
> ROLLBACK;

reply via email to

[Prev in Thread] Current Thread [Next in Thread]