Electronics & Programming

develissimo

Open Source electronics development and programming

  • You are not logged in.
  • Root
  • » PHP
  • » [PHP-DEV] Re: [PDO] Re: [PHP-DEV] Re: [PDO] Re: [PHP-DEV] [PATCH] New PDO methods for PostgreSQL driver [RSS Feed]

#1 June 14, 2010 09:01:40

Alexey Z.
Registered: 2009-11-02
Reputation: +  0  -
Profile   Send e-mail  

[PHP-DEV] Re: [PDO] Re: [PHP-DEV] Re: [PDO] Re: [PHP-DEV] [PATCH] New PDO methods for PostgreSQL driver


On 14.06.2010, at 11:28, Ferenc Kovacs wrote:

> quoting Denis:
>
> "Actually all the methods are wrappers against the native PostgreSQL
> commands (connection status, copy to/from).
>
> I needed to develop them as methods because it is not possible to get the
> same results with a sql statement (in particular for connection status).
>
> It was not possible also for COPY TO/FROM because of the way PostgreSQL
> handle them ( special functions were developed also for the old pgsql
> driver)."
>
> I don't know sqlite or IBM, but the MySQL SELECT INTO OUTFILE is a plain SQL
> statement, you don't need any special pdo function to use it, on the other
> hand, you can't use the postgresql's COPY TO/FROM with PDO without the patch
> above.
> Did I misunderstood something?

well, even if it's possible to do as "sql" in mysql, it is still possible to
implement as the method.

p.s. actually, as we're talking about "trunk" it is still possible to implement
these methods in generic fashion.
I can provide implementation for pdo_mysql (unless anyone else will be faster).
does anyone know enough about ibm's api to provide implementation for it?


--
Alexey Zakhlestinhttp://www.milkfarmsoft.com/smime.p7sDescription:S/MIME cryptographic signature

Attachments:
attachment smime.p7s (2.6 KB)

Offline

  • Root
  • » PHP
  • » [PHP-DEV] Re: [PDO] Re: [PHP-DEV] Re: [PDO] Re: [PHP-DEV] [PATCH] New PDO methods for PostgreSQL driver [RSS Feed]

Board footer

Moderator control

Enjoy the 19th of October
PoweredBy

The Forums are managed by develissimo stuff members, if you find any issues or misplaced content please help us to fix it. Thank you! Tell us via Contact Options
Leave a Message
Welcome to Develissimo Live Support