- 27 May, 2000 4 commits
-
-
Bruce Momjian authored
-
Bruce Momjian authored
-
Bruce Momjian authored
-
Bruce Momjian authored
-
- 26 May, 2000 8 commits
-
-
Tom Lane authored
other than the most common value in a column. We had had 0.5, make it 0.1 to make it more likely that an indexscan will be chosen. Really need better statistics instead, but this should stem the bleeding meanwhile ...
-
Bruce Momjian authored
-
Tatsuo Ishii authored
-
Tom Lane authored
to an undecorated relation name (cf. example from Ed Loehr, 5/25/00).
-
Bruce Momjian authored
-
Bruce Momjian authored
-
Tom Lane authored
since-closed file descriptors...
-
Tom Lane authored
subsequent I/O attempts fail cleanly. I'm speculating about failure scenarios in which we do pq_close, then something in a proc_exit routine opens a file (re-using that kernel FD number), then something else fails and tries to write an elog message to the frontend ... message ends up in opened file, oops. No known examples of this but it seems like a potential hole.
-
- 25 May, 2000 10 commits
-
-
Tom Lane authored
-
Tom Lane authored
-
Tom Lane authored
the oper field should be a valid Node structure so it can be dumped by outfuncs.c without risk of coredump. (We had been using a raw pointer to character string, which surely is NOT a valid Node.) This doesn't cause any backwards compatibility problems for stored rules, since raw unanalyzed parsetrees are never stored.
-
Tom Lane authored
*last*, after all updating of system catalogs. In old code, an error detected during TypeRename left the relation hosed. Also, add a call to flush the relation's relcache entry, rather than trusting to shared cache invalidation to flush it for us.
-
Tom Lane authored
relation being dropped.
-
Tom Lane authored
-
Bruce Momjian authored
! * themselves, they'll need to check the connection status if we ! * return an error. Alfred Perlstein
-
Bruce Momjian authored
-
Bruce Momjian authored
-
Tatsuo Ishii authored
(it returns error with errno ECHILD upon successful completion of commands). This fix ignores an error from system() if errno == ECHILD.
-
- 24 May, 2000 5 commits
-
-
Tom Lane authored
-
Tom Lane authored
-
Marc G. Fournier authored
add a --with-setproctitle switch to configure that leaves the use of setproctitle() disabled by default ...
-
Bruce Momjian authored
-
Bruce Momjian authored
-
- 23 May, 2000 7 commits
-
-
Bruce Momjian authored
what to do.
-
Bruce Momjian authored
-
Bruce Momjian authored
-
Tom Lane authored
think that both sides of indexqual look like index keys. An example is create table inside (f1 float8 primary key); create table outside (g1 float8, g2 float8); select * from inside,outside where f1 = atan2(g1+1, g2); ERROR: ExecInitIndexScan: both left and right ops are rel-vars (note that failure is potentially platform-dependent). Solution is a cleanup I had had in mind to make anyway: functional index keys should be represented as Var nodes in the fixed indexqual, just like regular index keys.
-
Tom Lane authored
it exists) before testing 'using namespace std'. This is necessary on some C++ setups where the compiler won't take a 'using' until you've included a header that mentions namespace std. (Pretty braindead if you ask me, but...)
-
Tom Lane authored
--with-includes) to makefiles for pltcl and plperl, so that these switches will be used even though we do not want other top-level CFLAGS. Ain't it fun trying to support multiple-compiler platforms?
-
Tom Lane authored
-
- 22 May, 2000 4 commits
-
-
Bruce Momjian authored
-
Peter Eisentraut authored
-
Bruce Momjian authored
-
Bruce Momjian authored
project I am working on (Recall - a distributed, fault-tolerant, replicated, storage framework @ http://www.fault-tolerant.org). Recall is written in C++. I need to include the postgres headers and there are some problems when including the headers w/C++. Attached is a patch generated from postgres/src that fixes my problems. I was hoping to get this into the main source. It's very small (2k) and 3 files are changed: backend/utils/fmgr/fmgr.c, backend/utils/Gen_fmgrtab.sh.in, and include/access/tupdesc.h. In C++, you get a multiply defined symbol because the variable (FmgrInfo *fmgr_pl_finfo) is defined in the header (the patch moves it to the .c file). The other problem in tupdesc.h is the use of typeid is a problem in c++ (I renamed it to oidtypeid). Thanks, Neal Norwitz
-
- 21 May, 2000 2 commits
-
-
Tom Lane authored
some platforms --- and I also see that it is documented as not thread- safe on HPUX and possibly other platforms. No good reason not to just use IPPROTO_TCP constant from <netinet/in.h> instead.
-
Tom Lane authored
really ought to fix relcache entry construction so that it does not do so much with CurrentMemoryContext = CacheCxt. As is, relatively harmless leaks in either sequential or index scanning translate to permanent leaks if they occur when called from relcache build. For the moment, however, the path of least resistance is to repair all such leaks...
-