summaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* Add new postgres -O option to allow system table structure changes.Bruce Momjian1999-03-1714-71/+57
|
* Left associates all operators, instead of non-associating them.Bruce Momjian1999-03-172-401/+401
|
* Have % operator have precedence like /.Bruce Momjian1999-03-174-5414/+5596
|
* Update nextval() code.Bruce Momjian1999-03-161-1/+3
|
* Fix snprintf with strings, and nextval('"Aa"');Bruce Momjian1999-03-167-5769/+5772
|
* Here is a patch.Bruce Momjian1999-03-165-34/+34
| | | | | | | | I have changed to call pg_exec_query_dest() instead of pg_exec_query(). Thanks. Hiroshi Inoue
* autoconfBruce Momjian1999-03-161-335/+353
|
* Hmmm. It had to do with tcl/tk on FreeBSD. The configure scripts areBruce Momjian1999-03-161-1/+16
| | | | | | | | | | | in different directories. The patch gave the option of specifying a dir for the tk script and if they were both in the same directory then it didn't mind being empty. It's small so I'm including it. It was tested with autoconf 2.12. Vince.
* Change Does Not Exist to 'does not exist'.Bruce Momjian1999-03-164-7/+7
|
* cleanupBruce Momjian1999-03-151-1/+2
|
* *** empty log message ***Michael Meskes1999-03-152-0/+6
|
* Allow sequence nextval actions to be case-sensitive.Bruce Momjian1999-03-151-7/+12
|
* Irix fix from Jeff JohnsonBruce Momjian1999-03-151-0/+1
|
* Drop buffers before destroying database files.Bruce Momjian1999-03-151-5/+4
|
* LIKE cleanup.Bruce Momjian1999-03-151-12/+26
|
* Fix brain death in !!= operator ... it's still pretty bogusTom Lane1999-03-152-25/+32
| | | | but at least now it does what it's supposed to do ...
* > > > This patches src/bin/psql/psql.c.Bruce Momjian1999-03-152-11/+35
| | | | | | | > > > > > > This patch is in responce to the following TODO list item: > > > * have psql \d on a view show the query > > > -Ryan
* Fix int8 configure one more time ... prior version didn'tTom Lane1999-03-154-614/+508
| | | | define INT64_FORMAT in all cases.
* cleanupBruce Momjian1999-03-141-2/+2
|
* CleanupBruce Momjian1999-03-141-3/+2
|
* Reversed out libpq protocol patch for Tom Lane.Bruce Momjian1999-03-142-26/+5
|
* src/backend/utils/adt/numeric.c fails to compile due to a string havingBruce Momjian1999-03-141-3/+3
| | | | | | | | an embedded new-line character. Billy G. Allie
* This is another example of why not allowing utility functions in SPIBruce Momjian1999-03-141-3/+4
| | | | | | | | | | | | would be a Bad Thing. For what it's worth, I found another case in libpq where you can get a T message without a D that my utility patch needs to handle. I have attached the updated patch against the 6.4.2 version of src/interfaces/libpq/fe-exec.c Jerry Gay
* Attempting to insert a value of 'now' into a datetime typeBruce Momjian1999-03-143-10/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | results in a bogus datetime value under AlphaLinux. (Note that the link to submit a port-specific bug on your website is broken) -Test Case: ---------- testdb=> create table dttest (dt datetime); testdb=> insert into dttest values ('now'); -------------------------------------------------------------------------- Solution: --------- The basic problem is the typedefs of AbsoluteTime and RelativeTime, which are both 'int32'. These types appear to be used synonymously with the 'time_t' type, which on AlphaLinux is typedef'd as a 'long int', which is 64-bits (not 32). The solution included here fixes the datetime type (it now passes the regression test), but does not pass the absolute and relative time regression tests. Presumably, a more thorough investigation of how these types are used is warranted. The included patch is from the v6.3.2 source, but can be applied to the v6.4.2 source. Please note that there is also a RedHat-specific patch distributed with the PostgreSQL source package from RedHat that was applied first. Rich Edwards
* Hi,Bruce Momjian1999-03-141-4/+24
| | | | | | | | | Just in case you'd like to see what I was talking about, I am attaching my patch to src/interfaces/libpq/fe-exec.c to prevent utility functions called from SPI from locking up the client. Jerry Gay
* Here is a little syntax error found in a .y file... A dropped semi.Bruce Momjian1999-03-144-8173/+8124
| | | | | | DwD -- Daryl W. Dunbar
* Cleanup of hash functions in pg_proc.Bruce Momjian1999-03-142-3661/+3651
|
* compile cleanupBruce Momjian1999-03-141-2/+3
|
* Compile cleanupBruce Momjian1999-03-141-2/+2
|
* Done.Bruce Momjian1999-03-141-15/+32
| | | | | | | o overwriting an existing lobj now works o 8KB garbage block always inserted problem is fixed Tatsuo Ishii
* I've been having also sorts of fun trying to get kerberos 4Bruce Momjian1999-03-142-6/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | authentifica tion working with postgresql-6.4.2 and KTH-KRB Ebones (http://www.pdc.kth.se/kth-kr b) on a dec alpha running DU 4.0D using the native compiler. The following patch does the trick. The rationale behind this is as follows. The KTH-KRB code header files defines lots of lengths like INST_SZ,REALM_SZ and KRB_SENDAUTH_VLEN. It also has a habit of doing things like chararray[LENGTH] = '\0' to ensure null terminated strings. In my instance this just happens to blat the kerberos principal instance string leading to error like pg_krb4_recvauth: kerberos error: Can't decode authenticator (krb_rd_req ) The application code that comes with KTH-KRB uses "KRB_SENDAUTH_VLEN + 1" and sometimes uses "INST_SZ + 1" so it seems safest to put that 1 char buffer in the appropriate place. Rodney McDuff
* We have tested the patches on three platforms:Bruce Momjian1999-03-1411-14/+41
| | | | | | | | | | | | | NetBSD/macppc LinuxPPC FreeBSD 2.2.6-RELEASE All of them seem happy with the regression test. Note that, however, compiling with optimization enabled on NetBSD/macppc causes an initdb failure (other two platforms are ok). After checking the asm code, we are suspecting that might be a compiler(egcs) bug. Tatsuo Ishii
* This patch improves the destroyuser script's behaviour in checking whetherBruce Momjian1999-03-141-3/+4
| | | | | | | | the user is allowed to detroy users. It also allows for a possible incorrect empty reply to a yes/no question. Oliver Elphick
* Fixup for src/tutorial/func.c and src/tutorial/func.sourceBruce Momjian1999-03-142-39/+44
| | | | | | | | | | | | Removed char16 and replaced with an example using Point as suggested by Tom Lane. The dept field was changed to the cubicle field denoting the row(x) and column(y) of the employee's cube in the corporate jungle. The C function builds a 'compromise' cubicle from two suggested ones. I'll try and patchup the documentation next. Clark
* Hello,Bruce Momjian1999-03-141-1/+4
| | | | | | | | | I've been working on the following TODO list item: * psql \d on index with char()/varchar() fields shows improper length I've attached a simple patch to fix this. -Ryan
* The isWritable method in ResultSetMetaData returns the logicallyBruce Momjian1999-03-141-2/+2
| | | | | | incorrect result. This bug goes back to at least 6.3. Alvin
* I have a problem with Access97 not working properly when entering newBruce Momjian1999-03-142-2/+4
| | | | | | | | | | | | | | records using a sub form, i.e. entering a new order/orderlines or master and detail tables. The problem is caused by a SQL statement that Access97 makes involving NULL. The syntax that fails is "column_name" = NULL. The following attachment was provided by -Jose'-. It contains a very small enhancement to gram.y that will allow Access97 to work properly with sub forms. Can this enhancement be added to release 6.5? <<gram.patch>> Thanks, Michael
* There are errors in the PGmoney class in the conversion routines overBruce Momjian1999-03-141-2/+22
| | | | | | | | | | | | the handling of negative numbers and commas. The attached path attempts to fix these. However the getValue method does not yet insert commas into the generated string. Also in getValue there is an incorrect assumption that the currency symbol is '$', it should of course be '£'!. I have no idea on how to go about fixing this one. Alvin
* Enclosed below I have a patch to allow a btree index on the int8 type.Bruce Momjian1999-03-147-7/+44
| | | | | | | | | | | | | | | I would like some feedback on what the hash function for the int8 hash function in the ./backend/access/hash/hashfunc.c should return. Also, could someone (maybe Tomas Lockhart?) look-over the patch and make sure the system table entries are correct? I've tried to research them as much as I could, but some of them are still not clear to me. Thanks, -Ryan
* *** empty log message ***Michael Meskes1999-03-115-133/+14
|
* We have to return dummy tuple for empty targetlist!Vadim B. Mikheev1999-03-101-9/+8
| | | | | | Try select t1.x from t1, t2 where t1.y = 1 and t2.y = 1 - t2 scan target list will be empty and so no one tuple will be returned...
* Make type 'regproc' binary-compatible with int4 and oid,Tom Lane1999-03-101-3/+6
| | | | | so that it has some SQL operators available. It's difficult to write automated tests of a data type that you haven't even got == for...
* Fix some typos in argument and result types in pg_procTom Lane1999-03-103-24/+26
| | | | | | | and pg_operator. The lone error in pg_operator was reported as a bug by Michael Reifenberger; the multiple errors in pg_proc would only have been noticed if one invoked the functions by name rather than using operator syntax. I guess few people do that.
* From: Constantin Teodorescu <teo@flex.ro>Marc G. Fournier1999-03-094-124/+411
| | | | UPgrade to 0.96 ..
* Changes to fix/improve the dynamic loading on NTMarc G. Fournier1999-03-096-10/+33
| | | | From: Horak Daniel <horak@mmp.plzen-city.cz>
* Fix OR index selectivity problem.Bruce Momjian1999-03-082-27/+19
|
* Fix for Alpha OR selectivity bug.Bruce Momjian1999-03-081-2/+2
|
* Have configure check for use of %lld for int64, and if that fails, check forMarc G. Fournier1999-03-084-435/+679
| | | | | use of %qd...a more generic solution then having #ifdef __<INSERT OS HERE>__ in the code...
* Export include/utils/mcxt.h so that external stuff can includeTom Lane1999-03-072-72/+78
| | | | | | palloc.h again. Move exporting of backend header files out of libpq's Makefile (whatever was it doing there in the first place?) and into backend/Makefile.
* Modify mcxt.h so that it doesn't pull in half of creation.Tom Lane1999-03-073-7/+19
|