Thread: New PHP/PG Functions

New PHP/PG Functions

From
Chris Ruprecht
Date:
Hi all,

a lot of functions have been replaced in PHP with different ones, I think this
happened in PHP 4.2.0 (example: pg_exec() is now pg_query() ... strange
move).

Can anybody tell me when the original functions will disappear from PHP all
together and why this change happened? I want to avoid breakage of my
applications, just because somebody starts using a new version of PHP.

In my eyes, this makes no sense. An "insert" in no query, but now I have to
put it into the query function ... hmmmm ... :)

Best regards,
Chris

Re: New PHP/PG Functions

From
"Christopher Kings-Lynne"
Date:
Hi Chris,

The changes in PHP are nothing to do with us - you'll need to ask the PHP
developers.

Chris

> -----Original Message-----
> From: pgsql-php-owner@postgresql.org
> [mailto:pgsql-php-owner@postgresql.org]On Behalf Of Chris Ruprecht
> Sent: Wednesday, 28 August 2002 11:43 AM
> To: pgsql-php@postgresql.org
> Subject: [PHP] New PHP/PG Functions
>
>
>
> Hi all,
>
> a lot of functions have been replaced in PHP with different ones,
> I think this
> happened in PHP 4.2.0 (example: pg_exec() is now pg_query() ... strange
> move).
>
> Can anybody tell me when the original functions will disappear
> from PHP all
> together and why this change happened? I want to avoid breakage of my
> applications, just because somebody starts using a new version of PHP.
>
> In my eyes, this makes no sense. An "insert" in no query, but now
> I have to
> put it into the query function ... hmmmm ... :)
>
> Best regards,
> Chris
>
> ---------------------------(end of broadcast)---------------------------
> TIP 6: Have you searched our list archives?
>
> http://archives.postgresql.org
>


Re: New PHP/PG Functions

From
Roj Niyogi
Date:
Hi Chris,

Check out the following link (kindly provided to me by Cornelia Boenigk who
maintains the PostgreSQL documentation at php.net)

http://www.zugeschaut-und-mitgebaut.de/php/

It should give you some information about the function tables and the
"evolution" of functions in nice tables.

Cheers,
Roj Niyogi
--
niyogi@pghoster.com

pgHoster - PostgreSQL Web Hosting
http://www.pghoster.com





On Tuesday 27 August 2002 10:42 pm, Chris Ruprecht wrote:
> Hi all,
>
> a lot of functions have been replaced in PHP with different ones, I think
> this happened in PHP 4.2.0 (example: pg_exec() is now pg_query() ...
> strange move).
>
> Can anybody tell me when the original functions will disappear from PHP all
> together and why this change happened? I want to avoid breakage of my
> applications, just because somebody starts using a new version of PHP.
>
> In my eyes, this makes no sense. An "insert" in no query, but now I have to
> put it into the query function ... hmmmm ... :)
>
> Best regards,
> Chris
>
> ---------------------------(end of broadcast)---------------------------
> TIP 6: Have you searched our list archives?
>
> http://archives.postgresql.org



Re: New PHP/PG Functions

From
"Cornelia Boenigk"
Date:
Hi Chris

> Check out the following link (kindly provided to me by Cornelia
Boenigk who
> maintains the PostgreSQL documentation at php.net)

I am maintaining the German PostgreSQL documentation only;-)

Regards
Conni




Re: New PHP/PG Functions

From
"scott.marlowe"
Date:
On Tue, 27 Aug 2002, Chris Ruprecht wrote:

>
> Hi all,
>
> a lot of functions have been replaced in PHP with different ones, I think this
> happened in PHP 4.2.0 (example: pg_exec() is now pg_query() ... strange
> move).
>
> Can anybody tell me when the original functions will disappear from PHP all
> together and why this change happened? I want to avoid breakage of my
> applications, just because somebody starts using a new version of PHP.
>
> In my eyes, this makes no sense. An "insert" in no query, but now I have to
> put it into the query function ... hmmmm ... :)

the functions were changed so they would be the same basic layout as the
functions for other databases.