Docs.rs
pq-sys-0.6.2
pq-sys 0.6.2
Docs.rs crate page
MIT
OR
Apache-2.0
Links
Repository
crates.io
Source
Owners
sgrif
github:diesel-rs:core
Dependencies
pq-src >=0.2, <0.4
normal
optional
bindgen ^0.69.1
build
optional
pkg-config ^0.3.0
build
optional
vcpkg ^0.2.6
build
Versions
0%
of the crate is documented
Go to latest version
Platform
i686-pc-windows-msvc
i686-unknown-linux-gnu
x86_64-apple-darwin
x86_64-pc-windows-msvc
x86_64-unknown-linux-gnu
Feature flags
docs.rs
About docs.rs
Badges
Builds
Metadata
Shorthand URLs
Download
Rustdoc JSON
Build queue
Privacy policy
Rust
Rust website
The Book
Standard Library API Reference
Rust by Example
The Cargo Guide
Clippy Documentation
pq_sys
0.6.2
All Items
Crate Items
Structs
Enums
Constants
Functions
Type Aliases
Unions
Crate
pq_sys
Copy item path
source
·
[
−
]
Structs
§
PQArg
Block
_PQconninfo
Option
_PQprint
Opt
__
lc_
time_
data
_iobuf
lconv
localeinfo_
struct
pgNotify
pg_
cancel
pg_conn
pg_
result
pgres
AttDesc
tagL
C_
ID
threadlocaleinfostruct
threadlocaleinfostruct__
bindgen_
ty_
1
threadmbcinfostruct
Enums
§
Conn
Status
Type
Exec
Status
Type
PGContext
Visibility
PGPing
PGTransaction
Status
Type
PGVerbosity
PGpipeline
Status
Postgres
Polling
Status
Type
Constants
§
BUFSIZ
EOF
FILENAM
E_
MAX
FOPE
N_
MAX
LIBP
Q_
HAS_
PIPELINING
LIBP
Q_
HAS_
SSL_
LIBRAR
Y_
DETECTION
LIBP
Q_
HAS_
TRAC
E_
FLAGS
MING
W_
HAS_
DDK_
H
MING
W_
HAS_
SECUR
E_
API
PG_
COPYRE
S_
ATTRS
PG_
COPYRE
S_
EVENTS
PG_
COPYRE
S_
NOTICEHOOKS
PG_
COPYRE
S_
TUPLES
PG_
DIAG_
COLUM
N_
NAME
PG_
DIAG_
CONSTRAIN
T_
NAME
PG_
DIAG_
CONTEXT
PG_
DIAG_
DATATYP
E_
NAME
PG_
DIAG_
INTERNA
L_
POSITION
PG_
DIAG_
INTERNA
L_
QUERY
PG_
DIAG_
MESSAG
E_
DETAIL
PG_
DIAG_
MESSAG
E_
HINT
PG_
DIAG_
MESSAG
E_
PRIMARY
PG_
DIAG_
SCHEM
A_
NAME
PG_
DIAG_
SEVERITY
PG_
DIAG_
SEVERIT
Y_
NONLOCALIZED
PG_
DIAG_
SOURC
E_
FILE
PG_
DIAG_
SOURC
E_
FUNCTION
PG_
DIAG_
SOURC
E_
LINE
PG_
DIAG_
SQLSTATE
PG_
DIAG_
STATEMEN
T_
POSITION
PG_
DIAG_
TABL
E_
NAME
PQTRAC
E_
REGRES
S_
MODE
PQTRAC
E_
SUPPRES
S_
TIMESTAMPS
PQ_
QUER
Y_
PARA
M_
MAX_
LIMIT
PQno
Password
Supplied
P_
tmpdir
SEEK_
CUR
SEEK_
END
SEEK_
SET
STDER
R_
FILENO
STDI
N_
FILENO
STDOU
T_
FILENO
SYS_
OPEN
TMP_MAX
TMP_
MAX_
S
USE___
UUIDOF
_ARGMAX
_CRT_
INTERNA
L_
LOCA
L_
PRINT
F_
OPTIONS
_CRT_
INTERNA
L_
LOCA
L_
SCAN
F_
OPTIONS
_CRT_
INTERNA
L_
PRINT
F_
LEGAC
Y_
MSVCR
T_
COMPATIBILITY
_CRT_
INTERNA
L_
PRINT
F_
LEGAC
Y_
THRE
E_
DIGI
T_
EXPONENTS
_CRT_
INTERNA
L_
PRINT
F_
LEGAC
Y_
VSPRINT
F_
NULL_
TERMINATION
_CRT_
INTERNA
L_
PRINT
F_
LEGAC
Y_
WIDE_
SPECIFIERS
_CRT_
INTERNA
L_
PRINT
F_
STANDAR
D_
SNPRINT
F_
BEHAVIOR
_CRT_
INTERNA
L_
SCAN
F_
LEGAC
Y_
MSVCR
T_
COMPATIBILITY
_CRT_
INTERNA
L_
SCAN
F_
LEGAC
Y_
WIDE_
SPECIFIERS
_CRT_
INTERNA
L_
SCAN
F_
SECURECRT
_CRT_
PACKING
_CRT_
SECUR
E_
CPP_
OVERLOA
D_
SECUR
E_
NAMES
_CRT_
SECUR
E_
CPP_
OVERLOA
D_
SECUR
E_
NAME
S_
MEMORY
_CRT_
SECUR
E_
CPP_
OVERLOA
D_
STANDAR
D_
NAMES
_CRT_
SECUR
E_
CPP_
OVERLOA
D_
STANDAR
D_
NAME
S_
COUNT
_CRT_
SECUR
E_
CPP_
OVERLOA
D_
STANDAR
D_
NAME
S_
MEMORY
_IOB_
ENTRIES
_IOEOF
_IOERR
_IOFBF
_IOLBF
_IOMYBUF
_IONBF
_IOREAD
_IORW
_IOSTRG
_IOWRT
_M_
AMD64
_M_X64
_NSTREA
M_
_OLD_
P_
OVERLAY
_P_
DETACH
_P_
NOWAIT
_P_
NOWAITO
_P_
OVERLAY
_P_WAIT
_P_
tmpdir
_SECURECR
T_
FILL_
BUFFE
R_
PATTERN
_SYS_
OPEN
_TWO_
DIGI
T_
EXPONENT
_WAI
T_
CHILD
_WAI
T_
GRANDCHILD
_WIN32_
WINNT
__
__
CRT__
NO_
INLINE
__
GOT_
SECUR
E_
LIB__
__
MING
W32_
MAJO
R_
VERSION
__
MING
W32_
MINO
R_
VERSION
__
MING
W64_
VERSIO
N_
BUGFIX
__
MING
W64_
VERSIO
N_
MAJOR
__
MING
W64_
VERSIO
N_
MINOR
__
MING
W64_
VERSIO
N_
RC
__
MING
W64_
VERSIO
N_
STATE
__
MING
W_
FORTIF
Y_
LEVEL
__
MING
W_
FORTIF
Y_
VA_
ARG
__
MING
W_
HAVE_
ANSI_
C99_
PRINTF
__
MING
W_
HAVE_
ANSI_
C99_
SCANF
__
MING
W_
HAVE_
WIDE_
C99_
PRINTF
__
MING
W_
HAVE_
WIDE_
C99_
SCANF
__
MING
W_
MSVC2005_
DEPRE
C_
STR
__
MING
W_
SEC_
WARN_
STR
__
MING
W_
USE_
UNDERSCOR
E_
PREFIX
__
MSVCR
T_
VERSIO
N__
__
STDC_
SECUR
E_
LIB__
__
USE_
CRTIMP
__
USE_
MING
W_
ANSI_
STDIO
_wP_
tmpdir
Functions
§
PQbackendPID
⚠
PQbinary
Tuples
⚠
PQcancel
⚠
PQclear
⚠
PQclient
Encoding
⚠
PQcmd
Status
⚠
PQcmd
Tuples
⚠
PQconndefaults
⚠
PQconnect
Poll
⚠
PQconnect
Start
⚠
PQconnect
Start
Params
⚠
PQconnectdb
⚠
PQconnectdb
Params
⚠
PQconnection
Needs
Password
⚠
PQconnection
UsedGSSAPI
⚠
PQconnection
Used
Password
⚠
PQconninfo
⚠
PQconninfo
Free
⚠
PQconninfo
Parse
⚠
PQconsume
Input
⚠
PQcopy
Result
⚠
PQdb
⚠
PQdefaultSSL
KeyPass
Hook_
OpenSSL
⚠
PQdescribe
Portal
⚠
PQdescribe
Prepared
⚠
PQdisplay
Tuples
⚠
PQdsplen
⚠
PQencrypt
Password
⚠
PQencrypt
Password
Conn
⚠
PQendcopy
⚠
PQenter
Pipeline
Mode
⚠
PQenv2encoding
⚠
PQerror
Message
⚠
PQescape
Bytea
⚠
PQescape
Bytea
Conn
⚠
PQescape
Identifier
⚠
PQescape
Literal
⚠
PQescape
String
⚠
PQescape
String
Conn
⚠
PQexec
⚠
PQexec
Params
⚠
PQexec
Prepared
⚠
PQexit
Pipeline
Mode
⚠
PQfformat
⚠
PQfinish
⚠
PQflush
⚠
PQfmod
⚠
PQfn
⚠
PQfname
⚠
PQfnumber
⚠
PQfree
Cancel
⚠
PQfreemem
⚠
PQfsize
⚠
PQftable
⚠
PQftablecol
⚠
PQftype
⚠
PQget
Cancel
⚠
PQget
Copy
Data
⚠
PQget
Result
⚠
PQgetSSL
KeyPass
Hook_
OpenSSL
⚠
PQgetgssctx
⚠
PQgetisnull
⚠
PQgetlength
⚠
PQgetline
⚠
PQgetline
Async
⚠
PQgetssl
⚠
PQgetvalue
⚠
PQgss
EncIn
Use
⚠
PQhost
⚠
PQhostaddr
⚠
PQinit
OpenSSL
⚠
PQinitSSL
⚠
PQis
Busy
⚠
PQisnonblocking
⚠
PQisthreadsafe
⚠
PQlib
Version
⚠
PQmake
EmptyP
Gresult
⚠
PQmblen
⚠
PQmblen
Bounded
⚠
PQnfields
⚠
PQnotifies
⚠
PQnparams
⚠
PQntuples
⚠
PQoid
Status
⚠
PQoid
Value
⚠
PQoptions
⚠
PQparameter
Status
⚠
PQparamtype
⚠
PQpass
⚠
PQping
⚠
PQping
Params
⚠
PQpipeline
Status
⚠
PQpipeline
Sync
⚠
PQport
⚠
PQprepare
⚠
PQprint
⚠
PQprint
Tuples
⚠
PQprotocol
Version
⚠
PQput
Copy
Data
⚠
PQput
Copy
End
⚠
PQputline
⚠
PQputnbytes
⚠
PQregister
Thread
Lock
⚠
PQrequest
Cancel
⚠
PQres
Status
⚠
PQreset
⚠
PQreset
Poll
⚠
PQreset
Start
⚠
PQresult
Alloc
⚠
PQresult
Error
Field
⚠
PQresult
Error
Message
⚠
PQresult
Memory
Size
⚠
PQresult
Status
⚠
PQresult
Verbose
Error
Message
⚠
PQsend
Describe
Portal
⚠
PQsend
Describe
Prepared
⚠
PQsend
Flush
Request
⚠
PQsend
Prepare
⚠
PQsend
Query
⚠
PQsend
Query
Params
⚠
PQsend
Query
Prepared
⚠
PQserver
Version
⚠
PQset
Client
Encoding
⚠
PQset
Error
Context
Visibility
⚠
PQset
Error
Verbosity
⚠
PQset
Notice
Processor
⚠
PQset
Notice
Receiver
⚠
PQset
Result
Attrs
⚠
PQsetSSL
KeyPass
Hook_
OpenSSL
⚠
PQset
Single
RowMode
⚠
PQset
Trace
Flags
⚠
PQsetdb
Login
⚠
PQsetnonblocking
⚠
PQsetvalue
⚠
PQsocket
⚠
PQssl
Attribute
⚠
PQssl
Attribute
Names
⚠
PQssl
InUse
⚠
PQssl
Struct
⚠
PQstatus
⚠
PQtrace
⚠
PQtransaction
Status
⚠
PQtty
⚠
PQunescape
Bytea
⚠
PQuntrace
⚠
PQuser
⚠
__
acrt_
iob_
func
⚠
__
iob_
func
⚠
__
mingw_
asprintf
⚠
__
mingw_
fprintf
⚠
__
mingw_
fscanf
⚠
__
mingw_
fwprintf
⚠
__
mingw_
fwscanf
⚠
__
mingw_
get_
crt_
info
⚠
__
mingw_
printf
⚠
__
mingw_
scanf
⚠
__
mingw_
snprintf
⚠
__
mingw_
snwprintf
⚠
__
mingw_
sprintf
⚠
__
mingw_
sscanf
⚠
__
mingw_
str_
free
⚠
__
mingw_
str_
utf8_
wide
⚠
__
mingw_
str_
wide_
utf8
⚠
__
mingw_
swprintf
⚠
__
mingw_
swscanf
⚠
__
mingw_
vasprintf
⚠
__
mingw_
vfprintf
⚠
__
mingw_
vfscanf
⚠
__
mingw_
vfwprintf
⚠
__
mingw_
vfwscanf
⚠
__
mingw_
vprintf
⚠
__
mingw_
vscanf
⚠
__
mingw_
vsnprintf
⚠
__
mingw_
vsnwprintf
⚠
__
mingw_
vsprintf
⚠
__
mingw_
vsscanf
⚠
__
mingw_
vswprintf
⚠
__
mingw_
vswscanf
⚠
__
mingw_
vwprintf
⚠
__
mingw_
vwscanf
⚠
__
mingw_
wprintf
⚠
__
mingw_
wscanf
⚠
__
ms_
fprintf
⚠
__
ms_
fscanf
⚠
__
ms_
fwprintf
⚠
__
ms_
fwscanf
⚠
__
ms_
printf
⚠
__
ms_
scanf
⚠
__
ms_
sprintf
⚠
__
ms_
sscanf
⚠
__
ms_
swprintf
⚠
__
ms_
swscanf
⚠
__
ms_
vfprintf
⚠
__
ms_
vfwprintf
⚠
__
ms_
vprintf
⚠
__
ms_
vsprintf
⚠
__
ms_
vswprintf
⚠
__
ms_
vwprintf
⚠
__
ms_
wprintf
⚠
__
ms_
wscanf
⚠
__
swprintf_
l
⚠
__
vswprintf_
l
⚠
_fcloseall
⚠
_fdopen
⚠
_fgetchar
⚠
_fgetwchar
⚠
_filbuf
⚠
_fileno
⚠
_flsbuf
⚠
_flushall
⚠
_fprintf_
l
⚠
_fprintf_
p
⚠
_fprintf_
p_
l
⚠
_fprintf_
s_
l
⚠
_fputchar
⚠
_fputwchar
⚠
_fscanf_
l
⚠
_fscanf_
s_
l
⚠
_fseeki64
⚠
_fsopen
⚠
_ftelli64
⚠
_fwprintf_
l
⚠
_fwprintf_
p
⚠
_fwprintf_
p_
l
⚠
_fwprintf_
s_
l
⚠
_fwscanf_
l
⚠
_fwscanf_
s_
l
⚠
_get_
output_
format
⚠
_get_
printf_
count_
output
⚠
_getmaxstdio
⚠
_getw
⚠
_getws
⚠
_getws_
s
⚠
_lock_
file
⚠
_pclose
⚠
_popen
⚠
_printf_
l
⚠
_printf_
p
⚠
_printf_
p_
l
⚠
_printf_
s_
l
⚠
_putw
⚠
_putws
⚠
_rmtmp
⚠
_scanf_
l
⚠
_scanf_
s_
l
⚠
_scprintf
⚠
_scprintf_
l
⚠
_scprintf_
p
⚠
_scprintf_
p_
l
⚠
_scwprintf
⚠
_scwprintf_
l
⚠
_scwprintf_
p
⚠
_scwprintf_
p_
l
⚠
_set_
output_
format
⚠
_set_
printf_
count_
output
⚠
_setmaxstdio
⚠
_snprintf
⚠
_snprintf_
c
⚠
_snprintf_
c_
l
⚠
_snprintf_
l
⚠
_snprintf_
s
⚠
_snprintf_
s_
l
⚠
_snscanf
⚠
_snscanf_
l
⚠
_snscanf_
s
⚠
_snscanf_
s_
l
⚠
_snwprintf
⚠
_snwprintf_
l
⚠
_snwprintf_
s
⚠
_snwprintf_
s_
l
⚠
_snwscanf
⚠
_snwscanf_
l
⚠
_snwscanf_
s
⚠
_snwscanf_
s_
l
⚠
_spawnv
⚠
_spawnve
⚠
_spawnvp
⚠
_spawnvpe
⚠
_sprintf_
l
⚠
_sprintf_
p
⚠
_sprintf_
p_
l
⚠
_sprintf_
s_
l
⚠
_sscanf_
l
⚠
_sscanf_
s_
l
⚠
_swprintf
⚠
_swprintf_
c
⚠
_swprintf_
c_
l
⚠
_swprintf_
p
⚠
_swprintf_
p_
l
⚠
_swprintf_
s_
l
⚠
_swscanf_
l
⚠
_swscanf_
s_
l
⚠
_tempnam
⚠
_unlink
⚠
_unlock_
file
⚠
_vfprintf_
l
⚠
_vfprintf_
p
⚠
_vfprintf_
p_
l
⚠
_vfprintf_
s_
l
⚠
_vfwprintf_
l
⚠
_vfwprintf_
p
⚠
_vfwprintf_
p_
l
⚠
_vfwprintf_
s_
l
⚠
_vprintf_
l
⚠
_vprintf_
p
⚠
_vprintf_
p_
l
⚠
_vprintf_
s_
l
⚠
_vscprintf
⚠
_vscprintf_
l
⚠
_vscprintf_
p
⚠
_vscprintf_
p_
l
⚠
_vscwprintf
⚠
_vscwprintf_
l
⚠
_vscwprintf_
p
⚠
_vscwprintf_
p_
l
⚠
_vsnprintf
⚠
_vsnprintf_
c
⚠
_vsnprintf_
c_
l
⚠
_vsnprintf_
l
⚠
_vsnprintf_
s
⚠
_vsnprintf_
s_
l
⚠
_vsnwprintf
⚠
_vsnwprintf_
l
⚠
_vsnwprintf_
s
⚠
_vsnwprintf_
s_
l
⚠
_vsprintf_
l
⚠
_vsprintf_
p
⚠
_vsprintf_
p_
l
⚠
_vsprintf_
s_
l
⚠
_vswprintf
⚠
_vswprintf_
c
⚠
_vswprintf_
c_
l
⚠
_vswprintf_
p
⚠
_vswprintf_
p_
l
⚠
_vswprintf_
s_
l
⚠
_vwprintf_
l
⚠
_vwprintf_
p
⚠
_vwprintf_
p_
l
⚠
_vwprintf_
s_
l
⚠
_wfdopen
⚠
_wfopen
⚠
_wfopen_
s
⚠
_wfreopen
⚠
_wfreopen_
s
⚠
_wfsopen
⚠
_wperror
⚠
_wpopen
⚠
_wprintf_
l
⚠
_wprintf_
p
⚠
_wprintf_
p_
l
⚠
_wprintf_
s_
l
⚠
_wremove
⚠
_wscanf_
l
⚠
_wscanf_
s_
l
⚠
_wspawnl
⚠
_wspawnle
⚠
_wspawnlp
⚠
_wspawnlpe
⚠
_wspawnv
⚠
_wspawnve
⚠
_wspawnvp
⚠
_wspawnvpe
⚠
_wtempnam
⚠
_wtmpnam
⚠
_wtmpnam_
s
⚠
clearerr
⚠
clearerr_
s
⚠
fclose
⚠
fcloseall
⚠
fdopen
⚠
feof
⚠
ferror
⚠
fflush
⚠
fgetc
⚠
fgetchar
⚠
fgetpos
⚠
fgetpos64
⚠
fgets
⚠
fgetwc
⚠
fgetws
⚠
fileno
⚠
flushall
⚠
fopen
⚠
fopen64
⚠
fopen_s
⚠
fprintf_
s
⚠
fputc
⚠
fputchar
⚠
fputs
⚠
fputwc
⚠
fputws
⚠
fread
⚠
fread_s
⚠
freopen
⚠
freopen_
s
⚠
fscanf_
s
⚠
fseek
⚠
fseeko
⚠
fseeko64
⚠
fsetpos
⚠
fsetpos64
⚠
ftell
⚠
ftello
⚠
ftello64
⚠
fwprintf_
s
⚠
fwrite
⚠
fwscanf_
s
⚠
getc
⚠
getchar
⚠
gets
⚠
gets_s
⚠
getw
⚠
getwc
⚠
getwchar
⚠
lo_
close
⚠
lo_
creat
⚠
lo_
create
⚠
lo_
export
⚠
lo_
import
⚠
lo_
import_
with_
oid
⚠
lo_
lseek
⚠
lo_
lseek64
⚠
lo_open
⚠
lo_read
⚠
lo_tell
⚠
lo_
tell64
⚠
lo_
truncate
⚠
lo_
truncate64
⚠
lo_
unlink
⚠
lo_
write
⚠
perror
⚠
pg_
char_
to_
encoding
⚠
pg_
encoding_
to_
char
⚠
pg_
valid_
server_
encoding_
id
⚠
printf_
s
⚠
putc
⚠
putchar
⚠
puts
⚠
putw
⚠
putwc
⚠
putwchar
⚠
remove
⚠
rename
⚠
rewind
⚠
rmtmp
⚠
scanf_s
⚠
setbuf
⚠
setvbuf
⚠
sprintf_
s
⚠
sscanf_
s
⚠
swprintf_
s
⚠
swscanf_
s
⚠
tempnam
⚠
tmpfile
⚠
tmpfile_
s
⚠
tmpnam
⚠
tmpnam_
s
⚠
ungetc
⚠
ungetwc
⚠
unlink
⚠
vfprintf_
s
⚠
vfwprintf_
s
⚠
vprintf_
s
⚠
vsnprintf_
s
⚠
vsprintf_
s
⚠
vswprintf_
s
⚠
vwprintf_
s
⚠
wprintf_
s
⚠
wscanf_
s
⚠
Type Aliases
§
FILE
LC_ID
LPLC_ID
Oid
PGcancel
PGconn
PGnotify
PGres
AttDesc
PGresult
PQconninfo
Option
PQnotice
Processor
PQnotice
Receiver
PQprint
Opt
PQssl
KeyPass
Hook_
OpenSS
L_
type
__
builtin_
va_
list
__
gnuc_
va_
list
__
time32_
t
__
time64_
t
_locale_
t
_locale_
tstruct
_off64_
t
_off_t
errno_t
fpos_t
off32_t
off64_t
off_t
pg_
int64
pgthreadlock_
t
pqbool
pthreadlocinfo
pthreadmbcinfo
rsize_t
threadlocinfo
time_t
va_list
wchar_t
wctype_
t
wint_t
Unions
§
PQArg
Block__
bindgen_
ty_
1