- 07 May, 2005 4 commits
-
-
Neil Conway authored
interaction between ld, readline, termcap, and psql. The symptom is psql failing with this error on startup: symbol lookup error: /usr/lib64/libreadline.so.4: undefined symbol: BC I'm still trying to find the best way to solve this, but in the mean time I'm reverting the patch in order to unbreak FC3.
-
Bruce Momjian authored
> o -Allow COPY to optionally include column headings in the first line
-
Bruce Momjian authored
> * Prevent to_char() on interval from returning meaningless values > > For example, to_char('1 month', 'mon') is meaningless. Basically, > most date-related parameters to to_char() are meaningless for > intervals because interval is not anchored to a date. > > * Allow to_char() on interval values to accumulate the highest unit > requested > > o to_char(INTERVAL '1 hour 5 minutes', 'MI') => 65 > o to_char(INTERVAL '43 hours 20 minutes', 'MI' ) => 2600 > o to_char(INTERVAL '43 hours 20 minutes', 'WK:DD:HR:MI') => 0:1:19:20 > o to_char(INTERVAL '3 years 5 months','MM') => 41 > > Some special format flag would be required to request such > accumulation. Such functionality could also be added to EXTRACT. > Prevent accumulation that crosses the month/day boundary because of > the uneven number of days in a month. >
-
Bruce Momjian authored
COPY. Andrew Dunstan
-
- 06 May, 2005 11 commits
-
-
Bruce Momjian authored
-
Bruce Momjian authored
-
Bruce Momjian authored
-
Bruce Momjian authored
-
Bruce Momjian authored
-
Tom Lane authored
which is neither needed by nor related to that header. Remove the bogus inclusion and instead include the header in those C files that actually need it. Also fix unnecessary inclusions and bad inclusion order in tsearch2 files.
-
Tom Lane authored
significant regardless of the value of lanispl.
-
Bruce Momjian authored
check for reserved words.
-
Bruce Momjian authored
feeds properly.
-
Bruce Momjian authored
-
Tom Lane authored
associated with a hashtable is allocated in that hashtable's private context, so that hash_destroy only has to destroy the context and not do any retail pfree's; and tighten the inner loop of hash_seq_search.
-
- 05 May, 2005 11 commits
-
-
Tom Lane authored
too, but that one is in my way at the moment.)
-
Tom Lane authored
is a way to recover from disabling connections to all databases at once.
-
Bruce Momjian authored
understands arg control, so we don't need our own. In fact, it also uses macros that conflict with ours, so we _can't_ use our own.
-
Tom Lane authored
we are at it. Add release notes.
-
Bruce Momjian authored
-
Bruce Momjian authored
Jason Erickson
-
Neil Conway authored
executable against the maximal set of libraries it might need. So for example, if one executable requires `libreadline', all executables are linked against it. The easiest fix is to make use of GNU ld's --as-needed flag, which ignores linker arguments that are not actually needed by the specified object files. The attached patch modifies configure to check for this flag (when using GNU ld), and if ld supports it, adds the flag to LDFLAGS (we need to do the check since only relatively recent versions of GNU ld support this capability). Currently only GNU ld is supported; I'm not aware of any other linkers that support this functionality.
-
Tom Lane authored
startup to end, rather than re-opening it in each MultiExecBitmapIndexScan call. I had foolishly thought that opening/closing wouldn't be much more expensive than a rescan call, but that was sheer brain fade. This seems to fix about half of the performance lossage reported by Sergey Koposov. I'm still not sure where the other half went.
-
Bruce Momjian authored
Rosser Schwarz
-
Bruce Momjian authored
-
Tom Lane authored
moment this has no particular use except to allow table rows to be passed to record_out(), but that case seems to be useful in itself per recent example from Elein. Further down the road we could look at letting PL functions be declared to accept RECORD parameters.
-
- 04 May, 2005 3 commits
- 03 May, 2005 4 commits
-
-
Tom Lane authored
are creating a new MultiXactId from two regular XIDs. The original coding was unnecessarily complicated and didn't save any code anyway.
-
Tom Lane authored
output area as INTERNAL not CSTRING. This is to prevent people from calling the functions by hand. This is a permanent solution for the back branches but I hope it is just a stopgap for HEAD.
-
Tom Lane authored
that return INTERNAL without also having INTERNAL arguments. Since the functions in question aren't meant to be called by hand anyway, I just redeclared them to take 'internal' instead of 'text'. Also add code to ProcedureCreate() to enforce the restriction, as I should have done to start with :-(
-
Neil Conway authored
-
- 02 May, 2005 5 commits
-
-
Bruce Momjian authored
-
Bruce Momjian authored
< * Remove unreferenced table files created by transactions that were > * -Check for unreferenced table files created by transactions that were
-
Bruce Momjian authored
files in the server log. Heikki Linnakangas
-
Neil Conway authored
pages. From Robert Treat.
-
Neil Conway authored
to produce when running the executor. This is consistent with the internal executor APIs (such as ExecutorRun), which also use a long for this purpose. It also allows FETCH_ALL to be passed -- since FETCH_ALL is defined as LONG_MAX, this wouldn't have worked on platforms where int and long are of different sizes. Per report from Tzahi Fadida.
-
- 01 May, 2005 2 commits
-
-
Tom Lane authored
only one argument. (Per recent discussion, the option to accept multiple arguments is pretty useless for user-defined types, and would be a likely source of security holes if it was used.) Simplify call sites of output/send functions to not bother passing more than one argument.
-
Tom Lane authored
-