Added variable macro for generic db objects

From: Murtuza Zabuawala <murtuza(dot)zabuawala(at)enterprisedb(dot)com>
To: pgadmin-hackers <pgadmin-hackers(at)postgresql(dot)org>
Subject: Added variable macro for generic db objects
Date: 2016-02-02 12:19:07
Message-ID: CAKKotZRv6z1twV+dXQH+77-3XXbvnnuGg8Fxw40iahNtOqr5Nw@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-hackers

Hi,

PFA patch to add another generic macro for variable control, previously
written macro was specific to database node and not usable with other db
objects.

*How to use:*
VARIABLE.SET(conn, object_type, object_name, variable_name, value)
VARIABLE.UNSET(conn, object_type, object_name, variable_name)

--
Regards,
Murtuza Zabuawala
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company

Attachment Content-Type Size
added_generic_macro_v1.patch application/octet-stream 1.6 KB

Responses

Browse pgadmin-hackers by date

  From Date Subject
Next Message Murtuza Zabuawala 2016-02-02 13:01:21 Re: Added variable macro for generic db objects
Previous Message Harshal Dhumal 2016-02-02 11:25:30 Minor issue in variable js [pgadmin4]