| Commit message (Collapse) | Author | Age |
| |
|
|
|
|
|
| |
functions, remove indent support, make sure all strings are marked
translatable.
|
| |
|
|
|
|
|
|
|
|
|
|
| |
on RESET ALL those are restored.
show all: GUC + non-GUC.
SHOW ALL, RESET ALL
Marko Kreen
|
|
|
|
|
|
|
|
|
| |
that not many people actually use libpq on Win32; I have found another bug. Some
functions that are defined in libpq-fe.h aren't exported in the DLL version of
the library. I have added them to src/interfaces/libpq/libpqdll.def. The new
complete file is attached.
Gerhard H?ring
|
|
|
|
| |
Marko Kreen
|
|
|
|
|
| |
create sequence a1234567890123456789012345678901234567890;
select nextval('a1234567890123456789012345678901234567890');
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
and buffer zero termination.
Jan
|
|
|
|
|
|
|
|
|
|
|
|
| |
checkpoint's redo pointer, not its undo pointer, per discussion in
pghackers a few days ago. No point in hanging onto undo information
until we have the ability to do something with it --- and this solves
a rather large problem with log space for long-running transactions.
Also, change all calls of write() to detect the case where write
returned a count less than requested, but failed to set errno.
Presume that this situation indicates ENOSPC, and give the appropriate
error message, rather than a random message associated with the previous
value of errno.
|
|
|
|
|
|
| |
copy PUBLIC access rights into each newly created ACL entry. Instead
treat each ACL entry as independent flags. Also clean up some ugliness
in acl.h API.
|
|
|
|
|
|
|
|
| |
WHERE (a = 1 or a = 2) and b = 42
and an index on (a,b), include the clause b = 42 in the indexquals
generated for each arm of the OR clause. Essentially this is an index-
driven conversion from CNF to DNF. Implementation is a bit klugy, but
better than not exploiting the extra quals at all ...
|
|
|
|
|
|
|
|
|
| |
of costsize.c routines to pass Query root, so that costsize can figure
more things out by itself and not be so dependent on its callers to tell
it everything it needs to know. Use selectivity of hash or merge clause
to estimate number of tuples processed internally in these joins
(this is more useful than it would've been before, since eqjoinsel is
somewhat more accurate than before).
|
|
|
|
|
|
|
| |
types. This version has an elog() to remind the user the type
resolution is not dynamic.
Ian Lance Taylor
|
|
|
|
|
|
|
|
|
|
| |
close();
}
in LargeObject.java so that the db resources are released when it is
garbage collected or am I missing something?
Philip Crotwell
|
|
|
|
|
|
|
| |
conditional rules (rules with WHERE clauses). We cannot support these
since there's noplace to hang a condition on a utility statement.
We caught the other case (attempt to attach a condition at rewrite time)
awhile ago, but this one escaped notice until now.
|
|
|
|
| |
make strings in xlog.c look more like English and less like binary noise.
|
|
|
|
|
| |
suggestion from Ross Reedstrom. Still needs work to make those symbols
convert to actual IEEE infinities (on machines where such things exist).
|
|
|
|
|
|
|
|
|
|
|
| |
(vs. at the end of a normal sort). This ensures that explicit sorts
yield the same ordering as a btree index scan. To be really sure that
that equivalence holds, we use the btree entries in pg_amop to decide
whether we are looking at a '<' or '>' operator. For a sort operator
that has no btree association, we put the nulls at the front if the
operator is named '>' ... pretty grotty, but it does the right thing in
simple ASC and DESC cases, and at least there's no possibility of getting
a different answer depending on the plan type chosen.
|
|
|
|
|
|
|
|
|
|
|
| |
Use --enable-nls to turn it on; see installation instructions for details.
See developer's guide how to make use of it in programs and how to add
translations.
psql sources have been almost fully prepared and an incomplete German
translation has been provided. In the backend, only elog() calls are
currently translatable, and the provided German translation file is more
of a placeholder.
|
|
|
|
|
|
| |
given values that compare as unordered, make sure we reply that they
are equal, which is better than giving an arbitrary answer --- at least
it doesn't depend on which one is passed as which arg.
|
|
|
|
|
|
|
| |
There is no elog() available. Used fprintf(stderr, ...) and exit
instead.
Jan
|
|
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
| |
until we hold the spinlock.
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
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?
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
| |
> Example form two pg_dump outputs
> 7.1.2 :
> COPY "list" FROM stdin;
> 7.0.2 :
> COPY "list" FROM stdin;
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
| |
- Synced pgc.l with scan.l.
- Synced keyword.c.
- Set ecpg version to 2.9.0.
- Set library version to 3.3.0.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
| |
and Teodor Sigaev). Declare key values as Datum where appropriate,
rather than char* (Tom Lane).
|
|
|
|
|
|
| |
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.
|
| |
|
| |
|
| |
|
|
|
|
|
| |
number of strategies supported by an index AM. Add missing copyright
notices and CVS $Header$ markers to GIST source files.
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
> Are these columns in pg_class:
> relukeys | relfkeys | relhaspkey
> unused or what?
Christopher Kings
|
| |
|