I have reviewed your patch. I found that the first patch was definitely
needed. Your code adds escapes for single quotes in locale names placed
in postgresql.conf. I also added code to escape a literal backslash as
well. I re-factored your code and applied the attached patch.
Your second patc
Bruce Momjian <[EMAIL PROTECTED]> writes:
> + /*
> + * Escape any single quotes or backslashes in locale
> + */
> + static void
> + escape_locale(char **locale)
> + {
> + int len = strlen(*locale),
> + i, j;
> + char*loc_temp = x
OK, fixed.
---
Tom Lane wrote:
> Bruce Momjian <[EMAIL PROTECTED]> writes:
> > + /*
> > + * Escape any single quotes or backslashes in locale
> > + */
> > + static void
> > + escape_locale(char **locale)
> > + {
> > + in
Added to open items list:
* Fix error message when creating objects in schema that has a
dropped tablespace as its default
I can confirm the bug still exists in CVS.
---
Fabien COELHO wrote:
>
> Dear Tom
I removed the -Q mention in the comments but Tom already fixed this in
early September.
---
PostgreSQL Bugs List wrote:
>
> The following bug has been logged online:
>
> Bug reference: 1238
> Logged by: A Wu
The following bug has been logged online:
Bug reference: 1283
Logged by: Fabio Fucci
Email address: [EMAIL PROTECTED]
PostgreSQL version: 7.3
Operating system: linux
Description:Queries slow down after restoring big db
Details:
We dumped a database with a lot o
Bruce Momjian <[EMAIL PROTECTED]> writes:
> I removed the -Q mention in the comments but Tom already fixed this in
> early September.
Actually, I deliberately left that comment alone, since it appeared to
me to be a statement of historical fact --- ie, that *was* what they did
for some now-forgott
"Alexander Zhiltsov" <[EMAIL PROTECTED]> writes:
> "Tom Lane" <[EMAIL PROTECTED]> wrote:
>> I'm not convinced this is really a bug, because pg_index.indexprs is not
>> an expression (it's a list of expressions) and so it's not clear that
>> pg_get_expr should be expected to work on it. What result
"PostgreSQL Bugs List" <[EMAIL PROTECTED]> writes:
> We dumped a database with a lot of data using command pg_dump mydb >
> mydb.dump
> Then we reimported the data in this way:
> 1- createdb anotherdb
> 2- psql anotherdb < mydb.dump
> After the data was restored queries(SELECT queries, with JOI
Tom Lane wrote:
> Bruce Momjian <[EMAIL PROTECTED]> writes:
> > I removed the -Q mention in the comments but Tom already fixed this in
> > early September.
>
> Actually, I deliberately left that comment alone, since it appeared to
> me to be a statement of historical fact --- ie, that *was* what t
unsubscribe pgsql-bugs
---(end of broadcast)---
TIP 7: don't forget to increase your free space map settings
Nice catch. Patch attached and applied. Thanks.
We will have to mention in the release notes that this as a possible bad
data load problem from previous releases. I have already marked the
commit message accordingly.
I have also adjusted the regression tests to test for success and
failure of
psql -f zouxian-data-bak.sql
__
Do you Yahoo!?
Yahoo! Mail Address AutoComplete - You start. We finish.
http://promotions.yahoo.com/new_mail CREATE TABLE
CREATE TABLE
CREATE TABLE
CREATE TABLE
CREATE TABLE
CREATE TABLE
CREATE TABLE
CREATE TABLE
CRE
13 matches
Mail list logo