Wez Furlong
6cc5e191d0
Refs #34630
2005-09-24 18:47:50 +00:00
Wez Furlong
edc39221c0
if a php bolean makes it as far as the parameter callback, it must really need
...
to be boolean; express is as native pgsql 't' or 'f'.
Add a test case for Bug #33876 , which is a partially bogus bug.
2005-09-10 21:00:52 +00:00
Edin Kadribasic
38317bb3bd
Don't crash on invalid parameter #34203 (Wez)
2005-09-03 23:50:25 +00:00
foobar
23e671a51e
- Bumber up year
2005-08-03 14:08:58 +00:00
Ilia Alshanetsky
858d827790
Added cursor closer handler.
...
Fixed memory leak.
2005-07-09 04:54:04 +00:00
Wez Furlong
6ee00c8199
fix leak
2005-07-08 20:45:19 +00:00
Wez Furlong
6377c0ccca
Fix PECL #4753
2005-07-08 19:05:57 +00:00
Wez Furlong
512af63a63
rewrite original names to our preferred format
2005-07-08 17:01:20 +00:00
Ilia Alshanetsky
2301d93156
Some of us don't have PostgreSQL 8.0 :)
2005-07-08 16:20:13 +00:00
Wez Furlong
529d8177fe
Add early support for native prepared statements in pgsql.
...
Note that some tests now fail; if we can't resolve this in time for the beta,
the prepare code should be disabled (I'll add a flag for this later today).
2005-07-08 15:27:34 +00:00
Wez Furlong
75cfa5c2e0
probable fix for PECL bug #4546
2005-07-03 03:04:13 +00:00
Edin Kadribasic
7ef1a91508
Fold PQresultErrorField() into a macro
2005-07-01 22:30:55 +00:00
Ilia Alshanetsky
fa0e534f83
Various compiler warning fixes.
2005-05-18 22:40:56 +00:00
Wez Furlong
4f778ca31d
patch by Christopher Kings-Lynne, slightly modified
2005-05-13 18:09:03 +00:00
Christopher Kings-Lynne
3e6fce84bb
- Use a replacement for PQunescapeBytea so that linking against a pre-7.3
...
libpq is possible. This is exactly what ext/pgsql currently does.
# I hope this is an acceptable improvement.
2005-03-23 08:52:40 +00:00
Marcus Boerger
cdb042f632
- Fix fetching bound vars & tests
2005-03-10 18:48:01 +00:00
Edin Kadribasic
2c306869c5
Fixed bug #3478 : handling of 64bit return values on 32bit machine
2005-02-15 12:41:24 +00:00
Wez Furlong
af162668e5
fix pointer indirection (and thus leak)
2005-02-07 00:04:20 +00:00
Edin Kadribasic
22ff90f7ba
Adjust for the new get_col api
2005-02-06 22:48:35 +00:00
Edin Kadribasic
bf77a39349
Decode pgsql LOB objects (bytea type) on fetch
2005-02-05 22:55:23 +00:00
Edin Kadribasic
95cc208464
Removed unused variebles.
...
Return OID as int.
2005-02-05 20:38:47 +00:00
Edin Kadribasic
1a962e9d98
Get OID of the last inserted row
2005-02-04 01:48:01 +00:00
Edin Kadribasic
60f5e66aa9
Add support for fetching meta data
2005-01-23 14:50:06 +00:00
Edin Kadribasic
d8aa131ca0
Store pgsql_type, intval and boolav per column
2005-01-23 10:57:11 +00:00
Edin Kadribasic
902c2b43cb
Remove debug stuff
2005-01-22 23:51:09 +00:00
Edin Kadribasic
e58a8671a2
Support for native nulls, bools and ints
2005-01-22 23:31:19 +00:00
Wez Furlong
26f97a911b
Eliminate unused parameter.
...
Don't start a transaction when asking for a cursor with pgsql.
Fix parameter binding for sqlite3
2005-01-21 00:39:03 +00:00
Wez Furlong
ef0de01b62
Take a blind stab at implementing scrollable cursors for pgsql.
...
We allocate a unique cursor name for each statement, so that we
don't interfere with other open statement handles on the same dbh.
Note, however, that we force a new transaction for each open scrollable cursor
(postgres requires cursors to be used inside a transaction). This is okay,
except for the case where a scrollable cursor is opened, an update is made and
the cursor is closed; closing the cursor commits the transaction that was begun
when it was opened.
It might well be better to avoid the transaction in PDO and force the user to
be aware of the requirements of cursors and explicitly initiate the transaction
themselves.
This is all untested code; it compiles and looks like it will work, but I
encourage someone with a real postgres setup to actually sit down and try to
use it.
2005-01-13 01:59:39 +00:00
Wez Furlong
d3ab27f7cc
stub out scrollable cursors
2005-01-12 06:11:33 +00:00
Ilia Alshanetsky
b7784d96b0
Fixed possible crash.
2004-05-20 18:10:16 +00:00
Ilia Alshanetsky
38eb52b8a7
Make doer() work.
...
Make error reporting system work.
2004-05-20 17:43:56 +00:00
Wez Furlong
0699938bc4
Don't dup here, PDO will do it as needed
2004-05-20 10:28:26 +00:00
Edin Kadribasic
9d6c259988
PostgreSQL PDO driver.
2004-05-20 02:27:49 +00:00