| From: | Christopher Kings-Lynne <chriskl(at)familyhealth(dot)com(dot)au> | 
|---|---|
| To: | Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us> | 
| Cc: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Sean Chittenden <sean(at)chittenden(dot)org>, PostgreSQL-patches <pgsql-patches(at)postgresql(dot)org>, btober(at)seaworthysys(dot)com | 
| Subject: | Re: [GENERAL] Temporary tables and miscellaneous schemas | 
| Date: | 2003-12-23 15:47:42 | 
| Message-ID: | 3FE8639E.8020908@familyhealth.com.au | 
| Views: | Whole Thread | Raw Message | Download mbox | Resend email | 
| Thread: | |
| Lists: | pgsql-hackers pgsql-patches | 
>   	initPQExpBuffer(&buf);
>   	printfPQExpBuffer(&buf,
> ! 		"SELECT n.nspname AS \"%s\",\n"
> ! 		"       u.usename AS \"%s\"\n"
>   		"FROM pg_catalog.pg_namespace n LEFT JOIN pg_catalog.pg_user u\n"
> ! 		"       ON n.nspowner=u.usesysid\n"
> ! 		"WHERE	n.nspname NOT LIKE 'pg_temp_%%' OR\n"
> ! 		"		n.nspname = (current_schemas(true))[1]\n",	/* temp schema is first */
>   					  _("Name"),
>   					  _("Owner"));
> ! 	processNamePattern(&buf, pattern, true, false,
>   					   NULL, "n.nspname", NULL,
>   					   NULL);
Not that this is incorrect. You need to go:
LIKE 'pg\\\\_temp\\\\_%' probably.
Chris
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Christopher Kings-Lynne | 2003-12-23 15:49:17 | Re: Quoting of psql \d output | 
| Previous Message | Bruce Momjian | 2003-12-23 15:00:42 | Re: Quoting of psql \d output | 
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Christopher Kings-Lynne | 2003-12-23 15:49:17 | Re: Quoting of psql \d output | 
| Previous Message | Bruce Momjian | 2003-12-23 15:00:42 | Re: Quoting of psql \d output |