Commit Graph

1223 Commits (368df3042783778031ece2b8580324516cd42de1)

Author SHA1 Message Date
Tom Lane 9511304752 Rearrange the querytree representation of ORDER BY/GROUP BY/DISTINCT items 18 years ago
Tom Lane bac3e83622 Replace the hard-wired type knowledge in TypeCategory() and IsPreferredType() 18 years ago
Tom Lane 11c794f224 Use guc.c's parse_int() instead of pg_atoi() to parse fillfactor in 18 years ago
Tom Lane a1c692358b Adjust things so that the query_string of a cached plan and the sourceText of 18 years ago
Tom Lane 69a785b8bf Implement SQL-spec RETURNS TABLE syntax for functions. 18 years ago
Bruce Momjian 2c773296f8 Add array_fill() to create arrays initialized with a value. 18 years ago
Tom Lane 960af47efd Const-ify the arguments of str_tolower() and friends to suppress compile 18 years ago
Tom Lane c63147d6f0 Add a function pg_get_keywords() to let clients find out the set of keywords 18 years ago
Bruce Momjian 6b797c852b Fix recovery.conf boolean variables to take the same range of string 18 years ago
Tom Lane 4a8d573cda If pnstrdup is going to be promoted to a generally available function, 18 years ago
Bruce Momjian f6ec7430f9 Merge duplicate upper/lower/initcap() routines in oracle_compat.c and 18 years ago
Alvaro Herrera a3540b0f65 Improve our #include situation by moving pointer types away from the 18 years ago
Bruce Momjian 9de09c087d Move wchar2char() and char2wchar() from tsearch into /mb to be easier to 18 years ago
Tom Lane b163baa89c Clean up some problems with redundant cross-type arithmetic operators. Add 18 years ago
Magnus Hagander d88cd7db63 Add a field to guc enums to allow hiding of values from display while 18 years ago
Tom Lane 7b8a63c3e9 Alter the xxx_pattern_ops opclasses to use the regular equality operator of 18 years ago
Tom Lane 07a5606735 Make to_char()'s localized month/day names depend on LC_TIME, not LC_MESSAGES. 18 years ago
Andrew Dunstan 53972b460c Add $PostgreSQL$ markers to a lot of files that were missing them. 18 years ago
Tom Lane b62f246fb0 Support SQL/PSM-compatible CASE statement in plpgsql. 18 years ago
Alvaro Herrera 5da9da71c4 Improve snapshot manager by keeping explicit track of snapshots. 18 years ago
Magnus Hagander f99760c19f Convert wal_sync_method to guc enum. 18 years ago
Alvaro Herrera f8c4d7db60 Restructure some header files a bit, in particular heapam.h, by removing some 18 years ago
Tom Lane 4136e1d06a Convert the list of syscache names from a series of #define's into an enum, 18 years ago
Tom Lane b6d15590f7 Add timestamp and timestamptz versions of generate_series(). 18 years ago
Tom Lane 600da67fbe Add pg_conf_load_time() function to report when the Postgres configuration 18 years ago
Alvaro Herrera 1fcb977a13 Add generate_subscripts, a series-generation function which generates an 18 years ago
Tom Lane 8472bf7a73 Allow float8, int8, and related datatypes to be passed by value on machines 18 years ago
Tom Lane 87a2f050a9 Cause EXPLAIN's VERBOSE option to print the target list (output column list) 18 years ago
Bruce Momjian c4fd93b3f3 Re-enable pg_terminate_backend() using SIGTERM. SIGTERM testing still 18 years ago
Tom Lane d1cbd26ded Repair two places where SIGTERM exit could leave shared memory state 18 years ago
Bruce Momjian 76365960d2 Revert addition of pg_terminate_backend() because of race conditions. 18 years ago
Bruce Momjian 18b286f3e3 Add pg_terminate_backend() to allow terminating only a single session. 18 years ago
Tom Lane 226837e57e Since createplan.c no longer cares whether index operators are lossy, it has 18 years ago
Tom Lane 4e82a95476 Replace "amgetmulti" AM functions with "amgetbitmap", in which the whole 18 years ago
Tom Lane a0fad9762a Re-implement division for numeric values using the traditional "schoolbook" 18 years ago
Bruce Momjian f96928fde9 Implement current_query(), that shows the currently executing query. 18 years ago
Magnus Hagander d672ea6ffa Turn xmlbinary and xmloption GUC variables into enumsTurn xmlbinary and 18 years ago
Magnus Hagander ad6bf716ba Convert three more guc settings to enum type: 18 years ago
Tom Lane 7692d8d5b7 Support statement-level ON TRUNCATE triggers. Simon Riggs 18 years ago
Alvaro Herrera 73b0300b2a Move the HTSU_Result enum definition into snapshot.h, to avoid including 18 years ago
Alvaro Herrera 78f02ca1f5 Rename snapmgmt.c/h to snapmgr.c/h, for consistency with other files. 18 years ago
Alvaro Herrera d43b085d57 Separate snapshot management code from tuple visibility code, create a 18 years ago
Tom Lane 220db7ccd8 Simplify and standardize conversions between TEXT datums and ordinary C 18 years ago
Neil Conway 1d812a98b4 Add a new tuplestore API function, tuplestore_putvalues(). This is 18 years ago
Tom Lane 05fc744b96 Add a new ereport auxiliary function errdetail_log(), which works the same as 18 years ago
Tom Lane 7de81124d5 Create a function quote_nullable(), which works the same as quote_literal() 18 years ago
Tom Lane 2d0583a166 Get rid of a bunch of #ifdef HAVE_INT64_TIMESTAMP conditionals by inventing 18 years ago
Magnus Hagander 7cbfa7565e Fix postgres --describe-config for guc enums, breakage noted by Alvaro. 18 years ago
Tom Lane 787eba734b When creating a large hash index, pre-sort the index entries by estimated 18 years ago
Magnus Hagander a3f66eac01 Some cleanups of enum-guc code, per comments from Tom. 18 years ago