| From: | Neil Conway <neilc(at)samurai(dot)com> |
|---|---|
| To: | PostgreSQL-patches (PostgreSQL) <pgsql-patches(at)postgresql(dot)org> |
| Subject: | refactor CheckDropPermissions() |
| Date: | 2004-05-06 22:13:26 |
| Message-ID: | 98C8D570-9FAA-11D8-B878-000A95AB279E@samurai.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-patches |
This patch makes a minor tweak to CheckDropPermissions(): it moves some
initialization code for reporting errors out of the "common case" code
path. I think that results in a small win in both readability and
performance.
Barring any objections, I intend to apply this patch within 24 hours.
-Neil
| Attachment | Content-Type | Size |
|---|---|---|
| drop_error_msg_refactor-1.patch | application/octet-stream | 3.0 KB |
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Bruce Momjian | 2004-05-07 01:33:19 | Re: [BUGS] BUG #1148: server restarts depending on stats options |
| Previous Message | Bruce Momjian | 2004-05-06 22:10:21 | Re: BUG #1148: server restarts depending on stats options |