diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2003-04-27 20:09:44 +0000 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2003-04-27 20:09:44 +0000 |
commit | 982430f8469dfc0fd9d9196862f34a2c3fc7dc13 (patch) | |
tree | 5f672e30ddd44b4548ba3e18f534fd5008bf3fa8 /src/backend/parser/parser.c | |
parent | 351372e585746538ef080bfe1219de3f3074a025 (diff) | |
download | postgresql-982430f8469dfc0fd9d9196862f34a2c3fc7dc13.tar.gz |
Put back encoding-conversion step in processing of incoming queries;
I had inadvertently omitted it while rearranging things to support
length-counted incoming messages. Also, change the parser's API back
to accepting a 'char *' query string instead of 'StringInfo', as the
latter wasn't buying us anything except overhead. (I think when I put
it in I had some notion of making the parser API 8-bit-clean, but
seeing that flex depends on null-terminated input, that's not really
ever gonna happen.)
Diffstat (limited to 'src/backend/parser/parser.c')
-rw-r--r-- | src/backend/parser/parser.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/backend/parser/parser.c b/src/backend/parser/parser.c index c8614b5731..16745f7b37 100644 --- a/src/backend/parser/parser.c +++ b/src/backend/parser/parser.c @@ -14,7 +14,7 @@ * Portions Copyright (c) 1994, Regents of the University of California * * IDENTIFICATION - * $Header: /cvsroot/pgsql/src/backend/parser/parser.c,v 1.55 2002/09/04 20:31:24 momjian Exp $ + * $Header: /cvsroot/pgsql/src/backend/parser/parser.c,v 1.56 2003/04/27 20:09:44 tgl Exp $ * *------------------------------------------------------------------------- */ @@ -45,7 +45,7 @@ static bool have_lookahead; /* lookahead_token set? */ * Returns a list of raw (un-analyzed) parse trees. */ List * -parser(StringInfo str, Oid *typev, int nargs) +parser(const char *str, Oid *typev, int nargs) { int yyresult; |