summaryrefslogtreecommitdiff
path: root/src/interfaces
Commit message (Collapse)AuthorAgeFilesLines
* Standardize on MAXPGPATH as the size of a file pathname buffer,Tom Lane1999-10-254-35/+24
| | | | | | | eliminating some wildly inconsistent coding in various parts of the system. I set MAXPGPATH = 1024 in config.h.in. If anyone is really convinced that there ought to be a configure-time test to set the value, go right ahead ... but I think it's a waste of time.
* bug fix for large objects (free)Byron Nikolaidis1999-10-252-3/+5
|
* Remove gratuitous redefinitions of BLCKSZ.Tom Lane1999-10-231-1/+0
|
* Remove fixed-size literal buffer from ecpg's lexer (sameTom Lane1999-10-222-84/+107
| | | | | | | | fix recently applied to backend's lexer). I see that YY_USES_REJECT still gets defined for this lexer, which means it's going to have trouble parsing really long tokens. Not sure if it's worth doing anything about that or not; I don't have the interest right now to understand why ecpg's additions to the syntax cause this problem...
* Remove libpq++ todo item.Bruce Momjian1999-10-221-1/+0
|
* This *should* fix the large binary object problem in libpq++ from theBruce Momjian1999-10-222-6/+4
| | | | | | TODO list. Vince
* *** empty log message ***Michael Meskes1999-10-156-55/+99
|
* Correctly return -1 on error to CmdTuples()Bruce Momjian1999-10-131-2/+2
| | | | Vince.
* Hi,Bruce Momjian1999-10-132-8/+2
| | | | | | | | | | | | I have changed a bit the makefiles for the win32 port - the *.def files (created when building shared libraries) are now clean from Makefile.shlib. I have also removed "-g" from CFLAGS in the "cygwin32" template - it can be enabled when running configure. Dan
* BLOBs containing NUL characters (ASCII 0) can be written to theBruce Momjian1999-10-131-3/+3
| | | | | | | | | | | | | | | | | | | | | database, but they get truncated at the first NUL by lo_read when they are read back. The reason for this is that lo_read in Pg.xs is using the default: OUTPUT: RETVAL buf which uses C's strlen() to work out the length of the scalar. The code ought to read something more like: OUTPUT: RETVAL buf sv_setpvn((SV*)ST(2), buf, RETVAL); I am not sure if this needs to be done on both lo_read methods in this file, but I changed both and have not since had any problems with truncated BLOBs. Douglas Thomson <dougt@mugc.cc.monash.edu.au>
* Update pgeasy for missing files.Bruce Momjian1999-10-123-0/+380
|
* Update pgeasy.Bruce Momjian1999-10-119-396/+18
|
* cleanup of pgeasy.Bruce Momjian1999-10-111-35/+1
|
* Update again.Bruce Momjian1999-10-111-2/+2
|
* pgeasy update.Bruce Momjian1999-10-1111-3/+3
|
* Update pgeasy.Bruce Momjian1999-10-111-2/+2
|
* Add pginterface into main tree, called pgeasy.Bruce Momjian1999-10-1114-5/+887
|
* Define __alpha__ for __alpha.Bruce Momjian1999-10-081-2/+3
|
* *** empty log message ***Michael Meskes1999-10-089-441/+293
|
* Fix for "--" comment and no trailing newline, as seen in Perl.Bruce Momjian1999-10-081-2/+2
|
* Cleanup -is flag to -l for SSL. Another PERL variable name fix. CleanBruce Momjian1999-10-081-2/+2
| | | | | up debugging options for postmaster and postgres programs. postmaster -d is no longer optional. Documentation updates.
* Use $(PERL) variable for perl compile. Now in Makefile.global.Bruce Momjian1999-10-081-2/+2
|
* CmdTuples() returns an int showing the number of affected tuples after anBruce Momjian1999-10-063-4/+11
| | | | | | | | insert, update or delete. It will return -1 on error, although I've yet to an error situation to prove that out! Vince
* As we now use lipq++.H which wasn't around when I first posted theBruce Momjian1999-10-041-1/+3
| | | | | | 2 line GetIsNull diffs, we now need this too: Patrick Welche
* libpq++ cleanup from Vince VielhaberBruce Momjian1999-09-281-2/+2
|
* Addition of CmdTuples(). Wraps PQcmdTuples.Bruce Momjian1999-09-282-2/+9
| | | | Vince Vielhaber
* I have been working with user defined types and user defined cBruce Momjian1999-09-281-2/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | functions. One problem that I have encountered with the function manager is that it does not allow the user to define type conversion functions that convert between user types. For instance if mytype1, mytype2, and mytype3 are three Postgresql user types, and if I wish to define Postgresql conversion functions like I run into problems, because the Postgresql dynamic loader would look for a single link symbol, mytype3, for both pieces of object code. If I just change the name of one of the Postgresql functions (to make the symbols distinct), the automatic type conversion that Postgresql uses, for example, when matching operators to arguments no longer finds the type conversion function. The solution that I propose, and have implemented in the attatched patch extends the CREATE FUNCTION syntax as follows. In the first case above I use the link symbol mytype2_to_mytype3 for the link object that implements the first conversion function, and define the Postgresql operator with the following syntax The patch includes changes to the parser to include the altered syntax, changes to the ProcedureStmt node in nodes/parsenodes.h, changes to commands/define.c to handle the extra information in the AS clause, and changes to utils/fmgr/dfmgr.c that alter the way that the dynamic loader figures out what link symbol to use. I store the string for the link symbol in the prosrc text attribute of the pg_proc table which is currently unused in rows that reference dynamically loaded functions. Bernie Frankpitt
* Hello,Bruce Momjian1999-09-273-0/+20
| | | | | | | | | | | | | | | | | | Two patches included: - the first one enables the use of bool variables in fields which might become NULL. Up to now the lib told you that NULL is not a bool variable, even if you provide a indicator. - the second patch checks whether a value is null and issues an error if no indicator is provided. Sidenote: IIRC, the variable should be left alone if the value is NULL. ECPGlib sets it's value to 0 on NULL. Is this a violation of the standard? Regards Christof
* *** empty log message ***Michael Meskes1999-09-274-7/+31
|
* Lots of patches coming in from me today :-)Bruce Momjian1999-09-273-6/+111
| | | | | | | | | | When drawing up a very simple "text-drawing" of how the negotiation is done, I realised I had done this last part (fallback) in a very stupid way. Patch #4 fixes this, and does it in a much better way. Included is also the simple text-drawing of how the negotiation is done. //Magnus
* I found the following useful - just a way of using PQgetisnull fromBruce Momjian1999-09-212-2/+17
| | | | | | libpq++. Patrick Welche
* *** empty log message ***Michael Meskes1999-09-175-71/+67
|
* *** empty log message ***Michael Meskes1999-09-174-6/+16
|
* jdbc2real rule was in there twice. One of them should have been jdbc1realPeter Mount1999-09-151-3/+3
|
* Jens Glaser found that getPrimaryKeys() had a table called test hardwiredPeter Mount1999-09-152-28/+30
| | | | into it.
* Some late patches from Jens Glaser (jens@jens.de). These upgrade the protocolPeter Mount1999-09-158-36/+137
| | | | to version 2, and fixes ResultSetMetaData.getColumnDisplaySize().
* *** empty log message ***Michael Meskes1999-09-159-10/+23
|
* An abstract declaration for the close() method was missed out of the previousPeter Mount1999-09-141-1/+3
| | | | commit to CVS.
* Patches for 6.5.2Peter Mount1999-09-1411-131/+203
|
* Patch to cure O(N^2) behavior in libpq when reading a longTom Lane1999-09-131-3/+25
| | | | | | message under a kernel that only returns one packet per recv() call. This didn't use to matter much, but it starts to get annoying with multi-megabyte EXPLAIN VERBOSE responses...
* Eliminate token length assumption in scanstr().Tom Lane1999-09-111-3/+3
|
* Irix linking fix from Yu Cao <yucao@falcon.kla-tencor.com>Tom Lane1999-09-071-1/+10
|
* Fix for perl5 on BSD/OS breaks most other platforms, so back it out.Thomas G. Lockhart1999-09-031-3/+3
| | | | | istm that this would be a job for configure. Most modern OSes actually use perl5 by default ;)
* driver v06-40-0007Byron Nikolaidis1999-09-032-35/+115
|
* driver v06-40-0007Byron Nikolaidis1999-09-033-2/+4
|
* Update frontend libpq to remove limits on query lengths,Tom Lane1999-08-3111-392/+939
| | | | | | | error/notice message lengths, and number of fields per tuple. Add pqexpbuffer.c/.h, a frontend version of backend's stringinfo module. This is first step in applying Mike Ansley's long-query patches, even though he didn't do any of these particular changes...
* Un-break code generated by ECPGRelease production.Tom Lane1999-08-221-2/+3
|
* Fix for perl5 on BSD/OS.Bruce Momjian1999-08-161-3/+3
|
* Fix for Win32 making problem with MB enabled.Tatsuo Ishii1999-08-161-1/+30
| | | | Patches created by Hiroki Kataoka.
* *** empty log message ***Michael Meskes1999-08-023-21/+12
|