pg.ddx.io  pgsql-php@postgresql.org mailing list archive  
help / color / mirror / Atom feed
New PHP/PG functions
7+ messages / 7 participants
[nested] [flat]

* New PHP/PG functions
@ 2002-08-28 03:32 Chris Ruprecht <chris@cdrbill.com>
  2002-09-01 07:28 ` Re: New PHP/PG functions Keary Suska <hierophant@pcisys.net>
  0 siblings, 1 reply; 7+ messages in thread

From: Chris Ruprecht @ 2002-08-28 03:32 UTC (permalink / raw)
  To: pgsql-php

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
-- 
Chris Ruprecht
Network Grunt and bitpusher extraordinaire



^ permalink  raw  reply  [nested|flat] 7+ messages in thread

* Re: New PHP/PG functions
  2002-08-28 03:32 New PHP/PG functions Chris Ruprecht <chris@cdrbill.com>
@ 2002-09-01 07:28 ` Keary Suska <hierophant@pcisys.net>
  0 siblings, 0 replies; 7+ messages in thread

From: Keary Suska @ 2002-09-01 07:28 UTC (permalink / raw)
  To: pgsql-php

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"




^ permalink  raw  reply  [nested|flat] 7+ messages in thread

* New PHP/PG Functions
@ 2002-08-28 03:42 Chris Ruprecht <chrup@earthlink.net>
  2002-08-28 03:55 ` Re: New PHP/PG Functions Christopher Kings-Lynne <chriskl@familyhealth.com.au>
  2002-08-28 04:45 ` Re: New PHP/PG Functions Roj Niyogi <niyogi@pghoster.com>
  2002-08-28 16:03 ` Re: New PHP/PG Functions scott.marlowe <scott.marlowe@ihs.com>
  0 siblings, 3 replies; 7+ messages in thread

From: Chris Ruprecht @ 2002-08-28 03:42 UTC (permalink / raw)
  To: pgsql-php


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



^ permalink  raw  reply  [nested|flat] 7+ messages in thread

* Re: New PHP/PG Functions
  2002-08-28 03:42 New PHP/PG Functions Chris Ruprecht <chrup@earthlink.net>
@ 2002-08-28 03:55 ` Christopher Kings-Lynne <chriskl@familyhealth.com.au>
  2 siblings, 0 replies; 7+ messages in thread

From: Christopher Kings-Lynne @ 2002-08-28 03:55 UTC (permalink / raw)
  To: Chris Ruprecht <chrup@earthlink.net>; pgsql-php

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
>




^ permalink  raw  reply  [nested|flat] 7+ messages in thread

* Re: New PHP/PG Functions
  2002-08-28 03:42 New PHP/PG Functions Chris Ruprecht <chrup@earthlink.net>
@ 2002-08-28 04:45 ` Roj Niyogi <niyogi@pghoster.com>
  2002-08-28 10:08   ` Re: New PHP/PG Functions Cornelia Boenigk <poppcorn@cornelia-boenigk.de>
  2 siblings, 1 reply; 7+ messages in thread

From: Roj Niyogi @ 2002-08-28 04:45 UTC (permalink / raw)
  To: Chris Ruprecht <chrup@earthlink.net>; pgsql-php

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





^ permalink  raw  reply  [nested|flat] 7+ messages in thread

* Re: New PHP/PG Functions
  2002-08-28 03:42 New PHP/PG Functions Chris Ruprecht <chrup@earthlink.net>
  2002-08-28 04:45 ` Re: New PHP/PG Functions Roj Niyogi <niyogi@pghoster.com>
@ 2002-08-28 10:08   ` Cornelia Boenigk <poppcorn@cornelia-boenigk.de>
  0 siblings, 0 replies; 7+ messages in thread

From: Cornelia Boenigk @ 2002-08-28 10:08 UTC (permalink / raw)
  To: pgsql-php

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






^ permalink  raw  reply  [nested|flat] 7+ messages in thread

* Re: New PHP/PG Functions
  2002-08-28 03:42 New PHP/PG Functions Chris Ruprecht <chrup@earthlink.net>
@ 2002-08-28 16:03 ` scott.marlowe <scott.marlowe@ihs.com>
  2 siblings, 0 replies; 7+ messages in thread

From: scott.marlowe @ 2002-08-28 16:03 UTC (permalink / raw)
  To: Chris Ruprecht <chrup@earthlink.net>; +Cc: pgsql-php

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.  




^ permalink  raw  reply  [nested|flat] 7+ messages in thread


end of thread, other threads:[~2002-09-01 07:28 UTC | newest]

Thread overview: 7+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2002-08-28 03:32 New PHP/PG functions Chris Ruprecht <chris@cdrbill.com>
2002-09-01 07:28 ` Keary Suska <hierophant@pcisys.net>
2002-08-28 03:42 New PHP/PG Functions Chris Ruprecht <chrup@earthlink.net>
2002-08-28 03:55 ` Re: New PHP/PG Functions Christopher Kings-Lynne <chriskl@familyhealth.com.au>
2002-08-28 04:45 ` Re: New PHP/PG Functions Roj Niyogi <niyogi@pghoster.com>
2002-08-28 10:08   ` Re: New PHP/PG Functions Cornelia Boenigk <poppcorn@cornelia-boenigk.de>
2002-08-28 16:03 ` Re: New PHP/PG Functions scott.marlowe <scott.marlowe@ihs.com>

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox