- 18 7月, 2013 1 次提交
-
-
由 Andrew Dunstan 提交于
This is more efficient and simpler . It does mean that an untyped NULL can no longer be used in such cases, which should be mentioned in Release Notes, but doesn't seem a terrible loss. The workaround is to cast the NULL to some array type. Pavel Stehule, reviewed by Jeevan Chalke.
-
- 30 5月, 2013 1 次提交
-
-
由 Bruce Momjian 提交于
This is the first run of the Perl-based pgindent script. Also update pgindent instructions.
-
- 20 4月, 2013 1 次提交
-
-
由 Peter Eisentraut 提交于
In most cases, these were just references to the SQL standard in general. In a few cases, a contrast was made between SQL92 and later standards -- those have been kept unchanged.
-
- 15 3月, 2013 1 次提交
-
-
由 Tom Lane 提交于
This change adds some more standard sprintf() functionality to format(). Pavel Stehule, reviewed by Dean Rasheed and Kyotaro Horiguchi
-
- 25 1月, 2013 1 次提交
-
-
由 Tom Lane 提交于
Previously, the VARIADIC labeling was effectively ignored, but now these functions act as though the array elements had all been given as separate arguments. Pavel Stehule
-
- 02 1月, 2013 1 次提交
-
-
由 Bruce Momjian 提交于
Fully update git head, and update back branches in ./COPYRIGHT and legal.sgml files.
-
- 06 9月, 2012 1 次提交
-
-
由 Tom Lane 提交于
This fix removes an unnecessary incompatibility with the old behavior of the unix_socket_directory parameter. Since pathnames with embedded spaces are fairly popular on some platforms, the incompatibility could be significant in practice. We'll still strip unquoted leading/trailing spaces, however. No docs update since the documentation already implied that it worked like this. Per bug #7514 from Murray Cumming.
-
- 11 8月, 2012 1 次提交
-
-
由 Tom Lane 提交于
Replace unix_socket_directory with unix_socket_directories, which is a list of socket directories, and adjust postmaster's code to allow zero or more Unix-domain sockets to be created. This is mostly a straightforward change, but since the Unix sockets ought to be created after the TCP/IP sockets for safety reasons (better chance of detecting a port number conflict), AddToDataDirLockFile needs to be fixed to support out-of-order updates of data directory lockfile lines. That's a change that had been foreseen to be necessary someday anyway. Honza Horak, reviewed and revised by Tom Lane
-
- 11 6月, 2012 1 次提交
-
-
由 Bruce Momjian 提交于
commit-fest.
-
- 26 5月, 2012 1 次提交
-
-
由 Tom Lane 提交于
Previously, casts to name could generate invalidly-encoded results. Also, make these functions match namein() more exactly, by consistently using palloc0() instead of ad-hoc zeroing code. Back-patch to all supported branches. Karl Schnaitter and Tom Lane
-
- 14 4月, 2012 1 次提交
-
-
由 Peter Eisentraut 提交于
Per mailing list discussion, we would like to keep the bytea functions parallel to the text functions, so rename bytea_agg to string_agg, which already exists for text. Also, to satisfy the rule that we don't want aggregate functions of the same name with a different number of arguments, add a delimiter argument, just like string_agg for text already has.
-
- 02 1月, 2012 1 次提交
-
-
由 Bruce Momjian 提交于
-
- 23 12月, 2011 1 次提交
-
-
由 Robert Haas 提交于
Pavel Stehule
-
- 21 12月, 2011 1 次提交
-
-
由 Robert Haas 提交于
Pavel Stehule
-
- 11 12月, 2011 1 次提交
-
-
由 Andrew Dunstan 提交于
Remove some dead code, conditionally declare some items or call some code, and fix one or two declarations.
-
- 30 8月, 2011 1 次提交
-
-
由 Tom Lane 提交于
Per bug #6181 from Itagaki Takahiro. Also do some marginal code cleanup and improve error handling.
-
- 24 8月, 2011 1 次提交
-
-
由 Peter Eisentraut 提交于
Use something like "error code %lu" for reporting GetLastError() values on Windows. Previously, a mix of different wordings and formats were in use.
-
- 08 7月, 2011 1 次提交
-
-
由 Peter Eisentraut 提交于
-
- 05 7月, 2011 1 次提交
-
-
由 Peter Eisentraut 提交于
-
- 10 6月, 2011 1 次提交
-
-
由 Bruce Momjian 提交于
-
- 24 5月, 2011 1 次提交
-
-
由 Heikki Linnakangas 提交于
In the passing, clarify the comment on why text_format_nv wrapper is needed.
-
- 10 4月, 2011 2 次提交
-
-
由 Bruce Momjian 提交于
-
由 Peter Eisentraut 提交于
There is not yet support in initdb to populate the pg_collation catalog, but if that is done manually, the rest should work.
-
- 23 3月, 2011 1 次提交
-
-
由 Tom Lane 提交于
pg_newlocale_from_collation does not have enough context to give an error message that's even a little bit useful, so move the responsibility for complaining up to its callers. Also, reword ERRCODE_INDETERMINATE_COLLATION error messages in a less jargony, more message-style-guide-compliant fashion.
-
- 09 2月, 2011 1 次提交
-
-
由 Peter Eisentraut 提交于
This adds collation support for columns and domains, a COLLATE clause to override it per expression, and B-tree index support. Peter Eisentraut reviewed by Pavel Stehule, Itagaki Takahiro, Robert Haas, Noah Misch
-
- 19 1月, 2011 1 次提交
-
-
由 Tom Lane 提交于
We can get the length of a compressed or out-of-line datum without actually detoasting it. If the lengths of two strings are unequal, we can then conclude they are unequal without detoasting. That saves considerable work in an admittedly less-common case, without costing anything much when the optimization doesn't apply. Noah Misch
-
- 02 1月, 2011 1 次提交
-
-
由 Bruce Momjian 提交于
-
- 22 12月, 2010 1 次提交
-
-
由 Robert Haas 提交于
It appears that this will be faster for all but the shortest strings; at least one some platforms, memcmp() can use word-at-a-time comparisons. Noah Misch, somewhat pared down.
-
- 24 11月, 2010 1 次提交
-
-
由 Peter Eisentraut 提交于
-
- 21 11月, 2010 1 次提交
-
-
由 Robert Haas 提交于
Currently, three conversion format specifiers are supported: %s for a string, %L for an SQL literal, and %I for an SQL identifier. The latter two are deliberately designed not to overlap with what sprintf() already supports, in case we want to add more of sprintf()'s functionality here later. Patch by Pavel Stehule, heavily revised by me. Reviewed by Jeff Janes and, in earlier versions, by Itagaki Takahiro and Tom Lane.
-
- 21 9月, 2010 1 次提交
-
-
由 Magnus Hagander 提交于
-
- 24 8月, 2010 1 次提交
-
-
由 Itagaki Takahiro 提交于
Pavel Stehule, reviewed by me.
-
- 11 8月, 2010 1 次提交
-
-
由 Tom Lane 提交于
better handling of NULL elements within the arrays. The third parameter is a string that should be used to represent a NULL element, or should be translated into a NULL element, respectively. If the third parameter is NULL it behaves the same as the two-parameter form. There are two incompatible changes in the behavior of the two-parameter form of string_to_array. First, it will return an empty (zero-element) array rather than NULL when the input string is of zero length. Second, if the field separator is NULL, the function splits the string into individual characters, rather than returning NULL as before. These two changes make this form fully compatible with the behavior of the new three-parameter form. Pavel Stehule, reviewed by Brendan Jurd
-
- 06 8月, 2010 1 次提交
-
-
由 Tom Lane 提交于
functionality, while creating an ambiguity in usage with ORDER BY that at least two people have already gotten seriously confused by. Also, add an opr_sanity test to check that we don't in future violate the newly minted policy of not having built-in aggregates with the same name and different numbers of parameters. Per discussion of a complaint from Thom Brown.
-
- 26 2月, 2010 1 次提交
-
-
由 Bruce Momjian 提交于
-
- 09 2月, 2010 1 次提交
-
-
由 Tom Lane 提交于
being called as aggregates, and to get the aggregate transition state memory context if needed. Use it instead of poking directly into AggState and WindowAggState in places that shouldn't know so much. We should have done this in 8.4, probably, but better late than never. Revised version of a patch by Hitoshi Harada.
-
- 01 2月, 2010 1 次提交
-
-
由 Itagaki Takahiro 提交于
the input values into a string. The two argument version also does the same thing, but inserts delimiters between elements. Original patch by Pavel Stehule, reviewed by David E. Wheeler and me.
-
- 26 1月, 2010 1 次提交
-
-
由 Tom Lane 提交于
and implement OVERLAY() for bit strings and bytea. In passing also convert text OVERLAY() to a true built-in, instead of relying on a SQL function. Leonardo F, reviewed by Kevin Grittner
-
- 03 1月, 2010 1 次提交
-
-
由 Bruce Momjian 提交于
-
- 05 8月, 2009 1 次提交
-
-
由 Tom Lane 提交于
Both hex format and the traditional "escape" format are automatically handled on input. The output format is selected by the new GUC variable bytea_output. As committed, bytea_output defaults to HEX, which is an *incompatible change*. We will keep it this way for awhile for testing purposes, but should consider whether to switch to the more backwards-compatible default of ESCAPE before 8.5 is released. Peter Eisentraut
-