summaryrefslogtreecommitdiff
path: root/src/backend
AgeCommit message (Collapse)Author
2003-07-25Error message editing in backend/utils (except /adt).Tom Lane
2003-07-25Error message editing in backend/optimizer, backend/rewrite.Tom Lane
2003-07-24Error message editing in backend/storage.Tom Lane
2003-07-24Fix timestamp_date for HAVE_INT64_TIMESTAMP case.Tom Lane
2003-07-24Repair 7.3 breakage in timestamp-to-date conversion for dates before 2000.Tom Lane
2003-07-24Don't refer to AF_UNIX in code not protected with HAVE_UNIX_SOCKETS.Tom Lane
2003-07-23Have a go at fixing various outstanding portability issues in code thatTom Lane
was modified for IPv6. Use a robust definition of struct sockaddr_storage, do a proper configure test to see if ss_len exists, don't assume that getnameinfo() will handle AF_UNIX sockets, don't trust getaddrinfo to return the protocol we ask for, etc. This incorporates several outstanding patches from Kurt Roeckx, but I'm to blame for anything that doesn't work ...
2003-07-22Error message editing in backend/bootstrap, /lib, /nodes, /port.Tom Lane
2003-07-22Error message editing for foreign-key triggers.Tom Lane
2003-07-22A few parentheses shy of a load here ...Tom Lane
2003-07-22Add GUC parameter to control rendezvous name.Bruce Momjian
2003-07-22wups, took out one memset too many ...Tom Lane
2003-07-22Error message editing in backend/libpq, backend/postmaster, backend/tcop.Tom Lane
Along the way, fix some logic problems in pgstat_initstats, notably the bogus assumption that malloc returns zeroed memory.
2003-07-21Error message editing in backend/access.Tom Lane
2003-07-21Error message editing in backend/executor.Tom Lane
2003-07-21Error message editing in backend/catalog.Tom Lane
2003-07-20Another round of error message editing, covering backend/commands/.Tom Lane
2003-07-19Error message editing: finish up undone task of reporting the problemTom Lane
xid when we fail to access pg_clog.
2003-07-19Add ereport-related functions to GETTEXT_TRIGGERS list.Tom Lane
2003-07-19Another round of error message editing, covering backend/parser/.Tom Lane
2003-07-18First bits of work on error message editing.Tom Lane
2003-07-18Add cleaner formatting to config file.Bruce Momjian
2003-07-17Oh, for crying in a bucket ... relax Assert so that glibc's strxfrmTom Lane
does not dump core.
2003-07-17Work around buggy strxfrm() present in some Solaris releases.Tom Lane
2003-07-17For COMMENT ON DATABASE where database name is unknown or not the currentTom Lane
database, emit a WARNING and do nothing, rather than raising ERROR. Per recent discussion in which we concluded this is the best way to deal with database dumps that are reloaded into a database of a new name.
2003-07-17Repair boundary-case bug introduced by patch of two months ago thatTom Lane
fixed incorrect initial setting of StartUpID. The logic in XLogWrite() expects that Write->curridx is advanced to the next page as soon as LogwrtResult points to the end of the current page, but StartupXLOG() failed to make that happen when the old WAL ended exactly on a page boundary. Per trouble report from Hannu Krosing.
2003-07-17Make EXTRACT(TIMEZONE) and SET/SHOW TIMEZONE follow the SQL conventionTom Lane
for the sign of timezone offsets, ie, positive is east from UTC. These were previously out of step with other operations that accept or show timezones, such as I/O of timestamptz values.
2003-07-16Add defenses against trying to attach qual conditions to a setOperationTom Lane
query node, since that won't work unless the planner is upgraded. Someday we should try to support at least some cases of this, but for now just plug the hole in the dike. Per discussion with Dmitry Tkach.
2003-07-15Now that I look, SHOW TRANSACTION_ISOLATION isn't quite consistentTom Lane
with SET TRANSACTION_ISOLATION, either.
2003-07-15Cause SHOW DATESTYLE to produce a string that will be accepted by SETTom Lane
DATESTYLE, for instance 'SQL, European' instead of 'SQL with European conventions'. Per gripe a month or two back from Barry Lind.
2003-07-15Tweak original coding so that we can determine the platform-specificTom Lane
shared_buffers and max_connections values to use before we run the bootstrap process. Without this, initdb would fail on platforms where the hardwired default values are too large. (We could get around that by making the hardwired defaults tiny, perhaps, but why slow down bootstrap by starving it for buffers...)
2003-07-14Make cost estimates for SubqueryScan more realistic: charge cpu_tuple_costTom Lane
for each row processed, and don't forget the evaluation cost of any restriction clauses attached to the node. Per discussion with Greg Stark.
2003-07-14The default values for shared_buffers and max_connections are now 1000Tom Lane
and 100 respectively, if the platform will allow it. initdb selects values that are not too large to allow the postmaster to start, and places these values in the installed postgresql.conf file. This allows us to continue to start up out-of-the-box on platforms with small SHMMAX, while having somewhat-realistic default settings on platforms with reasonable SHMMAX. Per recent pghackers discussion.
2003-07-14Fix a *second* buffer overrun bug in to_ascii(). Grumble.Tom Lane
2003-07-09Add description for new GUC context.Bruce Momjian
Aizaz Ahmed
2003-07-09Add special checks for non-super-user setting LOG_MIN_DURATION_STATEMENTBruce Momjian
to zero.
2003-07-09Add new USERLIMIT GUC source level so certain options can be disabledBruce Momjian
or increased only by super-users. This fixes problems caused by making certain variables SUSET for security reasons.
2003-07-04tm2timestamp should return -1, not elog, on overflow. (In the backendTom Lane
this is merely an API inconsistency, but in ecpg it's fatal.) Also, fix misconceived overflow test in HAVE_INT64_TIMESTAMP case.
2003-07-04Add --help-config facility to dump information about GUC parametersTom Lane
without needing a running backend. Reorder postgresql.conf.sample to match new layout of runtime.sgml. This commit re-adds work lost in Wednesday's crash.
2003-07-04Some early work on error message editing. Operator-not-found andTom Lane
function-not-found messages now distinguish the cases no-match and ambiguous-match, and they follow the style guidelines too.
2003-07-03Fix bug I introduced in recent rewrite of NUMERIC code: numeric toTom Lane
integer conversions gave the wrong answer for values with stripped trailing zeroes, such as 10000000.
2003-07-03Do honest transformation and preprocessing of LIMIT/OFFSET clauses,Tom Lane
instead of the former kluge whereby gram.y emitted already-transformed expressions. This is needed so that Params appearing in these clauses actually work correctly. I suppose some might claim that the side effect of 'SELECT ... LIMIT 2+2' working is a new feature, but I say this is a bug fix.
2003-07-03Code review for UPDATE tab SET col = DEFAULT patch ... whack it aroundTom Lane
so it has some chance of working in rules ...
2003-07-01Aggregates can be polymorphic, using polymorphic implementation functions.Tom Lane
It also works to create a non-polymorphic aggregate from polymorphic functions, should you want to do that. Regression test added, docs still lacking. By Joe Conway, with some kibitzing from Tom Lane.
2003-07-01Dept. of second thoughts: supporting inlining of polymorphic SQL functionsTom Lane
takes only a few more lines of code than preventing it, so might as well support it.
2003-07-01STRENGH => STRENGTH, per Jon Jensen.Tom Lane
2003-07-01Department of second thoughts: even if we can't run the full parser onTom Lane
a SQL function with polymorphic inputs, we can at least run the raw parser to catch silly syntactic errors.
2003-07-01SQL functions can have arguments and results declared ANYARRAY orTom Lane
ANYELEMENT. The effect is to postpone typechecking of the function body until runtime. Documentation is still lacking. Original patch by Joe Conway, modified to postpone type checking by Tom Lane.
2003-07-01Change EXECUTE INTO to CREATE TABLE AS EXECUTE.Peter Eisentraut
2003-06-30Add GUC option log_error_verbosity to control which fields of errorTom Lane
reports get put into the postmaster log. Options are TERSE, DEFAULT, VERBOSE, with the same behavior as implemented on the client side in libpq.