Re: tsvector string representation and parsing - Mailing list pgsql-general

From Tom Lane
Subject Re: tsvector string representation and parsing
Date
Msg-id 1349227.1645717574@sss.pgh.pa.us
Whole thread Raw
In response to Re: tsvector string representation and parsing  (Johannes Graën <johannes@selfnet.de>)
List pgsql-general
=?UTF-8?Q?Johannes_Gra=c3=abn?= <johannes@selfnet.de> writes:
> Before using format(), I tried just generating those strings by doubling 
> any single quote or backslash and enclosing the whole string in single 
> quotes, but that didn't seem a safe way, though it works in principle:

That's the documented requirement, so I don't see why it wouldn't be
safe.

            regards, tom lane



pgsql-general by date:

Previous
From: Catalin Maftei
Date:
Subject: alter table to multi partitions
Next
From: Wim Bertels
Date:
Subject: \set \e and newline