| Commit message (Collapse) | Author | Age |
|
|
|
| |
The code was not expecting to receive notice messages during the connection handshake.
|
| |
|
| |
|
| |
|
|
|
|
| |
- Fixed a typo in a comment printed by ecpg.
|
|
|
|
|
|
|
|
|
|
|
| |
by Marcelo Aceto <aceto@newinf.com.br> .
1) Wrong translations of embedded escape sequences inside outer join escape
sequences.
2) Wrong translation of parameter markers inside outer joins and function
escape sequences.
3) Bad concatenation of date, time, timestamp constants with next word in
statement:
|
| |
|
|
|
|
| |
Zhenbang Wei
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
work on all win9x machines, so i made it go thru a l ookup table
instead, using the DLL as last resort. I also moved this out of the
fe-misc.c file because of the size of the lookup ta ble. Who knows, we
might add more other win32 specific code there in the future.
I also fixed a small typo in the pg_config.h.win32 that made the
compiler compla in about the gnu snprintf declaration.
I tried to make this patch with psql coding style. I've successfully
tested this on win2k and win98 and it works fine (i.e. the mes sage
shows on win98 too, it didn't with the old implementation).
Magnus Naeslund
|
|
|
|
|
|
|
|
|
|
|
| |
Slackware 8), and perhaps on other Pythons, haven't checked. Something in
the _pg.connect() call isn't working. I think the problem stems from the
fact that 'host' is a named parameter of both _pg.connect and pgdb.connect,
and so Python treats it as a variable assignment, not a named parameter.
Uses non-named parameters.
Andrew Johnson
|
|
|
|
|
|
| |
the new verion compiled on SCO Openserver 5.0.5 and Unixware 7.1.1
Nicolas Bazin
|
|
|
|
|
| |
2) Handle timestamp without time zone.
3) Improve SQLForeignKeys() in multibyte mode.
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
added a setup/teardown to create and drop the connection, and table
|
|
|
|
| |
repaired the bug, haven't made it caseInsensitive
|
| |
|
|
|
|
|
| |
Tom Lane to move string storage to end of structure but keep pointer in
the same location.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
In summary, if a software writer implements timer events or other events
which generate a signal with a timing fast enough to occur while libpq
is inside connect(), then connect returns -EINTR. The code following
the connect call does not handle this and generates an error message.
The sum result is that the pg_connect() fails. If the timer or other
event is right on the window of the connect() completion time, the
pg_connect() may appear to work sporadically. If the event is too slow,
pg_connect() will appear to always work and if the event is too fast,
pg_connect() will always fail.
David Ford
|
|
|
|
|
| |
2) Introcuced 3 drivers.
3) The version is now 7.02.0001.
|
|
|
|
| |
- Fixed one bug in structure handling resulting in using sizeof indicator instead of variable.
|
|
|
|
| |
2) Suppress some error logs for the request to other drivers.
|
|
|
|
|
|
|
|
|
|
| |
entries, per pghackers discussion. This fixes aggregates to live in
namespaces, and also simplifies/speeds up lookup in parse_func.c.
Also, add a 'proimplicit' flag to pg_proc that controls whether a type
coercion function may be invoked implicitly, or only explicitly. The
current settings of these flags are more permissive than I would like,
but we will need to debate and refine the behavior; for now, I avoided
breaking regression tests as much as I could.
|
| |
|
| |
|
|
|
|
|
|
| |
This is necessary for mulibyte character sequences.
See "[HACKERS] PQescapeBytea is not multibyte aware" thread posted around
2002/04/05 for more details.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
file, which is not the actual end of the file. One side effect of that
is that if you are i n a ifdef block, you get a wrong error telling you
that a endif is missing.
This patch corrects pgc.l and also adds a test of this problem to
test1.pgc. To convince you apply the patch to test1.pgc first then try
to compile the test the n apply the patch to pgc.l.
The patch moves the test of the scope of an ifdef block to the end of
the file b eeing parsed, including all includes files, ... .
Nicolas Bazin
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
| |
From: Bradley McLean <brad@bradm.net>
Patch against 7,2 submitted for comment.
This seems to work just fine; Now, when our users submit a 2 hour
query with four million row sorts by accident, then cancel it 30 seconds
later, it doesn't bog down the server ...
|
|
|
|
| |
problem reported a few months ago where a select in a rule was causing an insert statement to return a result set which the code was explicitly prohibiting.
|
|
|
|
|
|
|
| |
2) Implement some options for SQLGetDescField().
3) Handle *Inifinity* timestamp for SQL_C_CHAR type output.
4) Separate Unicode conversions from common implementations.
5) Improve internal parse_statement() function.
|
|
|
|
| |
#ifdef NOT_USED).
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
| |
1) Prepare to separate 4 kinds of Descriptor handles.
2) Detect the transaction status more naturally.
3) Improve Parse Statement functionality for the use
of updatable cursors.
4) Improve updatable cursors.
5) Implement SQLGetDescField() and improve SQLColAttribute().
6) etc.
|
|
|
|
|
| |
also fixed a NPE when calling the next() method on a result set after the
connection or resultset has been closed. (bug reported by Hans Deragon)
|
|
|
|
| |
support
|
|
|
|
|
| |
Fixed NPE when database name was not passed on the jdbc connection URL
Fixed Connection.isClosed() to not hit the DB for every call
|
|
|
|
|
| |
- Use PyObject_Del() rather than macro version
- Check version and drop back to PyMem_Del() for older systems.
|
| |
|
| |
|
| |
|
|
|
|
| |
typedefs from SQL ones.
|
|
|
|
|
|
|
|
| |
these versions adhere to the backend protocol better than previous version
fixes problem when an error occurs on the backend, and the connection is still used
previous versions were throwing an exception half way through the protocol, leaving it
indeterminate.
also removes empty query code, should speed things up a bit
|