- 02 Aug, 2001 7 commits
-
-
Tom Lane authored
exec_eval_simple_expr shortcut, which was diked out in 7.1 because it leaked too much space. CVS tip now leaks no memory in Chris Ruprecht's example, which formerly leaked to the tune of 500 MB. (Much of this is work that Jan already did; this commit just cleans up around the edges.)
-
Tom Lane authored
it copies the tupdesc into upper-executor memory. This is necessary for returning tuple descriptors without leaking all of lower exec memory.
-
Tom Lane authored
-
Tom Lane authored
-
Bruce Momjian authored
I noticed that pltcl didn't have any way to get to SPI_lastoid like plpgsql does.. I started using pltcl a lot because I like to decide when and how my queries get planned.. so I put one together really quick Sorry I don't have the original around to make a quick diff, but its a very small change... I think this should be in the next release, there's no reason not to have it. its a function with no expected arguments, so you can use it like: spi_exec "INSERT INTO mytable(columns...) VALUES(values..)" set oid [spi_lastoid] spi_exec "SELECT mytable_id from mytable WHERE oid=$oid" It just didn't make sense for me to use plpgsql and pltcl, or just screw them both and use SPI from C. bob@redivi.com
-
Tom Lane authored
declare the getsockopt parameter as ACCEPT_TYPE_ARG3 to be consistent with our other uses of getsockopt.
-
Tom Lane authored
that call is not needed to prepare for SO_PEERCRED. Also, simplify code so that #ifdef SO_PEERCRED appears in only one place, to make it easier to support other platforms with variants of this capability.
-
- 01 Aug, 2001 9 commits
-
-
Tom Lane authored
points out how silly it is to use Autoconf to test for a preprocessor symbol, when one can equally easily #ifdef on the symbol itself. Accordingly, revert configure to prior state and do it that way.
-
Tom Lane authored
system supports SO_PEERCRED requests for Unix sockets. This is an amalgamation of patches submitted by Helge Bahmann and Oliver Elphick, with some editorializing by yours truly.
-
Bruce Momjian authored
psql. Randy Hall
-
Bruce Momjian authored
platform. TIOCGWINSZ is defined as follows: Linux asm/ioctls.h FreeBSD sys/ttycom.h. This file is included by sys/ioctl.h. Solaris sys/termios.h This patch tells print.c to know TIOCGWINSZ on Solaris platform. Same code is founded in src/bin/psal/common.c. Kenji Sugita
-
Bruce Momjian authored
substrings of two characters or greater, and is case-sensitive. This patch makes it work correctly. It generates only the suffixes of each word, plus lowercases them - as specified by the README file. This brings it into line with the fti.c function, makes it case-insensitive properly, removes the problem with duplicate rows being returned from an fti search and greatly reduces the size of the generated index table. It was written by my co-worker, Brett Toolin. Christopher Kings-Lynne
-
Tom Lane authored
-
Tatsuo Ishii authored
10000 tuples, rather than one big copy. This will prevent generating too much WAL logs.
-
Bruce Momjian authored
-
Bruce Momjian authored
-
- 31 Jul, 2001 9 commits
-
-
Tom Lane authored
number in the data structure so that we can give at least a minimally useful idea of where the mistake is when we issue syntax error messages. Move the ClientAuthentication() call to where it should have been in the first place, so that postmaster memory releasing can happen in a reasonable place also. Update obsolete comments, correct one real bug (auth_argument was not picked up correctly).
-
Tom Lane authored
more care with resjunk tlist entries than it was doing. The original coding ignored resjunk entries entirely, but a resjunk entry that is in either the distinctClause or sortClause lists indicates that DISTINCT ON was used. It's important for ruleutils.c to get this right, else we may dump views using DISTINCT ON incorrectly.
-
Tom Lane authored
has a DISTINCT ON clause, per bug report from Anthony Wood. While at it, improve the DISTINCT-ON-clause recognizer routine to not be fooled by out- of-order DISTINCT lists.
-
Bruce Momjian authored
mapping, not character strings.
-
Bruce Momjian authored
-
Bruce Momjian authored
-
Tom Lane authored
anymore.
-
Tom Lane authored
-
Tom Lane authored
echo "command" | postgres to the style postgres <<EOF command EOF This makes the script more legible (IMHO anyway) by reducing the need to escape quotes, and allows us to execute successive SQL commands in a single standalone-backend run, rather than needing to start a new standalone backend for each command. With all the CREATE VIEWs that are getting done now, this makes for a rather substantial reduction in the runtime of initdb. (Some of us do initdb often enough to care how long it runs ;-).)
-
- 30 Jul, 2001 8 commits
-
-
Bruce Momjian authored
-
Bruce Momjian authored
-
Bruce Momjian authored
-
Bruce Momjian authored
Larry Rosenman
-
Bruce Momjian authored
John Gray
-
Bruce Momjian authored
Rene Pijlman
-
Bruce Momjian authored
connection implementations (org.postgresql.jdbc[1|2].Connection) into their superclass (org.postgresql.Connection). It also changes the close() methods of Connection and PG_Stream, so that PG_Stream no longer is responsible for sending the termination packet 'X' to the backend. I figured that protocol-level stuff like that belonged in Connection more than in PG_Stream. Anders Bengtsson
-
Bruce Momjian authored
Lists, and use that for user validation. Bruce Momjian
-
- 29 Jul, 2001 1 commit
-
-
Tom Lane authored
namely after the view definition rather than before it. Bug introduced in 7.1 by changes to dump stuff in OID ordering.
-
- 22 Jul, 2001 1 commit
-
-
Tom Lane authored
-
- 21 Jul, 2001 5 commits
-
-
Bruce Momjian authored
-
Bruce Momjian authored
value for each column. Here is a context diff of CVS which should fix it. Jason Davies
-
Bruce Momjian authored
in Connection - note: I've updated setCatalog(String catalog) from my previous diff so it checks whether it is already connected to the specified catalog. Jason Davies
-
Bruce Momjian authored
Here's a patch against the current CVS. The changes from the previous patch are mostly related to the changed interface for PG_Stream. Anders Bengtsson
-
Bruce Momjian authored
-