Florian Weimer writes: > The first version escaped ' with ''. I changed it when I noticed that > if \' is used instead, the same function can be used for strings > ('...') and identifiers ("..."). Last time I checked (15 seconds ago), you could not escape " with \ in PostgreSQL. The identifer parsing rules are a bit different from strings. -- Peter Eisentraut [EMAIL PROTECTED] http://funkturm.homeip.net/~peter ---------------------------(end of broadcast)--------------------------- TIP 1: subscribe and unsubscribe commands go to [EMAIL PROTECTED]
- [HACKERS] Re: Escaping strings for inclusion into SQL qu... Christopher Masto
- Re: [HACKERS] Re: Escaping strings for inclusion in... Florian Weimer
- Re: [HACKERS] Re: Escaping strings for inclusion in... Peter Eisentraut
- Re: [HACKERS] Re: Escaping strings for inclusion in... Florian Weimer
- Re: [HACKERS] Re: Escaping strings for inclusion in... Bruce Momjian
- Re: [HACKERS] Re: Escaping strings for inclusion in... Florian Weimer
- Re: [HACKERS] Re: Escaping strings for inclusion in... Bruce Momjian
- Re: [HACKERS] Re: Escaping strings for inclusion in... Peter Eisentraut
- Re: [HACKERS] Re: Escaping strings for inclusion in... Tom Lane
- Re: [HACKERS] Re: Escaping strings for inclusion in... Peter Eisentraut
- Re: [HACKERS] Re: Escaping strings for inclusion in... Tom Lane
- Re: [HACKERS] Re: Escaping strings for inclusion in... Bruce Momjian
- Re: [HACKERS] Re: Escaping strings for inclusion in... Tom Lane