Bruce Momjian
44f9021223
Remove BEOS port.
20 years ago
Neil Conway
0898033b1e
Remove DOS line endings ("\r\n") from several .po files. DOS line endings
...
are inconsistent with the rest of the .po files, and apparently cause
problems for Sun's cc. Per report on IRC from "bitvector2".
20 years ago
Neil Conway
12119188fe
Revert some careless search-and-replace: "ADD" in comment text should
...
not be replaced with "ADD_P".
20 years ago
Bruce Momjian
a4a4b8bb02
Protect ADD and HEADER symbols from conflicting with MIPS includes.
20 years ago
Peter Eisentraut
6840cccd11
Rename pg_make_encrypted_password to PQencryptPassword.
20 years ago
Tom Lane
ea9b028dc7
Add an officially exported libpq function to encrypt passwords, and
...
modify the previous \password patch to use it instead of depending
on a not-officially-exported function. Per discussion.
20 years ago
Peter Eisentraut
a29c04a541
Allow installation into directories containing spaces in the name.
20 years ago
Bruce Momjian
7b1a7e786e
Stamp libraries for 8.2 by updating minor library version numbers and
...
Win32 library files.
20 years ago
Tom Lane
974c5a8730
ecpg/pgtypeslib seems to need snprintf.c pulled in, too.
20 years ago
Tom Lane
e0e7589169
Make Win32 build use our port/snprintf.c routines, instead of depending
...
on libintl which may or may not provide what we need. Make a few marginal
cleanups to ensure this works. Andrew Dunstan and Tom Lane.
20 years ago
Michael Meskes
5106aff99a
Added special handling of CONNECTION variable that is used by ECPG instead of given to the backend.
20 years ago
Michael Meskes
150131d9d9
- Made several variables "const char *" instead of "char *" as proposed by Qingqing Zhou <zhouqq@cs.toronto.edu>.
...
- Replaced all strdup() calls by ECPGstrdup().
- Set ecpg library version to 5.2.
- Set ecpg version to 4.2.1.
20 years ago
Tom Lane
1b68a88f22
Add missing semicolon. Recent versions of bison seem to choke on this,
...
per buildfarm report from platypus, even though older versions let it pass.
20 years ago
Bruce Momjian
aac96b8994
Fix pgindent of libpq-fe.h by hacking pgindent script.
...
Remove pgbench comment that was causing problems.
20 years ago
Bruce Momjian
436a2956d8
Re-run pgindent, fixing a problem where comment lines after a blank
...
comment line where output as too long, and update typedefs for /lib
directory. Also fix case where identifiers were used as variable names
in the backend, but as typedefs in ecpg (favor the backend for
indenting).
Backpatch to 8.1.X.
20 years ago
Alvaro Herrera
645adf5de8
Translation updates forward-port to HEAD.
20 years ago
Peter Eisentraut
8959e9b9d3
Translation updates
20 years ago
Alvaro Herrera
76c9ac8ebb
Translation updates.
20 years ago
Peter Eisentraut
9b0a164833
Translation updates
20 years ago
Bruce Momjian
819159709f
I have applied the following patch to document PQinitSSL() and
...
PQregisterThreadLock().
I also remove the crypt() mention in the libpq threading section and
added a single sentence in the client-auth manual page under crypt().
Crypt authentication is so old now that a separate paragraph about it
seemed unwise.
I also added a comment about our use of locking around pqGetpwuid().
20 years ago
Tom Lane
5aad28a104
Add missing PQinitSSL and PQregisterThreadLock to exports.txt.
20 years ago
Tom Lane
d330f1554d
Clean up libpq's pollution of application namespace by renaming the
...
exported routines of ip.c, md5.c, and fe-auth.c to begin with 'pg_'.
Also get rid of the vestigial fe_setauthsvc/fe_getauthsvc routines
altogether.
20 years ago
Bruce Momjian
1dc3498251
Standard pgindent run for 8.1.
20 years ago
Bruce Momjian
a93bf4503f
Allow times of 24:00:00 to match rounding behavior:
...
regression=# select '23:59:59.9'::time(0);
time
----------
24:00:00
(1 row)
This is bad because:
regression=# select '24:00:00'::time(0);
ERROR: date/time field value out of range: "24:00:00"
The last example now works.
20 years ago
Peter Eisentraut
b473d7adc4
Translation update
20 years ago
Tom Lane
d7527540f2
<limits.h> is now needed here, for INT_MAX. Per Michael Fuhr.
21 years ago
Tom Lane
313ed1ed94
Fix (hopefully for the last time) problems with datetime values displaying
...
like '23:59:60' because of fractional-second roundoff problems. Trying
to control this upstream of the actual display code was hopeless; the right
way is to explicitly round fractional seconds in the display code and then
refigure the results if the fraction rounds up to 1. Per bug #1927 .
21 years ago
Tom Lane
18d0ca2d1b
Fix Kerberos authentication in wake of virtual-hosts changes --- need
...
to call krb5_sname_to_principal() always. Also, use krb_srvname rather
than the hardwired string 'postgres' as the appl_version string in the
krb5_sendauth/recvauth calls, to avoid breaking compatibility with PG
8.0. Magnus Hagander
21 years ago
Bruce Momjian
adeca513f7
Add spacing around operators.
21 years ago
Bruce Momjian
77d1de3c89
Minor parentheses cleanup.
21 years ago
Michael Meskes
a5fecda550
Also synced the ecpg lexer with the backend lexer.
21 years ago
Michael Meskes
ffa156bb5b
Somehow I missed some parser changes, so this commit comes pretty late. I just synced the parser of ecpg against the backend version, but still have to sync the lexer.
...
Also I fixed a bug in a bug fix I committed a few weeks ago. he check for a varchar pointer was incomplete.
21 years ago
Peter Eisentraut
7fe1f9a2c2
Don't need gettext calls around debug messages.
21 years ago
Tom Lane
303e089df5
Clean up possibly-uninitialized-variable warnings reported by gcc 4.x.
21 years ago
Tom Lane
8889685555
Suppress signed-vs-unsigned-char warnings.
21 years ago
Bruce Momjian
1d734b79a3
Adjust bcc to work for thread changes.
21 years ago
Bruce Momjian
eab3e9b80d
This correction is required of nmake of Windows.
...
Hiroshi Saito
21 years ago
Michael Meskes
c959d370bf
Fixed transaction command handling to not ignore savepoints and to correctly check for errors.
21 years ago
Tom Lane
6b44d796c7
Fix misspelled error message.
21 years ago
Bruce Momjian
1a6fe83011
Allow Win32 libpq will use it's minimal pthread implementation, and ecpg
...
will use pthreadGC2.
Dave Page
21 years ago
Bruce Momjian
3b85fc3a52
Update pthread_self() on Win32 to return DWORD.
21 years ago
Bruce Momjian
8046c1c7e6
Use GetCurrentThreadId, per Magnus.
21 years ago
Bruce Momjian
0c172b215a
Add comment about pthread_self() cast.
21 years ago
Michael Meskes
f417ebf03a
- Check for NULL before checking whether argument is an array.
...
- Remove stary character from string quoting.
- Fixed check to report missing varchar pointer implementation.
21 years ago
Bruce Momjian
9cf18ee386
Add new file for win32 threading.
21 years ago
Bruce Momjian
43bf3a6bc6
The attached patch updates the thread test program to run stand-alone on
...
Windows. The test itself is bypassed in configure as discussed, and
libpq has been updated appropriately to allow it to build in thread-safe
mode.
Dave Page
21 years ago
Bruce Momjian
a970a8cb95
Back out incorrect commit.
21 years ago
Bruce Momjian
eef7e30cc1
Fix function name.
21 years ago
Bruce Momjian
9bddb5c8c7
Back out incorrect use of E'' escape addition.
21 years ago
Bruce Momjian
f810cfb291
Disable strtoul() ERANGE check on Win32, because it isn't thread safe,
...
and it isn't really required.
21 years ago