Re: [HACKERS] preprocessor question: prepare statement

From: Michael Meskes <Michael_Meskes(at)topmail(dot)de>
To: PostgreSQL Hacker <pgsql-hackers(at)postgreSQL(dot)org>
Subject: Re: [HACKERS] preprocessor question: prepare statement
Date: 1999-02-04 12:13:42
Message-ID: 19990204131342.A1365@gmx.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Okay, I got it going as long as no variables are involved, a statement is
prepared only once and not deallocated. Hopefully I get it complete before
freezing 6.5, but I'm not sure I make that deadline.

Am I correct that the wildcard used to represent a variable is
implementation defined? I know Oracle uses something like :var1, :var2 etc.
This requires parsing of the statement (right now I just store it for later
use). I'd prefer to use ";;" since this is was ecpg uses internally. What is
used on other systems?

Michael
--
Michael Meskes | Go SF 49ers!
Th.-Heuss-Str. 61, D-41812 Erkelenz | Go Rhein Fire!
Tel.: (+49) 2431/72651 | Use Debian GNU/Linux!
Email: Michael(dot)Meskes(at)gmx(dot)net | Use PostgreSQL!

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Tatsuo Ishii 1999-02-04 14:13:02 Re: [HACKERS] template/alpha_cc
Previous Message Zeugswetter Andreas IZ5 1999-02-04 11:47:54 Re: [HACKERS] preprocessor question: prepare statement