New PHP/PG functions

New PHP/PG functions

am 28.08.2002 05:32:35 von Chris Ruprecht

Hi all,

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

Can anybody tell me when the original functions will disappear from PHP all=
=20
together and why this change happened? I want to avoid breakage of my=20
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=
=20
put it into the query function ... hmmmm ... :)

Best regards,
Chris
--=20
Chris Ruprecht
Network Grunt and bitpusher extraordinaire

---------------------------(end of broadcast)---------------------------
TIP 2: you can get off all lists at once with the unregister command
(send "unregister YourEmailAddressHere" to majordomo@postgresql.org)

Re: New PHP/PG functions

am 01.09.2002 09:28:03 von Keary Suska

on 8/27/02 9:32 PM, chris@cdrbill.com purportedly said:

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

No, this is incorrect. INSERT is a query. DELETE is a query. What you are
saying is tantamount to saying that INSERT and DELETE statements are not
part of the Structured *Query* Language (SQL). According to the SQL
definition every database operation is a query. Hence the new name. In any
case, the names are being changed a consistent and uniform naming convention
for database operation functions. And this is a good thing.

Keary Suska
Esoteritech, Inc.
"Leveraging Open Source for a better Internet"


---------------------------(end of broadcast)---------------------------
TIP 6: Have you searched our list archives?

http://archives.postgresql.org