summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2003-01-11Back out flockfile change for NetBSD. Giles Lean reports they are notBruce Momjian
supported.
2003-01-11Cause symlinks for shared-library versioning to run in the standardTom Lane
direction on HP-UX; our former approach has been obsolete since HPUX 9. Giles Lean
2003-01-11Fix typo in an error messageTatsuo Ishii
2003-01-11> > This patch improves the documentation for the shared_buffers GUC param.Bruce Momjian
> > I'd suggest that the runtime.sgml description explicitly say "values of > at least a few thousand are recommended for production installations". Neil Conway
2003-01-11Rewrite for-loop, because this is not the Obfuscated C Code Contest.Bruce Momjian
Manfred Koizar
2003-01-11A tiny patch to fix a typo in configure.in and another one inBruce Momjian
RELEASE_CHANGES. Manfred Koizar
2003-01-10Create a new file executor/execGrouping.c to centralize utility routinesTom Lane
shared by nodeGroup, nodeAgg, and soon nodeSubplan.
2003-01-10Add missing <limits.h> for INT64_IS_BUSTED case.Tom Lane
2003-01-10Read-only transactions, as defined in SQL.Peter Eisentraut
2003-01-10Do not shell-quote the name of the editor, so that the editor can be aPeter Eisentraut
command with arguments.
2003-01-10Further tweaking of parsetree & plantree representation of SubLinks.Tom Lane
Simplify SubLink by storing just a List of operator OIDs, instead of a list of incomplete OpExprs --- that was a bizarre and bulky choice, with no redeeming social value since we have to build new OpExprs anyway when forming the plan tree.
2003-01-10Add optional drop behavior clause to REVOKE command, for SQL conformance.Peter Eisentraut
Currently, only RESTRICT is allowed.
2003-01-10Clean ip.c.Peter Eisentraut
2003-01-09Adjust parser so that 'x NOT IN (subselect)' is converted toTom Lane
'NOT (x IN (subselect))', that is 'NOT (x = ANY (subselect))', rather than 'x <> ALL (subselect)' as we formerly did. This opens the door to optimizing NOT IN the same way as IN, whereas there's no hope of optimizing the expression using <>. Also, convert 'x <> ALL (subselect)' to the NOT(IN) style, so that the optimization will be available when processing rules dumped by older Postgres versions. initdb forced due to small change in SubLink node representation.
2003-01-09Move new typedef AclId into c.h, so as to avoid cluttering namespaceTom Lane
by having to include miscadmin.h into other header files.
2003-01-09Fix IPv6 detection and IPv6 to 4 conversion to use only standardPeter Eisentraut
interfaces.
2003-01-09Fix indenting of log_min_error_statement.Bruce Momjian
2003-01-09Remove bit.c/h routines. Not used anymore.Bruce Momjian
2003-01-09Repair inconsistent rounding behavior for timestamp, time, interval,Tom Lane
per gripe from Csaba Nagy. There is still potential for platform-specific behavior for values that are exactly halfway between integers, but at least we now get the expected answer for all other cases.
2003-01-09Add missing pg_proc entry for interval_scale(). The lack of this entryTom Lane
causes interval rounding not to work as expected in 7.3, for example SELECT '18:17:15.6'::interval(0) does not round the value. I did not force initdb, but one is needed to install the added row.
2003-01-08Remove 'const' from secure_write, to prevent compiler warning.Bruce Momjian
2003-01-08Guard against stopping when numberTuples=0 and counter wraps around.Tom Lane
2003-01-08The second was that renegotiation was just plain broken. I can'tBruce Momjian
believe I didn't notice this before -- once 64k was sent to/from the server the client would crash. Basicly, in 7.3 the server SSL code set the initial state to "about to renegotiate" without actually starting the renegotiation. In addition, the server and client didn't properly handle the SSL_ERROR_WANT_(READ|WRITE) error. This is fixed in the second patch. Nathan Mueller
2003-01-08I was playing around with 7.3.1 and found some more SSL problems. TheBruce Momjian
first, that I missed when checking over 7.3.1, was that the client method was switched to SSLv23 along with the server. The SSLv23 client method does SSLv2 by default, but can also understand SSLv3. In our situation the SSLv2 backwords compatibility is really only needed on the server. This is the first patch. The last thing is that I found a way for the server to understand SSLv2 HELLO messages (sent by pre-7.3 clients) but then get them to talk SSLv3. This is the last one. Nathan Mueller
2003-01-08Fix dumping of DEFERRABLE/INITIALLY DEFERRED:Bruce Momjian
> The big problem is that while pg_dump's dump_trigger() looks at > tginitdeferred and dumps accordingly, pg_get_constraintdef doesn't look > at tginitdeferred, and therefore doesn't record the requirement as part > of ALTER TABLE ADD CONSTRAINT. pg_get_constraintdef should probably be looking at condeferrable and condeferred in the pg_constraint row it's looking at. Maybe something like the attached. (Added, output only non-default values.) Stephan Szabo
2003-01-08Updated deferred trigger patch.Bruce Momjian
Neil Conway
2003-01-08This trivial patch implements disabled, deferred triggers, per myBruce Momjian
proposal on -hackers a couple days ago. The 'tgenabled' status of the trigger is consulted when the trigger is added to the deferred queue (i.e. when the event occurs that fires the trigger), not when the deferred event is executed. No regression tests, as another bug prevents them (the pg_trigger row for a trigger is only loaded once per session, so any changes to it are not noticed unless the client disconnects and reconnects). Neil Conway
2003-01-08Enhanced error/help message for pg_controldata.Bruce Momjian
Serguei Mokhov
2003-01-08Reconsider old decision to try to constant-fold default and constraintTom Lane
expressions before they are stored. This seems like not such a hot idea, particularly now that the constant-folder will try to inline SQL functions.
2003-01-08Repair bug noticed by Deepak Bhole: a shell type should have a dependencyTom Lane
on its namespace, so that it will go away if the schema is dropped.
2003-01-08Fix pgpass to work with PQconnectDB().Bruce Momjian
Backpatch to 7.3.X. Report from ljb.
2003-01-08Fix for bug #866. 7.3 contains new logic for avoiding redundant calls toTom Lane
the index AM when we know we are fetching a unique row. However, this logic did not consider the possibility that it would be asked to fetch backwards. Also fix mark/restore to work correctly in this scenario.
2003-01-08Only set the database name if we find a match in the services file.Bruce Momjian
2003-01-08Correction to last patch. As per the DB-API spec, we need to return NoneD'Arcy J.M. Cain
here, not -1.
2003-01-08Code review for FETCH/MOVE 0 changes. Improve documentation, do theTom Lane
right thing with the destination when FETCH 0 can't return a row, don't try to stuff LONG_MAX into an int value.
2003-01-07SendFunctionResult should take care to detoast varlena results.Tom Lane
2003-01-07Fix various places where global s/NOTICE/WARNING/ was applied with tooTom Lane
much enthusiasm.
2003-01-07Apply the proper version of Christopher Kings-Lynne's describe patchTom Lane
(ie, the one with describe-schema support). Minor code review. Adjust display of casts to use standard type names.
2003-01-07Add connection service file.Bruce Momjian
2003-01-07Silence compiler warning caused by removal of netinet/in.hBruce Momjian
2003-01-07Fix missing tab in file.Bruce Momjian
2003-01-07Document libpq service capability, and add sample file.Bruce Momjian
2003-01-07Tweak mdnblocks() to avoid doing lseek() on segments that it hasTom Lane
previously determined not to be the last segment of a relation. This reduces the expected cost to one seek, rather than one seek per segment. We can get away with this because truncation of a relation will cause a relcache flush and so the md.c file descriptor will be closed; when it is re-opened we will re-determine the last segment.
2003-01-06Enable IPv6 libpq 'hostaddr' addresses. Update docs.Bruce Momjian
2003-01-06Use our own version of getopt_long() if the OS doesn't have one.Peter Eisentraut
2003-01-06Fix for systems that don't have INET_ADDRSTRLEN.Peter Eisentraut
2003-01-06Update comments on IPv6 #define.Bruce Momjian
2003-01-06Update ipv6 comment, move configure test to the right placeBruce Momjian
2003-01-06Add prototype for getaddrinfo().Bruce Momjian
2003-01-06Enable IPv6 connections to the server, and add pg_hba.conf IPv6 entriesBruce Momjian
if the OS supports it. Code will still compile on non-IPv6-aware machines (feature added by Bruce). Nigel Kukard