901be0fad4
Remove all the special-case code for INT64_IS_BUSTED, per decision that
...
we're not going to support that anymore.
I did keep the 64-bit-CRC-with-32-bit-arithmetic code, since it has a
performance excuse to live. It's a bit moot since that's all ifdef'd
out, of course.
2010-01-07 04:53:35 +00:00
223a9cd33f
Remove __FUNCTION__ keyword that is not recognized by som compilers.
2010-01-06 15:10:21 +00:00
1658f6bf58
And another one
2010-01-05 17:10:23 +00:00
ed4295f534
And another one of the same problem.
2010-01-05 17:07:51 +00:00
76ecbb5782
Ah, should read the file completely. I got so used to git that I almost forgot about the cvs stuff.
2010-01-05 17:04:18 +00:00
6d4a351fcb
Applied patch by Boszormenyi Zoltan <zb@cybertec.at> to add sqlda support to
...
ecpg in both native and compatiblity mode.
2010-01-05 16:38:23 +00:00
f1c5247563
Simplify a few makefile rules since install-sh can now install multiple
...
files in one run.
2009-10-26 21:33:01 +00:00
dacaeff5ae
Added patch by Bernd Helmle <bernd.helmle@credativ.de> that adds a low level
...
function that returns the current transaction status.
2009-09-18 13:13:32 +00:00
9d182ef002
Update of install-sh, mkinstalldirs, and associated configury
...
Update install-sh to that from Autoconf 2.63, plus our Darwin-specific
changes (which I simplified a bit). install-sh is now able to install
multiple files in one run, so we could simplify our makefiles sometime.
install-sh also now has a -d option to create directories, so we don't need
mkinstalldirs anymore.
Use AC_PROG_MKDIR_P in configure.in, so we can use mkdir -p when available
instead of install-sh -d. For consistency with the rest of the world,
the corresponding make variable has been renamed from $(mkinstalldirs) to
$(MKDIR_P).
2009-08-26 22:24:44 +00:00
cf37d68467
Made sure sqlca is reset for declare cursor in Informix mode as pointed out by
...
Böszörményi Zoltán <zb@cybertec.at >.
2009-08-14 13:28:22 +00:00
5d34af421d
Added STRING datatype for Informix compatibility mode. This work is
...
based on a patch send in by Böszörményi Zoltán <zb@cybertec.at >.
2009-08-07 10:51:21 +00:00
d747140279
8.4 pgindent run, with new combined Linux/FreeBSD/MinGW typedef list
...
provided by Andrew.
2009-06-11 14:49:15 +00:00
0754b391f3
Removed some unneeded variables and comparisons
2009-05-20 16:13:18 +00:00
9c4b69ed5c
Recreate ecpg_config.h with a stamp file created by config.status, same
...
way pg_config.h is handled. This avoids reruns of config.status on every
build, if configure has been rerun.
2009-01-22 22:27:13 +00:00
e72c98b058
fix ecpg regression tests broken by over-eager adding of $PostgreSQL$ markers
2008-05-17 02:43:16 +00:00
53972b460c
Add $PostgreSQL$ markers to a lot of files that were missing them.
...
This particular batch was just for *.c and *.h file.
The changes were made with the following 2 commands:
find . \( \( -name 'libstemmer' -o -name 'expected' -o -name 'ppport.h' \) -prune \) -o \( -name '*.[ch]' \) \( -exec grep -q '\$PostgreSQL' {} \; -o -print \) | while read file ; do head -n 1 < $file | grep -q '^/\*' && echo $file; done | xargs -l sed -i -e '1s/^\// /' -e '1i/*\n * $PostgreSQL:$ \n *'
find . \( \( -name 'libstemmer' -o -name 'expected' -o -name 'ppport.h' \) -prune \) -o \( -name '*.[ch]' \) \( -exec grep -q '\$PostgreSQL' {} \; -o -print \) | xargs -l sed -i -e '1i/*\n * $PostgreSQL:$ \n */'
2008-05-17 01:28:26 +00:00
e1bdd07c3c
Add localization support to ecpg.
...
Author: Euler Taveira de Oliveira <euler@timbira.com >
2008-05-16 15:20:04 +00:00
f9e083fd30
Added ECPGget_PGconn() function to ecpglib, courtesy of Mike Aubury.
...
Removed one include file from connect-test1.
2008-03-20 16:29:45 +00:00
f6f8d61a47
Fix uninstall target.
2008-02-26 13:48:57 +00:00
a9bc069c0b
- Removed duplicate include of ecpgtype.h which meant I had to adapt all expected results.
...
- Changed INFORMIX mode symbol definition yet again because the old way didn't work on NetBSD. Hopefully this one does.
2008-02-17 18:14:29 +00:00
efac2796e6
Changed the way symbols are defined in C in INFORMIX mode.
2008-02-15 11:20:21 +00:00
a3a648ecc9
Sorry, accidently committed a patch I'm working on. Reverting it.
...
The only correct change was:
- Added SQLSTATE macro closing bug #3961 .
2008-02-14 12:27:26 +00:00
78772dc018
*** empty log message ***
2008-02-14 12:22:36 +00:00
149db6b6b7
Changed prototype for ECPGdo because some compilers don't like int/enum aliasing in there.
2008-01-13 11:53:16 +00:00
fdf5a5efb7
pgindent run for 8.3.
2007-11-15 21:14:46 +00:00
7793c6ecca
Cleaned up ecpglib and renamed functions that do not need to be exported.
...
Created export list for ecpglib.
2007-10-03 11:11:12 +00:00
c4a6c2f871
Hopefully fixed some stuff that causes Windows builds to fail.
2007-10-03 08:55:23 +00:00
0c2eb200d6
ITAGAKI Takahiro <itagaki.takahiro@oss.ntt.co.jp> added thread-safe
...
descriptor handling
2007-10-02 09:50:00 +00:00
60e83cec57
Applied another patch by ITAGAKI Takahiro <itagaki.takahiro@oss.ntt.co.jp>
...
to get memory allocation thread-safe. He also did some cleaning up.
2007-09-30 11:38:48 +00:00
314ed5de6d
Define the FRONTEND symbol in postgres_fe.h, which allows us to eliminate
...
duplicative -DFRONTEND flags from many Makefiles. We still need Makefile
control of the symbol in a few places that compile frontend-or-backend
src/port/ files, but it's a lot cleaner than before.
Hiroshi Saito
2007-09-27 19:53:44 +00:00
d49b20fbe6
Applied patch by ITAGAKI Takahiro <itagaki.takahiro@oss.ntt.co.jp> to get prepare thread-safe.
2007-09-26 10:57:01 +00:00
635a0b9a86
- Finished major rewrite to use new protocol version
...
- Really prepare statements
- Added more regression tests
- Added auto-prepare mode
- Use '$n' for positional variables, '?' is still possible via ecpg option
- Cleaned up the sources a little bit
2007-08-14 10:01:54 +00:00
906b2e1b37
Rename DLLIMPORT macro to PGDLLIMPORT to avoid conflict with
...
third party includes (like tcl) that define DLLIMPORT.
2007-07-25 12:22:54 +00:00
7e72d07aa4
Applied patch send by Joachim Wieland to fix INTEGER_DATETIMES under MSVC.
2007-05-28 09:46:47 +00:00
ddcb5bbf76
- Added patch by Magnus Hagander <magnus@hagander.net> to use native
...
win32 threads.
- Fixed regression tests to run threading tests.
2007-03-29 12:02:24 +00:00
cf06c2e5d4
Fix Makefile problem which prevented installation on VPATH builds.
2006-11-29 21:21:03 +00:00
09309df9a2
Also install ecpg_config.h
2006-11-28 12:44:06 +00:00
f99a569a2e
pgindent run for 8.2.
2006-10-04 00:30:14 +00:00
0f0d6765ce
Added missing constuctor/destructor for interval and date.
2006-09-14 08:02:38 +00:00
ae28cfe673
Partial fix for ecpg's VPATH problems. It compiles and successfully
...
builds all the files needed for its regression tests, but the tests
themselves fail because of diffs in the #line directives output by
ecpg itself. Not sure what to do about that.
2006-08-28 16:13:11 +00:00
8d9cf79437
Needed more stuff from c.h.
2006-08-24 10:48:21 +00:00
b7d5a88dbb
Need more defines in ecpg_config.h, patch sent by Rocco Altier <RoccoA@Routescape.com>
2006-08-24 09:37:07 +00:00
02c3cdbaad
Argh, forgot the new file yet again.
2006-08-23 12:51:26 +00:00
9bade3ff84
Replaced double-quote-fix with a hopefully better version.
...
Use initializer string length as size for character strings.
Added ecpg_config.h file that is created via configure.
2006-08-23 12:01:53 +00:00
b30da7ba5f
Added lots of SoC stuff made by Joachim.
...
Fixed broken newline on Windows.
Fixed a nasty buffer underrun that only occured when using Informix
no_indicator NULL setting on timestamps and intervals.
2006-08-15 06:40:20 +00:00
7c9e2c75da
Fixed error handling in numeric conversion (Joachim).
...
Further regression cleanup.
2006-08-09 07:30:56 +00:00
6db6714ffc
Remove redeclaration of struct sqlca_t --- unnecessary and provokes
...
warnings on some compilers.
2006-08-04 16:54:05 +00:00
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
c1c9b7c0c0
First small patches needed for regression tests
2006-07-31 10:15:31 +00:00
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