| From: | Nicolas Bouthors <nbouthors(at)ghs(dot)fr> |
|---|---|
| To: | pgsql-general(at)postgresql(dot)org |
| Subject: | zrn |
| Date: | 2002-01-23 12:16:43 |
| Message-ID: | 20020123121643.GX4300@lavardac.int.ghs |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-general |
Hi,
In PG, identifiers are limited to 32chars if I'm not mistaken, so when
you create a table with a relatively long name, containing a public
key (with a long name too), a sequence is (implicitly) created to store
the pkey.
My question is : how to predict the exact name of this sequence knowing
the name of the table and the name of the pkey ?
I guess there is in the code somewhere a sprintf("%xf_%yf_seq",
table_name, key_name) with x and y beeing integers. If that's so what
are values of x and y ?
Thanks,
Nico
--
nicolas(at)bouthors(dot)org -- http://nicolas.bouthors.org/ -- +33 6 2071 6234
Administateur Systèmes et Réseaux -- GHS -- 38, Rue du Texel
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Devrim GUNDUZ | 2002-01-23 12:34:46 | Re: Internal functions(?) |
| Previous Message | Nic Ferrier | 2002-01-23 11:58:12 | Re: implemention of calls to stored procs. |