aboutsummaryrefslogtreecommitdiff
path: root/src/interfaces/libpq/fe-exec.c
Commit message (Collapse)AuthorAge
...
* Fixes:Marc G. Fournier1996-09-16
| | | | | | | | | | | | | | | Async notifies received while a backend is in the middle of a begin/end transaction block are lost by libpq when the final end command is issued. The bug is in the routine PQexec of libpq. The routine throws away any message from the backend when a message of type 'C' is received. This type of message is sent when the result of a portal query command with no tuples is returned. Unfortunately this is the case of the end command. As all async notification are sent only when the transaction is finished, if they are received in the middle of a transaction they are lost in the libpq library. I added some tracing code to PQexec and this is the output: Submitted by: Massimo Dal Zotto <dz@cs.unitn.it>
* |Release_2_0Marc G. Fournier1996-08-14
| | | | | | | | | | | | | |Here is a fix for the psql alignment problem. It turns out that libpq |was trying to determine if the column contained only numeric values so |it could right justify it. The 'e' values were taked as exponient |values and all columns were considered numeric. | |The patch excludes 'e' and 'E' as being valid first-column numeric |values. | Submitted by: Bruce...
* |Marc G. Fournier1996-08-14
| | | | | | | | | | | | | | | | |We're all too familiar with psql's "no response from backend" message. |Users can't tell what this means, and psql continues prompting for |commands after it even though the backend is dead and no commands can |succeed. It eventually dies on a signal when the dead socket fills |up. I extended the message to offer a better explanation and made |psql exit when it finds the backend is dead. | |I also added a short message and newline when the user does a ctl-D so |it doesn't mess up the terminal display. | | Submitted by: Bryan Henderson <bryanh@giraffe.netgate.net>
* Fixes:Marc G. Fournier1996-08-13
| | | | | | | | | | | | | | | | | | | | | | | Attached is a patch to allow libpq to determine if a field is null. This is needed because text fields will return a PQgetlength() of 0 whether it is '' or NULL. There is even a comment in the source noting the fact. I have changed the value of the 'len' field for NULL result fields. If the field is null, the len is set to -1 (NULL_LEN). I have changed PQgetlength() to return a 0 length for both '' and NULL. A new function PQgetisnull() returns true or false for NULL. The only risk is to applications that do not use the suggested PQgetlength() call, but read the result 'len' field directly. As this is not recommended, I think we are safe here. A separate documentation patch will be sent. Submitted by: Bruce Momjian <maillist@candle.pha.pa.us>
* Updates to libpq to fix breakage in previous patch...Marc G. Fournier1996-08-10
| | | | Submitted by: darcy@druid.druid.com (D'Arcy J.M. Cain)
* Fixes for:Marc G. Fournier1996-08-06
| | | | | | | | | | | Here are a few minor fixes to Postgres95. Mostly I have added const to some of the char pointers. There was also a missing header file and a place where it looks like "==" was used when "=" was meant. I also changed some variables from Pfin and Pfout tp pfin and pfout because the latter shadow global variables and that just seems like an unsafe practice which I like to avoid. Submitted by: "D'Arcy J.M. Cain" <darcy@druid.druid.com>
* Row count patch from BruceMarc G. Fournier1996-07-31
|
* Everyone seems to suggestion this is something that should be there...Marc G. Fournier1996-07-31
| | | | | | #include <sys/termios.h> Submitted by: Dr. George
* Added <sys/termios.h> for i386_solaris portMarc G. Fournier1996-07-31
| | | | Submitted by: Dr_George_D_Detlefsen <drgeorge@ilt.com>
* Fixes: Floating point exception in psqlMarc G. Fournier1996-07-31
| | | | Submitted by: Dan McGuirk <mcguirk@indirect.com>
* small port fixes for sparc_solarisMarc G. Fournier1996-07-28
| | | | submitted by: jason
* and now, the long awaited PAGER patches from Bruce...Marc G. Fournier1996-07-27
| | | | Submitted by: Bruce Momjian <maillist@candle.pha.pa.us>
* PQprint() routines. The older code is still there for historicalJulian Assange1996-07-25
| | | | | | compatibility. There isn't much difference here against my previous PQprint() code, except that you can add optional arguments to the <table args> in html.
* Alot of "changes" from Dr. George's source tree...Marc G. Fournier1996-07-23
| | | | | | | | Most of the changes in here look to b epurely cosmetic, and don't affect anything... ...and some stuff is completely questionable...in that I may have reversed some of the stuf fwe already had :(
* Fix PAGER bug in createuser/etc scriptsMarc G. Fournier1996-07-19
| | | | submitted by: Bruce Momjian (root@candle.pha.pa.us)
* libpq and psql.c have been modified to do various things they didn't doMarc G. Fournier1996-07-18
| | | | | | | | | | | before (plus some optimisations/bug fixes et al). I've included a small demo transcript below. Note that all of of the display functionality/intelligence you see here, can be had merely by calling the new LIBPQ PQprint() routine with the appropriate arguments/options, including the HTML3 output guff. submitted by: Julian Assange <proff@suburbia.net>
* fixes for several potential null pointer dereferencesMarc G. Fournier1996-07-12
| | | | submitted by: Paul "Shag" Walmsley <ccshag@cclabs.missouri.edu>
* Postgres95 1.01 Distribution - Virgin SourcesPG95-1_01Marc G. Fournier1996-07-09