projects
/
users
/
bernd
/
postgres.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
81a3e34
)
Change "|zzlzzzz" argument specification to "|zzizzzz" so that the code works
author
D'Arcy J.M. Cain
<
[email protected]
>
Wed, 2 May 2001 11:17:24 +0000
(11:17 +0000)
committer
D'Arcy J.M. Cain
<
[email protected]
>
Wed, 2 May 2001 11:17:24 +0000
(11:17 +0000)
properly on 64 bit systems.
Change submitted by Marc Poinot (
[email protected]
)
src/interfaces/python/pgmodule.c
patch
|
blob
|
blame
|
history
diff --git
a/src/interfaces/python/pgmodule.c
b/src/interfaces/python/pgmodule.c
index bae459a1724b15ffaa9fbd55f03fe86306ffdf82..a1ce3cd33fe666c9f7a38646cd5e65b56bb5927f 100644
(file)
--- a/
src/interfaces/python/pgmodule.c
+++ b/
src/interfaces/python/pgmodule.c
@@
-1496,7
+1496,7
@@
pgconnect(pgobject * self, PyObject * args, PyObject * dict)
* don't declare kwlist as const char *kwlist[] then it complains when
* I try to assign all those constant strings to it.
*/
- if (!PyArg_ParseTupleAndKeywords(args, dict, "|zz
l
zzzz", (char **) kwlist,
+ if (!PyArg_ParseTupleAndKeywords(args, dict, "|zz
i
zzzz", (char **) kwlist,
&pgdbname, &pghost, &pgport, &pgopt, &pgtty, &pguser, &pgpasswd))
return NULL;