X-Original-To: pgsql-php-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 683C88B9E69 for ; Tue, 22 Feb 2005 11:07:41 +0000 (GMT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 12635-05 for ; Tue, 22 Feb 2005 11:07:38 +0000 (GMT) Received: from wproxy.gmail.com (wproxy.gmail.com [64.233.184.198]) by svr1.postgresql.org (Postfix) with ESMTP id 4ED7C8B9E5B for ; Tue, 22 Feb 2005 11:07:39 +0000 (GMT) Received: by wproxy.gmail.com with SMTP id 68so1174784wri for ; Tue, 22 Feb 2005 03:07:39 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:mime-version:content-type:content-transfer-encoding; b=NYVfGJPJ3BQloVqg5UBO8dM8Ns97ae+8M3mWy3+ptWfsfnvi2N/cW3ShQHdk8TGyPNv8O3hRu/8PoLzN5dKb+441/G7RYme53NoN/zs3HiI8TjmAkElAwYB8nFIypZpThdR6S/pqw84vWjzto5myaFThHZlmlO6TG5rQGChP8Ck= Received: by 10.54.18.33 with SMTP id 33mr125462wrr; Tue, 22 Feb 2005 03:07:39 -0800 (PST) Received: by 10.54.40.4 with HTTP; Tue, 22 Feb 2005 03:07:39 -0800 (PST) Message-ID: <621eda8a05022203075252d65@mail.gmail.com> Date: Tue, 22 Feb 2005 12:07:39 +0100 From: Zouari Fourat Reply-To: Zouari Fourat To: pgsql-php@postgresql.org Subject: From MySQL to PostgreSQL Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at hub.org X-Archive-Number: 200502/17 X-Sequence-Number: 2991 Am just migrating from mysql db to pgsql db, an want to ask about some clarifications on the php pgsql api : *> is pg_fetch_all faster than iterating with pg_fetch_assoc ? *> how to avoid sql injections, should i use the same methods with mysql ? (addslashes)