Patch for incomplete libpq DLL .def file - Mailing list pgsql-patches

From Gerhard Häring
Subject Patch for incomplete libpq DLL .def file
Date
Msg-id 3B189EDF.91D14B5A@gmx.de
Whole thread Raw
Responses Re: Patch for incomplete libpq DLL .def file
Re: Patch for incomplete libpq DLL .def file
List pgsql-patches
I have ported another Python Postgres interface to Windows (PgSQL). It seems
that not many people actually use libpq on Win32; I have found another bug. Some
functions that are defined in libpq-fe.h aren't exported in the DLL version of
the library. I have added them to src/interfaces/libpq/libpqdll.def. The new
complete file is attached.

Gerhard
--
mail:   gerhard <at> bigfoot <dot> de       registered Linux user #64239
web:    http://highqualdev.com              public key at homepage
public key fingerprint: DEC1 1D02 5743 1159 CD20  A4B6 7B22 6575 86AB 43C0
reduce(lambda x,y:x+y,map(lambda x:chr(ord(x)^42),tuple('zS^BED\nX_FOY\x0b')))LIBRARY LIBPQ
DESCRIPTION "Postgres Client Access Library"
EXPORTS
    PQconnectdb         @ 1
    PQsetdbLogin         @ 2
    PQconndefaults         @ 3
    PQfinish         @ 4
    PQreset            @ 5
    PQrequestCancel        @ 6
    PQdb            @ 7
    PQuser            @ 8
    PQpass            @ 9
    PQhost            @ 10
    PQport            @ 11
    PQtty            @ 12
    PQoptions        @ 13
    PQstatus        @ 14
    PQerrorMessage        @ 15
    PQsocket        @ 16
    PQbackendPID        @ 17
    PQtrace            @ 18
    PQuntrace        @ 19
    PQsetNoticeProcessor    @ 20
    PQexec            @ 21
    PQnotifies        @ 22
    PQsendQuery        @ 23
    PQgetResult        @ 24
    PQisBusy        @ 25
    PQconsumeInput        @ 26
    PQgetline        @ 27
    PQputline        @ 28
    PQgetlineAsync        @ 29
    PQputnbytes        @ 30
    PQendcopy        @ 31
    PQfn            @ 32
    PQresultStatus        @ 33
    PQntuples        @ 34
    PQnfields        @ 35
    PQbinaryTuples        @ 36
    PQfname            @ 37
    PQfnumber        @ 38
    PQftype            @ 39
    PQfsize            @ 40
    PQfmod            @ 41
    PQcmdStatus        @ 42
    PQoidStatus        @ 43
    PQcmdTuples        @ 44
    PQgetvalue        @ 45
    PQgetlength        @ 46
    PQgetisnull        @ 47
    PQclear            @ 48
    PQmakeEmptyPGresult    @ 49
    PQprint            @ 50
    PQdisplayTuples        @ 51
    PQprintTuples        @ 52
    lo_open            @ 53
    lo_close        @ 54
    lo_read            @ 55
    lo_write        @ 56
    lo_lseek        @ 57
    lo_creat        @ 58
    lo_tell            @ 59
    lo_unlink        @ 60
    lo_import        @ 61
    lo_export        @ 62
    pgresStatus        @ 63
    PQmblen            @ 64
    PQresultErrorMessage    @ 65
    PQresStatus        @ 66
     termPQExpBuffer        @ 67
    appendPQExpBufferChar    @ 68
    initPQExpBuffer        @ 69
    resetPQExpBuffer    @ 70
    PQoidValue        @ 71
    PQclientEncoding    @ 72
    PQenv2encoding        @ 73
    appendBinaryPQExpBuffer    @ 74
    appendPQExpBufferStr    @ 75
    destroyPQExpBuffer    @ 76
    createPQExpBuffer    @ 77
    PQconninfoFree        @ 78
    PQconnectPoll        @ 79
    PQconnectStart        @ 80
    PQflush            @ 81
    PQisnonblocking        @ 82
    PQresetPoll        @ 83
    PQresetStart        @ 84
    PQsetClientEncoding    @ 85
    PQsetnonblocking    @ 86


pgsql-patches by date:

Previous
From: Tom Lane
Date:
Subject: Re: show all;
Next
From: Marko Kreen
Date:
Subject: take 2: show all / reset all