Tom Lane
6db6714ffc
Remove redeclaration of struct sqlca_t --- unnecessary and provokes
...
warnings on some compilers.
2006-08-04 16:54:05 +00:00
Tom Lane
5d844d3271
'make clean' must remove the create subdirectories results/ and log/,
...
not merely remove their contents. Else 'cvs update' complains.
2006-08-04 14:18:09 +00:00
Michael Meskes
3ceaa97b3c
Regression test updates and fixes
2006-08-04 08:52:18 +00:00
Bruce Momjian
9ac2f2e8ea
Add missing ecpg function prototype needed when in threaded mode ---
...
supresses compiler warning.
2006-08-04 03:23:37 +00:00
Michael Meskes
4b8378a671
Removed compiler warnings
2006-08-03 14:50:11 +00:00
Michael Meskes
27458bb4fa
Applied test suite update by Joachim Wieland <joe@mcknight.de>.
2006-08-03 13:11:04 +00:00
Andrew Dunstan
959aee5bbf
remove extraneous space after -L flag.
2006-08-02 19:02:34 +00:00
Michael Meskes
efc861a842
And finally the Makefiles
2006-08-02 14:19:14 +00:00
Michael Meskes
1f0a6cd60c
Hopefully that's it. The remaining files for ecpg regression tests.
2006-08-02 14:14:04 +00:00
Michael Meskes
b737f85e84
Some more regression test files
2006-08-02 13:53:45 +00:00
Michael Meskes
2682a4c01d
One more file to remove
2006-08-02 13:52:11 +00:00
Michael Meskes
36e8d4e780
Removed old test files
2006-08-02 13:51:32 +00:00
Michael Meskes
1fa6be6f69
ynced parser and keyword list.
...
Implemented EXEC SQL UNDEF.
Applied first version of the regression test patch by Joachim Wieland <joe@mcknight.de>.
2006-08-02 13:43:23 +00:00
Michael Meskes
4cd72b53b9
Added missing ECPGget_sqlca() call
2006-07-31 13:26:46 +00:00
Michael Meskes
c1c9b7c0c0
First small patches needed for regression tests
2006-07-31 10:15:31 +00:00
Michael Meskes
0bee536ad8
Replaced $Header$ by $§PosgreSQL$
2006-07-30 16:28:58 +00:00
Michael Meskes
cdf131abac
Added missing $Header$ entries.
2006-07-30 10:24:10 +00:00
Bruce Momjian
b554cb75bf
Add #include postgres_fe.h in two win32-specific files, because there is
...
pg-specific code in those files, or might be some day.
2006-07-29 15:22:27 +00:00
Michael Meskes
76475a7eb5
Variables should be free'ed only once.
2006-07-28 11:49:36 +00:00
Michael Meskes
a27cb17788
Removed superfluous comment
2006-07-28 10:12:56 +00:00
Michael Meskes
9e76b4c7c5
And one more:
...
Connection identifier has to be unique
2006-07-28 10:10:42 +00:00
Michael Meskes
72ba3cb50f
Added more SoC changes by Joachim Wieland <joe@mcknight.de>:
...
- SHOW statement puts result into a variable
- COPY TO STDOUT works
2006-07-28 09:08:01 +00:00
Bruce Momjian
43c79378c8
Allow LDAP lookups from pg_service.conf.
...
Albe Laurenz
2006-07-27 13:20:24 +00:00
Bruce Momjian
11b7aecbd4
The Win32 DEF files that are generated for libpq contain the attribute
...
"DESCRIPTION", which is actually only allowed for device drivers. The
compilers ignore it with a warning - if we remove them, we get rid of
the warning.
Magnus Hagander
2006-07-18 22:18:08 +00:00
Tom Lane
a7143b3088
Fix some makefiles that fail to yield good results from 'make -qp'.
...
This doesn't really matter for ordinary building of Postgres, but it's
useful for automated checks, such as my just-committed pgcheckdefines.
2006-07-15 03:33:14 +00:00
Tom Lane
cd24163f6d
Fix another passel of include-file breakage. Kris Jurka, Tom Lane
2006-07-14 16:59:19 +00:00
Bruce Momjian
e0522505bd
Remove 576 references of include files that were not needed.
2006-07-14 14:52:27 +00:00
Tom Lane
ae643747b1
Fix a passel of recently-committed violations of the rule 'thou shalt
...
have no other gods before c.h'. Also remove some demonstrably redundant
#include lines, mostly of <errno.h> which was added to c.h years ago.
2006-07-14 05:28:29 +00:00
Bruce Momjian
51e8882197
Revert part of recent include patch not ready for application.
2006-07-14 04:59:30 +00:00
Bruce Momjian
03c2e5924e
Add additional includes needed on some platforms.
2006-07-14 04:44:46 +00:00
Joe Conway
9e196d7c92
Clean up for warning:
...
fe-auth.c:573: warning: passing argument 1 of 'free' discards qualifiers
from pointer target type
pg_krb5_authname used to return a (const char *) to memory allocated by
krb. Somewhere along the lines this was changed so that a copy was
made, returned, and freed instead. However the const modifier was never
removed.
2006-07-12 02:31:56 +00:00
Bruce Momjian
b85a965f5f
Allow each C include file to compile on its own by including any needed
...
header files.
2006-07-11 13:54:25 +00:00
Bruce Momjian
97c3fcd9b7
Move pthread-win32.h to /port, modify bcc/msvc makefiles.
2006-07-10 18:53:29 +00:00
Michael Meskes
956cbeb7ef
Fixed remaining Coverity bugs.
2006-07-05 10:49:56 +00:00
Bruce Momjian
3fafac3f62
Remove libpq's PQescapeIdentifier(), not safe from injection attacks.
2006-07-04 13:22:15 +00:00
Bruce Momjian
3b1790f987
Add PQescapeIdentifier() to libpq
...
Christopher Kings-Lynne
2006-06-27 00:03:42 +00:00
Michael Meskes
4b98d423d7
Added missing braces to prevent a segfault after usage of an undeclared cursor.
2006-06-26 14:12:02 +00:00
Michael Meskes
ea9ec780ed
Added some more coverity report patches send in by Joachim Wieland <joe@mcknight.de>.
2006-06-26 09:20:09 +00:00
Michael Meskes
17bab8c3fe
Moved some free() calls that coverity correctly complains about.
2006-06-25 09:38:40 +00:00
Bruce Momjian
e970b2a62b
Remove individual user copyright because the code is contributed to
...
PGDG:
> Yes. In fact the copyright belongs to credativ GmbH the company that
> paid Carsten for his work. As you may or may not know I'm the CEO of
> that company and can assure you that his work was contributed to the
> PostgreSQL project.
2006-06-25 01:45:32 +00:00
Michael Meskes
c2f3c168fb
Clarified copyright notice
2006-06-23 14:50:01 +00:00
Michael Meskes
3f9aace723
Added some more coverity report patches send in by Martijn van Oosterhout <kleptog@svana.org>.
2006-06-21 11:38:07 +00:00
Michael Meskes
6bba43111e
Fixed small typo in changelog
2006-06-21 10:34:48 +00:00
Michael Meskes
a829da152c
Added fixed from the coverity report send in by Joachim Wieland <joe@mcknight.de>
...
Added missing error handling in a few functions in ecpglib
2006-06-21 10:24:41 +00:00
Tom Lane
47a37aeebd
Split definitions for md5.c out of crypt.h and into their own header
...
libpq/md5.h, so that there's a clear separation between backend-only
definitions and shared frontend/backend definitions. (Turns out this
is reversing a bad decision from some years ago...) Fix up references
to crypt.h as needed. I looked into moving the code into src/port, but
the headers in src/include/libpq are sufficiently intertwined that it
seems more work than it's worth to do that.
2006-06-20 19:56:52 +00:00
Michael Meskes
aaf125f8df
Do not use already free'ed errmsg, bug found by Joachim Wieland
...
<joachim.wieland@credativ.de>
2006-06-19 09:19:49 +00:00
Tom Lane
2193beb761
Further thoughts about lo_export/lo_import error handling: if one of
...
the lower-level large object functions fails, it will have already set
a suitable error message --- probably something from the backend ---
and it is not useful to overwrite that with a generic 'error while
reading large object' message. So remove redundant messages.
2006-06-14 17:49:25 +00:00
Tom Lane
ace93353ea
Improve error detection and recovery in lo_import()/lo_export().
...
Problems noted while experimenting with new control-C code for psql.
2006-06-14 01:28:55 +00:00
Bruce Momjian
399a36a75d
Prepare code to be built by MSVC:
...
o remove many WIN32_CLIENT_ONLY defines
o add WIN32_ONLY_COMPILER define
o add 3rd argument to open() for portability
o add include/port/win32_msvc directory for
system includes
Magnus Hagander
2006-06-07 22:24:46 +00:00
Bruce Momjian
ed3b2e696b
Have BCC echo output "" using "", rather than \"\" as earlier reported.
...
Backpatch to 8.1.X.
2006-06-06 16:17:20 +00:00