diff options
| author | Michael Meskes <meskes@postgresql.org> | 2008-12-29 17:07:06 +0000 |
|---|---|---|
| committer | Michael Meskes <meskes@postgresql.org> | 2008-12-29 17:07:06 +0000 |
| commit | 3c82099c82e2b51a09ab2317df26ef094ad7cc06 (patch) | |
| tree | c5e54e5e28c18c7b9d5aee1bd8bb0e4eac8c169b /src/interfaces/ecpg/preproc/ecpg.addons | |
| parent | 2f806e540fe48c49188956a794bf9cef1a7645a2 (diff) | |
| download | postgresql-3c82099c82e2b51a09ab2317df26ef094ad7cc06.tar.gz | |
First rounf of whitespace changes. Everything but connect-test1 should be fine.
Diffstat (limited to 'src/interfaces/ecpg/preproc/ecpg.addons')
| -rw-r--r-- | src/interfaces/ecpg/preproc/ecpg.addons | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/interfaces/ecpg/preproc/ecpg.addons b/src/interfaces/ecpg/preproc/ecpg.addons index e060ceb726..03f29b1e67 100644 --- a/src/interfaces/ecpg/preproc/ecpg.addons +++ b/src/interfaces/ecpg/preproc/ecpg.addons @@ -1,4 +1,4 @@ -/* $PostgreSQL: pgsql/src/interfaces/ecpg/preproc/ecpg.addons,v 1.1 2008/11/14 10:03:33 meskes Exp $ */ +/* $PostgreSQL: pgsql/src/interfaces/ecpg/preproc/ecpg.addons,v 1.2 2008/12/29 17:07:05 meskes Exp $ */ ECPG: stmtClosePortalStmt block { @@ -207,7 +207,7 @@ ECPG: ConstraintAttributeSpecConstraintTimeSpecConstraintDeferrabilitySpec addon mmerror(PARSE_ERROR, ET_ERROR, "INITIALLY DEFERRED constraint must be DEFERRABLE\n"); ECPG: var_valueNumericOnly addon ECPG: fetch_directionSignedIconst addon - if ($1[1] == '$') + if ($1[0] == '$') { free($1); $1 = make_str("$0"); @@ -216,7 +216,7 @@ ECPG: fetch_directionABSOLUTE_PSignedIconst addon ECPG: fetch_directionRELATIVE_PSignedIconst addon ECPG: fetch_directionFORWARDSignedIconst addon ECPG: fetch_directionBACKWARDSignedIconst addon - if ($2[1] == '$') + if ($2[0] == '$') { free($2); $2 = make_str("$0"); |
