summaryrefslogtreecommitdiff
path: root/src/interfaces
AgeCommit message (Collapse)Author
2000-03-25Add POLLUTE=1 to perl Makefile.PL creations.Bruce Momjian
2000-03-24Fold PQsetenv working state into PGconn, rather than trying to maintainTom Lane
it in a separate object. There's no value in keeping the state separate, and it creates dangling-pointer problems. Also, remove PQsetenv routines from public API, until and unless they are redesigned to have a safer interface. Since they were never part of the documented API before 7.0, it's unlikely that anyone is calling them.
2000-03-23Some points for portability improvements:Bruce Momjian
1. C++ style comments in C source for ecpg ( // comment ) 2. compiler finds wrong include file extern.h in ecpg/lib/descriptor.c from include path instead of workdir (rename it ?) 3. fe-connect getsockopt takes a socklen_t as fifth arg not int (use SOCKET_SIZE_TYPE instead) 4. char vs unsigned char in psql calls to libpq 5. empty define that results in an empty but terminated line ( ; ) Now for all but point 3 I can supply changes to the compiler flags, to make the compiler less pedantic. Or is someone interested in the complications ? in the meantime can someone apply the attached patch ? Andreas
2000-03-23Please apply the attached patch to interfaces/libpq/libpq-fe.h. This wouldBruce Momjian
allow to write applications which do not have a link to postgres_ext.h in their source directory. Andreas Kardos
2000-03-23*** empty log message ***Michael Meskes
2000-03-21Forgot that odbc had its own copies of config.sub/config.guess.Tom Lane
Update those to latest Autoconf sources, too.
2000-03-21Fix query for primary keys to reflect new DISTINCT ON () syntax.Thomas G. Lockhart
Reported by "Tibor Laszlo" <ltibor@mail.tiszanet.hu> and fix suggested by "Hiroshi Inoue" <Inoue@tpf.co.jp>.
2000-03-19*** empty log message ***Michael Meskes
2000-03-18Clean up minor compiler warnings.Tom Lane
2000-03-18Modify lexing of multi-char operators per pghackers discussion aroundTom Lane
16-Mar-00: trailing + or - is not part of the operator unless the operator also contains characters not present in SQL92-defined operators. This solves the 'X=-Y' problem without unduly constraining users' choice of operator names --- in particular, no existing Postgres operator names become invalid. Also, remove processing of // comments, as agreed in the same thread.
2000-03-18Repair typos: <xb> EOF rule should be <xh>, likewise <xq> to <xd>Tom Lane
2000-03-17Patch possible portability problem: a few places had // style comments,Tom Lane
which is not ANSI C, even though some compilers will take it...
2000-03-16libpq++ Makefile uses -DDEBUG to turn on debugging trace toBruce Momjian
/tmp/trace.out. However, elog.h uses DEBUG as a log-level flag. As a result, tracing is turned on even if the libpq++.so is built with DEBUG commented out in the Makefile. This patch changes libpq++ to use DEBUGFILE instead (which is not defined anywhere else). Oliver Elphick
2000-03-15*** empty log message ***Michael Meskes
2000-03-14Repair unintentional damage to MULTIBYTE code.Tom Lane
2000-03-14> The snprintf stuff in interfaces/ecpg/preproc/Makefile.in is broken.Bruce Momjian
Please > apply the attached patch. > > Andreas Kardos > >
2000-03-11Change PQconndefaults() to return a malloc'd array, instead of a staticTom Lane
array. This allows processing of conninfo strings to be made thread-safe, at the cost of a small memory leak in applications that use PQconndefaults() and are not updated to free the returned array via the new PQconninfoFree() function. But PQconndefaults() is probably not used very much, so this seems like a good compromise.
2000-03-11Update perl5's self-test for changed spelling of connection failureTom Lane
error message.
2000-03-10*** empty log message ***Michael Meskes
2000-03-09*** empty log message ***Michael Meskes
2000-03-08Fix ==-instead-of-= typo that gcc does its level best to point out.Tom Lane
Isn't anybody paying attention to warnings around here?
2000-03-08I've made a diff against the 7.0beta1 tree that accomplishes several things:Bruce Momjian
1) adds NetBSD shared lib support on both ELF and a.out platforms 2) replaces "-L$(LIBPQDIR) -lpq" with "$(LIBPQ)" defined in Makefile.global. This makes it much easier to build stuff in the source tree after you've already installed the libraries. 3) adds TEMPLATEDIR in Makefile.global that indicates where the database templates are stored. This separates the template files from real libraries that are installed in $(LIBDIR). 4) changes include order of <readline/readline.h> and <readline.h>. The latest GNU readline installs its headers under a readline subdirectory. In addition to applying the patch below the following files need to be copied: backend/port/dynloader: bsd.h -> netbsd.h bsd.c -> netbsd.c include/port: bsd.h -> netbsd.h makefiles: Makefile.bsd -> Makefile.netbsd It would be great to see this incorporated into the source tree before the 7.0 release is cut. Thanks! -- Johnny C. Lam <lamj@stat.cmu.edu>
2000-03-07*** empty log message ***Michael Meskes
2000-03-03*** empty log message ***Michael Meskes
2000-03-03*** empty log message ***Michael Meskes
2000-03-03*** empty log message ***Michael Meskes
2000-03-02*** empty log message ***Michael Meskes
2000-03-02*** empty log message ***Michael Meskes
2000-03-02Patch for Irix from Mark Dalphin.Bruce Momjian
2000-03-01*** empty log message ***Michael Meskes
2000-02-28Update ecpg to use snprintfBruce Momjian
2000-02-28update to 6.40.0009 and provide WIN32 defines for auto-configured itemsByron Nikolaidis
such as BLCKSZ and MAXPGPATHLEN?
2000-02-28missing state transitionByron Nikolaidis
2000-02-27Clean up badly-formatted error messages from pg_connect.Tom Lane
2000-02-25*** empty log message ***Michael Meskes
2000-02-25*** empty log message ***Michael Meskes
2000-02-24 The following is required in order to make beta1 compile on the Win32Bruce Momjian
platform (psql and libpq): The file "config.h.win32" in the include\ directory (from my patch from 2000-01-18) is missing from the tree. It needs to be put back :-) The following patch has to be applied in the interfaces\libpq directory. //Magnus
2000-02-24Tweak libpq so that if a backend ERROR message arrives while libpqTom Lane
thinks the connection is idle, the error message is displayed as if it were a NOTICE. This seems better than dropping the message on the floor ... particularly if the message is the backend telling us why it's about to close the connection. The previous behavior was Backend message type 0x45 arrived while idle pqReadData() -- backend closed the channel unexpectedly. which is not real helpful.
2000-02-23*** empty log message ***Michael Meskes
2000-02-22*** empty log message ***Michael Meskes
2000-02-21Avoid race conditions in detection of EINPROGRESS during connect().Jan Wieck
Jan
2000-02-19Fix nasty bug in setting client_encodingTatsuo Ishii
2000-02-18*** empty log message ***Michael Meskes
2000-02-18*** empty log message ***Michael Meskes
2000-02-18*** empty log message ***Michael Meskes
2000-02-17*** empty log message ***Michael Meskes
2000-02-16Package: postgresqlBruce Momjian
Version: 6.5.3-11 Severity: important 'char' is not a signed type by default on powerpc; therefore a character can never be equal to EOF (-1). A patch is attached. Dan /--------------------------------\ /--------------------------------\ | Daniel Jacobowitz |__| SCS Class of 2002 |
2000-02-16*** empty log message ***Michael Meskes
2000-02-16*** empty log message ***Michael Meskes
2000-02-15New cost model for planning, incorporating a penalty for random pageTom Lane
accesses versus sequential accesses, a (very crude) estimate of the effects of caching on random page accesses, and cost to evaluate WHERE- clause expressions. Export critical parameters for this model as SET variables. Also, create SET variables for the planner's enable flags (enable_seqscan, enable_indexscan, etc) so that these can be controlled more conveniently than via PGOPTIONS. Planner now estimates both startup cost (cost before retrieving first tuple) and total cost of each path, so it can optimize queries with LIMIT on a reasonable basis by interpolating between these costs. Same facility is a win for EXISTS(...) subqueries and some other cases. Redesign pathkey representation to achieve a major speedup in planning (I saw as much as 5X on a 10-way join); also minor changes in planner to reduce memory consumption by recycling discarded Path nodes and not constructing unnecessary lists. Minor cleanups to display more-plausible costs in some cases in EXPLAIN output. Initdb forced by change in interface to index cost estimation functions.