| Commit message (Collapse) | Author | Age |
|
|
|
|
|
|
|
|
|
| |
where you state a format and arguments. the old behavior required
each appendStringInfo to have to have a sprintf() before it if any
formatting was required.
Also shortened several instances where there were multiple appendStringInfo()
calls in a row, doing nothing more then adding one more word to the String,
instead of doing them all in one call.
|
| |
|
|
|
|
|
|
| |
Switch sprintf() to snprintf()
Remove any/all #if 0 -or- #ifdef NOT_USED -or- #ifdef FALSE sections of
code
|
|
|
|
|
|
|
|
|
|
|
| |
support. Included patches will solve it and should be applied to
both trees. Also, it fix the problem with \c command of psql when
switching different encoding databases.
Regression tests passed.
--
Tatsuo Ishii
t-ishii@sra.co.jp
|
|
|
|
|
|
| |
Allows (at least some) rules and views.
Still some trouble (crashes) with target CASE columns spanning tables,
but lots now works.
|
|
|
|
| |
Try to label CASE columns for a SELECT if not specified with an AS clause.
|
|
|
|
|
| |
make the sometimes misleading claim that more than one candidate was
identified. Now say "Unable to identify...".
|
|
|
|
| |
between columns and DEFAULT clauses.
|
|
|
|
|
| |
Fix parser error message when an operator is not found
to not explicitly claim that there is more than one.
|
|
|
|
| |
shared libraries to be listed in the link command.
|
|
|
|
|
|
| |
Fix one usage of substr() which mapped to the "Oracle compatibility" funcs
rather than the more recent (and closer to SQL92) function in varlena.c.
Add more DESC() entries for conversion functions.
|
|
|
|
|
|
|
|
|
|
| |
unless necessary.
Label internal bpchar types as "character" and varchar types as
"character varying" to be less Postgres-specific. These types map to
the SQL92 definitions anyway.
Redefine g_force_quotes to be the local variable force_quotes.
Pass this as an argument to fmtId().
These should help with handling the single-byte internal "char" type.
|
| |
|
|
|
|
|
|
|
| |
over HAVE_INT_TIMEZONE. This may help out linux/glibc2 and Dec Alpha.
Included #error precompiler macros to catch cases where neither is defined
but USE_POSIX_TIME is (shouldn't happen). Hopefully this isn't just
a gcc-ism.
|
|
|
|
|
| |
prefer aCC as c++ compiler if hpux_cc is selected as template.
Doesn't solve the problem if you have g++ and not aCC, however...
|
|
|
|
|
|
|
|
| |
instead of our own halfway-there code. Add AC_STRUCT_TIMEZONE call
to check whether tm_zone exists in struct tm. Revise reading of template
file so that templates can define any variables they feel like (and,
indeed, can execute arbitrary shell code) rather than being constrained
to a fixed set of variable names.
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
destructions in 6.4 source using purify.
(1) parser/gram.y:fmtId()
It writes n+3 bytes into n+1 byte-long memory area if mixed case or
non-ascii identifiers given.
(2) catalog/index.c:
ATTRIBUTE_TUPLE_SIZE bytes are allocated but
sizeof(FormData_pg_attribute) bytes are written. Note that
ATTRIBUTE_TUPLE_SIZE is smaller than
sizeof(FormData_pg_attribute). (for example, on solaris 2.6,
Tatsuo Ishii
|
|
|
|
|
|
|
|
|
|
| |
But it may be self-satisfied.
Please check my patch at the end of this posting.
Case 1. executor evaluates functions twice
Hiroshi Inoue
Inoue@tpf.co.jp
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
| |
Digital Uni x with both DEC cc and gcc) behaviour of modifying an
lvalue on the left side an d then using it on the right side of an
assignment. Since this code modifies the
dbname parameter, it was changing, for example, "dbname=template1"
into "dbname =emplate1".
David Smith Programmer P
|
|
|
|
|
|
|
|
|
|
| |
enabled PostgreSQL 6.4.
o binary cursor does not work
o pg_dumpall produces incorrect create database statemnt
Tatsuo Ishii
t-ishii@sra.co.jp
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
| |
Extend new type coersion techniques to aggregates.
Clean up a few elog() messages.
|
|
|
|
| |
Extend new type coersion techniques to aggregates.
|
|
|
|
|
|
|
| |
in the ACL code, and spell "GRANT RULE" correctly.
Apply patch from Oliver Elphick to not dump inherited constraints.
Apply patch from Constantin Teodorescu to dump table definitions with a
readable layout.
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
SunOS has tas(), but not memmove or strerror, and its sprintf() doesn't
return int. Also, older versions of GNU Make don't like rules with
empty left-hand sides...
|
|
|
|
|
|
|
| |
instead of relying on port's os.h to tell us. (Needed for HPUX
where system major version is not enough info.)
configure unsets USE_TK if X libraries not found.
doc/Makefile uses gzcat or zcat as found by autoconf.
|
|
|
|
|
|
| |
than silently returning zero on some machines. Correct float8 regress test
to agree. Also fix pow() overflow/underflow check to work correctly on
HPUX.
|
|
|
|
| |
doesn't work there.
|
|
|
|
|
| |
doesn't work there. Fortunately the postmaster only has stdout and
stderr to flush.
|
|
|
|
|
|
| |
fail to consume the rest of the input string, and worse it would write
one more byte than it should into the buffer, probably resulting in coredump.
Fortunately there's a correct implementation next door in pqcomprim.c.
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
builtin SPI commands by their old SPI_* names. New names are spi_*.
Jan - 11/23/1998
|
|
|
|
|
|
|
| |
selected when they match a prefix of the value. The previous method,
which stripped all version data from and then tried to match that
against .similar entries, was entirely useless when .similar contained
several entries for different version numbers of a single OS name.
|
|
|
|
| |
EXPLAIN all indices used.
|
| |
|
| |
|
|
|
|
| |
for each field of each tuple. Makes more difference than you'd think...
|