| Commit message (Collapse) | Author | Age |
... | |
|
|
|
| |
we know what should be stored in there.
|
| |
|
|
|
|
|
|
| |
The recent patch to remove gcc 4.6 warnings created some new ones, at
least on my rather old gcc version. Try to make everybody happy by
casting to "void" when we just want to discard the result.
|
|
|
|
|
|
| |
This warning is new in gcc 4.6 and part of -Wall. This patch cleans
up most of the noise, but there are some still warnings that are
trickier to remove.
|
| |
|
| |
|
| |
|
|
|
|
| |
Itagaki Takahiro, with slight modifications.
|
|
|
|
|
|
|
|
| |
Replace for loops in makefiles with proper dependencies. Parallel
make can now span across directories. Also, make -k and make -q work
properly.
GNU make 3.80 or newer is now required.
|
|
|
|
|
|
| |
Use bool as type for booleans instead of int.
Do not implicitely cast size_t to int.
Make the compiler stop complaining about unused variables by adding an empty statement.
|
|
|
|
|
|
| |
ecpglib. Instead of parsing the statement just as ask the database server. This
patch removes the whole client side track keeping of the current transaction
status.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
'AC_TYPE_LONG_LONG_INT' macro call.
|
|
|
|
| |
in ecpg and replaces the old test that was kind of hackish.
|
|
|
|
| |
used to cover the equally long "long long" type. This patch closes bug #5464.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Depending on which spec you read, field widths and precisions in %s may be
counted either in bytes or characters. Our code was assuming bytes, which
is wrong at least for glibc's implementation, and in any case libc might
have a different idea of the prevailing encoding than we do. Hence, for
portable results we must avoid using anything more complex than just "%s"
unless the string to be printed is known to be all-ASCII.
This patch fixes the cases I could find, including the psql formatting
failure reported by Hernan Gonzalez. In HEAD only, I also added comments
to some places where it appears safe to continue using "%.*s".
|
|
|
|
| |
user and password can also be "".
|
|
|
|
| |
refactored the debug output wasn't adjusted.
|
| |
|
|
|
|
| |
error sqlstate. This change makes it return a correct value..
|
|
|
|
|
|
|
|
|
|
| |
the fact that NetBSD/mips is currently broken, as per buildfarm member pika.
Also add regression tests to ensure that get_float8_nan and get_float4_nan
are exercised even on platforms where they are not needed by
float8in/float4in.
Zoltán Böszörményi and Tom Lane
|
| |
|
| |
|
|
|
|
| |
By Zoltán Böszörményi
|
|
|
|
| |
fixing yet another incorrect log output.
|
|
|
|
| |
machines are all rejecting isinf() calls in this file.
|
|
|
|
|
|
| |
making it OS independant.
Patch done by Zoltán Böszörményi.
|
|
|
|
| |
reverse yes and no.
|
|
|
|
| |
cursor support to native mode.
|
| |
|
|
|
|
| |
auto-prepare mode if the connection is closed and re-opened and the previously prepared query is issued again.
|
|
|
|
| |
Zoltan <zb@cybertec.at>.
|
|
|
|
| |
[OUTPUT] statement to ecpg.
|
|
|
|
|
| |
Given that undefined types are handled as character strings anyway the type
translation function can simply return the correcponding ECPGt_char type.
|
|
|
|
|
|
| |
For non-SQL3 types ecpg used to return -Oid. This will break if there are
enough Oids to fill the namespace. Therefore we play it safe and return 0 if
there is no Oid->SQL3 tyoe mapping available.
|
| |
|
| |
|
|
|
|
| |
superfluous include files.
|
|
|
|
| |
ecpg in both native and compatiblity mode.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
pg_attribute, by having genbki.pl derive the information from the various
catalog header files. This greatly simplifies modification of the
"bootstrapped" catalogs.
This patch finally kills genbki.sh and Gen_fmgrtab.sh; we now rely entirely on
Perl scripts for those build steps. To avoid creating a Perl build dependency
where there was not one before, the output files generated by these scripts
are now treated as distprep targets, ie, they will be built and shipped in
tarballs. But you will need a reasonably modern Perl (probably at least
5.6) if you want to build from a CVS pull.
The changes to the MSVC build process are untested, and may well break ---
we'll soon find out from the buildfarm.
John Naylor, based on ideas from Robert Haas and others
|
| |
|
|
|
|
|
|
|
| |
This is more in keeping with modern practice, and is a first step towards
porting to Win64 (which has sizeof(pointer) > sizeof(long)).
Tsutomu Yamada, Magnus Hagander, Tom Lane
|
|
|
|
| |
string too.
|
| |
|
| |
|
|
|
|
| |
patch send in by Boszormenyi Zoltan <zb@cybertec.at>.
|