diff options
author | Neil Conway <neilc@samurai.com> | 2005-12-26 04:28:48 +0000 |
---|---|---|
committer | Neil Conway <neilc@samurai.com> | 2005-12-26 04:28:48 +0000 |
commit | 97e1535fba2aac8e3fd8c4aabc90b958107b7953 (patch) | |
tree | 8af0fe752654e1490be0c69ab21ccddd57fa9362 /src/backend/parser/parse_expr.c | |
parent | 261114a23f51c3d35a50ac27f2f453c6767bfeff (diff) | |
download | postgresql-97e1535fba2aac8e3fd8c4aabc90b958107b7953.tar.gz postgresql-97e1535fba2aac8e3fd8c4aabc90b958107b7953.zip |
Various cosmetic code cleanup for PL/Python:
- use "bool" rather than "int" for boolean variables
- use "PLy_malloc" rather than "malloc" in two places
- define "PLy_strdup", and use it rather than malloc() + strcpy() in
two places (which should have been memcpy(), anyway).
- remove a bunch of redundant parentheses from expressions that do not
need the parentheses for code clarity
Diffstat (limited to 'src/backend/parser/parse_expr.c')
0 files changed, 0 insertions, 0 deletions