- 02 Jun, 2001 1 commit
-
-
Jan Wieck authored
There is no elog() available. Used fprintf(stderr, ...) and exit instead. Jan
-
- 01 Jun, 2001 12 commits
-
-
Bruce Momjian authored
non-multibyte database loosing 8bit characters. This patch will cause the jdbc driver to ignore the encoding reported by the database when multibyte isn't enabled and use the JVM default in that case. Barry Lind
-
Tom Lane authored
-
Tom Lane authored
until we hold the spinlock.
-
Tom Lane authored
-
Tom Lane authored
-
Tom Lane authored
in plpgsql: they fail for datatypes that have old-style I/O functions due to caching FmgrInfo structs with wrong fn_mcxt lifetime. Although the plpython fix seems straightforward, I can't check it here since I don't have Python installed --- would someone check it?
-
Tom Lane authored
right, but it failed to get the padding case right. This was obscured by subsequent application of bpchar() in all but one regression test case, and that one didn't fail in an obvious way --- trailing blanks are hard to see. Add another test case to make it more obvious if it breaks again.
-
Bruce Momjian authored
> Example form two pg_dump outputs > 7.1.2 : > COPY "list" FROM stdin; > 7.0.2 : > COPY "list" FROM stdin;
-
Tom Lane authored
calls. This has never actually cached anything, because postgres.c does each fastpath call as a separate transaction command, and so fastpath.c would always decide that its cache was outdated. If it had worked, it would now be failing for calls of oldstyle functions due to dangling pointers in the FmgrInfo struct. Rip it out for simplicity and bug- proofing.
-
Michael Meskes authored
- Synced pgc.l with scan.l. - Synced keyword.c. - Set ecpg version to 2.9.0. - Set library version to 3.3.0.
-
Tom Lane authored
report on old-style functions invoked by RI triggers. We had a number of other places that were being sloppy about which memory context FmgrInfo subsidiary data will be allocated in. Turns out none of them actually cause a problem in 7.1, but this is for arcane reasons such as the fact that old-style triggers aren't supported anyway. To avoid getting burnt later, I've restructured the trigger support so that we don't keep trigger FmgrInfo structs in relcache memory. Some other related cleanups too: it's not really necessary to call fmgr_info at all while setting up the index support info in relcache entries, because those ScanKeyEntry structs are never used to invoke the functions. This should speed up relcache initialization a tiny bit.
-
Bruce Momjian authored
-
- 31 May, 2001 7 commits
-
-
Bruce Momjian authored
-
Tom Lane authored
-
Tom Lane authored
Oleg Bartunov and Teodor Sigaev.
-
Tom Lane authored
and Teodor Sigaev). Declare key values as Datum where appropriate, rather than char* (Tom Lane).
-
Tom Lane authored
because cached fmgr info contained reference to a shorter-lived data structure. Also guard against possibility that fmgr_info could fail, leaving an incomplete entry present in the hash table.
-
Bruce Momjian authored
-
Bruce Momjian authored
-
- 30 May, 2001 20 commits
-
-
Bruce Momjian authored
-
Bruce Momjian authored
-
Bruce Momjian authored
-
Bruce Momjian authored
-
Bruce Momjian authored
-
Bruce Momjian authored
-
Tom Lane authored
-
Tom Lane authored
number of strategies supported by an index AM. Add missing copyright notices and CVS $Header$ markers to GIST source files.
-
Bruce Momjian authored
-
Tom Lane authored
-
Tom Lane authored
-
Bruce Momjian authored
-
Bruce Momjian authored
database, and often need the latest timestamp, but want to format it as a date. With 7.0.x, I just select ts from foo order by ts desc limit 1 and in java: d = res.getDate(1); but this fails everywhere in my code now :( http://java.sun.com/j2se/1.3/docs/guide/jdbc/spec/jdbc-spec.frame7.html says The ResultSet.getXXX methods will attempt to convert whatever SQL type was returned by the database to whatever Java type is returned by the getXXX method. Palle Girgensohn
-
Bruce Momjian authored
-
Bruce Momjian authored
-
Bruce Momjian authored
> Are these columns in pg_class: > relukeys | relfkeys | relhaspkey > unused or what? Christopher Kings
-
Bruce Momjian authored
-
Bruce Momjian authored
-
Bruce Momjian authored
-
Bruce Momjian authored
Dave Cramer
-